ATLAS Offline Software
Loading...
Searching...
No Matches
TileLaserPmt Class Reference

#include <TileLaserPmt.h>

Collaboration diagram for TileLaserPmt:

Public Member Functions

 TileLaserPmt ()
int getPMADC () const
int getTDC () const
double getPMPedestal () const
double getPMSigmaPedestal () const
void setPmt (const int pmAdc, const int tdc, const double pmPedestal, const double pmSigmaPedestal)
 operator std::string () const
 Convertion operator to a std::string, can be used in a cast operation : (std::string) TileLaserPmt.

Private Attributes

int m_PMADC
int m_TDC
double m_pmPedestal
double m_pmSigmaPedestal

Detailed Description

Definition at line 16 of file TileLaserPmt.h.

Constructor & Destructor Documentation

◆ TileLaserPmt()

TileLaserPmt::TileLaserPmt ( )
inline

Definition at line 20 of file TileLaserPmt.h.

21 : m_PMADC(0)
22 , m_TDC(0)
23 , m_pmPedestal(0.0)
24 , m_pmSigmaPedestal(0.0) { }
double m_pmPedestal
double m_pmSigmaPedestal

Member Function Documentation

◆ getPMADC()

int TileLaserPmt::getPMADC ( ) const
inline

Definition at line 27 of file TileLaserPmt.h.

27{ return m_PMADC; }

◆ getPMPedestal()

double TileLaserPmt::getPMPedestal ( ) const
inline

Definition at line 29 of file TileLaserPmt.h.

29{ return m_pmPedestal; }

◆ getPMSigmaPedestal()

double TileLaserPmt::getPMSigmaPedestal ( ) const
inline

Definition at line 30 of file TileLaserPmt.h.

30{ return m_pmSigmaPedestal; }

◆ getTDC()

int TileLaserPmt::getTDC ( ) const
inline

Definition at line 28 of file TileLaserPmt.h.

28{ return m_TDC; }

◆ operator std::string()

TileLaserPmt::operator std::string ( ) const

Convertion operator to a std::string, can be used in a cast operation : (std::string) TileLaserPmt.

Definition at line 18 of file TileLaserPmt.cxx.

19{
20 std::ostringstream text;
21 text << "TileLaserPmt: ";
22 text << "PMADC: " << m_PMADC << " ";
23 text << "TDC: " << m_TDC << " ";
24 text << "ped: " << m_pmPedestal << " ";
25 text << "sigPed: " << m_pmSigmaPedestal;
26 return text.str();
27}

◆ setPmt()

void TileLaserPmt::setPmt ( const int pmAdc,
const int tdc,
const double pmPedestal,
const double pmSigmaPedestal )
inline

Definition at line 32 of file TileLaserPmt.h.

35 {
36 m_PMADC = pmAdc;
37 m_TDC = tdc;
38 m_pmPedestal = pmPedestal;
39 m_pmSigmaPedestal = pmSigmaPedestal;
40 }

Member Data Documentation

◆ m_PMADC

int TileLaserPmt::m_PMADC
private

Definition at line 50 of file TileLaserPmt.h.

◆ m_pmPedestal

double TileLaserPmt::m_pmPedestal
private

Definition at line 52 of file TileLaserPmt.h.

◆ m_pmSigmaPedestal

double TileLaserPmt::m_pmSigmaPedestal
private

Definition at line 53 of file TileLaserPmt.h.

◆ m_TDC

int TileLaserPmt::m_TDC
private

Definition at line 51 of file TileLaserPmt.h.


The documentation for this class was generated from the following files: