ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
L1CaloPedestal Class Reference

L1CaloPedestal class. More...

#include <L1CaloPedestal.h>

Collaboration diagram for L1CaloPedestal:

Public Member Functions

 L1CaloPedestal ()
 
 L1CaloPedestal (unsigned int channelId, const L1CaloPedestalCumul &pedestalCumul)
 
 L1CaloPedestal (unsigned int channelId, double mean, double rms)
 
double get_mean () const
 
double get_rms () const
 
unsigned int channelId () const
 

Private Attributes

unsigned int m_channelId
 
double m_Ped_Mean
 
double m_Ped_RMS
 

Detailed Description

L1CaloPedestal class.

Define the transient pedestal objects

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

Definition at line 17 of file L1CaloPedestal.h.

Constructor & Destructor Documentation

◆ L1CaloPedestal() [1/3]

L1CaloPedestal::L1CaloPedestal ( )

Definition at line 7 of file L1CaloPedestal.cxx.

8 {
9  m_channelId = 0;
10  m_Ped_Mean = 0.;
11  m_Ped_RMS = 0.;
12 }

◆ L1CaloPedestal() [2/3]

L1CaloPedestal::L1CaloPedestal ( unsigned int  channelId,
const L1CaloPedestalCumul pedestalCumul 
)

Definition at line 14 of file L1CaloPedestal.cxx.

14  {
16  m_Ped_Mean = pedestalCumul.get_mean();
17  m_Ped_RMS = pedestalCumul.get_rms();
18 }

◆ L1CaloPedestal() [3/3]

L1CaloPedestal::L1CaloPedestal ( unsigned int  channelId,
double  mean,
double  rms 
)
inline

Definition at line 21 of file L1CaloPedestal.h.

Member Function Documentation

◆ channelId()

unsigned int L1CaloPedestal::channelId ( ) const
inline

Definition at line 25 of file L1CaloPedestal.h.

25 { return m_channelId; };

◆ get_mean()

double L1CaloPedestal::get_mean ( ) const
inline

Definition at line 23 of file L1CaloPedestal.h.

23 { return m_Ped_Mean; };

◆ get_rms()

double L1CaloPedestal::get_rms ( ) const
inline

Definition at line 24 of file L1CaloPedestal.h.

24 { return m_Ped_RMS; };

Member Data Documentation

◆ m_channelId

unsigned int L1CaloPedestal::m_channelId
private

Definition at line 28 of file L1CaloPedestal.h.

◆ m_Ped_Mean

double L1CaloPedestal::m_Ped_Mean
private

Definition at line 29 of file L1CaloPedestal.h.

◆ m_Ped_RMS

double L1CaloPedestal::m_Ped_RMS
private

Definition at line 30 of file L1CaloPedestal.h.


The documentation for this class was generated from the following files:
mean
void mean(std::vector< double > &bins, std::vector< double > &values, const std::vector< std::string > &files, const std::string &histname, const std::string &tplotname, const std::string &label="")
Definition: dependence.cxx:254
L1CaloPedestal::m_Ped_Mean
double m_Ped_Mean
Definition: L1CaloPedestal.h:29
L1CaloPedestal::channelId
unsigned int channelId() const
Definition: L1CaloPedestal.h:25
L1CaloPedestalCumul::get_mean
double get_mean() const
Definition: L1CaloPedestalCumul.cxx:48
L1CaloPedestal::m_Ped_RMS
double m_Ped_RMS
Definition: L1CaloPedestal.h:30
beamspotnt.rms
rms
Definition: bin/beamspotnt.py:1266
L1CaloPedestal::m_channelId
unsigned int m_channelId
Definition: L1CaloPedestal.h:25
L1CaloPedestalCumul::get_rms
double get_rms() const
Definition: L1CaloPedestalCumul.cxx:80