CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
EventMaker Class Reference

#include <EventMaker.h>

Public Member Functions

 EventMaker ()
 
void SetVars (HWW &, const edm::Event &, const edm::EventSetup &)
 

Detailed Description

Definition at line 7 of file EventMaker.h.

Constructor & Destructor Documentation

EventMaker::EventMaker ( )

Definition at line 3 of file EventMaker.cc.

3 {}

Member Function Documentation

void EventMaker::SetVars ( HWW hww,
const edm::Event iEvent,
const edm::EventSetup iSetup 
)

Definition at line 5 of file EventMaker.cc.

References edm::EventID::event(), HWW::evt_event(), HWW::evt_isRealData(), HWW::evt_lumiBlock(), HWW::evt_run(), edm::EventBase::id(), edm::EventBase::isRealData(), HWW::Load_evt_event(), HWW::Load_evt_isRealData(), HWW::Load_evt_lumiBlock(), HWW::Load_evt_run(), edm::EventBase::luminosityBlock(), and edm::EventID::run().

Referenced by HWWAnalyzer::analyze().

5  {
6 
7  hww.Load_evt_run();
8  hww.Load_evt_event();
9  hww.Load_evt_lumiBlock();
10  hww.Load_evt_isRealData();
11 
12  hww.evt_run() = iEvent.id().run() ;
13  hww.evt_event() = iEvent.id().event() ;
14  hww.evt_lumiBlock() = iEvent.luminosityBlock();
15  hww.evt_isRealData() = iEvent.isRealData() ;
16 
17 }
RunNumber_t run() const
Definition: EventID.h:39
EventNumber_t event() const
Definition: EventID.h:41
void Load_evt_run()
Definition: HWW.cc:1244
edm::LuminosityBlockNumber_t luminosityBlock() const
Definition: EventBase.h:63
bool isRealData() const
Definition: EventBase.h:64
void Load_evt_lumiBlock()
Definition: HWW.cc:1247
edm::LuminosityBlockNumber_t & evt_lumiBlock()
Definition: HWW.cc:611
void Load_evt_isRealData()
Definition: HWW.cc:1253
void Load_evt_event()
Definition: HWW.cc:1250
int & evt_isRealData()
Definition: HWW.cc:619
edm::EventID id() const
Definition: EventBase.h:60
edm::RunNumber_t & evt_run()
Definition: HWW.cc:607
edm::EventNumber_t & evt_event()
Definition: HWW.cc:615