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

Member Function Documentation

◆ branch()

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

Definition at line 115 of file NanoAODOutputModule.cc.

115 { 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 116 of file NanoAODOutputModule.cc.

116 { 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 119 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:119