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()) {}
TinyEvent::TinyEvent
TinyEvent()
Definition:
TinyEvent.h:14
edm::EventAuxiliary
Definition:
EventAuxiliary.h:14
Event.h
triggerObjects_cff.id
id
Definition:
triggerObjects_cff.py:31
event
Definition:
event.py:1
edm::Event
Definition:
Event.h:73
TinyEvent.h
Generated for CMSSW Reference Manual by
1.8.16