ATLAS Offline Software
Loading...
Searching...
No Matches
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 :
11m_lutSlope(0),
14m_pedValue(0),
15m_pedMean(0.)
16{}
coral::Blob m_lutParameters
double m_pedMean
unsigned short m_lutOffset
L1CaloCoolChannelId m_channelId
unsigned short m_lutStrategy
unsigned short m_lutNoiseCut
unsigned short m_lutSlope
unsigned int m_pedValue

◆ 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 )

Definition at line 19 of file L1CaloPprLut.cxx.

19 :
29{}
double pedMean(void) const
unsigned int pedValue(void) const
unsigned short lutNoiseCut(void) const
coral::Blob lutParameters(void) const
unsigned short lutSlope(void) const
ChanCalibErrorCode m_errorCode
unsigned short lutOffset(void) const
L1CaloCoolChannelId channelId(void) const
unsigned short lutStrategy(void) const
ChanCalibErrorCode errorCode(void) const

◆ 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; };

◆ 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}
bool chanValid() const
Checks if channel is valid, ie.
unsigned int id() const
output
Definition merge.py:16

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: