CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
NanoAODOutputModule::CommonEventBranches Class Reference

Public Member Functions

void branch (TTree &tree)
 
void fill (const edm::EventAuxiliary &aux)
 

Private Attributes

UInt_t m_bunchCrossing
 
ULong64_t m_event
 
UInt_t m_luminosityBlock
 
UInt_t m_orbitNumber
 
UInt_t m_run
 

Detailed Description

Definition at line 81 of file NanoAODOutputModule.cc.

Member Function Documentation

◆ branch()

void NanoAODOutputModule::CommonEventBranches::branch ( TTree &  tree)
inline

Definition at line 83 of file NanoAODOutputModule.cc.

References m_bunchCrossing, m_event, m_luminosityBlock, m_orbitNumber, and m_run.

Referenced by python.cmstools.EventTree::__getattr__(), and NanoAODOutputModule::openFile().

83  {
84  tree.Branch("run", &m_run, "run/i");
85  tree.Branch("luminosityBlock", &m_luminosityBlock, "luminosityBlock/i");
86  tree.Branch("event", &m_event, "event/l");
87  tree.Branch("bunchCrossing", &m_bunchCrossing, "bunchCrossing/i");
88  tree.Branch("orbitNumber", &m_orbitNumber, "orbitNumber/i");
89  }
Definition: tree.py:1

◆ fill()

void NanoAODOutputModule::CommonEventBranches::fill ( const edm::EventAuxiliary aux)
inline

Member Data Documentation

◆ m_bunchCrossing

UInt_t NanoAODOutputModule::CommonEventBranches::m_bunchCrossing
private

Definition at line 102 of file NanoAODOutputModule.cc.

Referenced by branch(), and fill().

◆ m_event

ULong64_t NanoAODOutputModule::CommonEventBranches::m_event
private

Definition at line 101 of file NanoAODOutputModule.cc.

Referenced by branch(), and fill().

◆ m_luminosityBlock

UInt_t NanoAODOutputModule::CommonEventBranches::m_luminosityBlock
private

Definition at line 100 of file NanoAODOutputModule.cc.

Referenced by branch(), and fill().

◆ m_orbitNumber

UInt_t NanoAODOutputModule::CommonEventBranches::m_orbitNumber
private

Definition at line 103 of file NanoAODOutputModule.cc.

Referenced by branch(), and fill().

◆ m_run

UInt_t NanoAODOutputModule::CommonEventBranches::m_run
private

Definition at line 99 of file NanoAODOutputModule.cc.

Referenced by branch(), and fill().