CMS 3D CMS Logo

Public Types | Public Member Functions | Static Public Attributes | Private Attributes | Friends

edm::EventAuxiliary Class Reference

#include <EventAuxiliary.h>

List of all members.

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 (EventID const &theId, std::string const &theProcessGUID, Timestamp const &theTime, bool isReal, ExperimentType eType=Undefined, int bunchXing=invalidBunchXing, int storeNum=invalidStoreNumber, int orbitNum=invalidBunchXing)
 EventAuxiliary ()
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 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]
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.

                                                    :
        processHistoryID_(),
        id_(theId),
        processGUID_(theProcessGUID),
        time_(theTime),
        luminosityBlock_(0U),
        isRealData_(isReal),
        experimentType_(eType),
        bunchCrossing_(bunchXing),
        orbitNumber_(orbitNum),
        storeNumber_(storeNum) {}
edm::EventAuxiliary::~EventAuxiliary ( ) [inline]

Definition at line 55 of file EventAuxiliary.h.

{}

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_.

{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_.

{return 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().

{return processGUID_;}
ProcessHistoryID const& edm::EventAuxiliary::processHistoryID ( ) const [inline]
void edm::EventAuxiliary::resetObsoleteInfo ( ) [inline]

Definition at line 65 of file EventAuxiliary.h.

References luminosityBlock_.

RunNumber_t edm::EventAuxiliary::run ( ) const [inline]
void edm::EventAuxiliary::setProcessHistoryID ( ProcessHistoryID const &  phid) [inline]

Definition at line 58 of file EventAuxiliary.h.

References processHistoryID_.

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

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 edm::operator<<().

                                            {
    os << "Process History ID = " <<  processHistoryID_ << std::endl;
    os << id_ << std::endl;
    //os << "TimeStamp = " << time_ << std::endl;
  }

Friends And Related Function Documentation

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

Member Data Documentation

Definition at line 90 of file EventAuxiliary.h.

Referenced by bunchCrossing().

Definition at line 88 of file EventAuxiliary.h.

Referenced by experimentType().

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.

Definition at line 29 of file EventAuxiliary.h.

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

Definition at line 86 of file EventAuxiliary.h.

Referenced by isRealData().

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().

Definition at line 76 of file EventAuxiliary.h.

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

Definition at line 94 of file EventAuxiliary.h.

Referenced by storeNumber().

Definition at line 82 of file EventAuxiliary.h.

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