ATLAS Offline Software
L1CaloPprConditions.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGT1CALOCALIBCONDITIONS_L1CALOPPRCONDITIONS_H
6 #define TRIGT1CALOCALIBCONDITIONS_L1CALOPPRCONDITIONS_H
7 
12 
13 #include <iostream>
14 #include <vector>
15 
23 class L1CaloPprConditions final {
24  friend std::ostream& operator<<(std::ostream& output, const L1CaloPprConditions& r);
25 public:
26 
28  L1CaloPprConditions( unsigned short extBcidThreshold,
29  unsigned short satBcidThreshLow, unsigned short satBcidThreshHigh, unsigned short satBcidLevel,
30  unsigned short bcidEnergyRangeLow, unsigned short bcidEnergyRangeHigh, unsigned short firStartBit,
31  short int firCoeff1, short int firCoeff2, short int firCoeff3, short int firCoeff4, short int firCoeff5,
32  unsigned short lutStrategy, unsigned short lutOffset, unsigned short lutSlope, unsigned short lutNoiseCut,
33  unsigned int pedValue, float pedMean);
34 
35  ~L1CaloPprConditions() = default;
36 
37  // getters
38  inline unsigned short extBcidThreshold() const { return m_extBcidThreshold; }
39  inline unsigned short satBcidThreshLow() const { return m_satBcidThreshLow; }
40  inline unsigned short satBcidThreshHigh() const { return m_satBcidThreshHigh; }
41  inline unsigned short satBcidLevel() const { return m_satBcidLevel; }
42  inline unsigned short bcidEnergyRangeLow() const { return m_bcidEnergyRangeLow; }
43  inline unsigned short bcidEnergyRangeHigh() const { return m_bcidEnergyRangeHigh; }
44  inline unsigned short firStartBit() const { return m_firStartBit; }
45  inline const std::vector<short int>& firCoefficients() const { return m_vFirCoefficients; }
46  inline unsigned short lutStrategy() const { return m_lutStrategy; }
47  inline unsigned short lutOffset() const { return m_lutOffset; }
48  inline unsigned short lutSlope() const { return m_lutSlope; }
49  inline unsigned short lutNoiseCut() const { return m_lutNoiseCut; }
50  inline unsigned int pedValue() const { return m_pedValue; }
51  inline float pedMean() const { return m_pedMean; }
52 
53 private:
54 
55  unsigned short m_extBcidThreshold;
56  unsigned short m_satBcidThreshLow;
57  unsigned short m_satBcidThreshHigh;
58  unsigned short m_satBcidLevel;
59  unsigned short m_bcidEnergyRangeLow;
60  unsigned short m_bcidEnergyRangeHigh;
61  unsigned short m_firStartBit;
62  std::vector<short int> m_vFirCoefficients;
63  unsigned short m_lutStrategy;
64  unsigned short m_lutOffset;
65  unsigned short m_lutSlope;
66  unsigned short m_lutNoiseCut;
67  unsigned int m_pedValue;
68  float m_pedMean;
69 
70 };
71 
72 #endif
L1CaloPprConditions::bcidEnergyRangeLow
unsigned short bcidEnergyRangeLow() const
Definition: L1CaloPprConditions.h:42
L1CaloCoolChannelId.h
beamspotman.r
def r
Definition: beamspotman.py:676
L1CaloPprConditions::lutOffset
unsigned short lutOffset() const
Definition: L1CaloPprConditions.h:47
L1CaloPprConditions::lutSlope
unsigned short lutSlope() const
Definition: L1CaloPprConditions.h:48
L1CaloPprConditions::m_lutOffset
unsigned short m_lutOffset
Definition: L1CaloPprConditions.h:64
L1CaloPprConditions::m_satBcidLevel
unsigned short m_satBcidLevel
Definition: L1CaloPprConditions.h:58
L1CaloPprConditions::bcidEnergyRangeHigh
unsigned short bcidEnergyRangeHigh() const
Definition: L1CaloPprConditions.h:43
L1CaloPprConditions::m_bcidEnergyRangeLow
unsigned short m_bcidEnergyRangeLow
Definition: L1CaloPprConditions.h:59
L1CaloPprConditions::pedMean
float pedMean() const
Definition: L1CaloPprConditions.h:51
L1CaloPprConditions::m_pedMean
float m_pedMean
Definition: L1CaloPprConditions.h:68
L1CaloPprConditions::m_lutNoiseCut
unsigned short m_lutNoiseCut
Definition: L1CaloPprConditions.h:66
L1CaloPprConditions::m_bcidEnergyRangeHigh
unsigned short m_bcidEnergyRangeHigh
Definition: L1CaloPprConditions.h:60
L1CaloPprConditions::~L1CaloPprConditions
~L1CaloPprConditions()=default
L1CaloPprConditions::lutStrategy
unsigned short lutStrategy() const
Definition: L1CaloPprConditions.h:46
AbstractL1CaloPersistentCondition.h
L1CaloPprConditions::m_vFirCoefficients
std::vector< short int > m_vFirCoefficients
Definition: L1CaloPprConditions.h:62
L1CaloPprConditions::lutNoiseCut
unsigned short lutNoiseCut() const
Definition: L1CaloPprConditions.h:49
L1CaloPprConditions::firCoefficients
const std::vector< short int > & firCoefficients() const
Definition: L1CaloPprConditions.h:45
L1CaloPprConditions::m_pedValue
unsigned int m_pedValue
Definition: L1CaloPprConditions.h:67
L1CaloPprConditions::m_satBcidThreshHigh
unsigned short m_satBcidThreshHigh
Definition: L1CaloPprConditions.h:57
L1CaloPprConditions::satBcidLevel
unsigned short satBcidLevel() const
Definition: L1CaloPprConditions.h:41
L1CaloPprConditions::m_lutSlope
unsigned short m_lutSlope
Definition: L1CaloPprConditions.h:65
L1CaloPprConditions::satBcidThreshLow
unsigned short satBcidThreshLow() const
Definition: L1CaloPprConditions.h:39
L1CaloPprConditions::m_lutStrategy
unsigned short m_lutStrategy
Definition: L1CaloPprConditions.h:63
L1CaloPprConditions
Transient conditions class for objects defined by the online framework and retrieved from COOL.
Definition: L1CaloPprConditions.h:23
merge.output
output
Definition: merge.py:17
ChanDeadErrorCode.h
L1CaloPprConditions::pedValue
unsigned int pedValue() const
Definition: L1CaloPprConditions.h:50
L1CaloPprConditions::operator<<
friend std::ostream & operator<<(std::ostream &output, const L1CaloPprConditions &r)
Definition: L1CaloPprConditions.cxx:57
L1CaloPprConditions::firStartBit
unsigned short firStartBit() const
Definition: L1CaloPprConditions.h:44
L1CaloPprConditions::m_satBcidThreshLow
unsigned short m_satBcidThreshLow
Definition: L1CaloPprConditions.h:56
L1CaloPprConditions::extBcidThreshold
unsigned short extBcidThreshold() const
Definition: L1CaloPprConditions.h:38
L1CaloPprConditions::satBcidThreshHigh
unsigned short satBcidThreshHigh() const
Definition: L1CaloPprConditions.h:40
ChanCalibErrorCode.h
L1CaloPprConditions::L1CaloPprConditions
L1CaloPprConditions()
Definition: L1CaloPprConditions.cxx:12
L1CaloPprConditions::m_extBcidThreshold
unsigned short m_extBcidThreshold
Definition: L1CaloPprConditions.h:55
L1CaloPprConditions::m_firStartBit
unsigned short m_firStartBit
Definition: L1CaloPprConditions.h:61