ATLAS Offline Software
CaloInfoFillerTool.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-2021 CERN for the benefit of the ATLAS collaboration
5 */
6 
14 #ifndef CALOSYSD3PDMAKER_CALOINFOFITERTOOL_H
15 #define CALOSYSD3PDMAKER_CALOINFOFITERTOOL_H
16 
18 #include "GaudiKernel/ServiceHandle.h"
19 #include "GaudiKernel/ToolHandle.h"
20 
21 class CaloCellContainer;
22 class StoreGateSvc;
23 class LArEM_ID;
24 class LArHEC_ID;
25 class LArFCAL_ID;
26 class TileID;
27 class LArOnlineID;
28 
29 namespace D3PD {
30 
31 
36  : public BlockFillerTool<CaloCellContainer>
37 {
38 public:
45  CaloInfoFillerTool (const std::string& type,
46  const std::string& name,
47  const IInterface* parent);
48 
49 
51  virtual StatusCode book();
52 
53 
62  virtual StatusCode fill (const CaloCellContainer& p);
63 
64 
65 private:
66 
67 
68 
69 
70  int* m_Nh_Calo;
71  float* m_Eh_Calo;
72 
73  int* m_Nh_EM;
74  float* m_Eh_EM;
75 
76  int* m_Nh_HAD;
77  float* m_Eh_HAD;
78 
79  int* m_Nh_PresB;
80  std::vector<float> * m_Eh_PresB;
81 
82  int* m_Nh_EMB;
83  std::vector<float> * m_Eh_EMB;
84 
85  int* m_Nh_EMEC;
86  std::vector<float> * m_Eh_EMEC;
87 
88  int* m_Nh_Tile;
89  std::vector<float> * m_Eh_Tile;
90 
91  int* m_Nh_TileGap;
92  std::vector<float> * m_Eh_TileGap;
93 
94  int* m_Nh_Scint;
95  std::vector<float> * m_Eh_Scint;
96 
97  int* m_Nh_HEC;
98  std::vector<float> * m_Eh_HEC;
99 
100  int* m_Nh_FCal;
101  std::vector<float> * m_Eh_FCal;
102 
103  int* m_Nh_PresE;
104  std::vector<float> * m_Eh_PresE;
105 
106  // property
107  int m_posneg ;
108  bool m_doEt ;
109 
110 };
111 
112 
113 } // namespace D3PD
114 
115 
116 #endif // not CALOSYSD3PDMAKER_CALOINFOFITERTOOL_H
D3PD::CaloInfoFillerTool::m_Nh_EM
int * m_Nh_EM
Definition: CaloInfoFillerTool.h:73
D3PD::CaloInfoFillerTool::m_Nh_EMEC
int * m_Nh_EMEC
Definition: CaloInfoFillerTool.h:85
D3PD::CaloInfoFillerTool::CaloInfoFillerTool
CaloInfoFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition: CaloInfoFillerTool.cxx:38
LArHEC_ID
Helper class for LArHEC offline identifiers.
Definition: LArHEC_ID.h:85
D3PD::CaloInfoFillerTool::m_Eh_FCal
std::vector< float > * m_Eh_FCal
Definition: CaloInfoFillerTool.h:101
D3PD::CaloInfoFillerTool::m_Eh_Calo
float * m_Eh_Calo
Definition: CaloInfoFillerTool.h:71
D3PD::CaloInfoFillerTool::m_Eh_PresB
std::vector< float > * m_Eh_PresB
Definition: CaloInfoFillerTool.h:80
D3PD::CaloInfoFillerTool
Block filler tool for EM samplings from a CaloCluster.
Definition: CaloInfoFillerTool.h:37
D3PD::CaloInfoFillerTool::m_Eh_HEC
std::vector< float > * m_Eh_HEC
Definition: CaloInfoFillerTool.h:98
D3PD::CaloInfoFillerTool::m_Eh_PresE
std::vector< float > * m_Eh_PresE
Definition: CaloInfoFillerTool.h:104
D3PD::CaloInfoFillerTool::m_Nh_HEC
int * m_Nh_HEC
Definition: CaloInfoFillerTool.h:97
D3PD::CaloInfoFillerTool::m_Nh_FCal
int * m_Nh_FCal
Definition: CaloInfoFillerTool.h:100
D3PD::CaloInfoFillerTool::m_Nh_Tile
int * m_Nh_Tile
Definition: CaloInfoFillerTool.h:88
D3PD::CaloInfoFillerTool::m_Eh_EMEC
std::vector< float > * m_Eh_EMEC
Definition: CaloInfoFillerTool.h:86
D3PD::CaloInfoFillerTool::m_Nh_HAD
int * m_Nh_HAD
Definition: CaloInfoFillerTool.h:76
BlockFillerTool.h
Type-safe wrapper for block filler tools.
D3PD::CaloInfoFillerTool::m_Nh_TileGap
int * m_Nh_TileGap
Definition: CaloInfoFillerTool.h:91
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:125
D3PD::CaloInfoFillerTool::m_Eh_HAD
float * m_Eh_HAD
Definition: CaloInfoFillerTool.h:77
D3PD
Block filler tool for noisy FEB information.
Definition: CaloCellDetailsFillerTool.cxx:29
D3PD::CaloInfoFillerTool::m_Nh_Calo
int * m_Nh_Calo
Definition: CaloInfoFillerTool.h:70
D3PD::CaloInfoFillerTool::m_Eh_EMB
std::vector< float > * m_Eh_EMB
Definition: CaloInfoFillerTool.h:83
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
D3PD::CaloInfoFillerTool::m_Eh_TileGap
std::vector< float > * m_Eh_TileGap
Definition: CaloInfoFillerTool.h:92
TileID
Helper class for TileCal offline identifiers.
Definition: TileID.h:68
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
D3PD::CaloInfoFillerTool::m_Eh_Scint
std::vector< float > * m_Eh_Scint
Definition: CaloInfoFillerTool.h:95
test_pyathena.parent
parent
Definition: test_pyathena.py:15
D3PD::BlockFillerTool
Type-safe wrapper for block filler tools.
Definition: BlockFillerTool.h:68
D3PD::CaloInfoFillerTool::m_Nh_Scint
int * m_Nh_Scint
Definition: CaloInfoFillerTool.h:94
D3PD::CaloInfoFillerTool::fill
virtual StatusCode fill(const CaloCellContainer &p)
Fill one block — type-safe version.
Definition: CaloInfoFillerTool.cxx:94
D3PD::CaloInfoFillerTool::m_Nh_PresB
int * m_Nh_PresB
Definition: CaloInfoFillerTool.h:79
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
LArOnlineID
Definition: LArOnlineID.h:20
D3PD::CaloInfoFillerTool::m_posneg
int m_posneg
Definition: CaloInfoFillerTool.h:107
CaloCellContainer
Container class for CaloCell.
Definition: CaloCellContainer.h:55
D3PD::CaloInfoFillerTool::m_Nh_EMB
int * m_Nh_EMB
Definition: CaloInfoFillerTool.h:82
D3PD::CaloInfoFillerTool::book
virtual StatusCode book()
Book variables for this block.
Definition: CaloInfoFillerTool.cxx:54
D3PD::CaloInfoFillerTool::m_doEt
bool m_doEt
Definition: CaloInfoFillerTool.h:108
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
D3PD::CaloInfoFillerTool::m_Eh_Tile
std::vector< float > * m_Eh_Tile
Definition: CaloInfoFillerTool.h:89
LArEM_ID
Helper class for LArEM offline identifiers.
Definition: LArEM_ID.h:118
D3PD::CaloInfoFillerTool::m_Eh_EM
float * m_Eh_EM
Definition: CaloInfoFillerTool.h:74
LArFCAL_ID
Helper class for LArFCAL offline identifiers.
Definition: LArFCAL_ID.h:60
D3PD::CaloInfoFillerTool::m_Nh_PresE
int * m_Nh_PresE
Definition: CaloInfoFillerTool.h:103