ATLAS Offline Software
L1CaloPprChanCalibV1.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_L1CALOPPRCHANCALIBV1_H
8 #define TRIGT1CALOCALIBCONDITIONS_L1CALOPPRCHANCALIBV1_H
9 
17 {
18 public:
20  L1CaloPprChanCalibV1(unsigned int channelId, unsigned int errorCode, double pedMean, unsigned int pedValue, unsigned short extBcidThreshold, unsigned short satBcidThreshLow, unsigned short satBcidThreshHigh, unsigned short satBcidLevel, unsigned short bcidEnergyRangeLow, unsigned short bcidEnergyRangeHigh, unsigned short firStartBit, short firCoeff1, short firCoeff2, short firCoeff3, short firCoeff4, short firCoeff5, unsigned short lutStrategy, unsigned short lutOffset, unsigned short lutNoiseCut, unsigned short lutSlope);
21 
22  unsigned int channelId() const { return m_channelId; }
23  unsigned int errorCode() const { return m_errorCode; }
24  double pedMean() const { return m_pedMean; }
25  unsigned int pedValue() const { return m_pedValue; }
26  unsigned short extBcidThreshold() const { return m_extBcidThreshold; }
27  unsigned short satBcidThreshLow() const { return m_satBcidThreshLow; }
28  unsigned short satBcidThreshHigh() const { return m_satBcidThreshHigh; }
29  unsigned short satBcidLevel() const { return m_satBcidLevel; }
30  unsigned short bcidEnergyRangeLow() const { return m_bcidEnergyRangeLow; }
31  unsigned short bcidEnergyRangeHigh() const { return m_bcidEnergyRangeHigh; }
32  unsigned short firStartBit() const { return m_firStartBit; }
33  short firCoeff1() const { return m_firCoeff1; }
34  short firCoeff2() const { return m_firCoeff2; }
35  short firCoeff3() const { return m_firCoeff3; }
36  short firCoeff4() const { return m_firCoeff4; }
37  short firCoeff5() const { return m_firCoeff5; }
38  unsigned short lutStrategy() const { return m_lutStrategy; }
39  unsigned short lutOffset() const { return m_lutOffset; }
40  unsigned short lutNoiseCut() const { return m_lutNoiseCut; }
41  unsigned short lutSlope() const { return m_lutSlope; }
42 
43  void setChannelId(unsigned int channelId) { m_channelId = channelId; }
44  void setErrorCode(unsigned int errorCode) { m_errorCode = errorCode; }
45  void setPedMean(double pedMean) { m_pedMean = pedMean; }
46  void setPedValue(unsigned int pedValue) { m_pedValue = pedValue; }
60  void setLutOffset(unsigned short lutOffset) { m_lutOffset = lutOffset; }
62  void setLutSlope(unsigned short lutSlope) { m_lutSlope = lutSlope; }
63 
64 private:
65  unsigned int m_channelId = 0;
66  unsigned int m_errorCode = 0;
67  double m_pedMean = 0;
68  unsigned int m_pedValue = 0;
69  unsigned short m_extBcidThreshold = 0;
70  unsigned short m_satBcidThreshLow = 0;
71  unsigned short m_satBcidThreshHigh = 0;
72  unsigned short m_satBcidLevel = 0;
73  unsigned short m_bcidEnergyRangeLow = 0;
74  unsigned short m_bcidEnergyRangeHigh = 0;
75  unsigned short m_firStartBit = 0;
76  short m_firCoeff1 = 0;
77  short m_firCoeff2 = 0;
78  short m_firCoeff3 = 0;
79  short m_firCoeff4 = 0;
80  short m_firCoeff5 = 0;
81  unsigned short m_lutStrategy = 0;
82  unsigned short m_lutOffset = 0;
83  unsigned short m_lutNoiseCut = 0;
84  unsigned short m_lutSlope = 0;
85 };
86 
87 #endif // TRIGT1CALOCALIBCONDITIONS_L1CALOPPRCHANCALIBV1_H
L1CaloPprChanCalibV1::firCoeff4
short firCoeff4() const
Definition: L1CaloPprChanCalibV1.h:36
L1CaloPprChanCalibV1::m_lutOffset
unsigned short m_lutOffset
Definition: L1CaloPprChanCalibV1.h:82
L1CaloPprChanCalibV1::satBcidThreshLow
unsigned short satBcidThreshLow() const
Definition: L1CaloPprChanCalibV1.h:27
L1CaloPprChanCalibV1::m_channelId
unsigned int m_channelId
Definition: L1CaloPprChanCalibV1.h:65
L1CaloPprChanCalibV1::lutOffset
unsigned short lutOffset() const
Definition: L1CaloPprChanCalibV1.h:39
L1CaloPprChanCalibV1::m_bcidEnergyRangeLow
unsigned short m_bcidEnergyRangeLow
Definition: L1CaloPprChanCalibV1.h:73
L1CaloPprChanCalibV1::m_firCoeff5
short m_firCoeff5
Definition: L1CaloPprChanCalibV1.h:80
L1CaloPprChanCalibV1::setChannelId
void setChannelId(unsigned int channelId)
Definition: L1CaloPprChanCalibV1.h:43
L1CaloPprChanCalibV1::firCoeff1
short firCoeff1() const
Definition: L1CaloPprChanCalibV1.h:33
L1CaloPprChanCalibV1::m_lutStrategy
unsigned short m_lutStrategy
Definition: L1CaloPprChanCalibV1.h:81
L1CaloPprChanCalibV1::firCoeff2
short firCoeff2() const
Definition: L1CaloPprChanCalibV1.h:34
L1CaloPprChanCalibV1::m_lutSlope
unsigned short m_lutSlope
Definition: L1CaloPprChanCalibV1.h:84
L1CaloPprChanCalibV1::setLutNoiseCut
void setLutNoiseCut(unsigned short lutNoiseCut)
Definition: L1CaloPprChanCalibV1.h:61
L1CaloPprChanCalibV1
Folder <-> Object mapping for /TRIGGER/L1Calo/V1/Calibration/Physics/PprChanCalib .
Definition: L1CaloPprChanCalibV1.h:17
L1CaloPprChanCalibV1::setLutStrategy
void setLutStrategy(unsigned short lutStrategy)
Definition: L1CaloPprChanCalibV1.h:59
L1CaloPprChanCalibV1::firStartBit
unsigned short firStartBit() const
Definition: L1CaloPprChanCalibV1.h:32
L1CaloPprChanCalibV1::setFirCoeff1
void setFirCoeff1(short firCoeff1)
Definition: L1CaloPprChanCalibV1.h:54
L1CaloPprChanCalibV1::firCoeff5
short firCoeff5() const
Definition: L1CaloPprChanCalibV1.h:37
L1CaloPprChanCalibV1::setFirStartBit
void setFirStartBit(unsigned short firStartBit)
Definition: L1CaloPprChanCalibV1.h:53
L1CaloPprChanCalibV1::m_firCoeff4
short m_firCoeff4
Definition: L1CaloPprChanCalibV1.h:79
L1CaloPprChanCalibV1::lutSlope
unsigned short lutSlope() const
Definition: L1CaloPprChanCalibV1.h:41
L1CaloPprChanCalibV1::firCoeff3
short firCoeff3() const
Definition: L1CaloPprChanCalibV1.h:35
L1CaloPprChanCalibV1::setPedMean
void setPedMean(double pedMean)
Definition: L1CaloPprChanCalibV1.h:45
L1CaloPprChanCalibV1::bcidEnergyRangeHigh
unsigned short bcidEnergyRangeHigh() const
Definition: L1CaloPprChanCalibV1.h:31
L1CaloPprChanCalibV1::errorCode
unsigned int errorCode() const
Definition: L1CaloPprChanCalibV1.h:23
L1CaloPprChanCalibV1::extBcidThreshold
unsigned short extBcidThreshold() const
Definition: L1CaloPprChanCalibV1.h:26
L1CaloPprChanCalibV1::m_firStartBit
unsigned short m_firStartBit
Definition: L1CaloPprChanCalibV1.h:75
L1CaloPprChanCalibV1::setFirCoeff3
void setFirCoeff3(short firCoeff3)
Definition: L1CaloPprChanCalibV1.h:56
L1CaloPprChanCalibV1::pedValue
unsigned int pedValue() const
Definition: L1CaloPprChanCalibV1.h:25
L1CaloPprChanCalibV1::m_firCoeff3
short m_firCoeff3
Definition: L1CaloPprChanCalibV1.h:78
L1CaloPprChanCalibV1::m_extBcidThreshold
unsigned short m_extBcidThreshold
Definition: L1CaloPprChanCalibV1.h:69
L1CaloPprChanCalibV1::m_bcidEnergyRangeHigh
unsigned short m_bcidEnergyRangeHigh
Definition: L1CaloPprChanCalibV1.h:74
L1CaloPprChanCalibV1::m_errorCode
unsigned int m_errorCode
Definition: L1CaloPprChanCalibV1.h:66
L1CaloPprChanCalibV1::m_lutNoiseCut
unsigned short m_lutNoiseCut
Definition: L1CaloPprChanCalibV1.h:83
L1CaloPprChanCalibV1::satBcidThreshHigh
unsigned short satBcidThreshHigh() const
Definition: L1CaloPprChanCalibV1.h:28
L1CaloPprChanCalibV1::L1CaloPprChanCalibV1
L1CaloPprChanCalibV1()
Definition: L1CaloPprChanCalibV1.h:19
L1CaloPprChanCalibV1::setPedValue
void setPedValue(unsigned int pedValue)
Definition: L1CaloPprChanCalibV1.h:46
L1CaloPprChanCalibV1::setErrorCode
void setErrorCode(unsigned int errorCode)
Definition: L1CaloPprChanCalibV1.h:44
L1CaloPprChanCalibV1::setBcidEnergyRangeLow
void setBcidEnergyRangeLow(unsigned short bcidEnergyRangeLow)
Definition: L1CaloPprChanCalibV1.h:51
L1CaloPprChanCalibV1::pedMean
double pedMean() const
Definition: L1CaloPprChanCalibV1.h:24
L1CaloPprChanCalibV1::m_satBcidThreshHigh
unsigned short m_satBcidThreshHigh
Definition: L1CaloPprChanCalibV1.h:71
L1CaloPprChanCalibV1::setBcidEnergyRangeHigh
void setBcidEnergyRangeHigh(unsigned short bcidEnergyRangeHigh)
Definition: L1CaloPprChanCalibV1.h:52
L1CaloPprChanCalibV1::setFirCoeff5
void setFirCoeff5(short firCoeff5)
Definition: L1CaloPprChanCalibV1.h:58
L1CaloPprChanCalibV1::m_satBcidLevel
unsigned short m_satBcidLevel
Definition: L1CaloPprChanCalibV1.h:72
L1CaloPprChanCalibV1::bcidEnergyRangeLow
unsigned short bcidEnergyRangeLow() const
Definition: L1CaloPprChanCalibV1.h:30
L1CaloPprChanCalibV1::setSatBcidLevel
void setSatBcidLevel(unsigned short satBcidLevel)
Definition: L1CaloPprChanCalibV1.h:50
L1CaloPprChanCalibV1::satBcidLevel
unsigned short satBcidLevel() const
Definition: L1CaloPprChanCalibV1.h:29
L1CaloPprChanCalibV1::lutNoiseCut
unsigned short lutNoiseCut() const
Definition: L1CaloPprChanCalibV1.h:40
L1CaloPprChanCalibV1::channelId
unsigned int channelId() const
Definition: L1CaloPprChanCalibV1.h:22
L1CaloPprChanCalibV1::setSatBcidThreshHigh
void setSatBcidThreshHigh(unsigned short satBcidThreshHigh)
Definition: L1CaloPprChanCalibV1.h:49
L1CaloPprChanCalibV1::setLutOffset
void setLutOffset(unsigned short lutOffset)
Definition: L1CaloPprChanCalibV1.h:60
L1CaloPprChanCalibV1::setFirCoeff2
void setFirCoeff2(short firCoeff2)
Definition: L1CaloPprChanCalibV1.h:55
L1CaloPprChanCalibV1::m_firCoeff2
short m_firCoeff2
Definition: L1CaloPprChanCalibV1.h:77
L1CaloPprChanCalibV1::setFirCoeff4
void setFirCoeff4(short firCoeff4)
Definition: L1CaloPprChanCalibV1.h:57
L1CaloPprChanCalibV1::setLutSlope
void setLutSlope(unsigned short lutSlope)
Definition: L1CaloPprChanCalibV1.h:62
L1CaloPprChanCalibV1::setExtBcidThreshold
void setExtBcidThreshold(unsigned short extBcidThreshold)
Definition: L1CaloPprChanCalibV1.h:47
L1CaloPprChanCalibV1::m_satBcidThreshLow
unsigned short m_satBcidThreshLow
Definition: L1CaloPprChanCalibV1.h:70
L1CaloPprChanCalibV1::m_firCoeff1
short m_firCoeff1
Definition: L1CaloPprChanCalibV1.h:76
L1CaloPprChanCalibV1::setSatBcidThreshLow
void setSatBcidThreshLow(unsigned short satBcidThreshLow)
Definition: L1CaloPprChanCalibV1.h:48
L1CaloPprChanCalibV1::m_pedMean
double m_pedMean
Definition: L1CaloPprChanCalibV1.h:67
L1CaloPprChanCalibV1::lutStrategy
unsigned short lutStrategy() const
Definition: L1CaloPprChanCalibV1.h:38
L1CaloPprChanCalibV1::m_pedValue
unsigned int m_pedValue
Definition: L1CaloPprChanCalibV1.h:68