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:42
EventNumber_t event() const
Definition: EventID.h:44
void Load_evt_run()
Definition: HWW.cc:1244
edm::LuminosityBlockNumber_t luminosityBlock() const
Definition: EventBase.h:59
unsigned int & evt_lumiBlock()
Definition: HWW.cc:611
bool isRealData() const
Definition: EventBase.h:60
void Load_evt_lumiBlock()
Definition: HWW.cc:1247
void Load_evt_isRealData()
Definition: HWW.cc:1253
unsigned int & evt_run()
Definition: HWW.cc:607
void Load_evt_event()
Definition: HWW.cc:1250
int & evt_isRealData()
Definition: HWW.cc:619
edm::EventID id() const
Definition: EventBase.h:56
unsigned int & evt_event()
Definition: HWW.cc:615