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::EventID &id)
 

Private Attributes

ULong64_t m_event
 
UInt_t m_luminosityBlock
 
UInt_t m_run
 

Detailed Description

Definition at line 77 of file NanoAODOutputModule.cc.

Member Function Documentation

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

Definition at line 79 of file NanoAODOutputModule.cc.

References m_event, m_luminosityBlock, and m_run.

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

79  {
80  tree.Branch("run", & m_run, "run/i");
81  tree.Branch("luminosityBlock", & m_luminosityBlock, "luminosityBlock/i");
82  tree.Branch("event", & m_event, "event/l");
83  }
Definition: tree.py:1
void NanoAODOutputModule::CommonEventBranches::fill ( const edm::EventID id)
inline

Definition at line 84 of file NanoAODOutputModule.cc.

References m_event, m_luminosityBlock, and m_run.

Referenced by NanoAODOutputModule::write().

Member Data Documentation

ULong64_t NanoAODOutputModule::CommonEventBranches::m_event
private

Definition at line 88 of file NanoAODOutputModule.cc.

Referenced by branch(), and fill().

UInt_t NanoAODOutputModule::CommonEventBranches::m_luminosityBlock
private
UInt_t NanoAODOutputModule::CommonEventBranches::m_run
private