|
ATLAS Offline Software
|
Go to the documentation of this file.
21 return StatusCode::SUCCESS;
25 return StatusCode::SUCCESS;
37 float avgInteractionsPerCrossingMC = 1;
50 bcidLumi->
calc (
bcid, avgInteractionsPerCrossingMC, avgEshift);
51 auto result = std::make_unique<CaloBCIDAverage>(mcSym, std::move(avgEshift));
53 #ifdef DONTDO // some debug code, please, ignore
54 std::cout <<
"BCIDAlg corrections for BCID : " <<
bcid << std::endl;
57 float eshift=avgEshift[
i];
58 if ( fabsf(1e9*(eshift)) > 0.001 ){
60 std::cout <<
"Alg BCID " <<
bcid <<
", cell [" << id32 <<
"] = " <<(
double)eshift << std::endl;
68 return StatusCode::SUCCESS;
Gaudi::Property< bool > m_isSC
Property: m_isSC.
aligned_vector< T, 64 > vec_aligned_vector
A std::vector with alignment sufficient for any vector instructions on this platform.
Group
Properties of a chain group.
Identifier32 get_identifier32() const
Get the 32-bit version Identifier, will be invalid if >32 bits needed.
ToolHandle< GenericMonitoringTool > m_monTool
virtual StatusCode execute(const EventContext &ctx) const override
SG::WriteHandleKey< CaloBCIDAverage > m_bcidAvgKey
@ IS_SIMULATION
true: simulation, false: data
value_type get_compact() const
Get the compact id.
virtual StatusCode initialize() override
def timer(name, disabled=False)
Helper class to handle z-phi symmetry of calibration constants in MC.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode finalize() override
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Header file to be included by clients of the Monitored infrastructure.
float averageInteractionsPerCrossing() const
Average interactions per crossing for all BCIDs - for out-of-time pile-up.
SG::ReadCondHandleKey< CaloBCIDLumi > m_bcidLumiKey
StatusCode initialize(bool used=true)
setEventNumber setTimeStamp bcid
void calc(const size_t bcid, const float averageInteractionsPerCrossing, CxxUtils::vec_aligned_vector< float > &out) const
Perform the calculation for a given BCID.
std::vector with extra alignment.
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
const std::vector< HWIdentifier > & symIds() const
Return the list of symmetric hashes.
uint32_t bcid() const
The bunch crossing ID of the event.
SG::ReadCondHandleKey< LArMCSym > m_mcSym
bool eventType(EventType type) const
Check for one particular bitmask value.