ATLAS Offline Software
CaloTopoTowerMaker.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 //Dear emacs, this is -*-c++-*-
6 
7 #ifndef CALOREC_CALOTOPOTOWERMAKER_H
8 #define CALOREC_CALOTOPOTOWERMAKER_H
9 
23 
25 
26 #include "GaudiKernel/ToolHandle.h"
27 #include "GaudiKernel/ServiceHandle.h"
28 
29 // -- interfaces
33 
35 
37 class IChronoStatSvc;
38 
40 {
41 
42  public:
43 
44  CaloTopoTowerMaker(const std::string& name, ISvcLocator* pSvcLocator);
45  virtual ~CaloTopoTowerMaker() override;
46  virtual StatusCode initialize() override;
47  virtual StatusCode execute(const EventContext& ctx) const override;
48  virtual StatusCode finalize() override;
49 
50  const std::string& getOutputContainerName() const;
51 
52  private:
53 
59 
63 
67 
73  ToolHandle<CaloTowerCollectionProcessor> m_towerMakerTool;
74 
80  ToolHandleArray<CaloClusterCollectionProcessor> m_towerCorrectionTools;
81 
85  ToolHandle<CaloTowerCollectionProcessor> m_towerCalibratorTool;
86 
89 
94  //MT-unfriendly:bool m_keep_each_correction;
95 
101  bool m_saveSignalState = { true };
102 
104  bool m_chronoTools = { false };
105 
107  bool m_useLCWCalibration = { true };
108 
109 
111  const CaloCell_ID* m_caloCellID=nullptr;
112 
113 };
114 #endif // CALOREC_CALOTOPOTOWERMAKER_H
115 
116 
117 
CaloTopoTowerMaker::m_caloCellID
const CaloCell_ID * m_caloCellID
Identifier helper.
Definition: CaloTopoTowerMaker.h:111
CaloTopoTowerMaker::m_towerMakerTool
ToolHandle< CaloTowerCollectionProcessor > m_towerMakerTool
Tower makers.
Definition: CaloTopoTowerMaker.h:73
CaloTopoTowerMaker::m_chronoTools
bool m_chronoTools
Use ChronotStatSvc to monitor each tool.
Definition: CaloTopoTowerMaker.h:104
CaloCell_ID.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
CaloTopoTowerMaker::m_towerCalibratorTool
ToolHandle< CaloTowerCollectionProcessor > m_towerCalibratorTool
Tower calibrator(s)
Definition: CaloTopoTowerMaker.h:85
CaloTopoTowerMaker::CaloTopoTowerMaker
CaloTopoTowerMaker(const std::string &name, ISvcLocator *pSvcLocator)
Definition: CaloTopoTowerMaker.cxx:56
CaloTopoTowerMaker::makeContainer
StatusCode makeContainer()
Method to create a CaloClusterContainer together with it's AuxStore and Link container.
SG::WriteHandleKey< xAOD::CaloClusterContainer >
CaloTowerCollectionProcessor.h
Base class for cluster processing tools called from CaloClusterMaker.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CaloTopoTowerMaker::initialize
virtual StatusCode initialize() override
Definition: CaloTopoTowerMaker.cxx:96
CaloCell_ID
Helper class for offline cell identifiers.
Definition: CaloCell_ID.h:34
CaloTopoTowerMaker::m_towerOutput
SG::WriteHandleKey< xAOD::CaloClusterContainer > m_towerOutput
the name of the key in StoreGate for the output CaloClusterContainer
Definition: CaloTopoTowerMaker.h:62
CaloTopoTowerMaker::getOutputContainerName
const std::string & getOutputContainerName() const
Definition: CaloTopoTowerMaker.cxx:215
CaloTopoTowerMaker::m_towerCellLinkOutput
SG::WriteHandleKey< CaloClusterCellLinkContainer > m_towerCellLinkOutput
the name of the key in StoreGate for the output CaloClusterCellLinkContainer
Definition: CaloTopoTowerMaker.h:66
AthReentrantAlgorithm.h
CaloTopoTowerMaker::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: CaloTopoTowerMaker.cxx:152
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
CaloClusterCollectionProcessor.h
Base class for cluster processing tools called from CaloClusterMaker.
CaloTopoTowerMaker
Top algorithm to reconstruct xAOD::CaloCluster objects representing topo-towers from CaloClusters.
Definition: CaloTopoTowerMaker.h:40
CaloTopoTowerMaker::m_useLCWCalibration
bool m_useLCWCalibration
Use LCW calibration for topo-towers (default is true)
Definition: CaloTopoTowerMaker.h:107
CaloTopoTowerMaker::m_saveSignalState
bool m_saveSignalState
Keep the individual results of each correction.
Definition: CaloTopoTowerMaker.h:101
CaloTopoTowerMaker::m_towerCorrectionTools
ToolHandleArray< CaloClusterCollectionProcessor > m_towerCorrectionTools
Tower (cluster) moment makers.
Definition: CaloTopoTowerMaker.h:80
CaloTopoTowerMaker::m_chrono
ServiceHandle< IChronoStatSvc > m_chrono
Handle to the ChronoStatSvc.
Definition: CaloTopoTowerMaker.h:88
CaloTopoTowerMaker::~CaloTopoTowerMaker
virtual ~CaloTopoTowerMaker() override
CaloTopoTowerMaker::finalize
virtual StatusCode finalize() override
Definition: CaloTopoTowerMaker.cxx:146
ServiceHandle< IChronoStatSvc >
CaloCellClusterWeights.h