|
ATLAS Offline Software
|
Go to the documentation of this file.
21 return StatusCode::FAILURE;
27 return StatusCode::SUCCESS;
34 const EventContext& ctx = Gaudi::Hive::currentContext();
42 out <<
"\nTimestamp:" << ctx.eventID().time_stamp() <<
" ns:" << ctx.eventID().time_stamp_ns_offset() << std::endl;
54 return StatusCode::SUCCESS;
int distanceFromTail(const bcid_type bcid, const BunchDistanceType type=NanoSec) const
The distance of the specific bunch crossing from the tail of the train.
bool isUnpaired(const bcid_type bcid) const
Function deciding if a given bunch crossing has an unpaired bunch.
int gapAfterTrain(bcid_type bcid=0, BunchDistanceType type=NanoSec) const
Gap after the train this BCID is in.
Gaudi::Property< bool > m_compact
unsigned int numberOfBunchTrains() const
Get the number of the bunch trains in the current configuration.
static void printCompactInfo(const BunchCrossingCondData *bccd, unsigned int bcid, std::ostream &out)
int gapBeforeTrain(bcid_type bcid=0, BunchDistanceType type=NanoSec) const
Gap before the train this BCID is in.
SG::ReadCondHandleKey< BunchCrossingCondData > m_inputKey
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Property< std::string > m_fileName
unsigned int numberOfUnpairedBunches() const
Get the number of unpaired bunches in the current configuration.
bool isBeam2(const bcid_type bcid) const
Function deciding if there was a bunch from "beam 2" in this bunch crossing.
int distanceFromFront(const bcid_type bcid, const BunchDistanceType type=NanoSec) const
The distance of the specific bunch crossing from the front of the train.
static void printInfo(const BunchCrossingCondData *bccd, unsigned int bcid, std::ostream &out)
Function for printing detailed info about a given bunch crossing.
bool isBeam1(const bcid_type bcid) const
Function deciding if there was a bunch from "beam 1" in this bunch crossing.
StatusCode initialize(bool used=true)
setEventNumber setTimeStamp bcid
bool isInTrain(const bcid_type bcid) const
Function deciding if a given bunch crossing is in a filled train.
virtual StatusCode execute()
Function called once per event.
virtual StatusCode initialize()
Initialization run before the event loop.
bool isFilled(const bcid_type bcid) const
The simplest query: Is the bunch crossing filled or not?