ATLAS Offline Software
Public Member Functions | Private Attributes | Friends | List of all members
L1CaloPprLut Class Referencefinal

Transient class defining the PPM lookup table objects. More...

#include <L1CaloPprLut.h>

Collaboration diagram for L1CaloPprLut:

Public Member Functions

 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)
 
 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)
 
 ~L1CaloPprLut ()=default
 
L1CaloCoolChannelId channelId (void) const
 
unsigned short lutStrategy (void) const
 
unsigned short lutOffset (void) const
 
unsigned short lutSlope (void) const
 
unsigned short lutNoiseCut (void) const
 
coral::Blob lutParameters (void) const
 
unsigned int pedValue (void) const
 
double pedMean (void) const
 
ChanCalibErrorCode errorCode (void) const
 

Private Attributes

L1CaloCoolChannelId m_channelId
 
unsigned short m_lutStrategy
 
unsigned short m_lutOffset
 
unsigned short m_lutSlope
 
unsigned short m_lutNoiseCut
 
coral::Blob m_lutParameters
 
unsigned int m_pedValue
 
double m_pedMean
 
ChanCalibErrorCode m_errorCode
 

Friends

std::ostream & operator<< (std::ostream &output, const L1CaloPprLut &ppmLut)
 

Detailed Description

Transient class defining the PPM lookup table objects.

Author
Damien Prieur damie.nosp@m.n.pr.nosp@m.ieur@.nosp@m.cern.nosp@m..ch

Definition at line 24 of file L1CaloPprLut.h.

Constructor & Destructor Documentation

◆ L1CaloPprLut() [1/3]

L1CaloPprLut::L1CaloPprLut ( )

Definition at line 7 of file L1CaloPprLut.cxx.

7  :
8 m_channelId(0),
10 m_lutOffset(0),
11 m_lutSlope(0),
12 m_lutNoiseCut(0),
14 m_pedValue(0),
15 m_pedMean(0.)
16 {}

◆ L1CaloPprLut() [2/3]

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 
)

◆ L1CaloPprLut() [3/3]

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 
)

◆ ~L1CaloPprLut()

L1CaloPprLut::~L1CaloPprLut ( )
default

Member Function Documentation

◆ channelId()

L1CaloCoolChannelId L1CaloPprLut::channelId ( void  ) const
inline

Definition at line 35 of file L1CaloPprLut.h.

35 { return m_channelId; };

◆ errorCode()

ChanCalibErrorCode L1CaloPprLut::errorCode ( void  ) const
inline

Definition at line 44 of file L1CaloPprLut.h.

44 { return m_errorCode; };

◆ lutNoiseCut()

unsigned short L1CaloPprLut::lutNoiseCut ( void  ) const
inline

Definition at line 39 of file L1CaloPprLut.h.

39 { return m_lutNoiseCut; };

◆ lutOffset()

unsigned short L1CaloPprLut::lutOffset ( void  ) const
inline

Definition at line 37 of file L1CaloPprLut.h.

37 { return m_lutOffset; };

◆ lutParameters()

coral::Blob L1CaloPprLut::lutParameters ( void  ) const
inline

Definition at line 40 of file L1CaloPprLut.h.

40 { return m_lutParameters; };

◆ lutSlope()

unsigned short L1CaloPprLut::lutSlope ( void  ) const
inline

Definition at line 38 of file L1CaloPprLut.h.

38 { return m_lutSlope; };

◆ lutStrategy()

unsigned short L1CaloPprLut::lutStrategy ( void  ) const
inline

Definition at line 36 of file L1CaloPprLut.h.

36 { return m_lutStrategy; };

◆ pedMean()

double L1CaloPprLut::pedMean ( void  ) const
inline

Definition at line 43 of file L1CaloPprLut.h.

43 { return m_pedMean; }

◆ pedValue()

unsigned int L1CaloPprLut::pedValue ( void  ) const
inline

Definition at line 42 of file L1CaloPprLut.h.

42 { return m_pedValue; };

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  output,
const L1CaloPprLut ppmLut 
)
friend

Definition at line 44 of file L1CaloPprLut.cxx.

44  {
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 }

Member Data Documentation

◆ m_channelId

L1CaloCoolChannelId L1CaloPprLut::m_channelId
private

Definition at line 47 of file L1CaloPprLut.h.

◆ m_errorCode

ChanCalibErrorCode L1CaloPprLut::m_errorCode
private

Definition at line 58 of file L1CaloPprLut.h.

◆ m_lutNoiseCut

unsigned short L1CaloPprLut::m_lutNoiseCut
private

Definition at line 52 of file L1CaloPprLut.h.

◆ m_lutOffset

unsigned short L1CaloPprLut::m_lutOffset
private

Definition at line 50 of file L1CaloPprLut.h.

◆ m_lutParameters

coral::Blob L1CaloPprLut::m_lutParameters
private

Definition at line 53 of file L1CaloPprLut.h.

◆ m_lutSlope

unsigned short L1CaloPprLut::m_lutSlope
private

Definition at line 51 of file L1CaloPprLut.h.

◆ m_lutStrategy

unsigned short L1CaloPprLut::m_lutStrategy
private

Definition at line 49 of file L1CaloPprLut.h.

◆ m_pedMean

double L1CaloPprLut::m_pedMean
private

Definition at line 56 of file L1CaloPprLut.h.

◆ m_pedValue

unsigned int L1CaloPprLut::m_pedValue
private

Definition at line 55 of file L1CaloPprLut.h.


The documentation for this class was generated from the following files:
L1CaloPprLut::lutNoiseCut
unsigned short lutNoiseCut(void) const
Definition: L1CaloPprLut.h:39
CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24
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
ChanCalibErrorCode::chanValid
bool chanValid() const
Checks if channel is valid, ie.
Definition: ChanCalibErrorCode.cxx:46
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::lutOffset
unsigned short lutOffset(void) const
Definition: L1CaloPprLut.h:37
L1CaloPprLut::m_lutStrategy
unsigned short m_lutStrategy
Definition: L1CaloPprLut.h:49
L1CaloCoolChannelId::id
unsigned int id() const
Definition: L1CaloCoolChannelId.h:32
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
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