ATLAS Offline Software
TileInfoDump.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /***************************************************************************
6  TileInfoDump
7  -----------------------------------------
8  Test algorithm to dump out calibration constants from the TileInfoSvc
9 
10 
11  2007-05-14 nils.gollub@cern.ch
12  2008-06-06 lukas.pribyl@cern.ch
13  ***************************************************************************/
14 
15 #ifndef TILECALIBALGS_TILEINFODUMP_H
16 #define TILECALIBALGS_TILEINFODUMP_H
17 
18 // Gaudi includes
19 #include "GaudiKernel/ITHistSvc.h"
20 #include "GaudiKernel/ToolHandle.h"
21 
22 // Athena includes
39 
40 class TileHWID;
41 class TileID;
42 class TH2F;
43 
48 class TileInfoDump: public AthAlgorithm {
49  public:
50  TileInfoDump(const std::string& name, ISvcLocator* pSvcLocator);
51  ~TileInfoDump();
52 
56 
57  private:
58  bool m_isOnline;
59 
60  void printEmscale();
62 
63  void printEmscaleOnl();
65 
66  void printLaser();
68 
69  void printIntegrator();
71 
72  void printPedestals();
74 
77 
78  void printPulseShapes();
81 
82  void printBadChannels();
84 
85  void printBadCells();
87 
88  void printOfcs();
90 
91  void printMuID();
93 
94  void print1gNoise();
96 
98  "EventInfo", "EventInfo", "EventInfo key"};
99 
100  //=== Non-property members
101  ToolHandle<ITileBadChanTool> m_tileBadChanTool{this,
102  "TileBadChanTool", "TileBadChanTool", "Tile bad channel tool"};
103  ToolHandle<TileCondToolEmscale> m_tileToolEmscale{this,
104  "TileCondToolEmscale", "TileCondToolEmscale", "Tile em scale tool"};
105  ToolHandle<TileCondToolIntegrator> m_tileToolIntegrator{this,
106  "TileCondToolIntegrator", "TileCondToolIntegrator", "Tile integrator tool"};
107  ToolHandle<TileCondToolTiming> m_tileToolTiming{this,
108  "TileCondToolTiming", "TileCondToolTiming", "Tile timing tool"};
109  ToolHandle<TileCondToolPulseShape> m_tileToolPulseShape{this,
110  "TileCondToolPulseShape", "TileCondToolPulseShape", "Tile pulse shape tool"};
111  ToolHandle<TileCondToolNoiseSample> m_tileToolNoiseSample{this,
112  "TileCondToolNoiseSample", "TileCondToolNoiseSample", "Tile noise sample tool"};
113  ToolHandle<TileCondToolAutoCr> m_tileToolAutoCr{this,
114  "TileCondToolAutoCr", "TileCondToolAutoCr", "Tile auto cr tool"};
115  ToolHandle<TileCondToolNoiseRawChn> m_tileToolNoiseRawChn{this,
116  "TileCondToolNoiseRawChn", "TileCondToolNoiseRawChn", "Tile raw channel noise tool"};
117  ToolHandle<TileCondToolOfcCool> m_tileToolOfcCool{this,
118  "TileCondToolOfcCool", "TileCondToolOfcCool", "Tile OfcCool tool"};
119  ToolHandle<TileCondToolMuID> m_tileToolMuID{this,
120  "TileCondToolMuID", "TileCondToolMuID", "Tile MuID tool"};
121 
122  //=== a handle on the Hist/TTree registration service
124 
126  const TileID* m_tileID;
128  "CaloDetDescrManager", "CaloDetDescrManager", "SG Key for CaloDetDescrManager in the Condition Store" };
129 
135 
136  unsigned int m_printOfcRos;
137  unsigned int m_printOfcDrawer;
138  unsigned int m_printOfcChannel;
139 
140  //=== TileInfo
141  std::string m_infoName;
143  int m_i_ADCmax = 0;
144 };
145 
146 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
TileCondToolIntegrator.h
TileInfoDump::m_print1gNoise
bool m_print1gNoise
Definition: TileInfoDump.h:95
TileInfoDump::m_tileToolAutoCr
ToolHandle< TileCondToolAutoCr > m_tileToolAutoCr
Definition: TileInfoDump.h:113
TileInfoDump::~TileInfoDump
~TileInfoDump()
Definition: TileInfoDump.cxx:67
TileInfoDump::m_tileToolNoiseSample
ToolHandle< TileCondToolNoiseSample > m_tileToolNoiseSample
Definition: TileInfoDump.h:111
TileInfoDump::m_i_ADCmax
int m_i_ADCmax
Definition: TileInfoDump.h:143
TileInfoDump::m_caloMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Definition: TileInfoDump.h:127
TileInfoDump::m_tileToolTiming
ToolHandle< TileCondToolTiming > m_tileToolTiming
Definition: TileInfoDump.h:107
TileInfoDump::m_tileToolNoiseRawChn
ToolHandle< TileCondToolNoiseRawChn > m_tileToolNoiseRawChn
Definition: TileInfoDump.h:115
TileInfoDump::m_h_badCell
TH2F * m_h_badCell
Definition: TileInfoDump.h:134
TileInfoDump::execute
StatusCode execute()
Definition: TileInfoDump.cxx:144
TileInfoDump::m_tileBadChanTool
ToolHandle< ITileBadChanTool > m_tileBadChanTool
Definition: TileInfoDump.h:101
TileCondToolAutoCr.h
TileInfoDump::m_printPulseShapes
bool m_printPulseShapes
Definition: TileInfoDump.h:79
TileInfoDump::m_printEmscaleOnl
bool m_printEmscaleOnl
Definition: TileInfoDump.h:64
TileInfoDump::m_h_badCellGap
TH2F * m_h_badCellGap
Definition: TileInfoDump.h:133
TileInfoDump::printEmscale
void printEmscale()
Definition: TileInfoDump.cxx:183
TileInfoDump::m_printTimingCorrections
bool m_printTimingCorrections
Definition: TileInfoDump.h:76
TileInfoDump::m_h_badCellA
TH2F * m_h_badCellA
Definition: TileInfoDump.h:130
TileInfoDump::printPedestals
void printPedestals()
Definition: TileInfoDump.cxx:351
TileInfo.h
TileInfo
Definition: TileInfo.h:49
TileInfoDump::finalize
StatusCode finalize()
Definition: TileInfoDump.cxx:929
SG::ReadHandleKey< xAOD::EventInfo >
TileInfoDump::m_tileToolMuID
ToolHandle< TileCondToolMuID > m_tileToolMuID
Definition: TileInfoDump.h:119
TileInfoDump::m_h_badCellD
TH2F * m_h_badCellD
Definition: TileInfoDump.h:132
TileInfoDump::printLaser
void printLaser()
Definition: TileInfoDump.cxx:285
python.TrigEgammaMonitorHelper.TH2F
def TH2F(name, title, nxbins, bins_par2, bins_par3, bins_par4, bins_par5=None, bins_par6=None, path='', **kwargs)
Definition: TrigEgammaMonitorHelper.py:45
TileCondToolTiming.h
TileInfoDump::m_printPulseShapesStep
float m_printPulseShapesStep
Definition: TileInfoDump.h:80
TileInfoDump::m_printBadChannels
bool m_printBadChannels
Definition: TileInfoDump.h:83
TileInfoDump::m_h_badCellBC
TH2F * m_h_badCellBC
Definition: TileInfoDump.h:131
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
TileInfoDump::m_printMuID
bool m_printMuID
Definition: TileInfoDump.h:92
TileInfoDump::TileInfoDump
TileInfoDump(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TileInfoDump.cxx:32
TileInfoDump::printBadCells
void printBadCells()
Definition: TileInfoDump.cxx:640
AthAlgorithm.h
TileCondToolOfcCool.h
TileHWID
Helper class for TileCal online (hardware) identifiers.
Definition: TileHWID.h:49
TileInfoDump::printIntegrator
void printIntegrator()
Definition: TileInfoDump.cxx:319
TileCondToolNoiseSample.h
TileInfoDump::m_tileToolEmscale
ToolHandle< TileCondToolEmscale > m_tileToolEmscale
Definition: TileInfoDump.h:103
TileInfoDump::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition: TileInfoDump.h:97
TileInfoDump::m_tileID
const TileID * m_tileID
Definition: TileInfoDump.h:126
TileCondToolEmscale.h
TileID
Helper class for TileCal offline identifiers.
Definition: TileID.h:68
TileInfoDump::printEmscaleOnl
void printEmscaleOnl()
Definition: TileInfoDump.cxx:248
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TileInfoDump::initialize
StatusCode initialize()
Definition: TileInfoDump.cxx:71
TileInfoDump::m_printLaser
bool m_printLaser
Definition: TileInfoDump.h:67
TileInfoDump::printTimingCorrections
void printTimingCorrections()
Definition: TileInfoDump.cxx:423
TileInfoDump::m_thistSvc
ServiceHandle< ITHistSvc > m_thistSvc
Definition: TileInfoDump.h:123
TileInfoDump::m_printIntegrator
bool m_printIntegrator
Definition: TileInfoDump.h:70
TileCondToolMuID.h
AthAlgorithm
Definition: AthAlgorithm.h:47
TileCondToolPulseShape.h
ReadCondHandleKey.h
TileInfoDump::m_printOfcDrawer
unsigned int m_printOfcDrawer
Definition: TileInfoDump.h:137
TileInfoDump
Algorithm to dump out calibration constants from the TileInfoSvc.
Definition: TileInfoDump.h:48
TileInfoDump::m_tileToolIntegrator
ToolHandle< TileCondToolIntegrator > m_tileToolIntegrator
Definition: TileInfoDump.h:105
TileInfoDump::m_tileInfo
const TileInfo * m_tileInfo
Definition: TileInfoDump.h:142
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
TileInfoDump::m_printEmscale
bool m_printEmscale
Definition: TileInfoDump.h:61
EventInfo.h
SG::ReadCondHandleKey< CaloDetDescrManager >
TileInfoDump::printPulseShapes
void printPulseShapes()
Definition: TileInfoDump.cxx:472
TileInfoDump::printMuID
void printMuID()
Definition: TileInfoDump.cxx:827
TileInfoDump::m_tileHWID
const TileHWID * m_tileHWID
Definition: TileInfoDump.h:125
TileInfoDump::m_tileToolOfcCool
ToolHandle< TileCondToolOfcCool > m_tileToolOfcCool
Definition: TileInfoDump.h:117
TileInfoDump::m_printOfcRos
unsigned int m_printOfcRos
Definition: TileInfoDump.h:136
TileInfoDump::m_printPedestals
bool m_printPedestals
Definition: TileInfoDump.h:73
TileInfoDump::print1gNoise
void print1gNoise()
Definition: TileInfoDump.cxx:392
TileInfoDump::m_tileToolPulseShape
ToolHandle< TileCondToolPulseShape > m_tileToolPulseShape
Definition: TileInfoDump.h:109
ITileBadChanTool.h
TileInfoDump::m_isOnline
bool m_isOnline
Definition: TileInfoDump.h:58
TileCondToolNoiseRawChn.h
TileInfoDump::m_printOfcChannel
unsigned int m_printOfcChannel
Definition: TileInfoDump.h:138
TileInfoDump::printBadChannels
void printBadChannels()
Definition: TileInfoDump.cxx:514
TileInfoDump::printOfcs
void printOfcs()
Definition: TileInfoDump.cxx:856
ServiceHandle< ITHistSvc >
TileInfoDump::m_printBadCells
bool m_printBadCells
Definition: TileInfoDump.h:86
TileInfoDump::m_printOfcsCool
bool m_printOfcsCool
Definition: TileInfoDump.h:89
TileInfoDump::m_infoName
std::string m_infoName
Definition: TileInfoDump.h:141