ATLAS Offline Software
ClusterPositionInCaloFillerTool.h
Go to the documentation of this file.
1 // This file's extension implies that it's C, but it's really -*- C++ -*-.
2 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id$
15 #ifndef CALOD3PDMAKER_CLUSTERPOSITIONINCALOFILLERTOOL_H
16 #define CALOD3PDMAKER_CLUSTERPOSITIONINCALOFILLERTOOL_H
17 
21 class CaloCluster;
22 class CaloCellDetPos;
23 
24 namespace D3PD {
25 
26 
31  : public BlockFillerTool<Types<CaloCluster, xAOD::CaloCluster> >
32 {
33 public:
35 
42  ClusterPositionInCaloFillerTool (const std::string& type,
43  const std::string& name,
44  const IInterface* parent);
45 
46  virtual StatusCode initialize() override;
47 
49  virtual StatusCode book() final;
50 
51 
60  virtual StatusCode fill (const CaloCluster& p) override;
61 
62 
71  virtual StatusCode fill (const xAOD::CaloCluster& p) override;
72 
73 
74 private:
81  template <class T>
82  StatusCode fillT (const T& p);
83 
84 
86  double* m_etaCalo;
87 
89  double* m_phiCalo;
90 
92  double* m_eta0Calo;
93 
95  double* m_phi0Calo;
96 
99 
101  this,
102  "CaloDetDescrManager",
103  "CaloDetDescrManager",
104  "SG Key for CaloDetDescrManager in the Condition Store"
105  };
106 
107 };
108 
109 
110 } // namespace D3PD
111 
112 
113 #endif // not CALOD3PDMAKER_CLUSTERPOSITIONINCALOFILLERTOOL_H
D3PD::ClusterPositionInCaloFillerTool::m_etaCalo
double * m_etaCalo
Variable: eta position in calo frame.
Definition: ClusterPositionInCaloFillerTool.h:86
D3PD::ClusterPositionInCaloFillerTool::m_FillSeedCoordinates
bool m_FillSeedCoordinates
Variable: whether to dump the seed coordinates.
Definition: ClusterPositionInCaloFillerTool.h:98
D3PD::ClusterPositionInCaloFillerTool::ClusterPositionInCaloFillerTool
ClusterPositionInCaloFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition: ClusterPositionInCaloFillerTool.cxx:29
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
D3PD::ClusterPositionInCaloFillerTool::m_phi0Calo
double * m_phi0Calo
Variable: seed phi position in calo frame.
Definition: ClusterPositionInCaloFillerTool.h:95
taskman.template
dictionary template
Definition: taskman.py:317
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
D3PD::ClusterPositionInCaloFillerTool
Block filler tool for eta/phi positions in calo coordinate from a CaloCluster.
Definition: ClusterPositionInCaloFillerTool.h:32
BlockFillerTool.h
Type-safe wrapper for block filler tools.
D3PD::ClusterPositionInCaloFillerTool::fill
virtual StatusCode fill(const CaloCluster &p) override
Fill one block — type-safe version.
Definition: ClusterPositionInCaloFillerTool.cxx:78
D3PD
Block filler tool for noisy FEB information.
Definition: CaloCellDetailsFillerTool.cxx:29
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
CaloCluster.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
test_pyathena.parent
parent
Definition: test_pyathena.py:15
CaloCellDetPos
Definition: CaloCellDetPos.h:21
CaloCluster
Principal data class for CaloCell clusters.
Definition: Calorimeter/CaloEvent/CaloEvent/CaloCluster.h:79
D3PD::BlockFillerTool
Type-safe wrapper for block filler tools.
Definition: BlockFillerTool.h:68
D3PD::ClusterPositionInCaloFillerTool::book
virtual StatusCode book() final
Book variables for this block.
Definition: ClusterPositionInCaloFillerTool.cxx:50
CaloCellDetPos.h
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
CaloDetDescrManager
This class provides the client interface for accessing the detector description information common to...
Definition: CaloDetDescrManager.h:473
D3PD::ClusterPositionInCaloFillerTool::initialize
virtual StatusCode initialize() override
Definition: ClusterPositionInCaloFillerTool.cxx:39
D3PD::ClusterPositionInCaloFillerTool::Base
BlockFillerTool< Types< CaloCluster, xAOD::CaloCluster > > Base
Definition: ClusterPositionInCaloFillerTool.h:34
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
D3PD::ClusterPositionInCaloFillerTool::m_eta0Calo
double * m_eta0Calo
Variable: seed eta position in calo frame.
Definition: ClusterPositionInCaloFillerTool.h:92
D3PD::ClusterPositionInCaloFillerTool::m_phiCalo
double * m_phiCalo
Variable: phi position in calo frame.
Definition: ClusterPositionInCaloFillerTool.h:89
D3PD::ClusterPositionInCaloFillerTool::fillT
StatusCode fillT(const T &p)
Fill one block.
Definition: ClusterPositionInCaloFillerTool.cxx:107
D3PD::ClusterPositionInCaloFillerTool::m_caloDetDescrMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloDetDescrMgrKey
Definition: ClusterPositionInCaloFillerTool.h:100