DPGAnalysis
SiStripTools
src
TinyEvent.cc
Go to the documentation of this file.
1
#include "
FWCore/Framework/interface/Event.h
"
2
#include "
DPGAnalysis/SiStripTools/interface/TinyEvent.h
"
3
4
TinyEvent::TinyEvent
(
const
edm::Event
&
event
)
5
: _event(
event
.
id
().
event
()),
6
_orbit(
event
.orbitNumber() < 0 ? 0 :
event
.orbitNumber()),
7
_bx(
event
.bunchCrossing() < 0 ? 0 :
event
.bunchCrossing()) {}
8
9
TinyEvent::TinyEvent
(
const
edm::EventAuxiliary
& eaux)
10
: _event(eaux.
event
()),
11
_orbit(eaux.orbitNumber() < 0 ? 0 : eaux.orbitNumber()),
12
_bx(eaux.bunchCrossing() < 0 ? 0 : eaux.bunchCrossing()) {}
Event.h
l1ctLayer2EG_cff.id
id
Definition:
l1ctLayer2EG_cff.py:65
TinyEvent.h
edm::EventAuxiliary
Definition:
EventAuxiliary.h:14
edm::Event
Definition:
Event.h:73
TinyEvent::TinyEvent
TinyEvent()
Definition:
TinyEvent.h:14
event
Definition:
event.py:1
Generated for CMSSW Reference Manual by
1.8.14