5#ifndef LARCLUSTERCOLLISIONTIMEALG_H
6#define LARCLUSTERCOLLISIONTIMEALG_H
8#include "Gaudi/Property.h"
23 using AthReentrantAlgorithm::AthReentrantAlgorithm;
32 StatusCode
finalize() override final;
52 mutable std::atomic<unsigned>
m_nEvt{0};
58 Gaudi::Property<float>
m_timeCut {
this,
"timeDiffCut", 2.,
"max |A-C| time difference tu pass the filter" };
59 Gaudi::Property<size_t>
m_maxClusters {
this,
"maxNClusters", 3,
"how many clusters taken into sum" };
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
StatusCode execute(const EventContext &ctx) const override final
standard Athena-Algorithm method
perSide_t analyseClustersPerSide(std::vector< const xAOD::CaloCluster * > &clusters) const
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_clusterContainerName
SG::WriteHandleKey< LArCollisionTime > m_outputName
std::atomic< unsigned > m_nCollEvt
StatusCode initialize() override final
standard Athena-Algorithm method
~LArClusterCollisionTimeAlg()=default
std::atomic< unsigned > m_nEvt
Gaudi::Property< size_t > m_maxClusters
Gaudi::Property< float > m_timeCut
StatusCode finalize() override final
standard Athena-Algorithm method
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
perSide_t(const float t, const float e, const unsigned nC)