CMS 3D CMS Logo

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