|
ATLAS Offline Software
|
Go to the documentation of this file.
29 ATH_MSG_ERROR(
"CVF key does not match input cluster container key!");
30 return StatusCode::FAILURE;
38 ATH_MSG_ERROR(
"Output category key does not match input cluster container key!");
39 return StatusCode::FAILURE;
43 return StatusCode::SUCCESS;
52 return StatusCode::FAILURE;
59 float CVF = accCVF(*iclus);
67 return StatusCode::SUCCESS;
std::string contKeyFromKey(const std::string &key)
Extract the container part of key.
CVFPrepAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
const std::string & key() const
Return the StoreGate ID for the referenced object.
Some common helper functions used by decoration handles.
An algorithm that can be simultaneously executed in multiple threads.
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
Description of a calorimeter cluster.
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...
::StatusCode StatusCode
StatusCode definition for legacy code.
Handle class for adding a decoration to an object.
#define CHECK(...)
Evaluate an expression and check for errors.
SG::WriteDecorHandleKey< xAOD::CaloClusterContainer > m_outputCategoryKey
The output classifcation.
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::CaloClusterContainer > m_inputClusterKey
The input container.
virtual StatusCode execute(const EventContext &ctx) const override
Gaudi::Property< float > m_cvfThreshold
The CVF threshold.
Handle class for reading a decoration on an object.
Handle class for reading from StoreGate.
SG::ReadDecorHandleKey< xAOD::CaloClusterContainer > m_inputCVFKey
The input CVF key.
virtual StatusCode initialize() override