ATLAS Offline Software
LArCalorimeter/LArCafJobs/LArCafJobs/Definitions.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef LArSamples_Definitions_H
6 #define LArSamples_Definitions_H
7 
8 #include "TMatrixTSym.h"
9 
10 namespace LArSamples {
11  typedef TMatrixTSym<double> CovMatrix;
12 
13  struct Definitions {
14  static const unsigned int nChannels;
15  static const unsigned int samplingInterval;
16  static double samplingTime(unsigned int i) { return samplingInterval*i; }
17  static const double none;
18  static bool isNone(double x) { return (x < 0.999*none); }
19  };
20 
26 }
27 
28 #endif
LArSamples::LowGainRingShapeError
@ LowGainRingShapeError
Definition: LArCalorimeter/LArCafJobs/LArCafJobs/Definitions.h:24
LArSamples::CovMatrix
TMatrixTSym< double > CovMatrix
Definition: LArCalorimeter/LArCafJobs/LArCafJobs/Definitions.h:11
LArSamples::HighGainCellShapeError
@ HighGainCellShapeError
Definition: LArCalorimeter/LArCafJobs/LArCafJobs/Definitions.h:22
LArSamples::Definitions::samplingTime
static double samplingTime(unsigned int i)
Definition: LArCalorimeter/LArCafJobs/LArCafJobs/Definitions.h:16
LArSamples
Definition: AbsShape.h:24
x
#define x
LArSamples::MedGainCellShapeError
@ MedGainCellShapeError
Definition: LArCalorimeter/LArCafJobs/LArCafJobs/Definitions.h:22
LArSamples::Definitions::nChannels
static const unsigned int nChannels
Definition: LArCalorimeter/LArCafJobs/LArCafJobs/Definitions.h:14
lumiFormat.i
int i
Definition: lumiFormat.py:85
LArSamples::Definitions::none
static const double none
Definition: LArCalorimeter/LArCafJobs/LArCafJobs/Definitions.h:17
LArSamples::ShapeErrorType
ShapeErrorType
Definition: LArCalorimeter/LArCafJobs/LArCafJobs/Definitions.h:21
LArSamples::BestShapeError
@ BestShapeError
Definition: LArCalorimeter/LArCafJobs/LArCafJobs/Definitions.h:25
LArSamples::Definitions
Definition: LArCalorimeter/LArCafJobs/LArCafJobs/Definitions.h:13
LArSamples::NShapeErrorTypes
@ NShapeErrorTypes
Definition: LArCalorimeter/LArCafJobs/LArCafJobs/Definitions.h:25
LArSamples::LowGainCellShapeError
@ LowGainCellShapeError
Definition: LArCalorimeter/LArCafJobs/LArCafJobs/Definitions.h:22
LArSamples::Definitions::isNone
static bool isNone(double x)
Definition: LArCalorimeter/LArCafJobs/LArCafJobs/Definitions.h:18
LArSamples::CellShapeError
@ CellShapeError
Definition: LArCalorimeter/LArCafJobs/LArCafJobs/Definitions.h:21
LArSamples::MedGainRingShapeError
@ MedGainRingShapeError
Definition: LArCalorimeter/LArCafJobs/LArCafJobs/Definitions.h:24
LArSamples::NoShapeError
@ NoShapeError
Definition: LArCalorimeter/LArCafJobs/LArCafJobs/Definitions.h:25
LArSamples::Definitions::samplingInterval
static const unsigned int samplingInterval
Definition: LArCalorimeter/LArCafJobs/LArCafJobs/Definitions.h:15
LArSamples::RingShapeError
@ RingShapeError
Definition: LArCalorimeter/LArCafJobs/LArCafJobs/Definitions.h:23
LArSamples::HighGainRingShapeError
@ HighGainRingShapeError
Definition: LArCalorimeter/LArCafJobs/LArCafJobs/Definitions.h:24