ATLAS Offline Software
L1CaloPprPhos4ShapeCollection.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 // Name: L1CaloPprPhos4ShapeCollection.h
7 // Package: TrigT1CaloCalibConditions
8 //
9 // Author: Taylor Childers (childers@mail.cern.ch)
10 //
11 // This class holds a collection of PpmPhos4SignalShapes.
12 //
13 // For a description of the PpmPhos4SignalShape please
14 // see PpmPhos4SignalShape.h
15 //
16 // Each PpmPhos4SignalShape is organized into a std::map
17 // according to COOL ID. Use one of the Fill functions
18 // as described here to fill the shapes for the channel id.
19 //
20 // 1. Fill(coolId,ns_step,adc): ns_step should be the nanosecond
21 // step in the phos4 scan where the nanosecond step runs
22 // from 0 to the number of 25 nanosecond time slices read
23 // out times 25 nanoseconds, i.e. in 15+1 readout mode
24 // ns_step would run from 0 to 25*15. adc is just the value
25 // of the ADC read out for that step. This is done for
26 // appropriate COOL channel ID that was specified using
27 // coolId.
28 // 2. Fill(coolId,timeSlice,rodHeaderStep,adc): timeSlice is the
29 // time slice of the ADC value to be stored. rodHeaderStep
30 // is the step number from the DSS board, which is read out
31 // via the ROD Headers. adc is just the value
32 // of the ADC read out for that step. This is done for
33 // appropriate COOL channel ID that was specified using
34 // coolId.
35 // 3. Fill(coolId,rodHeaderStep,adc): rodHeaderStep is again the
36 // step number from the DSS board, which is read out via the
37 // ROD Headers. This time adc is a vector of the ADC values
38 // with each entry being a different time slice. This is done for
39 // appropriate COOL channel ID that was specified using
40 // coolId.
41 //
42 // In the Finalize step of the algorithm you should call the
43 // Finalize() function. This function in turn calls the
44 // Finalize() function for each of the PpmPhos4SignalShape
45 // objects, which perform a pedestal correction to the signal
46 // shapes.
47 //
48 // The pedestal correction uses the first 2 time slices, which
49 // are assumed to be at the pedestal. This typically means you
50 // need to be in 15+1 mode with the peak at 7. So if you are
51 // analyzing in 5+1 mode the processed histo will not be
52 // correct.
53 //
54 // The Get()-er functions are self explanitory I hope.
55 //
56 // *********************************************************
57 #ifndef L1CALOPPRPHOS4SHAPECOLLECTION_H
58 #define L1CALOPPRPHOS4SHAPECOLLECTION_H
59 
60 #include <map>
61 #include <string>
62 #include <sstream>
63 #include <fstream>
64 
66 #include "GaudiKernel/ToolHandle.h"
68 
71 
72 class TTree;
73 class TFile;
74 class TProfile;
75 class TH1F;
76 class TH2F;
77 class TCanvas;
78 
80 
82 public:
85 
87 
88  void SetMinimumSignalHeight(const unsigned int min){m_minSignalHeight=min;};
89  unsigned int GetMinimumSignalHeight(void) const {return m_minSignalHeight;};
90 
91  void SetTimingRegime(const std::string& regime){m_timingRegime = regime;};
92  const std::string& GetTimingRegime(void) const {return m_timingRegime;};
93 
94  void SetHistogramTool(ToolHandle<LVL1::TrigT1CaloLWHistogramTool>& histTool){m_histTool = &histTool;};
95 
96  StatusCode SetCurrentFullDelayData(const L1CaloCoolChannelId& coolId,unsigned int delay);
97  StatusCode SetPedValue(const L1CaloCoolChannelId& coolId,unsigned int value);
98  StatusCode SetL1aFadcSlice(const L1CaloCoolChannelId& coolId,unsigned int slice);
99  StatusCode SetValidChannel(const L1CaloCoolChannelId& coolId,bool validity);
100  StatusCode SetChannelEnabled(const L1CaloCoolChannelId& coolId,bool enabled);
101 
102  bool SetChannelEtaPhiLayer(const L1CaloCoolChannelId& coolId,const float eta,const float phi,const L1CaloPprPhos4Shape::CaloLayer layer);
103 
104  typedef std::map<unsigned int,L1CaloPprPhos4Shape*> ShapesMap_t;
106  ShapesMap_itr begin(void){return m_signalShapes->begin();};
107  ShapesMap_itr end(void){return m_signalShapes->end();};
108 
109  unsigned int size(void){return m_signalShapes->size();};
110 
111  StatusCode Fill(const L1CaloCoolChannelId& coolId,const unsigned int ns_step,const unsigned int adc);
112  StatusCode Fill(const L1CaloCoolChannelId& coolId,const unsigned int timeSlice,const unsigned int rodHeaderStep,const int adc);
113  StatusCode Fill(const L1CaloCoolChannelId& coolId,const unsigned int rodHeaderStep,const std::vector<int>& adc);
114 
116 
117  TProfile* GetRawSignalShape(const L1CaloCoolChannelId& coolId){return GetMapIterator(coolId)->second->GetRawSignalShape();};
118  unsigned int GetRawMaxPeakBin(const L1CaloCoolChannelId& coolId){return GetMapIterator(coolId)->second->GetRawMaxPeakBin();};
119  float GetRawMaxPeakValue(const L1CaloCoolChannelId& coolId){return GetMapIterator(coolId)->second->GetRawMaxPeakValue();};
120  unsigned int GetRawMaxFullDelayData(const L1CaloCoolChannelId& coolId){return GetMapIterator(coolId)->second->GetRawMaxFullDelayData();};
121  unsigned int GetRawFitPeakBin(const L1CaloCoolChannelId& coolId){return GetMapIterator(coolId)->second->GetRawFitPeakBin();};
122  float GetRawFitPeakValue(const L1CaloCoolChannelId& coolId){return GetMapIterator(coolId)->second->GetRawFitPeakValue();};
123  unsigned int GetRawFitFullDelayData(const L1CaloCoolChannelId& coolId){return GetMapIterator(coolId)->second->GetRawFitFullDelayData();};
124 
125  TH1F* GetProcessedSignalShape(const L1CaloCoolChannelId& coolId){return GetMapIterator(coolId)->second->GetProcessedSignalShape();};
126  unsigned int GetProcessedMaxPeakBin(const L1CaloCoolChannelId& coolId){return GetMapIterator(coolId)->second->GetProcessedMaxPeakBin();};
127  float GetProcessedMaxPeakValue(const L1CaloCoolChannelId& coolId){return GetMapIterator(coolId)->second->GetProcessedMaxPeakValue();};
128  unsigned int GetProcessedMaxFullDelayData(const L1CaloCoolChannelId& coolId){return GetMapIterator(coolId)->second->GetProcessedMaxFullDelayData();};
129  unsigned int GetProcessedFitPeakBin(const L1CaloCoolChannelId& coolId){return GetMapIterator(coolId)->second->GetProcessedFitPeakBin();};
130  float GetProcessedFitPeakValue(const L1CaloCoolChannelId& coolId){return GetMapIterator(coolId)->second->GetProcessedFitPeakValue();};
131  unsigned int GetProcessedFitFullDelayData(const L1CaloCoolChannelId& coolId){return GetMapIterator(coolId)->second->GetProcessedFitFullDelayData();};
132 
133  unsigned int GetErrorCode(const L1CaloCoolChannelId& coolId){return GetMapIterator(coolId)->second->GetErrorCode();};
134 
135  bool IsProcessed(const L1CaloCoolChannelId& coolId){return GetMapIterator(coolId)->second->IsProcessed();};
136 
137  void SetRunNumber(const unsigned int runNumber){m_runNumber=runNumber;std::stringstream ss;ss.width(8);ss.fill('0');ss<<m_runNumber;ss>>m_runNumberStr;};
138  unsigned int GetRunNumber(void){return m_runNumber;};
139 
140  void SetOutputDirectoryName(const std::string& name){m_outputFileDirName = name;};
141  const std::string& GetOutputDirectoryName(void){return m_outputFileDirName;};
142 
143  void SetTileRun(bool value = true){m_isTileRun = value;};
144  bool IsTileRun(void) const {return m_isTileRun;};
145 
146  void SetLArRun(bool value = true){m_isLArRun = value;};
147  bool IsLArRun(void) const {return m_isLArRun;};
148 
149 
150 private:
151  // don't want C++ implementing these automatically
154 
157 
158  unsigned int m_minSignalHeight;
159  std::string m_timingRegime;
160 
161  ToolHandle<LVL1::TrigT1CaloLWHistogramTool>* m_histTool;
162 
165 
167  bool CoolIdExists(const L1CaloCoolChannelId& coolId) const;
168  std::string CoolIdToString(const L1CaloCoolChannelId& coolId) const;
169  std::string GetPadTitle(const unsigned int coolId) const;
170  TH2F* SaveEtaPhiHisto(TH2F_LW *histo,const float min = -3.,const float max = 3., const unsigned int contourBins = 12) const;
171 
172  bool IsTileChannel(L1CaloPprPhos4Shape const * const shape) const;
173  bool IsLArChannel(L1CaloPprPhos4Shape const * const shape) const;
174 
175  void MergeErrorAndShapes(std::string& error, std::string& shapes) const;
176 
177  void gzipFile(std::string& filename) const;
178  void ps2pdf(std::string& filename) const;
179  void psmerge(std::string& file1, std::string& file2, std::string& outputfile) const;
180  void rm(std::string& file) const;
181  void mv(std::string& file1, std::string& file2) const;
182 
183  std::string m_outputFileDirName;
184  std::string m_outputFileName;
186  std::string m_dbFileName_rawMax;
187  std::string m_dbFileName_rawFit;
191 
192  std::string m_outRawCanvasName;
196 
200 
201 
202  // TTree variables and names
203  std::string m_coolIdName;
204  unsigned int m_coolId;
205 
206  std::string m_isEnabledName;
208 
209  std::string m_isValidName;
210  bool m_isValid;
211 
212  std::string m_rawSignalShapeName;
214  std::string m_rawMaxPeakBinName;
215  unsigned int m_rawMaxPeakBin;
219  unsigned int m_rawMaxFullDelayData;
220  std::string m_rawFitPeakBinName;
221  unsigned int m_rawFitPeakBin;
225  unsigned int m_rawFitFullDelayData;
228 
229  std::string m_rawFitName;
230  TF1* m_rawFit;
231 
232  std::string m_pedestalMeanName;
234  std::string m_pedestalSigmaName;
236 
240  unsigned int m_processedMaxPeakBin;
246  unsigned int m_processedFitPeakBin;
253 
254  std::string m_processedFitName;
256 
257  std::string m_isProcessedName;
259 
264 
267 
268  std::string m_errorCodeName;
269  unsigned int m_errorCode;
270 
271  std::string m_runNumberName;
272  unsigned int m_runNumber;
273  std::string m_runNumberStr;
274 
275 };
276 
277 
278 #endif
279 
L1CaloPprPhos4ShapeCollection::m_outputSummaryCanvasPostfix
std::string m_outputSummaryCanvasPostfix
Definition: L1CaloPprPhos4ShapeCollection.h:199
xAOD::iterator
JetConstituentVector::iterator iterator
Definition: JetConstituentVector.cxx:68
L1CaloPprPhos4ShapeCollection::m_rawMaxPeakValueName
std::string m_rawMaxPeakValueName
Definition: L1CaloPprPhos4ShapeCollection.h:216
L1CaloPprPhos4ShapeCollection::SetTileRun
void SetTileRun(bool value=true)
Definition: L1CaloPprPhos4ShapeCollection.h:143
L1CaloPprPhos4ShapeCollection::SetPedValue
StatusCode SetPedValue(const L1CaloCoolChannelId &coolId, unsigned int value)
Definition: L1CaloPprPhos4ShapeCollection.cxx:1396
L1CaloPprPhos4ShapeCollection::m_processedMaxPeakBinName
std::string m_processedMaxPeakBinName
Definition: L1CaloPprPhos4ShapeCollection.h:239
L1CaloPprPhos4ShapeCollection::ATLAS_NOT_REENTRANT
StatusCode Finalize ATLAS_NOT_REENTRANT(void)
L1CaloPprPhos4ShapeCollection::GetProcessedMaxPeakValue
float GetProcessedMaxPeakValue(const L1CaloCoolChannelId &coolId)
Definition: L1CaloPprPhos4ShapeCollection.h:127
L1CaloPprPhos4ShapeCollection::m_rawMaxPeakValue
float m_rawMaxPeakValue
Definition: L1CaloPprPhos4ShapeCollection.h:217
L1CaloPprPhos4ShapeCollection::SetChannelEtaPhiLayer
bool SetChannelEtaPhiLayer(const L1CaloCoolChannelId &coolId, const float eta, const float phi, const L1CaloPprPhos4Shape::CaloLayer layer)
Definition: L1CaloPprPhos4ShapeCollection.cxx:1371
L1CaloPprPhos4ShapeCollection::IsTileChannel
bool IsTileChannel(L1CaloPprPhos4Shape const *const shape) const
Definition: L1CaloPprPhos4ShapeCollection.cxx:1336
max
#define max(a, b)
Definition: cfImp.cxx:41
PowhegControl_ttHplus_NLO.ss
ss
Definition: PowhegControl_ttHplus_NLO.py:83
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:64
L1CaloPprPhos4ShapeCollection::m_rawFitPerformedName
std::string m_rawFitPerformedName
Definition: L1CaloPprPhos4ShapeCollection.h:226
L1CaloPprPhos4ShapeCollection::m_rawFitPeakValueName
std::string m_rawFitPeakValueName
Definition: L1CaloPprPhos4ShapeCollection.h:222
TH2F
Definition: rootspy.cxx:420
L1CaloPprPhos4ShapeCollection::L1CaloPprPhos4ShapeCollection
L1CaloPprPhos4ShapeCollection()
Definition: L1CaloPprPhos4ShapeCollection.cxx:29
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:79
L1CaloPprPhos4ShapeCollection
Definition: L1CaloPprPhos4ShapeCollection.h:81
L1CaloPprPhos4ShapeCollection::m_signalShapesItr
ShapesMap_itr m_signalShapesItr
Definition: L1CaloPprPhos4ShapeCollection.h:164
L1CaloPprPhos4ShapeCollection::SetTimingRegime
void SetTimingRegime(const std::string &regime)
Definition: L1CaloPprPhos4ShapeCollection.h:91
L1CaloPprPhos4ShapeCollection::m_rawFitFullDelayData
unsigned int m_rawFitFullDelayData
Definition: L1CaloPprPhos4ShapeCollection.h:225
L1CaloPprPhos4ShapeCollection::m_processedSignalShape
TH1F * m_processedSignalShape
Definition: L1CaloPprPhos4ShapeCollection.h:238
L1CaloPprPhos4ShapeCollection::m_processedFit
TF1 * m_processedFit
Definition: L1CaloPprPhos4ShapeCollection.h:255
L1CaloPprPhos4ShapeCollection::m_processedFitPerformedName
std::string m_processedFitPerformedName
Definition: L1CaloPprPhos4ShapeCollection.h:251
L1CaloPprPhos4ShapeCollection::m_processedMaxPeakValue
float m_processedMaxPeakValue
Definition: L1CaloPprPhos4ShapeCollection.h:242
L1CaloPprPhos4ShapeCollection::m_dbFileName_rawMax
std::string m_dbFileName_rawMax
Definition: L1CaloPprPhos4ShapeCollection.h:186
L1CaloPprPhos4ShapeCollection::GetRawFitFullDelayData
unsigned int GetRawFitFullDelayData(const L1CaloCoolChannelId &coolId)
Definition: L1CaloPprPhos4ShapeCollection.h:123
L1CaloPprPhos4ShapeCollection::m_isValidName
std::string m_isValidName
Definition: L1CaloPprPhos4ShapeCollection.h:209
L1CaloPprPhos4ShapeCollection::SetMinimumSignalHeight
void SetMinimumSignalHeight(const unsigned int min)
Definition: L1CaloPprPhos4ShapeCollection.h:88
L1CaloPprPhos4ShapeCollection::m_outputSummaryPlotsPostfix
std::string m_outputSummaryPlotsPostfix
Definition: L1CaloPprPhos4ShapeCollection.h:198
L1CaloPprPhos4ShapeCollection::SetHistogramTool
void SetHistogramTool(ToolHandle< LVL1::TrigT1CaloLWHistogramTool > &histTool)
Definition: L1CaloPprPhos4ShapeCollection.h:94
athena.value
value
Definition: athena.py:122
L1CaloPprPhos4ShapeCollection::GetMinimumSignalHeight
unsigned int GetMinimumSignalHeight(void) const
Definition: L1CaloPprPhos4ShapeCollection.h:89
L1CaloPprPhos4ShapeCollection::CoolIdExists
bool CoolIdExists(const L1CaloCoolChannelId &coolId) const
Definition: L1CaloPprPhos4ShapeCollection.cxx:1445
TrigT1CaloLWHistogramTool.h
L1CaloPprPhos4ShapeCollection::SetChannelEnabled
StatusCode SetChannelEnabled(const L1CaloCoolChannelId &coolId, bool enabled)
Definition: L1CaloPprPhos4ShapeCollection.cxx:1432
L1CaloPprPhos4ShapeCollection::m_outputSummaryPlotsFileName
std::string m_outputSummaryPlotsFileName
Definition: L1CaloPprPhos4ShapeCollection.h:197
L1CaloPprPhos4ShapeCollection::ps2pdf
void ps2pdf(std::string &filename) const
Definition: L1CaloPprPhos4ShapeCollection.cxx:1511
L1CaloPprPhos4ShapeCollection::m_processedSignalShapeName
std::string m_processedSignalShapeName
Definition: L1CaloPprPhos4ShapeCollection.h:237
L1CaloPprPhos4Shape::CaloLayer
CaloLayer
Definition: L1CaloPprPhos4Shape.h:92
L1CaloPprPhos4ShapeCollection::m_errorCode
unsigned int m_errorCode
Definition: L1CaloPprPhos4ShapeCollection.h:269
L1CaloPprPhos4ShapeCollection::m_processedFitPeakValueName
std::string m_processedFitPeakValueName
Definition: L1CaloPprPhos4ShapeCollection.h:247
L1CaloPprPhos4ShapeCollection::m_processedMaxPeakBin
unsigned int m_processedMaxPeakBin
Definition: L1CaloPprPhos4ShapeCollection.h:240
L1CaloPprPhos4ShapeCollection::m_processedMaxFullDelayData
unsigned int m_processedMaxFullDelayData
Definition: L1CaloPprPhos4ShapeCollection.h:244
L1CaloPprPhos4ShapeCollection::IsLArChannel
bool IsLArChannel(L1CaloPprPhos4Shape const *const shape) const
Definition: L1CaloPprPhos4ShapeCollection.cxx:1351
L1CaloPprPhos4ShapeCollection::GetRunNumber
unsigned int GetRunNumber(void)
Definition: L1CaloPprPhos4ShapeCollection.h:138
outputfile
ofstream outputfile
Definition: CellClusterLinkTool.h:25
L1CaloPprPhos4ShapeCollection::GetProcessedFitPeakValue
float GetProcessedFitPeakValue(const L1CaloCoolChannelId &coolId)
Definition: L1CaloPprPhos4ShapeCollection.h:130
L1CaloPprPhos4ShapeCollection::m_processedFitPerformed
bool m_processedFitPerformed
Definition: L1CaloPprPhos4ShapeCollection.h:252
L1CaloPprPhos4ShapeCollection::GetRawFitPeakValue
float GetRawFitPeakValue(const L1CaloCoolChannelId &coolId)
Definition: L1CaloPprPhos4ShapeCollection.h:122
L1CaloPprPhos4ShapeCollection::GetMapIterator
ShapesMap_itr GetMapIterator(const L1CaloCoolChannelId &coolId)
Definition: L1CaloPprPhos4ShapeCollection.cxx:159
L1CaloPprPhos4ShapeCollection::m_outProcessedCanvasName
std::string m_outProcessedCanvasName
Definition: L1CaloPprPhos4ShapeCollection.h:194
L1CaloPprPhos4ShapeCollection::m_rawFitName
std::string m_rawFitName
Definition: L1CaloPprPhos4ShapeCollection.h:229
L1CaloPprPhos4ShapeCollection::m_processedFitPeakBinName
std::string m_processedFitPeakBinName
Definition: L1CaloPprPhos4ShapeCollection.h:245
L1CaloPprPhos4ShapeCollection::GetSignalShape
L1CaloPprPhos4Shape * GetSignalShape(const L1CaloCoolChannelId &coolId)
Definition: L1CaloPprPhos4ShapeCollection.cxx:143
L1CaloPprPhos4ShapeCollection::m_rawFitFullDelayDataName
std::string m_rawFitFullDelayDataName
Definition: L1CaloPprPhos4ShapeCollection.h:224
L1CaloPprPhos4ShapeCollection::SetL1aFadcSlice
StatusCode SetL1aFadcSlice(const L1CaloCoolChannelId &coolId, unsigned int slice)
Definition: L1CaloPprPhos4ShapeCollection.cxx:1408
L1CaloPprPhos4ShapeCollection::psmerge
void psmerge(std::string &file1, std::string &file2, std::string &outputfile) const
Definition: L1CaloPprPhos4ShapeCollection.cxx:1525
L1CaloPprPhos4ShapeCollection::GetProcessedMaxFullDelayData
unsigned int GetProcessedMaxFullDelayData(const L1CaloCoolChannelId &coolId)
Definition: L1CaloPprPhos4ShapeCollection.h:128
L1CaloPprPhos4ShapeCollection::m_rawMaxPeakBinName
std::string m_rawMaxPeakBinName
Definition: L1CaloPprPhos4ShapeCollection.h:214
perfmonmt-refit.slice
slice
Definition: perfmonmt-refit.py:52
L1CaloPprPhos4Shape
Definition: L1CaloPprPhos4Shape.h:86
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
L1CaloPprPhos4ShapeCollection::m_rawFitPeakValue
float m_rawFitPeakValue
Definition: L1CaloPprPhos4ShapeCollection.h:223
L1CaloPprPhos4ShapeCollection::SetValidChannel
StatusCode SetValidChannel(const L1CaloCoolChannelId &coolId, bool validity)
Definition: L1CaloPprPhos4ShapeCollection.cxx:1420
TRT::Hit::layer
@ layer
Definition: HitInfo.h:79
L1CaloPprPhos4ShapeCollection::GetProcessedSignalShape
TH1F * GetProcessedSignalShape(const L1CaloCoolChannelId &coolId)
Definition: L1CaloPprPhos4ShapeCollection.h:125
L1CaloPprPhos4ShapeCollection::m_rawFitPerformed
bool m_rawFitPerformed
Definition: L1CaloPprPhos4ShapeCollection.h:227
L1CaloPprPhos4ShapeCollection::m_rawFit
TF1 * m_rawFit
Definition: L1CaloPprPhos4ShapeCollection.h:230
L1CaloPprPhos4ShapeCollection::m_rawSignalShape
TProfile * m_rawSignalShape
Definition: L1CaloPprPhos4ShapeCollection.h:213
L1CaloPprPhos4ShapeCollection::m_processedMaxFullDelayDataName
std::string m_processedMaxFullDelayDataName
Definition: L1CaloPprPhos4ShapeCollection.h:243
file
TFile * file
Definition: tile_monitor.h:29
L1CaloPprPhos4ShapeCollection::m_rawFitPeakBin
unsigned int m_rawFitPeakBin
Definition: L1CaloPprPhos4ShapeCollection.h:221
AthMessaging
Class to provide easy MsgStream access and capabilities.
Definition: AthMessaging.h:55
L1CaloPprPhos4ShapeCollection::ShapesMap_t
std::map< unsigned int, L1CaloPprPhos4Shape * > ShapesMap_t
Definition: L1CaloPprPhos4ShapeCollection.h:104
L1CaloPprPhos4ShapeCollection::m_pedestalSigma
float m_pedestalSigma
Definition: L1CaloPprPhos4ShapeCollection.h:235
delay
double delay(std::size_t d)
Definition: JetTrigTimerTest.cxx:14
L1CaloPprPhos4ShapeCollection::end
ShapesMap_itr end(void)
Definition: L1CaloPprPhos4ShapeCollection.h:107
L1CaloPprPhos4ShapeCollection::m_isValid
bool m_isValid
Definition: L1CaloPprPhos4ShapeCollection.h:210
L1CaloPprPhos4ShapeCollection::GetRawMaxFullDelayData
unsigned int GetRawMaxFullDelayData(const L1CaloCoolChannelId &coolId)
Definition: L1CaloPprPhos4ShapeCollection.h:120
L1CaloPprPhos4ShapeCollection::IsLArRun
bool IsLArRun(void) const
Definition: L1CaloPprPhos4ShapeCollection.h:147
L1CaloPprPhos4ShapeCollection::m_dbFileName_processedFit
std::string m_dbFileName_processedFit
Definition: L1CaloPprPhos4ShapeCollection.h:189
L1CaloPprPhos4ShapeCollection::m_pedestalMean
float m_pedestalMean
Definition: L1CaloPprPhos4ShapeCollection.h:233
L1CaloPprPhos4ShapeCollection::m_rawMaxFullDelayDataName
std::string m_rawMaxFullDelayDataName
Definition: L1CaloPprPhos4ShapeCollection.h:218
L1CaloPprPhos4ShapeCollection::~L1CaloPprPhos4ShapeCollection
~L1CaloPprPhos4ShapeCollection()
Definition: L1CaloPprPhos4ShapeCollection.cxx:137
L1CaloPprPhos4ShapeCollection::SetLArRun
void SetLArRun(bool value=true)
Definition: L1CaloPprPhos4ShapeCollection.h:146
L1CaloPprPhos4ShapeCollection::GetRawFitPeakBin
unsigned int GetRawFitPeakBin(const L1CaloCoolChannelId &coolId)
Definition: L1CaloPprPhos4ShapeCollection.h:121
L1CaloPprPhos4ShapeCollection::m_rawMaxPeakBin
unsigned int m_rawMaxPeakBin
Definition: L1CaloPprPhos4ShapeCollection.h:215
L1CaloPprPhos4ShapeCollection::m_signalShapes
ShapesMap_t * m_signalShapes
Definition: L1CaloPprPhos4ShapeCollection.h:163
L1CaloPprPhos4ShapeCollection::m_outRawCanvasName
std::string m_outRawCanvasName
Definition: L1CaloPprPhos4ShapeCollection.h:192
min
#define min(a, b)
Definition: cfImp.cxx:40
L1CaloPprPhos4ShapeCollection::m_isProcessed
bool m_isProcessed
Definition: L1CaloPprPhos4ShapeCollection.h:258
L1CaloPprPhos4Shape.h
L1CaloPprPhos4ShapeCollection::m_isProcessedName
std::string m_isProcessedName
Definition: L1CaloPprPhos4ShapeCollection.h:257
L1CaloPprPhos4ShapeCollection::operator=
void operator=(const L1CaloPprPhos4ShapeCollection &rhs)
L1CaloPprPhos4ShapeCollection::m_pedestalMeanName
std::string m_pedestalMeanName
Definition: L1CaloPprPhos4ShapeCollection.h:232
L1CaloPprPhos4ShapeCollection::m_processedFitPeakBin
unsigned int m_processedFitPeakBin
Definition: L1CaloPprPhos4ShapeCollection.h:246
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
L1CaloPprPhos4ShapeCollection::m_outRawCanvasNamePostfix
std::string m_outRawCanvasNamePostfix
Definition: L1CaloPprPhos4ShapeCollection.h:193
L1CaloPprPhos4ShapeCollection::L1CaloPprPhos4ShapeCollection
L1CaloPprPhos4ShapeCollection(const L1CaloPprPhos4ShapeCollection &rhs)
L1CaloPprPhos4ShapeCollection::m_rawSignalShapeName
std::string m_rawSignalShapeName
Definition: L1CaloPprPhos4ShapeCollection.h:212
L1CaloPprPhos4ShapeCollection::begin
ShapesMap_itr begin(void)
Definition: L1CaloPprPhos4ShapeCollection.h:106
L1CaloPprPhos4ShapeCollection::SaveEtaPhiHisto
TH2F * SaveEtaPhiHisto(TH2F_LW *histo, const float min=-3., const float max=3., const unsigned int contourBins=12) const
Definition: L1CaloPprPhos4ShapeCollection.cxx:1476
TProfile
Definition: rootspy.cxx:515
L1CaloPprPhos4ShapeCollection::SetCurrentFullDelayData
StatusCode SetCurrentFullDelayData(const L1CaloCoolChannelId &coolId, unsigned int delay)
Definition: L1CaloPprPhos4ShapeCollection.cxx:1383
L1CaloPprPhos4ShapeCollection::m_outputFileName
std::string m_outputFileName
Definition: L1CaloPprPhos4ShapeCollection.h:184
L1CaloPprPhos4ShapeCollection::GetProcessedMaxPeakBin
unsigned int GetProcessedMaxPeakBin(const L1CaloCoolChannelId &coolId)
Definition: L1CaloPprPhos4ShapeCollection.h:126
L1CaloPprPhos4ShapeCollection::m_processedFitPeakValue
float m_processedFitPeakValue
Definition: L1CaloPprPhos4ShapeCollection.h:248
L1CaloPprPhos4ShapeCollection::m_outputFileNamePostfix
std::string m_outputFileNamePostfix
Definition: L1CaloPprPhos4ShapeCollection.h:185
L1CaloPprPhos4ShapeCollection::m_timingRegime
std::string m_timingRegime
Definition: L1CaloPprPhos4ShapeCollection.h:159
L1CaloPprPhos4ShapeCollection::IsTileRun
bool IsTileRun(void) const
Definition: L1CaloPprPhos4ShapeCollection.h:144
L1CaloPprPhos4ShapeCollection::GetRawMaxPeakValue
float GetRawMaxPeakValue(const L1CaloCoolChannelId &coolId)
Definition: L1CaloPprPhos4ShapeCollection.h:119
L1CaloPprPhos4ShapeCollection::m_pedestalSigmaName
std::string m_pedestalSigmaName
Definition: L1CaloPprPhos4ShapeCollection.h:234
L1CaloPprPhos4ShapeCollection::GetErrorCode
unsigned int GetErrorCode(const L1CaloCoolChannelId &coolId)
Definition: L1CaloPprPhos4ShapeCollection.h:133
L1CaloPprPhos4ShapeCollection::m_processedFitFullDelayDataName
std::string m_processedFitFullDelayDataName
Definition: L1CaloPprPhos4ShapeCollection.h:249
L1CaloCoolChannelId
Definition: L1CaloCoolChannelId.h:10
DeMoAtlasDataLoss.runNumber
string runNumber
Definition: DeMoAtlasDataLoss.py:64
L1CaloPprPhos4ShapeCollection::m_risingSlopeSigma
float m_risingSlopeSigma
Definition: L1CaloPprPhos4ShapeCollection.h:263
L1CaloPprPhos4ShapeCollection::rm
void rm(std::string &file) const
Definition: L1CaloPprPhos4ShapeCollection.cxx:1547
L1CaloPprPhos4ShapeCollection::m_errorCodeName
std::string m_errorCodeName
Definition: L1CaloPprPhos4ShapeCollection.h:268
L1CaloPprPhos4ShapeCollection::GetProcessedFitPeakBin
unsigned int GetProcessedFitPeakBin(const L1CaloCoolChannelId &coolId)
Definition: L1CaloPprPhos4ShapeCollection.h:129
L1CaloPprPhos4ShapeCollection::SetOutputDirectoryName
void SetOutputDirectoryName(const std::string &name)
Definition: L1CaloPprPhos4ShapeCollection.h:140
L1CaloPprPhos4ShapeCollection::m_dbFileName_processedMax
std::string m_dbFileName_processedMax
Definition: L1CaloPprPhos4ShapeCollection.h:188
TH1F
Definition: rootspy.cxx:320
ReadFloatFromCool.adc
adc
Definition: ReadFloatFromCool.py:48
L1CaloPprPhos4ShapeCollection::SetRunNumber
void SetRunNumber(const unsigned int runNumber)
Definition: L1CaloPprPhos4ShapeCollection.h:137
L1CaloPprPhos4ShapeCollection::m_dbFileName_rawFit
std::string m_dbFileName_rawFit
Definition: L1CaloPprPhos4ShapeCollection.h:187
L1CaloPprPhos4ShapeCollection::MergeErrorAndShapes
void MergeErrorAndShapes(std::string &error, std::string &shapes) const
Definition: L1CaloPprPhos4ShapeCollection.cxx:1557
L1CaloPprPhos4ShapeCollection::m_coolIdName
std::string m_coolIdName
Definition: L1CaloPprPhos4ShapeCollection.h:203
L1CaloPprPhos4ShapeCollection::m_risingSlopeMean
float m_risingSlopeMean
Definition: L1CaloPprPhos4ShapeCollection.h:261
L1CaloPprPhos4ShapeCollection::Fill
StatusCode Fill(const L1CaloCoolChannelId &coolId, const unsigned int ns_step, const unsigned int adc)
Definition: L1CaloPprPhos4ShapeCollection.cxx:197
AthMessaging.h
L1CaloPprPhos4ShapeCollection::m_isEnabled
bool m_isEnabled
Definition: L1CaloPprPhos4ShapeCollection.h:207
L1CaloPprPhos4ShapeCollection::m_runNumber
unsigned int m_runNumber
Definition: L1CaloPprPhos4ShapeCollection.h:272
L1CaloPprPhos4ShapeCollection::m_runNumberName
std::string m_runNumberName
Definition: L1CaloPprPhos4ShapeCollection.h:271
L1CaloPprPhos4ShapeCollection::m_outProcessedCanvasNamePostfix
std::string m_outProcessedCanvasNamePostfix
Definition: L1CaloPprPhos4ShapeCollection.h:195
CaloCellTimeCorrFiller.filename
filename
Definition: CaloCellTimeCorrFiller.py:24
L1CaloPprPhos4ShapeCollection::m_processedFitFullDelayData
unsigned int m_processedFitFullDelayData
Definition: L1CaloPprPhos4ShapeCollection.h:250
L1CaloPprPhos4ShapeCollection::m_outputFileDirName
std::string m_outputFileDirName
Definition: L1CaloPprPhos4ShapeCollection.h:183
L1CaloPprPhos4ShapeCollection::m_isTileRun
bool m_isTileRun
Definition: L1CaloPprPhos4ShapeCollection.h:155
L1CaloPprPhos4ShapeCollection::m_minSignalHeight
unsigned int m_minSignalHeight
Definition: L1CaloPprPhos4ShapeCollection.h:158
L1CaloPprPhos4ShapeCollection::m_processedFitName
std::string m_processedFitName
Definition: L1CaloPprPhos4ShapeCollection.h:254
L1CaloPprPhos4ShapeCollection::m_runNumberStr
std::string m_runNumberStr
Definition: L1CaloPprPhos4ShapeCollection.h:273
L1CaloPprPhos4ShapeCollection::gzipFile
void gzipFile(std::string &filename) const
Definition: L1CaloPprPhos4ShapeCollection.cxx:1501
TH2F_LW
Definition: TH2F_LW.h:23
L1CaloPprPhos4ShapeCollection::GetProcessedFitFullDelayData
unsigned int GetProcessedFitFullDelayData(const L1CaloCoolChannelId &coolId)
Definition: L1CaloPprPhos4ShapeCollection.h:131
L1CaloPprPhos4ShapeCollection::GetRawSignalShape
TProfile * GetRawSignalShape(const L1CaloCoolChannelId &coolId)
Definition: L1CaloPprPhos4ShapeCollection.h:117
L1CaloPprPhos4ShapeCollection::CoolIdToString
std::string CoolIdToString(const L1CaloCoolChannelId &coolId) const
Definition: L1CaloPprPhos4ShapeCollection.cxx:1575
L1CaloPprPhos4ShapeCollection::m_histTool
ToolHandle< LVL1::TrigT1CaloLWHistogramTool > * m_histTool
Definition: L1CaloPprPhos4ShapeCollection.h:161
L1CaloPprPhos4ShapeCollection::m_rawFitPeakBinName
std::string m_rawFitPeakBinName
Definition: L1CaloPprPhos4ShapeCollection.h:220
L1CaloPprPhos4ShapeCollection::ShapesMap_itr
ShapesMap_t::iterator ShapesMap_itr
Definition: L1CaloPprPhos4ShapeCollection.h:105
plotBeamSpotCompare.histo
histo
Definition: plotBeamSpotCompare.py:415
checker_macros.h
Define macros for attributes used to control the static checker.
L1CaloPprPhos4ShapeCollection::m_isLArRun
bool m_isLArRun
Definition: L1CaloPprPhos4ShapeCollection.h:156
L1CaloPprPhos4ShapeCollection::size
unsigned int size(void)
Definition: L1CaloPprPhos4ShapeCollection.h:109
error
Definition: IImpactPoint3dEstimator.h:70
L1CaloPprPhos4ShapeCollection::GetRawMaxPeakBin
unsigned int GetRawMaxPeakBin(const L1CaloCoolChannelId &coolId)
Definition: L1CaloPprPhos4ShapeCollection.h:118
L1CaloPprPhos4ShapeCollection::IsProcessed
bool IsProcessed(const L1CaloCoolChannelId &coolId)
Definition: L1CaloPprPhos4ShapeCollection.h:135
L1CaloPprPhos4ShapeCollection::GetOutputDirectoryName
const std::string & GetOutputDirectoryName(void)
Definition: L1CaloPprPhos4ShapeCollection.h:141
L1CaloPprPhos4ShapeCollection::mv
void mv(std::string &file1, std::string &file2) const
Definition: L1CaloPprPhos4ShapeCollection.cxx:1537
L1CaloPprPhos4ShapeCollection::m_currentFullDelayData
unsigned int m_currentFullDelayData
Definition: L1CaloPprPhos4ShapeCollection.h:266
L1CaloPprPhos4ShapeCollection::m_processedMaxPeakValueName
std::string m_processedMaxPeakValueName
Definition: L1CaloPprPhos4ShapeCollection.h:241
L1CaloPprPhos4ShapeCollection::m_currentFullDelayDataName
std::string m_currentFullDelayDataName
Definition: L1CaloPprPhos4ShapeCollection.h:265
L1CaloPprPhos4ShapeCollection::m_risingSlopeSigmaName
std::string m_risingSlopeSigmaName
Definition: L1CaloPprPhos4ShapeCollection.h:262
L1CaloPprPhos4ShapeCollection::GetTimingRegime
const std::string & GetTimingRegime(void) const
Definition: L1CaloPprPhos4ShapeCollection.h:92
L1CaloPprPhos4ShapeCollection::m_rawMaxFullDelayData
unsigned int m_rawMaxFullDelayData
Definition: L1CaloPprPhos4ShapeCollection.h:219
L1CaloPprPhos4ShapeCollection::m_outDBFileNamePostfix
std::string m_outDBFileNamePostfix
Definition: L1CaloPprPhos4ShapeCollection.h:190
L1CaloPprPhos4ShapeCollection::m_isEnabledName
std::string m_isEnabledName
Definition: L1CaloPprPhos4ShapeCollection.h:206
L1CaloPprPhos4ShapeCollection::m_coolId
unsigned int m_coolId
Definition: L1CaloPprPhos4ShapeCollection.h:204
L1CaloPprPhos4ShapeCollection::m_risingSlopeMeanName
std::string m_risingSlopeMeanName
Definition: L1CaloPprPhos4ShapeCollection.h:260
L1CaloPprPhos4ShapeCollection::GetPadTitle
std::string GetPadTitle(const unsigned int coolId) const
Definition: L1CaloPprPhos4ShapeCollection.cxx:1488