|
ATLAS Offline Software
|
Go to the documentation of this file.
27 return StatusCode::SUCCESS;
40 std::unique_ptr<CaloBCIDLumi>
lumi;
44 return StatusCode::SUCCESS;
48 lumi = std::make_unique<CaloBCIDLumi> (**
coeffs, **bccd);
58 EventIDBase coeffs_start =
coeffs.getRange().start();
59 EventIDBase lcd_start = lcd.
getRange().start();
60 if ((
start.time_stamp() == coeffs_start.time_stamp() &&
61 start.time_stamp_ns_offset() == coeffs_start.time_stamp_ns_offset()) ||
62 (
start.time_stamp() == lcd_start.time_stamp() &&
63 start.time_stamp_ns_offset() == lcd_start.time_stamp_ns_offset()))
66 return StatusCode::SUCCESS;
70 lumi = std::make_unique<CaloBCIDLumi> (**
coeffs, **lcd);
78 return StatusCode::SUCCESS;
SG::WriteCondHandleKey< CaloBCIDLumi > m_outputLumiKey
Property: Offset correction luminosity-dependent conditions object (output).
const EventIDRange & getRange()
Gaudi::Property< bool > m_isMC
Property; MC flag.
const EventIDRange & getRange() const
StatusCode record(const EventIDRange &range, T *t)
record handle, with explicit range DEPRECATED
virtual StatusCode execute(const EventContext &ctx) const override final
Execute the algorithm.
SG::ReadCondHandleKey< LuminosityCondData > m_lumiDataKey
Property: Per-bunch luminosity data (data only) conditions input).
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::ReadCondHandleKey< BunchCrossingCondData > m_bcDataKey
Property: Bunch crossing data (MC only) (conditions input).
virtual StatusCode initialize() override
Gaudi initialize method.
const std::string & key() const
SG::ReadCondHandleKey< CaloBCIDCoeffs > m_coeffsKey
Property: Coefficients object (conditions input).
StatusCode initialize(bool used=true)
Conditions algorithm to create CaloBCIDLumi.
void addDependency(const EventIDRange &range)