Skip to content

Instantly share code, notes, and snippets.

@sashabaranov
Created August 20, 2012 13:41
Show Gist options
  • Save sashabaranov/3404176 to your computer and use it in GitHub Desktop.
Save sashabaranov/3404176 to your computer and use it in GitHub Desktop.
TBranch *BDTBranch = new TBranch();
BDTBranch = theTree->Branch("BDT_MVA", &BDT_MVA, "BDT_MVA/F");
theTree->SetBranchAddress("Bctau",&TBctau);
theTree->SetBranchAddress("BmipCHI2PV",&TBmipCHI2PV);
theTree->SetBranchAddress("Mu1ipChi2BPV",&TMu1ipChi2BPV);
theTree->SetBranchAddress("Mu2ipChi2BPV",&TMu2ipChi2BPV);
theTree->SetBranchAddress("PipipChi2BPV",&TPipipChi2BPV);
theTree->SetBranchAddress("PimipChi2BPV",&TPimipChi2BPV);
theTree->SetBranchAddress("Bvchi2",&TBvchi2);
theTree->SetBranchAddress("DLLPi1p",&TDLLPi1p);
theTree->SetBranchAddress("DLLPi1K",&TDLLPi1K);
theTree->SetBranchAddress("DLLPi2p",&TDLLPi2p);
theTree->SetBranchAddress("DLLPi2K",&TDLLPi2K);
theTree->SetBranchAddress("DLLPi1mu",&TDLLPi1mu);
theTree->SetBranchAddress("DLLPi2mu",&TDLLPi2mu);
theTree->SetBranchAddress("DLLmupi1",&TDLLmupi1);
theTree->SetBranchAddress("DLLmupi2",&TDLLmupi2);
theTree->SetBranchAddress("BangBd",&TDangBs);
theTree->SetBranchAddress("Mu2pT",&TMu2pT);
theTree->SetBranchAddress("Mu1pT",&TMu1pT);
theTree->SetBranchAddress("PippT",&TPippT);
theTree->SetBranchAddress("PimpT",&TPimpT);
theTree->SetBranchAddress("RhopT",&TrhopT);
theTree->SetBranchAddress("Mu1TrCHI2",&TMu1TrCHI2);
theTree->SetBranchAddress("Mu2TrCHI2",&TMu2TrCHI2);
theTree->SetBranchAddress("PipTrCHI2",&TPipTrCHI2);
theTree->SetBranchAddress("PimTrCHI2",&TPimTrCHI2);
theTree->SetBranchAddress( "BctauChi2",&TBctauChi2);
theTree->SetBranchAddress( "BpT",&TBpT );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment