ATLAS Offline Software
CaloTopoTowerFromClusterCalibrator.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 /* Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration */
3 #ifndef CALOREC_CALOTOPOTOWERFROMCLUSTERCALIBRATOR_H
4 #define CALOREC_CALOTOPOTOWERFROMCLUSTERCALIBRATOR_H
5 
7 
9 
11 
12 #include <string>
13 
15 
17 {
18 public:
19 
21  CaloTopoTowerFromClusterCalibrator(const std::string& type,const std::string& name,const IInterface* pParent);
22 
24 
25  virtual StatusCode execute(const EventContext& ctx,
26  xAOD::CaloClusterContainer* pClusCont,
27  CaloCellClusterWeights* cellWeights) const override;
28  // virtual StatusCode initialize() override;
29 private:
30 
33  bool m_orderByPt = { false };
34 };
48 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
CaloTopoTowerFromClusterCalibrator::CaloTopoTowerFromClusterCalibrator
CaloTopoTowerFromClusterCalibrator(const std::string &type, const std::string &name, const IInterface *pParent)
Tool constructor.
Definition: CaloTopoTowerFromClusterCalibrator.cxx:22
CaloTopoTowerFromClusterCalibrator::m_orderByPt
bool m_orderByPt
Turn on pT ordering if true.
Definition: CaloTopoTowerFromClusterCalibrator.h:33
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
AthAlgTool.h
CaloTowerCollectionProcessor
Definition: CaloTowerCollectionProcessor.h:31
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
CaloTopoTowerFromClusterCalibrator::execute
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *pClusCont, CaloCellClusterWeights *cellWeights) const override
Tool execution.
Definition: CaloTopoTowerFromClusterCalibrator.cxx:29
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
CaloCellClusterWeights
Hash lookup of calibration weights for calorimeter cells.
Definition: CaloCellClusterWeights.h:23
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
AthAlgTool
Definition: AthAlgTool.h:26
CaloTopoTowerFromClusterCalibrator
A cluster builder tool to calibrate topo-clusters formed from (EM) calorimeter towers to the LCW scal...
Definition: CaloTopoTowerFromClusterCalibrator.h:17