CMS 3D CMS Logo

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

Public Member Functions

void branch (TTree &tree)
 
void fill (const edm::LuminosityBlockID &id)
 

Private Attributes

UInt_t m_luminosityBlock
 
UInt_t m_run
 

Detailed Description

Definition at line 103 of file NanoAODOutputModule.cc.

Member Function Documentation

◆ branch()

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

Definition at line 105 of file NanoAODOutputModule.cc.

References m_luminosityBlock, and m_run.

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

105  {
106  tree.Branch("run", &m_run, "run/i");
107  tree.Branch("luminosityBlock", &m_luminosityBlock, "luminosityBlock/i");
108  }
Definition: tree.py:1

◆ fill()

void NanoAODOutputModule::CommonLumiBranches::fill ( const edm::LuminosityBlockID id)
inline

Definition at line 109 of file NanoAODOutputModule.cc.

References m_luminosityBlock, and m_run.

Referenced by NanoAODOutputModule::writeLuminosityBlock().

Member Data Documentation

◆ m_luminosityBlock

UInt_t NanoAODOutputModule::CommonLumiBranches::m_luminosityBlock
private

Definition at line 116 of file NanoAODOutputModule.cc.

Referenced by branch(), and fill().

◆ m_run

UInt_t NanoAODOutputModule::CommonLumiBranches::m_run
private

Definition at line 115 of file NanoAODOutputModule.cc.

Referenced by branch(), and fill().