ATLAS Offline Software
LArCollisionTimeAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // TheLArCollisionsAlg.h
6 //
7 
8 #ifndef LARCELLREC_LARCOLLISIONTIMEALG_H
9 #define LARCELLREC_LARCOLLISIONTIMEALG_H
10 
13 
15 
20 
21 class CaloCell_ID;
22 
24  public:
26 
27  virtual ~LArCollisionTimeAlg() = default;
28 
30  virtual StatusCode initialize() override final;
32  virtual StatusCode execute(const EventContext& ctx) const override final;
34  virtual StatusCode finalize() override final;
35 
36  private:
37 
38  //---------------------------------------------------
39  // Member variables
40  //---------------------------------------------------
42 
43  //---------------------------------------------------
44  // Properties
45  // --------------------------------------------------
46  Gaudi::Property<bool> m_isMC { this, "isMC", false, "Are we working with simu?" };
47  Gaudi::Property<bool> m_iterCut { this, "cutIteration", false, "cut on OFC iteration, will not work for Online" };
48  Gaudi::Property<float> m_timeCut { this, "timeDiffCut", 5., "|A-C| time < timeDiffCut to pass the filter" };
49  Gaudi::Property<int> m_minCells { this, "nCells", 2, "min. number of cells per endcap to pass the filter" };
50 
51 
52  SG::ReadHandleKey<CaloCellContainer> m_cellsContName{this,"cellContainerName","AllCalo"};
53  SG::WriteHandleKey<LArCollisionTime> m_collTimeName{this,"collisionTime","LArCollisionTime"};
54  SG::ReadCondHandleKey<CaloNoise> m_noiseCDOKey{this,"CaloNoiseKey","totalNoise","SG Key of CaloNoise data object"};
55 
56 };
57 #endif
LArCollisionTimeAlg::~LArCollisionTimeAlg
virtual ~LArCollisionTimeAlg()=default
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
LArCollisionTimeAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
standard Athena-Algorithm method
Definition: LArCollisionTimeAlg.cxx:34
LArCollisionTimeAlg::m_collTimeName
SG::WriteHandleKey< LArCollisionTime > m_collTimeName
Definition: LArCollisionTimeAlg.h:53
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
SG::ReadHandleKey< CaloCellContainer >
Property
Support class for PropertyMgr.
Definition: Property.h:23
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
SG::WriteHandleKey< LArCollisionTime >
LArCollisionTimeAlg::m_minCells
Gaudi::Property< int > m_minCells
Definition: LArCollisionTimeAlg.h:49
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CaloCell_ID
Helper class for offline cell identifiers.
Definition: CaloCell_ID.h:34
LArCollisionTimeAlg::m_timeCut
Gaudi::Property< float > m_timeCut
Definition: LArCollisionTimeAlg.h:48
LArCollisionTimeAlg::m_noiseCDOKey
SG::ReadCondHandleKey< CaloNoise > m_noiseCDOKey
Definition: LArCollisionTimeAlg.h:54
ReadCondHandleKey.h
AthReentrantAlgorithm.h
LArCollisionTimeAlg
Definition: LArCollisionTimeAlg.h:23
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
LArCollisionTimeAlg::m_isMC
Gaudi::Property< bool > m_isMC
Definition: LArCollisionTimeAlg.h:46
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
CaloNoise.h
LArCollisionTimeAlg::finalize
virtual StatusCode finalize() override final
standard Athena-Algorithm method
Definition: LArCollisionTimeAlg.cxx:27
CaloCellContainer.h
SG::ReadCondHandleKey< CaloNoise >
LArCollisionTimeAlg::m_calo_id
const CaloCell_ID * m_calo_id
Definition: LArCollisionTimeAlg.h:41
LArCollisionTimeAlg::m_iterCut
Gaudi::Property< bool > m_iterCut
Definition: LArCollisionTimeAlg.h:47
Gaudi
=============================================================================
Definition: CaloGPUClusterAndCellDataMonitorOptions.h:273
LArCollisionTime.h
LArCollisionTimeAlg::initialize
virtual StatusCode initialize() override final
standard Athena-Algorithm method
Definition: LArCollisionTimeAlg.cxx:10
LArCollisionTimeAlg::m_cellsContName
SG::ReadHandleKey< CaloCellContainer > m_cellsContName
Definition: LArCollisionTimeAlg.h:52