CMS 3D CMS Logo

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

Public Member Functions

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

Private Attributes

UInt_t m_run
 

Detailed Description

Definition at line 115 of file NanoAODOutputModule.cc.

Member Function Documentation

◆ branch()

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

Definition at line 117 of file NanoAODOutputModule.cc.

117 { tree.Branch("run", &m_run, "run/i"); }

References m_run.

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

◆ fill()

void NanoAODOutputModule::CommonRunBranches::fill ( const edm::RunID id)
inline

Definition at line 118 of file NanoAODOutputModule.cc.

118 { m_run = id.run(); }

References m_run.

Referenced by NanoAODOutputModule::writeRun().

Member Data Documentation

◆ m_run

UInt_t NanoAODOutputModule::CommonRunBranches::m_run
private

Definition at line 121 of file NanoAODOutputModule.cc.

Referenced by branch(), and fill().

tree
Definition: tree.py:1
NanoAODOutputModule::CommonRunBranches::m_run
UInt_t m_run
Definition: NanoAODOutputModule.cc:121