CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
 
EventID const & id () const
 
EventIDid ()
 
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 int const invalidBunchXing = -1
 
static int const 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

Enumerator
Undefined 
PhysicsTrigger 
CalibrationTrigger 
RandomTrigger 
Reserved 
TracedEvent 
TestTrigger 
ErrorTrigger 

Definition at line 18 of file EventAuxiliary.h.

Constructor & Destructor Documentation

edm::EventAuxiliary::EventAuxiliary ( )
inline

Definition at line 30 of file EventAuxiliary.h.

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),
53  luminosityBlock_(0U),
54  isRealData_(isReal),
55  experimentType_(eType),
56  bunchCrossing_(bunchXing),
57  orbitNumber_(orbitNum),
58  storeNumber_(storeNum) {}
ExperimentType experimentType_
ProcessHistoryID processHistoryID_
LuminosityBlockNumber_t luminosityBlock_
std::string processGUID_
edm::EventAuxiliary::~EventAuxiliary ( )
inline

Definition at line 59 of file EventAuxiliary.h.

59 {}

Member Function Documentation

int edm::EventAuxiliary::bunchCrossing ( ) const
inline
EventNumber_t edm::EventAuxiliary::event ( ) const
inline
ExperimentType edm::EventAuxiliary::experimentType ( ) const
inline
EventID const& edm::EventAuxiliary::id ( ) const
inline
EventID& edm::EventAuxiliary::id ( )
inline

Definition at line 64 of file EventAuxiliary.h.

References id_.

64 { return id_; }
bool edm::EventAuxiliary::isRealData ( ) const
inline
LuminosityBlockNumber_t edm::EventAuxiliary::luminosityBlock ( ) const
inline
LuminosityBlockNumber_t edm::EventAuxiliary::oldLuminosityBlock ( ) const
inline

Definition at line 70 of file EventAuxiliary.h.

References luminosityBlock_.

70 { return luminosityBlock_; }
LuminosityBlockNumber_t luminosityBlock_
int edm::EventAuxiliary::orbitNumber ( ) const
inline
std::string const& edm::EventAuxiliary::processGUID ( ) const
inline

Definition at line 65 of file EventAuxiliary.h.

References processGUID_.

Referenced by edm::isSameEvent().

65 { return processGUID_; }
std::string processGUID_
ProcessHistoryID const& edm::EventAuxiliary::processHistoryID ( ) const
inline
void edm::EventAuxiliary::resetObsoleteInfo ( )
inline

Definition at line 71 of file EventAuxiliary.h.

References luminosityBlock_.

71 { luminosityBlock_ = 0; }
LuminosityBlockNumber_t luminosityBlock_
RunNumber_t edm::EventAuxiliary::run ( ) const
inline
void edm::EventAuxiliary::setProcessHistoryID ( ProcessHistoryID const &  phid)
inline
int edm::EventAuxiliary::storeNumber ( ) const
inline
Timestamp const& edm::EventAuxiliary::time ( ) const
inline
void edm::EventAuxiliary::write ( std::ostream &  os) const

Definition at line 9 of file EventAuxiliary.cc.

References id_, and processHistoryID_.

Referenced by pkg.AbstractPkg::generate(), and edm::operator<<().

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

Friends And Related Function Documentation

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

Member Data Documentation

int edm::EventAuxiliary::bunchCrossing_
private

Definition at line 97 of file EventAuxiliary.h.

Referenced by bunchCrossing().

ExperimentType edm::EventAuxiliary::experimentType_
private

Definition at line 95 of file EventAuxiliary.h.

Referenced by experimentType().

EventID edm::EventAuxiliary::id_
private

Definition at line 85 of file EventAuxiliary.h.

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

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

Definition at line 28 of file EventAuxiliary.h.

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

Definition at line 29 of file EventAuxiliary.h.

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

bool edm::EventAuxiliary::isRealData_
private

Definition at line 93 of file EventAuxiliary.h.

Referenced by isRealData().

LuminosityBlockNumber_t edm::EventAuxiliary::luminosityBlock_
private
int edm::EventAuxiliary::orbitNumber_
private

Definition at line 99 of file EventAuxiliary.h.

Referenced by orbitNumber().

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

Definition at line 87 of file EventAuxiliary.h.

Referenced by processGUID().

ProcessHistoryID edm::EventAuxiliary::processHistoryID_
private

Definition at line 83 of file EventAuxiliary.h.

Referenced by edm::conversion(), processHistoryID(), setProcessHistoryID(), and write().

int edm::EventAuxiliary::storeNumber_
private

Definition at line 101 of file EventAuxiliary.h.

Referenced by storeNumber().

Timestamp edm::EventAuxiliary::time_
private

Definition at line 89 of file EventAuxiliary.h.

Referenced by edm::conversion(), and time().