ATLAS Offline Software
L1CaloPprConditionsRun2.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef TRIGT1CALOCALIBCONDITIONS_L1CALOPPRCONDITIONSRUN2_H
8 #define TRIGT1CALOCALIBCONDITIONS_L1CALOPPRCONDITIONSRUN2_H
9 
10 #include <iosfwd>
11 #include <vector>
12 
21 {
22 public:
23 
25 
27  unsigned short satBcidThreshLow,
28  unsigned short satBcidThreshHigh,
29  unsigned short satBcidLevel,
30  unsigned short bcidEnergyRangeLow,
31  unsigned short bcidEnergyRangeHigh,
32  unsigned short firStartBit,
33  short int firCoeff1,
34  short int firCoeff2,
35  short int firCoeff3,
36  short int firCoeff4,
37  short int firCoeff5,
38  unsigned short lutCpStrategy,
39  unsigned short lutCpOffset,
40  unsigned short lutCpSlope,
41  unsigned short lutCpNoiseCut,
42  short lutCpPar1,
43  short lutCpPar2,
44  short lutCpPar3,
45  short lutCpPar4,
46  unsigned short lutCpScale,
47  unsigned short lutJepStrategy,
48  unsigned short lutJepOffset,
49  unsigned short lutJepSlope,
50  unsigned short lutJepNoiseCut,
51  short lutJepPar1,
52  short lutJepPar2,
53  short lutJepPar3,
54  short lutJepPar4,
55  unsigned short lutJepScale,
56  unsigned int pedValue,
57  float pedMean,
58  unsigned int pedFirSum);
59 
60  void initializeByStrategy(unsigned short firStartBit, short int firCoeff1,
61  short int firCoeff2, short int firCoeff3, short int firCoeff4,
62  short int firCoeff5, unsigned short lutCpSlope, unsigned short lutCpNoiseCut,
63  unsigned short lutJepSlope, unsigned short lutJepNoiseCut);
64 
66 
67  // getters
68  unsigned short extBcidThreshold() const { return m_extBcidThreshold; }
69  unsigned short satBcidThreshLow() const { return m_satBcidThreshLow; }
70  unsigned short satBcidThreshHigh() const { return m_satBcidThreshHigh; }
71  unsigned short satBcidLevel() const { return m_satBcidLevel; }
72  unsigned short bcidEnergyRangeLow() const { return m_bcidEnergyRangeLow; }
73  unsigned short bcidEnergyRangeHigh() const { return m_bcidEnergyRangeHigh; }
74  unsigned short firStartBit() const { return m_firStartBit; }
75  const std::vector<short int>& firCoefficients() const { return m_vFirCoefficients; }
76  unsigned short lutCpStrategy() const { return m_lutCpStrategy; }
77  unsigned short lutCpOffset() const { return m_lutCpOffset; }
78  unsigned short lutCpSlope() const { return m_lutCpSlope; }
79  unsigned short lutCpNoiseCut() const { return m_lutCpNoiseCut; }
80  short lutCpPar1() const { return m_lutCpPar1; }
81  short lutCpPar2() const { return m_lutCpPar2; }
82  short lutCpPar3() const { return m_lutCpPar3; }
83  short lutCpPar4() const { return m_lutCpPar4; }
84  unsigned short lutCpScale() const { return m_lutCpScale; }
85  unsigned short lutJepStrategy() const { return m_lutJepStrategy; }
86  unsigned short lutJepOffset() const { return m_lutJepOffset; }
87  unsigned short lutJepSlope() const { return m_lutJepSlope; }
88  unsigned short lutJepNoiseCut() const { return m_lutJepNoiseCut; }
89  short lutJepPar1() const { return m_lutJepPar1; }
90  short lutJepPar2() const { return m_lutJepPar2; }
91  short lutJepPar3() const { return m_lutJepPar3; }
92  short lutJepPar4() const { return m_lutJepPar4; }
93  unsigned short lutJepScale() const { return m_lutJepScale; }
94  unsigned int pedValue() const { return m_pedValue; }
95  float pedMean() const { return m_pedMean; }
96  unsigned int pedFirSum() const { return m_pedFirSum; }
97 
98 
99 
100 private:
101  friend std::ostream& operator<<(std::ostream& output, const L1CaloPprConditionsRun2& r);
102 
103  unsigned short m_extBcidThreshold = 0;
104  unsigned short m_satBcidThreshLow = 0;
105  unsigned short m_satBcidThreshHigh = 0;
106  unsigned short m_satBcidLevel = 0;
107  unsigned short m_bcidEnergyRangeLow = 0;
108  unsigned short m_bcidEnergyRangeHigh = 0;
109  unsigned short m_firStartBit = 0;
110  std::vector<short int> m_vFirCoefficients;
111  unsigned short m_lutCpStrategy = 0;
112  unsigned short m_lutCpOffset = 0;
113  unsigned short m_lutCpSlope = 0;
114  unsigned short m_lutCpNoiseCut = 0;
115  short m_lutCpPar1 = 0;
116  short m_lutCpPar2 = 0;
117  short m_lutCpPar3 = 0;
118  short m_lutCpPar4 = 0;
119  unsigned short m_lutCpScale = 0;
120  unsigned short m_lutJepStrategy = 0;
121  unsigned short m_lutJepOffset = 0;
122  unsigned short m_lutJepSlope = 0;
123  unsigned short m_lutJepNoiseCut = 0;
124  short m_lutJepPar1 = 0;
125  short m_lutJepPar2 = 0;
126  short m_lutJepPar3 = 0;
127  short m_lutJepPar4 = 0;
128  unsigned short m_lutJepScale = 0;
129  unsigned int m_pedValue = 0;
130  float m_pedMean = 0.;
131  unsigned int m_pedFirSum = 0;
132 };
133 
134 #endif
L1CaloPprConditionsRun2::lutCpSlope
unsigned short lutCpSlope() const
Definition: L1CaloPprConditionsRun2.h:78
beamspotman.r
def r
Definition: beamspotman.py:676
L1CaloPprConditionsRun2::lutJepPar2
short lutJepPar2() const
Definition: L1CaloPprConditionsRun2.h:90
L1CaloPprConditionsRun2::m_satBcidThreshLow
unsigned short m_satBcidThreshLow
Definition: L1CaloPprConditionsRun2.h:104
L1CaloPprConditionsRun2::firStartBit
unsigned short firStartBit() const
Definition: L1CaloPprConditionsRun2.h:74
L1CaloPprConditionsRun2::m_extBcidThreshold
unsigned short m_extBcidThreshold
Definition: L1CaloPprConditionsRun2.h:103
L1CaloPprConditionsRun2::lutCpPar2
short lutCpPar2() const
Definition: L1CaloPprConditionsRun2.h:81
L1CaloPprConditionsRun2::m_satBcidThreshHigh
unsigned short m_satBcidThreshHigh
Definition: L1CaloPprConditionsRun2.h:105
L1CaloPprConditionsRun2::m_lutCpPar3
short m_lutCpPar3
Definition: L1CaloPprConditionsRun2.h:117
L1CaloPprConditionsRun2::lutCpNoiseCut
unsigned short lutCpNoiseCut() const
Definition: L1CaloPprConditionsRun2.h:79
L1CaloPprConditionsRun2::m_bcidEnergyRangeLow
unsigned short m_bcidEnergyRangeLow
Definition: L1CaloPprConditionsRun2.h:107
L1CaloPprConditionsRun2::firCoefficients
const std::vector< short int > & firCoefficients() const
Definition: L1CaloPprConditionsRun2.h:75
L1CaloPprConditionsRun2::lutJepOffset
unsigned short lutJepOffset() const
Definition: L1CaloPprConditionsRun2.h:86
L1CaloPprConditionsRun2::lutJepScale
unsigned short lutJepScale() const
Definition: L1CaloPprConditionsRun2.h:93
L1CaloPprConditionsRun2::m_lutJepScale
unsigned short m_lutJepScale
Definition: L1CaloPprConditionsRun2.h:128
L1CaloPprConditionsRun2::m_lutCpScale
unsigned short m_lutCpScale
Definition: L1CaloPprConditionsRun2.h:119
L1CaloPprConditionsRun2::m_lutJepPar1
short m_lutJepPar1
Definition: L1CaloPprConditionsRun2.h:124
L1CaloPprConditionsRun2::lutJepStrategy
unsigned short lutJepStrategy() const
Definition: L1CaloPprConditionsRun2.h:85
L1CaloPprConditionsRun2::extBcidThreshold
unsigned short extBcidThreshold() const
Definition: L1CaloPprConditionsRun2.h:68
L1CaloPprConditionsRun2::m_lutJepPar4
short m_lutJepPar4
Definition: L1CaloPprConditionsRun2.h:127
L1CaloPprConditionsRun2::m_lutCpPar4
short m_lutCpPar4
Definition: L1CaloPprConditionsRun2.h:118
L1CaloPprConditionsRun2::lutCpPar3
short lutCpPar3() const
Definition: L1CaloPprConditionsRun2.h:82
L1CaloPprConditionsRun2::initializeByStrategy
void initializeByStrategy(unsigned short firStartBit, short int firCoeff1, short int firCoeff2, short int firCoeff3, short int firCoeff4, short int firCoeff5, unsigned short lutCpSlope, unsigned short lutCpNoiseCut, unsigned short lutJepSlope, unsigned short lutJepNoiseCut)
Definition: L1CaloPprConditionsRun2.cxx:101
L1CaloPprConditionsRun2::m_satBcidLevel
unsigned short m_satBcidLevel
Definition: L1CaloPprConditionsRun2.h:106
L1CaloPprConditionsRun2::bcidEnergyRangeHigh
unsigned short bcidEnergyRangeHigh() const
Definition: L1CaloPprConditionsRun2.h:73
L1CaloPprConditionsRun2::m_lutJepNoiseCut
unsigned short m_lutJepNoiseCut
Definition: L1CaloPprConditionsRun2.h:123
L1CaloPprConditionsRun2::lutCpPar4
short lutCpPar4() const
Definition: L1CaloPprConditionsRun2.h:83
L1CaloPprConditionsRun2::lutCpScale
unsigned short lutCpScale() const
Definition: L1CaloPprConditionsRun2.h:84
L1CaloPprConditionsRun2::~L1CaloPprConditionsRun2
~L1CaloPprConditionsRun2()=default
L1CaloPprConditionsRun2::satBcidLevel
unsigned short satBcidLevel() const
Definition: L1CaloPprConditionsRun2.h:71
L1CaloPprConditionsRun2::L1CaloPprConditionsRun2
L1CaloPprConditionsRun2()=default
L1CaloPprConditionsRun2::lutCpOffset
unsigned short lutCpOffset() const
Definition: L1CaloPprConditionsRun2.h:77
L1CaloPprConditionsRun2::m_lutJepOffset
unsigned short m_lutJepOffset
Definition: L1CaloPprConditionsRun2.h:121
L1CaloPprConditionsRun2::lutJepPar1
short lutJepPar1() const
Definition: L1CaloPprConditionsRun2.h:89
L1CaloPprConditionsRun2::m_lutCpPar2
short m_lutCpPar2
Definition: L1CaloPprConditionsRun2.h:116
L1CaloPprConditionsRun2::m_pedFirSum
unsigned int m_pedFirSum
Definition: L1CaloPprConditionsRun2.h:131
L1CaloPprConditionsRun2::bcidEnergyRangeLow
unsigned short bcidEnergyRangeLow() const
Definition: L1CaloPprConditionsRun2.h:72
L1CaloPprConditionsRun2::m_lutJepPar3
short m_lutJepPar3
Definition: L1CaloPprConditionsRun2.h:126
L1CaloPprConditionsRun2::m_lutJepStrategy
unsigned short m_lutJepStrategy
Definition: L1CaloPprConditionsRun2.h:120
L1CaloPprConditionsRun2::m_lutCpPar1
short m_lutCpPar1
Definition: L1CaloPprConditionsRun2.h:115
L1CaloPprConditionsRun2::m_lutCpNoiseCut
unsigned short m_lutCpNoiseCut
Definition: L1CaloPprConditionsRun2.h:114
L1CaloPprConditionsRun2::lutJepSlope
unsigned short lutJepSlope() const
Definition: L1CaloPprConditionsRun2.h:87
L1CaloPprConditionsRun2::lutJepNoiseCut
unsigned short lutJepNoiseCut() const
Definition: L1CaloPprConditionsRun2.h:88
L1CaloPprConditionsRun2::lutJepPar4
short lutJepPar4() const
Definition: L1CaloPprConditionsRun2.h:92
L1CaloPprConditionsRun2::m_pedMean
float m_pedMean
Definition: L1CaloPprConditionsRun2.h:130
merge.output
output
Definition: merge.py:17
L1CaloPprConditionsRun2::lutJepPar3
short lutJepPar3() const
Definition: L1CaloPprConditionsRun2.h:91
L1CaloPprConditionsRun2::m_lutJepSlope
unsigned short m_lutJepSlope
Definition: L1CaloPprConditionsRun2.h:122
L1CaloPprConditionsRun2::pedValue
unsigned int pedValue() const
Definition: L1CaloPprConditionsRun2.h:94
L1CaloPprConditionsRun2::lutCpPar1
short lutCpPar1() const
Definition: L1CaloPprConditionsRun2.h:80
L1CaloPprConditionsRun2::m_bcidEnergyRangeHigh
unsigned short m_bcidEnergyRangeHigh
Definition: L1CaloPprConditionsRun2.h:108
L1CaloPprConditionsRun2::m_pedValue
unsigned int m_pedValue
Definition: L1CaloPprConditionsRun2.h:129
L1CaloPprConditionsRun2::m_lutCpOffset
unsigned short m_lutCpOffset
Definition: L1CaloPprConditionsRun2.h:112
L1CaloPprConditionsRun2::m_lutJepPar2
short m_lutJepPar2
Definition: L1CaloPprConditionsRun2.h:125
L1CaloPprConditionsRun2::satBcidThreshLow
unsigned short satBcidThreshLow() const
Definition: L1CaloPprConditionsRun2.h:69
L1CaloPprConditionsRun2::lutCpStrategy
unsigned short lutCpStrategy() const
Definition: L1CaloPprConditionsRun2.h:76
L1CaloPprConditionsRun2::m_lutCpStrategy
unsigned short m_lutCpStrategy
Definition: L1CaloPprConditionsRun2.h:111
L1CaloPprConditionsRun2::satBcidThreshHigh
unsigned short satBcidThreshHigh() const
Definition: L1CaloPprConditionsRun2.h:70
L1CaloPprConditionsRun2
Transient conditions class for objects defined by the online framework and retrieved from COOL for th...
Definition: L1CaloPprConditionsRun2.h:21
L1CaloPprConditionsRun2::pedFirSum
unsigned int pedFirSum() const
Definition: L1CaloPprConditionsRun2.h:96
L1CaloPprConditionsRun2::m_firStartBit
unsigned short m_firStartBit
Definition: L1CaloPprConditionsRun2.h:109
L1CaloPprConditionsRun2::operator<<
friend std::ostream & operator<<(std::ostream &output, const L1CaloPprConditionsRun2 &r)
Definition: L1CaloPprConditionsRun2.cxx:117
L1CaloPprConditionsRun2::m_vFirCoefficients
std::vector< short int > m_vFirCoefficients
Definition: L1CaloPprConditionsRun2.h:110
L1CaloPprConditionsRun2::pedMean
float pedMean() const
Definition: L1CaloPprConditionsRun2.h:95
L1CaloPprConditionsRun2::m_lutCpSlope
unsigned short m_lutCpSlope
Definition: L1CaloPprConditionsRun2.h:113