|
ATLAS Offline Software
|
Go to the documentation of this file.
24 return StatusCode::SUCCESS;
30 return StatusCode::SUCCESS;
42 CHECK(h_inCaloClusters.isValid());
43 ATH_MSG_DEBUG(
"Read in " << (h_inCaloClusters->size()) <<
" clusters");
55 for (
const auto cluster : *h_inCaloClusters) {
57 float time = cluster->time();
58 float quality = acc_larq(*cluster)/65535;
59 float lambda_center = acc_clambda(*cluster);
63 if( abs(
time) > timeCut )
continue;
67 h_outCaloClusters->push_back(cluster);
71 ATH_MSG_DEBUG(
"Read In " << h_inCaloClusters->size() <<
" Selected " << h_outCaloClusters->size());
73 return StatusCode::SUCCESS;
Gaudi::Property< float > m_timeCutLargeQ
virtual StatusCode execute(const EventContext &) const
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts
Gaudi::Property< float > m_etaCut
Helper class to provide constant type-safe access to aux data.
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())
GepClusterTimingAlg(const std::string &name, ISvcLocator *pSvcLocator)
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual ~GepClusterTimingAlg()
Gaudi::Property< float > m_qualityCut
#define CHECK(...)
Evaluate an expression and check for errors.
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_inCaloClustersKey
SG::WriteHandleKey< ConstDataVector< xAOD::CaloClusterContainer > > m_outCaloClustersKey
Gaudi::Property< float > m_lambdaCalDivide
def time(flags, cells_name, *args, **kw)
DataVector adapter that acts like it holds const pointers.
virtual StatusCode finalize()
Gaudi::Property< float > m_timeCutSmallQ
virtual StatusCode initialize()