ATLAS Offline Software
Loading...
Searching...
No Matches
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
40class TileHWID;
41class TileID;
42class TH2F;
43
47
49 public:
50 TileInfoDump(const std::string& name, ISvcLocator* pSvcLocator);
52
53 StatusCode initialize();
54 StatusCode execute();
55 StatusCode finalize();
56
57 private:
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
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
Definition of CaloDetDescrManager.
Property holding a SG store/key/clid from which a ReadHandle is made.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Property holding a SG store/key/clid from which a ReadHandle is made.
Helper class for TileCal online (hardware) identifiers.
Definition TileHWID.h:49
Helper class for TileCal offline identifiers.
Definition TileID.h:67
std::string m_infoName
bool m_printTimingCorrections
StatusCode initialize()
ToolHandle< TileCondToolPulseShape > m_tileToolPulseShape
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
bool m_printIntegrator
ToolHandle< TileCondToolAutoCr > m_tileToolAutoCr
bool m_printEmscaleOnl
float m_printPulseShapesStep
bool m_printEmscale
void printTimingCorrections()
StatusCode execute()
ServiceHandle< ITHistSvc > m_thistSvc
void printPedestals()
TileInfoDump(const std::string &name, ISvcLocator *pSvcLocator)
void printIntegrator()
ToolHandle< TileCondToolMuID > m_tileToolMuID
ToolHandle< TileCondToolOfcCool > m_tileToolOfcCool
const TileHWID * m_tileHWID
unsigned int m_printOfcRos
ToolHandle< ITileBadChanTool > m_tileBadChanTool
TH2F * m_h_badCellD
ToolHandle< TileCondToolNoiseRawChn > m_tileToolNoiseRawChn
ToolHandle< TileCondToolEmscale > m_tileToolEmscale
bool m_printPulseShapes
unsigned int m_printOfcChannel
TH2F * m_h_badCellGap
unsigned int m_printOfcDrawer
void printPulseShapes()
TH2F * m_h_badCellA
bool m_printPedestals
TH2F * m_h_badCellBC
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
const TileID * m_tileID
void printEmscaleOnl()
ToolHandle< TileCondToolTiming > m_tileToolTiming
StatusCode finalize()
const TileInfo * m_tileInfo
bool m_printBadCells
bool m_printBadChannels
bool m_printOfcsCool
ToolHandle< TileCondToolNoiseSample > m_tileToolNoiseSample
bool m_print1gNoise
ToolHandle< TileCondToolIntegrator > m_tileToolIntegrator
void printBadChannels()
TH2F * m_h_badCell