|
ATLAS Offline Software
|
Go to the documentation of this file.
22 return StatusCode::SUCCESS;
31 float averageMu = 0.0;
37 if( std::abs( muToLumi ) > 0.00001 ) {
38 unsigned int bcid = ctx.eventID().bunch_crossing_id();
47 ATH_MSG_ERROR(
"actualInteractionsPerCrossing.isPresent check fails" );
48 return StatusCode::FAILURE;
56 ATH_MSG_ERROR(
"averageInteractionsPerCrossing.isPresent check fails" );
57 return StatusCode::FAILURE;
63 return StatusCode::SUCCESS;
const std::vector< float > & lbLuminosityPerBCIDVector() const
LumiBlockMuWriter(const std::string &name, ISvcLocator *pSvcLocator)
bool isAvailable()
Test to see if this variable exists in the store, for the referenced object.
bool empty() const
Test if the key is blank.
float lbAverageLuminosity() const
An algorithm that can be simultaneously executed in multiple threads.
virtual StatusCode execute(const EventContext &ctx) const override
virtual StatusCode initialize() override
SG::WriteDecorHandleKey< xAOD::EventInfo > m_actMuKey
::StatusCode StatusCode
StatusCode definition for legacy code.
Handle class for adding a decoration to an object.
Handle class for adding a decoration to an object.
SG::WriteDecorHandleKey< xAOD::EventInfo > m_aveMuKey
SG::ReadCondHandleKey< LuminosityCondData > m_lumiDataKey
float lbAverageInteractionsPerCrossing() const
StatusCode initialize(bool used=true)
setEventNumber setTimeStamp bcid
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
bool isPresent() const
Is the referenced container present in SG?