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 106 of file NanoAODOutputModule.cc.

Member Function Documentation

◆ branch()

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

Definition at line 108 of file NanoAODOutputModule.cc.

References m_luminosityBlock, and m_run.

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

108  {
109  tree.Branch("run", &m_run, "run/i");
110  tree.Branch("luminosityBlock", &m_luminosityBlock, "luminosityBlock/i");
111  }
Definition: tree.py:1

◆ fill()

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

Definition at line 112 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 119 of file NanoAODOutputModule.cc.

Referenced by branch(), and fill().

◆ m_run

UInt_t NanoAODOutputModule::CommonLumiBranches::m_run
private

Definition at line 118 of file NanoAODOutputModule.cc.

Referenced by branch(), and fill().