CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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.

44  :
46  id_(theId),
47  processGUID_(theProcessGUID),
48  time_(theTime),
49  luminosityBlock_(0U),
50  isRealData_(isReal),
51  experimentType_(eType),
52  bunchCrossing_(bunchXing),
53  orbitNumber_(orbitNum),
54  storeNumber_(storeNum) {}
ExperimentType experimentType_
ProcessHistoryID processHistoryID_
LuminosityBlockNumber_t luminosityBlock_
std::string processGUID_
edm::EventAuxiliary::~EventAuxiliary ( )
inline

Definition at line 55 of file EventAuxiliary.h.

55 {}

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 ( void  ) const
inline
EventID& edm::EventAuxiliary::id ( void  )
inline

Definition at line 60 of file EventAuxiliary.h.

References id_.

60 {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 64 of file EventAuxiliary.h.

References luminosityBlock_.

Referenced by edm::RootFile::readCurrentEvent().

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

Definition at line 61 of file EventAuxiliary.h.

References processGUID_.

Referenced by edm::isSameEvent().

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

Definition at line 65 of file EventAuxiliary.h.

References luminosityBlock_.

Referenced by edm::RootFile::readCurrentEvent().

65 {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 10 of file EventAuxiliary.cc.

References id_, and processHistoryID_.

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

10  {
11  os << "Process History ID = " << processHistoryID_ << std::endl;
12  os << id_ << std::endl;
13  //os << "TimeStamp = " << time_ << std::endl;
14  }
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 90 of file EventAuxiliary.h.

Referenced by bunchCrossing().

ExperimentType edm::EventAuxiliary::experimentType_
private

Definition at line 88 of file EventAuxiliary.h.

Referenced by experimentType().

EventID edm::EventAuxiliary::id_
private

Definition at line 78 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
bool edm::EventAuxiliary::isRealData_
private

Definition at line 86 of file EventAuxiliary.h.

Referenced by isRealData().

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

Definition at line 92 of file EventAuxiliary.h.

Referenced by orbitNumber().

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

Definition at line 80 of file EventAuxiliary.h.

Referenced by processGUID().

ProcessHistoryID edm::EventAuxiliary::processHistoryID_
private

Definition at line 76 of file EventAuxiliary.h.

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

int edm::EventAuxiliary::storeNumber_
private

Definition at line 94 of file EventAuxiliary.h.

Referenced by storeNumber().

Timestamp edm::EventAuxiliary::time_
private

Definition at line 82 of file EventAuxiliary.h.

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