test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
BeamSpotTreeData.cc
Go to the documentation of this file.
2 #include <TTree.h>
3 
4 
7 
8 
9 //--------------------------------------------------------------------------------------------------
11  tree->Branch("run" , &run_ , "run/i");
12  tree->Branch("lumi" , &lumi_ , "lumi/i");
13  tree->Branch("bunchCrossing", &bunchCrossing_, "bunchCrossing/i");
14  tree->Branch("pvData" , &pvData_ , "bunchCrossing:position[3]:posError[3]:posCorr[3]/F");
15 }
16 
17 //--------------------------------------------------------------------------------------------------
19  tree->SetBranchAddress("run" , &run_ );
20  tree->SetBranchAddress("lumi" , &lumi_ );
21  tree->SetBranchAddress("bunchCrossing", &bunchCrossing_);
22  tree->SetBranchAddress("pvData" , &pvData_ );
23 }
unsigned int run_
unsigned int bunchCrossing_
unsigned int lumi_
void setBranchAddress(TTree *tree)
BeamSpotFitPVData pvData_
void branch(TTree *tree)