ATLAS Offline Software
HIClusterMaker.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 // HIClusterMaker.h
6 
7 #ifndef __HIJETREC_HICLUSTERMAKER_H__
8 #define __HIJETREC_HICLUSTERMAKER_H__
9 
23 
24 
26 //Ideally use forward class decl. for CaloClusterContainer
27 //Cannot because this class is defined via typedef
30 
33 
34 class CaloCellContainer;
35 
37 {
38 
39 public:
40 
41  HIClusterMaker(const std::string& name, ISvcLocator* pSvcLocator);
43 
44  virtual StatusCode initialize();
45  virtual StatusCode execute(const EventContext &ctx) const;
46  virtual StatusCode finalize();
47 
48  //Simple helper to dump clusters for debugging
50 private:
52  SG::ReadHandleKey<INavigable4MomentumCollection> m_towerContainerKey { this, "InputTowerKey" , "CombinedTower" , "InputTowerKey"};
54  SG::ReadHandleKey<CaloCellContainer> m_cellContainerKey { this, "CaloCellContainerKey" , "AllCalo" , "InputCellKey" };
56  SG::WriteHandleKey<xAOD::CaloClusterContainer> m_outputKey { this, "OutputContainerKey" , "PseudoJet" , "Read version of output Container Key"};
58  Gaudi::Property< float > m_EminMoment { this, "MinimumEnergyForMoments", 50., "> E, cluster given tower coordinates" };
59 
60 };
61 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
HIClusterMaker::dumpClusters
StatusCode dumpClusters(xAOD::CaloClusterContainer *clusColl)
Definition: HIClusterMaker.cxx:164
HIClusterMaker::finalize
virtual StatusCode finalize()
Definition: HIClusterMaker.cxx:158
HIClusterMaker
Algorithm to build HI-style clusters, which are essentially towers. Cluster energy is sum of cell ene...
Definition: HIClusterMaker.h:37
HIClusterMaker::m_towerContainerKey
SG::ReadHandleKey< INavigable4MomentumCollection > m_towerContainerKey
Name of input CaloTowerContainer, e.g CmbTower.
Definition: HIClusterMaker.h:52
HIClusterMaker::initialize
virtual StatusCode initialize()
Definition: HIClusterMaker.cxx:24
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
HIClusterMaker::m_outputKey
SG::WriteHandleKey< xAOD::CaloClusterContainer > m_outputKey
Name of output CaloClusterContainer, e.g. HIClusters.
Definition: HIClusterMaker.h:56
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
HIClusterMaker::m_cellContainerKey
SG::ReadHandleKey< CaloCellContainer > m_cellContainerKey
Name of input CaloCellContainer, e.g. AllCalo.
Definition: HIClusterMaker.h:54
SG::WriteHandleKey< xAOD::CaloClusterContainer >
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
INavigable4MomentumCollection.h
HIClusterMaker::HIClusterMaker
HIClusterMaker(const std::string &name, ISvcLocator *pSvcLocator)
Definition: HIClusterMaker.cxx:19
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
HIClusterMaker::~HIClusterMaker
~HIClusterMaker()
Definition: HIClusterMaker.h:42
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
CaloCellContainer
Container class for CaloCell.
Definition: CaloCellContainer.h:55
HIClusterMaker::m_EminMoment
Gaudi::Property< float > m_EminMoment
For clusters w/ E less than this, set their eta/phi to tower eta/phi.
Definition: HIClusterMaker.h:58
CaloClusterContainer.h
HIClusterMaker::execute
virtual StatusCode execute(const EventContext &ctx) const
Definition: HIClusterMaker.cxx:34