ATLAS Offline Software
L1CaloPprLut.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_L1CALOPPRLUT_H
6 #define TRIGT1CALOCALIBCONDITIONS_L1CALOPPRLUT_H
7 
8 #include <iostream>
9 #include <vector>
10 
11 #include "CoralBase/Blob.h"
12 
15 
16 
24 class L1CaloPprLut final{
25  friend std::ostream& operator<<(std::ostream& output, const L1CaloPprLut& ppmLut);
26 
27 public:
28  L1CaloPprLut();
29  L1CaloPprLut(unsigned int channelId, unsigned short lutStrategy, unsigned short lutOffset, unsigned short lutSlope, unsigned short lutNoiseCut, coral::Blob lutParameters, unsigned int pedValue, double pedMean, ChanCalibErrorCode errorCode);
30  L1CaloPprLut(const L1CaloCoolChannelId& channelId, unsigned short lutStrategy, unsigned short lutOffset, unsigned short lutSlope, unsigned short lutNoiseCut, coral::Blob lutParameters, unsigned int pedValue, double pedMean, ChanCalibErrorCode errorCode);
31 
32  ~L1CaloPprLut() =default;
33 
34  // getters
35  inline L1CaloCoolChannelId channelId(void) const { return m_channelId; };
36  inline unsigned short lutStrategy(void) const { return m_lutStrategy; };
37  inline unsigned short lutOffset(void) const { return m_lutOffset; };
38  inline unsigned short lutSlope(void) const { return m_lutSlope; };
39  inline unsigned short lutNoiseCut(void) const { return m_lutNoiseCut; };
40  inline coral::Blob lutParameters(void) const { return m_lutParameters; };
41 
42  inline unsigned int pedValue(void) const { return m_pedValue; };
43  inline double pedMean(void) const { return m_pedMean; }
44  inline ChanCalibErrorCode errorCode(void) const { return m_errorCode; };
45 
46 private:
48 
49  unsigned short m_lutStrategy;
50  unsigned short m_lutOffset;
51  unsigned short m_lutSlope;
52  unsigned short m_lutNoiseCut;
54 
55  unsigned int m_pedValue;
56  double m_pedMean;
57 
59 };
60 
61 #endif
L1CaloCoolChannelId.h
L1CaloPprLut::lutNoiseCut
unsigned short lutNoiseCut(void) const
Definition: L1CaloPprLut.h:39
L1CaloPprLut::L1CaloPprLut
L1CaloPprLut()
Definition: L1CaloPprLut.cxx:7
L1CaloPprLut::pedValue
unsigned int pedValue(void) const
Definition: L1CaloPprLut.h:42
L1CaloPprLut::m_pedValue
unsigned int m_pedValue
Definition: L1CaloPprLut.h:55
L1CaloPprLut::pedMean
double pedMean(void) const
Definition: L1CaloPprLut.h:43
L1CaloPprLut::lutParameters
coral::Blob lutParameters(void) const
Definition: L1CaloPprLut.h:40
python.subdetectors.tile.Blob
Blob
Definition: tile.py:17
ChanCalibErrorCode
ChanCalibErrorCode class for L1Calo error codes Adapted from /LVL1/l1calo/coolL1Calo/coolL1Calo/ChanE...
Definition: ChanCalibErrorCode.h:20
L1CaloPprLut::m_lutOffset
unsigned short m_lutOffset
Definition: L1CaloPprLut.h:50
L1CaloPprLut::m_lutParameters
coral::Blob m_lutParameters
Definition: L1CaloPprLut.h:53
L1CaloPprLut::errorCode
ChanCalibErrorCode errorCode(void) const
Definition: L1CaloPprLut.h:44
L1CaloPprLut
Transient class defining the PPM lookup table objects.
Definition: L1CaloPprLut.h:24
L1CaloPprLut::lutOffset
unsigned short lutOffset(void) const
Definition: L1CaloPprLut.h:37
L1CaloPprLut::~L1CaloPprLut
~L1CaloPprLut()=default
L1CaloPprLut::m_lutStrategy
unsigned short m_lutStrategy
Definition: L1CaloPprLut.h:49
merge.output
output
Definition: merge.py:17
L1CaloPprLut::m_lutSlope
unsigned short m_lutSlope
Definition: L1CaloPprLut.h:51
L1CaloPprLut::m_channelId
L1CaloCoolChannelId m_channelId
Definition: L1CaloPprLut.h:44
L1CaloPprLut::channelId
L1CaloCoolChannelId channelId(void) const
Definition: L1CaloPprLut.h:35
L1CaloCoolChannelId
Definition: L1CaloCoolChannelId.h:10
L1CaloPprLut::lutStrategy
unsigned short lutStrategy(void) const
Definition: L1CaloPprLut.h:36
L1CaloPprLut::m_lutNoiseCut
unsigned short m_lutNoiseCut
Definition: L1CaloPprLut.h:52
L1CaloPprLut::lutSlope
unsigned short lutSlope(void) const
Definition: L1CaloPprLut.h:38
L1CaloPprLut::m_errorCode
ChanCalibErrorCode m_errorCode
Definition: L1CaloPprLut.h:58
L1CaloPprLut::m_pedMean
double m_pedMean
Definition: L1CaloPprLut.h:56
ChanCalibErrorCode.h
L1CaloPprLut::operator<<
friend std::ostream & operator<<(std::ostream &output, const L1CaloPprLut &ppmLut)
Definition: L1CaloPprLut.cxx:44