ATLAS Offline Software
Data.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
10 #ifndef LArSamples_Data_H
11 #define LArSamples_Data_H
12 
13 #include "LArCafJobs/Definitions.h"
14 #include "LArCafJobs/AbsShape.h"
16 #include "LArCafJobs/ShapeInfo.h"
17 
19 
20 #include <vector>
21 #include "TString.h"
22 #include "TVectorD.h"
23 #include "TMath.h"
24 
25 #include <iostream>
26 #include <algorithm>
27 #include <fstream>
28 
29 class TH1D;
30 
31 
32 namespace LArSamples {
33 
34  class SimpleShape;
35  class History;
36  class EventData;
37  class ScaledErrorData;
38 
39  struct DataFuncArgs {
40  DataFuncArgs() { init(); }
41  DataFuncArgs(int a_i1, int a_i2 = -1,
42  double a_x1 = Definitions::none, double a_x2 = Definitions::none,
43  const TString& a_str = "") { init(); i1 = a_i1; i2 = a_i2; x1 = a_x1; x2 = a_x2; str = a_str; }
44  DataFuncArgs(double a_x1, double a_x2 = Definitions::none) { init(); x1 = a_x1; x2 = a_x2; }
45  DataFuncArgs(const TString& a_str) { init(); str = a_str; }
46 
47  void init() { i1 = i2 = -1; x1 = x2 = Definitions::none; str = ""; }
48 
49  int i1, i2;
50  double x1, x2;
51  TString str;
52  };
53 
54 #ifndef __GCCXML__
55  class Data;
56  template<class T> struct DataFunc {
57  typedef T (Data::*Type)(const DataFuncArgs&) const;
58  };
59  struct DataFuncSet {
60  DataFuncSet() : intFunc (0), doubleFunc(0) { }
63 
64  double doubleVal(const Data& data, const DataFuncArgs& args) const { return doubleFunc ? (data.*doubleFunc)(args) : -999; }
65  double intVal (const Data& data, const DataFuncArgs& args) const { return intFunc ? (data.*intFunc)(args) : -999; }
66  double val (const Data& data, const DataFuncArgs& args) const { return doubleFunc ? (data.*doubleFunc)(args) : (intFunc ? (data.*intFunc)(args) : -999); }
67 
68  bool isNull() { return (!intFunc && !doubleFunc); }
69  bool isInt() { return (intFunc && !doubleFunc); }
70 
73  };
74 #endif
75 
76 
78 
79  public:
80 
83  Data(const DataContainer& container, const EventData& eventData, const History* history, int index, bool takeOwnership = false);
84  Data(const Data& other, const EventData* eventData = 0, const History* history = 0, int index = -1);
85 
87  virtual ~Data();
88 
90  CaloGain::CaloGain gain() const { return container().gain(); }
91 
93  unsigned int nSamples() const { return container().nSamples(); }
94 
96  const short& sample(unsigned int i) const { return container().sample(i); }
97  float pedestalSubtractedSample(unsigned int i) const { return sample(i) - pedestal(); }
98  std::vector<float> pedestalSubtractedSamples() const;
99 
100  const EventData* eventData() const { return m_eventData; }
101 
103  int run() const;
104 
106  int event() const;
107 
109  int lumiBlock() const;
110  int bunchId() const;
111 
113  double energy() const { return container().energy(); }
114 
116  double ofcTime() const { return container().ofcTime() + m_timeShift; }
117 
119  double quality() const { return container().quality(); }
120 
122  double pedestal() const { return container().pedestal(); }
123  double pedestalRMS() const { return container().pedestalRMS(); }
124 
126  int status() const { return m_container->status(); }
127 
129  double adcMax() const { return container().adcMax(); }
130  double meV2ADC() const { return (adcMax() > 0 && energy() > 0 ? adcMax()/energy() : -1); }
131  double adc2MeV() const { return (adcMax() > 0 && energy() > 0 ? energy()/adcMax() : -1); }
132 
133  bool febError(LArFebErrorSummary::LArFebErrorType error) const;
134  bool isDisconnected() const;
135  TString problems(bool sayNone = false) const;
136 
138  static TString gainStr(CaloGain::CaloGain gain);
139  TString description(unsigned int verbosity = 1) const;
140 
141  bool isValid() const;
142 
143  double footprint() const { return sizeof(*this) + nSamples()*sizeof(short); }
144 
145  short maxSample() const;
146  short minSample() const;
147 
148  // Interface to LArAbsShape
149  unsigned int nPoints() const { return nSamples(); }
150  double time(unsigned int i) const { return Definitions::samplingTime(i); }
151  double value(unsigned int i) const { return pedestalSubtractedSample(i); }
152  double covariance(unsigned int i, unsigned int j) const;
153 
154  unsigned int nCorrs() const { return container().corrs().size(); }
155  double noise() const;
156 
157  double adcMax_new() const;
158 
159  double covarianceMeV(unsigned int i, unsigned int j) const;
160 
161  const DataContainer& container() const { return *m_container; }
162 
163  const DataContainer* dissolve();
164 
165  SimpleShape* referenceShape() const;
166  SimpleShape* timeAlignedShape() const;
167 
168  const ScaledErrorData* scaledErrorData() const;
169 
170  const History* history() const { return m_history; }
171  short index() const { return m_index; }
172 
173  TVectorD deltas() const;
174  TVectorD residuals() const;
175 
176  double delta(short sample) const;
177  double residual(short sample) const;
178 
179  double residualOffset(short sample, bool scale = true) const;
180  double resCorrN(ShapeErrorType shapeErrorType = BestShapeError) const;
181  double xi(short sample, ShapeErrorType shapeErrorType = BestShapeError, CaloGain::CaloGain g = CaloGain::UNKNOWNGAIN, bool xip = false) const;
182  double xiNorm(ShapeErrorType shapeErrorType = BestShapeError) const;
183  double xip(short sample, ShapeErrorType shapeErrorType = BestShapeError, CaloGain::CaloGain g = CaloGain::UNKNOWNGAIN) const;
184  double residualError(short sample1, short sample2 = -1, bool scale = true) const;
185  double chi2() const;
186 
187  bool calcRefit(double& chi2, double& k, double& dT) const;
188  bool calcAdjust(double& k, double& dT) const;
189 
190  bool isPassed(const TString& bitName) const;
191  bool goodForShapeCorr() const;
192  double upstreamEnergy() const;
193 
194  double _sample(const DataFuncArgs& args) const { return sample(args.i1); }
195  double _pedestalSubstractedSample(const DataFuncArgs& args) const { return pedestalSubtractedSample(args.i1); }
196  double _energy(const DataFuncArgs&) const { return energy(); }
197  double _ofcTime(const DataFuncArgs&) const { return ofcTime(); }
198  double _quality(const DataFuncArgs&) const { return quality(); }
199  double _pedestal(const DataFuncArgs&) const { return pedestal(); }
200  double _pedestalRMS(const DataFuncArgs&) const { return pedestalRMS(); }
201  double _adcMax(const DataFuncArgs&) const { return adcMax(); }
202  double _adcMax_new(const DataFuncArgs&) const { return adcMax_new(); }
203  double _noise(const DataFuncArgs&) const { return noise(); }
204  double _maxValue(const DataFuncArgs&) const { return maxValue(); }
205  double _minValue(const DataFuncArgs&) const { return minValue(); }
206 
207  double _null(const DataFuncArgs&) const { return 0; }
208  int _run(const DataFuncArgs&) const { return run(); }
209  int _event(const DataFuncArgs&) const { return event(); }
210  int _lumiBlock(const DataFuncArgs&) const { return lumiBlock(); }
211  int _bunchId(const DataFuncArgs&) const { return bunchId(); }
212  int _index(const DataFuncArgs&) const { return m_index; }
213  int _gain(const DataFuncArgs&) const { return gain(); }
214  double _delta(const DataFuncArgs& args) const { return delta(args.i1); }
215  double _residual(const DataFuncArgs& args) const { return residual(args.i1); }
216  double _residualOffset(const DataFuncArgs& args) const { return residualOffset(args.i1); }
217  double _resCorrN(const DataFuncArgs&) const { return resCorrN(CellShapeError); }
218  double _xi(const DataFuncArgs& args) const { return xi(args.i1); }
219  double _xiCell(const DataFuncArgs& args) const { return xi(args.i1, CellShapeError, args.i2 >= 0 ? (CaloGain::CaloGain)args.i2 : CaloGain::UNKNOWNGAIN); }
220  double _xiRing(const DataFuncArgs& args) const { return xi(args.i1, RingShapeError, args.i2 >= 0 ? (CaloGain::CaloGain)args.i2 : CaloGain::UNKNOWNGAIN); }
221  double _xiNormCell(const DataFuncArgs&) const { return xiNorm(CellShapeError); }
222  double _xiNormRing(const DataFuncArgs&) const { return xiNorm(RingShapeError); }
223  double _xip(const DataFuncArgs& args) const { return xip(args.i1); }
224  double _residualError(const DataFuncArgs& args) const { return residualError(args.i1); }
225  double _normResidualOffset(const DataFuncArgs& args) const { return residualOffset(args.i1, false); }
226  double _normResidualError(const DataFuncArgs& args) const { return residualError(args.i1, -1, false); }
227  double _ofcSigma(const DataFuncArgs& args) const;
228  double _ofcGamma(const DataFuncArgs& args) const;
229  int _iEta(const DataFuncArgs& args) const;
230  int _iPhi(const DataFuncArgs& args) const;
231  int _region(const DataFuncArgs& args) const;
232  int _layer(const DataFuncArgs& args) const;
233  int _calo(const DataFuncArgs& args) const;
234  int _feedThrough(const DataFuncArgs& args) const;
235  int _slot(const DataFuncArgs& args) const;
236  int _channel(const DataFuncArgs& args) const;
237  int _hash(const DataFuncArgs& args) const;
238  int _ring(const DataFuncArgs& args) const;
239  int _nData(const DataFuncArgs& args) const;
240  int _maxPosition(const DataFuncArgs&) const { return maxPosition(); }
241 
242  double _count(const DataFuncArgs&) const { return 1; }
243 
244  double _chi2(const DataFuncArgs&) const { return chi2(); }
245  double _chi2_noCorr(const DataFuncArgs& args) const;
246  double _chi2_ringCorr(const DataFuncArgs& args) const;
247  double _chi2_cellCorr(const DataFuncArgs& args) const;
248  double _chi2_k(const DataFuncArgs& args) const;
249  double _refitDeltaT(const DataFuncArgs& args) const;
250  double _refitScale(const DataFuncArgs& args) const;
251  double _refitChi2(const DataFuncArgs& args) const;
252  double _adjDeltaT(const DataFuncArgs& args) const;
253  double _adjScale(const DataFuncArgs& args) const;
254  double _x(const DataFuncArgs& args) const;
255  double _y(const DataFuncArgs& args) const;
256  double _z(const DataFuncArgs& args) const;
257  double _rt(const DataFuncArgs& args) const;
258  double _eta(const DataFuncArgs& args) const;
259  double _phi(const DataFuncArgs& args) const;
260  double _timeNoTOF(const DataFuncArgs& args) const;
261  double _timeForSplash1(const DataFuncArgs& args) const;
262  double _timeForSplash2(const DataFuncArgs& args) const;
263  double _peakSignif(const DataFuncArgs& args) const;
264  double _energySignif(const DataFuncArgs& args) const;
265  int _goodForShapeCorr(const DataFuncArgs& /*args*/) const { return (goodForShapeCorr() ? 1 : 0); }
266  double _upstreamE(const DataFuncArgs&) const { return upstreamEnergy(); }
267  double _upstreamERatio(const DataFuncArgs& args) const;
268  double _chi2Anomaly(const DataFuncArgs& args) const;
269  double timeClCorr() const;
270 
271  double timeECorr() const;
272 
273  double _timeECorr(const DataFuncArgs& args) const;
274 
275  double _pass(const DataFuncArgs& args) const { return isPassed(args.str); }
276 
277  void setCallBacks(const History* history, unsigned int index) const { m_history = history; m_index = index; }
278  friend class DataTweaker;
279 
280  static double timeShift() { return m_timeShift; }
281  static void setTimeShift(double shift = 0) { m_timeShift = shift; }
282 
283  private:
284 
285  //bool fit(const AbsShape& reference, double& k, double& deltaT, double& chi2) const;
287  const EventData* const m_eventData;
288  mutable const History* m_history;
289  mutable unsigned int m_index;
290  inline static std::atomic<double> m_timeShift{0}; // specify a global time shift between first sample time and reported ofc time
291  };
292 }
293 #endif
294 
LArSamples::Data::sample
const short & sample(unsigned int i) const
Definition: Data.h:96
LArSamples::Data::time
double time(unsigned int i) const
Definition: Data.h:150
LArSamples::DataFuncArgs::x2
double x2
Definition: Data.h:50
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
LArSamples::Data::_xip
double _xip(const DataFuncArgs &args) const
Definition: Data.h:223
AbsShape.h
xAOD::short
short
Definition: Vertex_v1.cxx:165
LArSamples::Data::container
const DataContainer & container() const
Definition: Data.h:161
maxValue
#define maxValue(current, test)
Definition: CompoundLayerMaterialCreator.h:22
LArSamples::Data::_sample
double _sample(const DataFuncArgs &args) const
Definition: Data.h:194
LArSamples::Data::m_index
unsigned int m_index
Definition: Data.h:289
LArSamples::Data::pedestalSubtractedSample
float pedestalSubtractedSample(unsigned int i) const
Definition: Data.h:97
LArSamples::Data::meV2ADC
double meV2ADC() const
Definition: Data.h:130
LArSamples::DataFuncSet::DataFuncSet
DataFuncSet()
Definition: Data.h:60
ATLAS_NOT_THREAD_SAFE
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
Definition: checker_macros.h:212
LArSamples::DataContainer::gain
CaloGain::CaloGain gain() const
Definition: DataContainer.h:54
LArSamples::Data::adc2MeV
double adc2MeV() const
Definition: Data.h:131
ClusterSeg::residual
@ residual
Definition: ClusterNtuple.h:20
index
Definition: index.py:1
LArSamples::DataFuncSet::isInt
bool isInt()
Definition: Data.h:69
LArSamples::Data::setCallBacks
void setCallBacks(const History *history, unsigned int index) const
Definition: Data.h:277
LArSamples::Data::adcMax
double adcMax() const
Definition: Data.h:129
CaloGain::UNKNOWNGAIN
@ UNKNOWNGAIN
Definition: CaloGain.h:20
Data
@ Data
Definition: BaseObject.h:11
LArSamples::Definitions::samplingTime
static double samplingTime(unsigned int i)
Definition: LArCalorimeter/LArCafJobs/LArCafJobs/Definitions.h:16
LArSamples::Data::_pedestalRMS
double _pedestalRMS(const DataFuncArgs &) const
Definition: Data.h:200
LArSamples::History
Definition: History.h:40
LArSamples::Data::_xi
double _xi(const DataFuncArgs &args) const
Definition: Data.h:218
CaloCondBlobAlgs_fillNoiseFromASCII.gain
gain
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:110
LArSamples::Data::_xiNormRing
double _xiNormRing(const DataFuncArgs &) const
Definition: Data.h:222
LArSamples::DataFuncSet::intVal
double intVal(const Data &data, const DataFuncArgs &args) const
Definition: Data.h:65
LArSamples::DataContainer::ofcTime
float ofcTime() const
Definition: DataContainer.h:70
LArSamples::SimpleShape
Definition: SimpleShape.h:25
run
int run(int argc, char *argv[])
Definition: ttree2hdf5.cxx:28
LArSamples::Data::m_history
const History * m_history
Definition: Data.h:288
LArSamples::DataFuncArgs::init
void init()
Definition: Data.h:47
LArSamples::Data::footprint
double footprint() const
Definition: Data.h:143
LArSamples::DataContainer::adcMax
float adcMax() const
Definition: DataContainer.h:86
LArSamples::DataFuncSet::doubleVal
double doubleVal(const Data &data, const DataFuncArgs &args) const
Definition: Data.h:64
LArSamples::DataFuncSet::doubleFunc
DataFunc< double >::Type doubleFunc
Definition: Data.h:72
LArSamples::Data::_pass
double _pass(const DataFuncArgs &args) const
Definition: Data.h:275
LArSamples
Definition: AbsShape.h:24
ScaledErrorData
Liquid Argon class for standalone storage of cell shape information.
LArSamples::Data::ofcTime
double ofcTime() const
Definition: Data.h:116
isValid
bool isValid(const T &p)
Definition: AtlasPID.h:225
LArSamples::DataFuncArgs::str
TString str
Definition: Data.h:51
yodamerge_tmp.scale
scale
Definition: yodamerge_tmp.py:138
LArSamples::DataContainer::nSamples
unsigned int nSamples() const
Definition: DataContainer.h:57
LArSamples::Data::_normResidualOffset
double _normResidualOffset(const DataFuncArgs &args) const
Definition: Data.h:225
LArSamples::Data::_quality
double _quality(const DataFuncArgs &) const
Definition: Data.h:198
ShapeInfo.h
LArSamples::DataFuncArgs::i1
int i1
Definition: Data.h:49
LArSamples::Data::_upstreamE
double _upstreamE(const DataFuncArgs &) const
Definition: Data.h:266
LArSamples::ScaledErrorData
Definition: ScaledErrorData.h:17
LArSamples::Data::_delta
double _delta(const DataFuncArgs &args) const
Definition: Data.h:214
LArSamples::Data::_gain
int _gain(const DataFuncArgs &) const
Definition: Data.h:213
LArSamples::DataFuncArgs::x1
double x1
Definition: Data.h:50
LArSamples::Data::_resCorrN
double _resCorrN(const DataFuncArgs &) const
Definition: Data.h:217
DataContainer.h
LArSamples::Data::value
double value(unsigned int i) const
Definition: Data.h:151
LArSamples::DataContainer::pedestalRMS
float pedestalRMS() const
Definition: DataContainer.h:77
LArSamples::Data::_adcMax_new
double _adcMax_new(const DataFuncArgs &) const
Definition: Data.h:202
LArSamples::Data::m_eventData
const EventData *const m_eventData
Definition: Data.h:287
LArSamples::Data::_residualOffset
double _residualOffset(const DataFuncArgs &args) const
Definition: Data.h:216
ParticleGun_FastCalo_ChargeFlip_Config.energy
energy
Definition: ParticleGun_FastCalo_ChargeFlip_Config.py:78
event
POOL::TEvent event(POOL::TEvent::kClassAccess)
FullCPAlgorithmsTest_eljob.sample
sample
Definition: FullCPAlgorithmsTest_eljob.py:116
lumiFormat.i
int i
Definition: lumiFormat.py:85
LArSamples::Data::_maxPosition
int _maxPosition(const DataFuncArgs &) const
Definition: Data.h:240
LArSamples::DataFuncArgs::DataFuncArgs
DataFuncArgs(const TString &a_str)
Definition: Data.h:45
LArSamples::Data::_null
double _null(const DataFuncArgs &) const
Definition: Data.h:207
python.CaloCondTools.g
g
Definition: CaloCondTools.py:15
LArSamples::Data::setTimeShift
static void setTimeShift(double shift=0)
Definition: Data.h:281
LArSamples::Definitions::none
static const double none
Definition: LArCalorimeter/LArCafJobs/LArCafJobs/Definitions.h:17
LArSamples::Data::quality
double quality() const
Definition: Data.h:119
LArSamples::Data::_pedestalSubstractedSample
double _pedestalSubstractedSample(const DataFuncArgs &args) const
Definition: Data.h:195
LArSamples::Data::timeShift
static double timeShift()
Definition: Data.h:280
chi2
double chi2(TH1 *h0, TH1 *h1)
Definition: comparitor.cxx:522
LArSamples::Data::_normResidualError
double _normResidualError(const DataFuncArgs &args) const
Definition: Data.h:226
LArSamples::DataFunc
Definition: Data.h:56
LArSamples::ShapeErrorType
ShapeErrorType
Definition: LArCalorimeter/LArCafJobs/LArCafJobs/Definitions.h:21
EventData
Definition: Trigger/TrigAccel/TrigCudaFitter/src/EventData.h:11
LArSamples::BestShapeError
@ BestShapeError
Definition: LArCalorimeter/LArCafJobs/LArCafJobs/Definitions.h:25
LArSamples::DataTweaker
Definition: DataTweaker.h:23
LArSamples::Data::m_container
const DataContainer *const m_container
Definition: Data.h:286
xAODType
Definition: ObjectType.h:13
LArSamples::Data::_xiNormCell
double _xiNormCell(const DataFuncArgs &) const
Definition: Data.h:221
LArSamples::Data::nCorrs
unsigned int nCorrs() const
Definition: Data.h:154
LArSamples::DataContainer::sample
const short & sample(unsigned int i) const
Definition: DataContainer.h:61
LArSamples::Data::nPoints
unsigned int nPoints() const
Definition: Data.h:149
LArSamples::DataContainer::energy
float energy() const
Definition: DataContainer.h:67
LArSamples::Data::_ofcTime
double _ofcTime(const DataFuncArgs &) const
Definition: Data.h:197
LArSamples::Data::pedestal
double pedestal() const
Definition: Data.h:122
LArSamples::Data
Definition: Data.h:77
LArSamples::Data::_minValue
double _minValue(const DataFuncArgs &) const
Definition: Data.h:205
LArSamples::Data::gain
CaloGain::CaloGain gain() const
Definition: Data.h:90
LArSamples::Data::_maxValue
double _maxValue(const DataFuncArgs &) const
Definition: Data.h:204
LArSamples::Data::_noise
double _noise(const DataFuncArgs &) const
Definition: Data.h:203
covarianceTool.verbosity
verbosity
Definition: covarianceTool.py:513
LArSamples::Data::_run
int _run(const DataFuncArgs &) const
Definition: Data.h:208
LArSamples::Data::_energy
double _energy(const DataFuncArgs &) const
Definition: Data.h:196
LArSamples::Data::_goodForShapeCorr
int _goodForShapeCorr(const DataFuncArgs &) const
Definition: Data.h:265
LArSamples::DataFuncSet::DataFuncSet
DataFuncSet(DataFunc< int >::Type intF)
Definition: Data.h:61
CaloGain::CaloGain
CaloGain
Definition: CaloGain.h:11
LArSamples::Data::_count
double _count(const DataFuncArgs &) const
Definition: Data.h:242
DeMoScan.index
string index
Definition: DeMoScan.py:364
LArSamples::DataContainer
Definition: DataContainer.h:25
InDetDD::other
@ other
Definition: InDetDD_Defs.h:16
LArSamples::DataFuncSet::intFunc
DataFunc< int >::Type intFunc
Definition: Data.h:71
python.CaloScaleNoiseConfig.str
str
Definition: CaloScaleNoiseConfig.py:78
LArSamples::AbsShape
Definition: AbsShape.h:28
LArSamples::DataFuncSet
Definition: Data.h:59
LArSamples::DataFuncSet::val
double val(const Data &data, const DataFuncArgs &args) const
Definition: Data.h:66
LArSamples::Data::_index
int _index(const DataFuncArgs &) const
Definition: Data.h:212
LArSamples::Data::status
int status() const
Definition: Data.h:126
LArFebErrorSummary::LArFebErrorType
LArFebErrorType
Definition: LArFebErrorSummary.h:26
LArSamples::DataFuncArgs
Definition: Data.h:39
LArSamples::CellShapeError
@ CellShapeError
Definition: LArCalorimeter/LArCafJobs/LArCafJobs/Definitions.h:21
Definitions.h
LArSamples::Data::nSamples
unsigned int nSamples() const
Definition: Data.h:93
LArSamples::Data::_residual
double _residual(const DataFuncArgs &args) const
Definition: Data.h:215
LArSamples::DataFuncArgs::DataFuncArgs
DataFuncArgs(int a_i1, int a_i2=-1, double a_x1=Definitions::none, double a_x2=Definitions::none, const TString &a_str="")
Definition: Data.h:41
str
Definition: BTagTrackIpAccessor.cxx:11
LArDigits2NtupleDumper.nSamples
nSamples
Definition: LArDigits2NtupleDumper.py:70
LArFebErrorSummary.h
LArSamples::DataFuncArgs::DataFuncArgs
DataFuncArgs(double a_x1, double a_x2=Definitions::none)
Definition: Data.h:44
LArSamples::Data::_residualError
double _residualError(const DataFuncArgs &args) const
Definition: Data.h:224
LArSamples::Data::eventData
const EventData * eventData() const
Definition: Data.h:100
LArSamples::DataContainer::pedestal
float pedestal() const
Definition: DataContainer.h:76
LArSamples::DataContainer::corrs
const std::vector< float > & corrs() const
Definition: DataContainer.h:83
xAOD::lumiBlock
setTeId lumiBlock
Definition: L2StandAloneMuon_v1.cxx:327
LArSamples::Data::_lumiBlock
int _lumiBlock(const DataFuncArgs &) const
Definition: Data.h:210
error
Definition: IImpactPoint3dEstimator.h:70
minValue
#define minValue(current, test)
Definition: CompoundLayerMaterialCreator.h:21
LArSamples::DataFuncArgs::i2
int i2
Definition: Data.h:49
LArSamples::EventData
Definition: LArCalorimeter/LArCafJobs/LArCafJobs/EventData.h:29
LArSamples::DataContainer::quality
float quality() const
Definition: DataContainer.h:73
LArSamples::Data::_chi2
double _chi2(const DataFuncArgs &) const
Definition: Data.h:244
LArSamples::Data::pedestalRMS
double pedestalRMS() const
Definition: Data.h:123
LArSamples::Data::_adcMax
double _adcMax(const DataFuncArgs &) const
Definition: Data.h:201
LArSamples::Data::_pedestal
double _pedestal(const DataFuncArgs &) const
Definition: Data.h:199
LArSamples::Data::index
short index() const
Definition: Data.h:171
LArSamples::Data::_event
int _event(const DataFuncArgs &) const
Definition: Data.h:209
python.CaloScaleNoiseConfig.args
args
Definition: CaloScaleNoiseConfig.py:80
LArSamples::Data::_bunchId
int _bunchId(const DataFuncArgs &) const
Definition: Data.h:211
WriteCellNoiseToCool.noise
noise
Definition: WriteCellNoiseToCool.py:380
LArSamples::RingShapeError
@ RingShapeError
Definition: LArCalorimeter/LArCafJobs/LArCafJobs/Definitions.h:23
LArSamples::Data::energy
double energy() const
Definition: Data.h:113
LArSamples::Data::_xiRing
double _xiRing(const DataFuncArgs &args) const
Definition: Data.h:220
fitman.k
k
Definition: fitman.py:528
description
std::string description
glabal timer - how long have I taken so far?
Definition: hcg.cxx:88
LArSamples::DataFuncArgs::DataFuncArgs
DataFuncArgs()
Definition: Data.h:40
LArSamples::DataFuncSet::DataFuncSet
DataFuncSet(DataFunc< double >::Type doubleF)
Definition: Data.h:62
LArSamples::Data::_xiCell
double _xiCell(const DataFuncArgs &args) const
Definition: Data.h:219
LArSamples::Data::history
const History * history() const
Definition: Data.h:170
LArSamples::DataFuncSet::isNull
bool isNull()
Definition: Data.h:68