CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Static Public Attributes | Private Attributes | Friends
edm::EventAuxiliary Class Reference

#include <EventAuxiliary.h>

Public Types

enum  ExperimentType {
  Undefined = 0, PhysicsTrigger = 1, CalibrationTrigger = 2, RandomTrigger = 3,
  Reserved = 4, TracedEvent = 5, TestTrigger = 6, ErrorTrigger = 15
}
 

Public Member Functions

int bunchCrossing () const
 
EventNumber_t event () const
 
 EventAuxiliary ()
 
 EventAuxiliary (EventID const &theId, std::string const &theProcessGUID, Timestamp const &theTime, bool isReal, ExperimentType eType=Undefined, int bunchXing=invalidBunchXing, int storeNum=invalidStoreNumber, int orbitNum=invalidBunchXing)
 
ExperimentType experimentType () const
 
EventIDid ()
 
EventID const & id () const
 
bool isRealData () const
 
LuminosityBlockNumber_t luminosityBlock () const
 
LuminosityBlockNumber_t oldLuminosityBlock () const
 
int orbitNumber () const
 
std::string const & processGUID () const
 
ProcessHistoryID const & processHistoryID () const
 
void resetObsoleteInfo ()
 
RunNumber_t run () const
 
void setProcessHistoryID (ProcessHistoryID const &phid)
 
int storeNumber () const
 
Timestamp const & time () const
 
void write (std::ostream &os) const
 
 ~EventAuxiliary ()
 

Static Public Attributes

static const int invalidBunchXing = -1
 
static const int invalidStoreNumber = 0
 

Private Attributes

int bunchCrossing_
 
ExperimentType experimentType_
 
EventID id_
 
bool isRealData_
 
LuminosityBlockNumber_t luminosityBlock_
 
int orbitNumber_
 
std::string processGUID_
 
ProcessHistoryID processHistoryID_
 
int storeNumber_
 
Timestamp time_
 

Friends

void conversion (EventAux const &, EventAuxiliary &)
 

Detailed Description

Definition at line 14 of file EventAuxiliary.h.

Member Enumeration Documentation

◆ ExperimentType

Enumerator
Undefined 
PhysicsTrigger 
CalibrationTrigger 
RandomTrigger 
Reserved 
TracedEvent 
TestTrigger 
ErrorTrigger 

Definition at line 18 of file EventAuxiliary.h.

18  {
19  Undefined = 0,
20  PhysicsTrigger = 1,
22  RandomTrigger = 3,
23  Reserved = 4,
24  TracedEvent = 5,
25  TestTrigger = 6,
26  ErrorTrigger = 15
27  };

Constructor & Destructor Documentation

◆ EventAuxiliary() [1/2]

edm::EventAuxiliary::EventAuxiliary ( )
inline

Definition at line 30 of file EventAuxiliary.h.

◆ EventAuxiliary() [2/2]

edm::EventAuxiliary::EventAuxiliary ( EventID const &  theId,
std::string const &  theProcessGUID,
Timestamp const &  theTime,
bool  isReal,
ExperimentType  eType = Undefined,
int  bunchXing = invalidBunchXing,
int  storeNum = invalidStoreNumber,
int  orbitNum = invalidBunchXing 
)
inline

Definition at line 41 of file EventAuxiliary.h.

50  id_(theId),
51  processGUID_(theProcessGUID),
52  time_(theTime),
54  isRealData_(isReal),
55  experimentType_(eType),
56  bunchCrossing_(bunchXing),
57  orbitNumber_(orbitNum),
58  storeNumber_(storeNum) {}

◆ ~EventAuxiliary()

edm::EventAuxiliary::~EventAuxiliary ( )
inline

Definition at line 59 of file EventAuxiliary.h.

59 {}

Member Function Documentation

◆ bunchCrossing()

int edm::EventAuxiliary::bunchCrossing ( ) const
inline

Definition at line 76 of file EventAuxiliary.h.

76 { return bunchCrossing_; }

References bunchCrossing_.

Referenced by edm::EventBase::bunchCrossing(), and edm::EventPrincipal::bunchCrossing().

◆ event()

EventNumber_t edm::EventAuxiliary::event ( ) const
inline

◆ experimentType()

ExperimentType edm::EventAuxiliary::experimentType ( ) const
inline

Definition at line 75 of file EventAuxiliary.h.

75 { return experimentType_; }

References experimentType_.

Referenced by edm::EventBase::experimentType(), and edm::EventPrincipal::ExperimentType().

◆ id() [1/2]

EventID& edm::EventAuxiliary::id ( )
inline

Definition at line 64 of file EventAuxiliary.h.

64 { return id_; }

References id_.

◆ id() [2/2]

EventID const& edm::EventAuxiliary::id ( ) const
inline

◆ isRealData()

bool edm::EventAuxiliary::isRealData ( ) const
inline

◆ luminosityBlock()

LuminosityBlockNumber_t edm::EventAuxiliary::luminosityBlock ( ) const
inline

◆ oldLuminosityBlock()

LuminosityBlockNumber_t edm::EventAuxiliary::oldLuminosityBlock ( ) const
inline

Definition at line 70 of file EventAuxiliary.h.

70 { return luminosityBlock_; }

References luminosityBlock_.

◆ orbitNumber()

int edm::EventAuxiliary::orbitNumber ( ) const
inline

Definition at line 77 of file EventAuxiliary.h.

77 { return orbitNumber_; }

References orbitNumber_.

Referenced by edm::EventBase::orbitNumber().

◆ processGUID()

std::string const& edm::EventAuxiliary::processGUID ( ) const
inline

Definition at line 65 of file EventAuxiliary.h.

65 { return processGUID_; }

References processGUID_.

◆ processHistoryID()

ProcessHistoryID const& edm::EventAuxiliary::processHistoryID ( ) const
inline

◆ resetObsoleteInfo()

void edm::EventAuxiliary::resetObsoleteInfo ( )
inline

Definition at line 71 of file EventAuxiliary.h.

71 { luminosityBlock_ = 0; }

References luminosityBlock_.

◆ run()

RunNumber_t edm::EventAuxiliary::run ( ) const
inline

◆ setProcessHistoryID()

void edm::EventAuxiliary::setProcessHistoryID ( ProcessHistoryID const &  phid)
inline

◆ storeNumber()

int edm::EventAuxiliary::storeNumber ( ) const
inline

Definition at line 78 of file EventAuxiliary.h.

78 { return storeNumber_; }

References storeNumber_.

Referenced by edm::EventPrincipal::storeNumber().

◆ time()

Timestamp const& edm::EventAuxiliary::time ( ) const
inline

Definition at line 66 of file EventAuxiliary.h.

66 { return time_; }

References time_.

Referenced by edm::EventBase::time(), edm::EventForOutput::time(), and edm::EventPrincipal::time().

◆ write()

void edm::EventAuxiliary::write ( std::ostream &  os) const

Definition at line 9 of file EventAuxiliary.cc.

9  {
10  os << "Process History ID = " << processHistoryID_ << std::endl;
11  os << id_ << std::endl;
12  //os << "TimeStamp = " << time_ << std::endl;
13  }

References id_, and processHistoryID_.

Referenced by pkg.AbstractPkg::generate().

Friends And Related Function Documentation

◆ conversion

void conversion ( EventAux const &  from,
EventAuxiliary to 
)
friend

Definition at line 9 of file EventAux.cc.

9  {
10  to.processHistoryID_ = from.processHistoryID_;
11  to.id_ = from.id_;
12  to.time_ = from.time_;
13  to.luminosityBlock_ = from.luminosityBlockID_;
14  }

Member Data Documentation

◆ bunchCrossing_

int edm::EventAuxiliary::bunchCrossing_
private

Definition at line 97 of file EventAuxiliary.h.

Referenced by bunchCrossing().

◆ experimentType_

ExperimentType edm::EventAuxiliary::experimentType_
private

Definition at line 95 of file EventAuxiliary.h.

Referenced by experimentType().

◆ id_

EventID edm::EventAuxiliary::id_
private

Definition at line 85 of file EventAuxiliary.h.

Referenced by event(), id(), luminosityBlock(), run(), and write().

◆ invalidBunchXing

const int edm::EventAuxiliary::invalidBunchXing = -1
static

Definition at line 28 of file EventAuxiliary.h.

◆ invalidStoreNumber

const int edm::EventAuxiliary::invalidStoreNumber = 0
static

Definition at line 29 of file EventAuxiliary.h.

Referenced by edm::EventAuxiliaryHistoryProducer::produce().

◆ isRealData_

bool edm::EventAuxiliary::isRealData_
private

Definition at line 93 of file EventAuxiliary.h.

Referenced by isRealData().

◆ luminosityBlock_

LuminosityBlockNumber_t edm::EventAuxiliary::luminosityBlock_
private

Definition at line 91 of file EventAuxiliary.h.

Referenced by luminosityBlock(), oldLuminosityBlock(), and resetObsoleteInfo().

◆ orbitNumber_

int edm::EventAuxiliary::orbitNumber_
private

Definition at line 99 of file EventAuxiliary.h.

Referenced by orbitNumber().

◆ processGUID_

std::string edm::EventAuxiliary::processGUID_
private

Definition at line 87 of file EventAuxiliary.h.

Referenced by processGUID().

◆ processHistoryID_

ProcessHistoryID edm::EventAuxiliary::processHistoryID_
private

Definition at line 83 of file EventAuxiliary.h.

Referenced by processHistoryID(), setProcessHistoryID(), and write().

◆ storeNumber_

int edm::EventAuxiliary::storeNumber_
private

Definition at line 101 of file EventAuxiliary.h.

Referenced by storeNumber().

◆ time_

Timestamp edm::EventAuxiliary::time_
private

Definition at line 89 of file EventAuxiliary.h.

Referenced by time().

edm::EventAuxiliary::invalidStoreNumber
static const int invalidStoreNumber
Definition: EventAuxiliary.h:29
edm::EventAuxiliary::CalibrationTrigger
Definition: EventAuxiliary.h:21
to
edm::EventID::luminosityBlock
LuminosityBlockNumber_t luminosityBlock() const
Definition: EventID.h:39
edm::EventAuxiliary::orbitNumber_
int orbitNumber_
Definition: EventAuxiliary.h:99
edm::EventAuxiliary::experimentType_
ExperimentType experimentType_
Definition: EventAuxiliary.h:95
edm::EventAuxiliary::processGUID_
std::string processGUID_
Definition: EventAuxiliary.h:87
edm::EventAuxiliary::storeNumber_
int storeNumber_
Definition: EventAuxiliary.h:101
edm::EventID::run
RunNumber_t run() const
Definition: EventID.h:38
mitigatedMETSequence_cff.U
U
Definition: mitigatedMETSequence_cff.py:36
edm::EventAuxiliary::Reserved
Definition: EventAuxiliary.h:23
edm::EventAuxiliary::id_
EventID id_
Definition: EventAuxiliary.h:85
edm::EventAuxiliary::processHistoryID_
ProcessHistoryID processHistoryID_
Definition: EventAuxiliary.h:83
edm::EventID::event
EventNumber_t event() const
Definition: EventID.h:40
edm::EventAuxiliary::TracedEvent
Definition: EventAuxiliary.h:24
edm::EventAuxiliary::luminosityBlock_
LuminosityBlockNumber_t luminosityBlock_
Definition: EventAuxiliary.h:91
edm::EventAuxiliary::Undefined
Definition: EventAuxiliary.h:19
edm::EventAuxiliary::bunchCrossing_
int bunchCrossing_
Definition: EventAuxiliary.h:97
edm::EventAuxiliary::PhysicsTrigger
Definition: EventAuxiliary.h:20
edm::EventAuxiliary::ErrorTrigger
Definition: EventAuxiliary.h:26
edm::EventAuxiliary::invalidBunchXing
static const int invalidBunchXing
Definition: EventAuxiliary.h:28
edm::EventAuxiliary::isRealData_
bool isRealData_
Definition: EventAuxiliary.h:93
edm::EventAuxiliary::time_
Timestamp time_
Definition: EventAuxiliary.h:89
edm::EventAuxiliary::TestTrigger
Definition: EventAuxiliary.h:25
edm::EventAuxiliary::RandomTrigger
Definition: EventAuxiliary.h:22