ATLAS Offline Software
L1CaloPprLut.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
8 m_channelId(0),
9 m_lutStrategy(0),
10 m_lutOffset(0),
11 m_lutSlope(0),
12 m_lutNoiseCut(0),
13 m_lutParameters(0),
14 m_pedValue(0),
15 m_pedMean(0.)
16 {}
17 
18 
19 L1CaloPprLut::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):
20 m_channelId(channelId),
21 m_lutStrategy(lutStrategy),
22 m_lutOffset(lutOffset),
23 m_lutSlope(lutSlope),
24 m_lutNoiseCut(lutNoiseCut),
25 m_lutParameters(lutParameters),
26 m_pedValue(pedValue),
27 m_pedMean(pedMean),
28 m_errorCode(errorCode)
29 {}
30 
31 
32 L1CaloPprLut::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):
33 m_channelId(channelId),
34 m_lutStrategy(lutStrategy),
35 m_lutOffset(lutOffset),
36 m_lutSlope(lutSlope),
37 m_lutNoiseCut(lutNoiseCut),
38 m_lutParameters(lutParameters),
39 m_pedValue(pedValue),
40 m_pedMean(pedMean),
41 m_errorCode(errorCode)
42 {}
43 
44 std::ostream& operator<<(std::ostream& output, const L1CaloPprLut& ppmLut) {
45  output << "channelId: "<< std::hex << ppmLut.m_channelId.id()<< std::dec
46  << ", lutStrategy: " << (int) ppmLut.m_lutStrategy
47  << ", lutOffset: " << ppmLut.m_lutOffset
48  << ", lutSlope: " << ppmLut.m_lutSlope
49  << ", lutNoiseCut: " << ppmLut.m_lutNoiseCut
50  << ", pedValue: " << ppmLut.m_pedValue
51  << ", pedMean: " << ppmLut.m_pedMean
52  <<", errorCode: " << ppmLut.m_errorCode
53  << ", chanValid: " << ppmLut.m_errorCode.chanValid();
54  return output;
55 }
L1CaloPprLut::L1CaloPprLut
L1CaloPprLut()
Definition: L1CaloPprLut.cxx:7
CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24
L1CaloPprLut::m_pedValue
unsigned int m_pedValue
Definition: L1CaloPprLut.h:55
python.subdetectors.tile.Blob
Blob
Definition: tile.py:17
ChanCalibErrorCode::chanValid
bool chanValid() const
Checks if channel is valid, ie.
Definition: ChanCalibErrorCode.cxx:46
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
operator<<
std::ostream & operator<<(std::ostream &output, const L1CaloPprLut &ppmLut)
Definition: L1CaloPprLut.cxx:44
L1CaloPprLut
Transient class defining the PPM lookup table objects.
Definition: L1CaloPprLut.h:24
L1CaloPprLut.h
L1CaloPprLut::m_lutStrategy
unsigned short m_lutStrategy
Definition: L1CaloPprLut.h:49
L1CaloCoolChannelId::id
unsigned int id() const
Definition: L1CaloCoolChannelId.h:32
CaloCondBlobAlgs_fillNoiseFromASCII.channelId
channelId
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:122
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
L1CaloCoolChannelId
Definition: L1CaloCoolChannelId.h:10
L1CaloPprLut::m_lutNoiseCut
unsigned short m_lutNoiseCut
Definition: L1CaloPprLut.h:52
L1CaloPprLut::m_errorCode
ChanCalibErrorCode m_errorCode
Definition: L1CaloPprLut.h:58
L1CaloPprLut::m_pedMean
double m_pedMean
Definition: L1CaloPprLut.h:56