AliRoot Core  v5-06-30 (35d6c57)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONPadInfo Class Reference

Class to summarize ESD data at pad. More...

#include <AliMUONPadInfo.h>

Inheritance diagram for AliMUONPadInfo:

Public Member Functions

 AliMUONPadInfo ()
 
virtual ~AliMUONPadInfo ()
 
 AliMUONPadInfo (const AliMUONPadInfo &pad)
 
AliMUONPadInfooperator= (const AliMUONPadInfo &pad)
 
virtual void Clear (Option_t *="")
 Clear method (used by TClonesArray) More...
 
void Print (Option_t *option="") const
 
void SetPadId (UInt_t padId)
 Set pad ID. More...
 
UInt_t GetPadId () const
 Return pad ID. More...
 
Int_t GetDetElemId () const
 Return detection element id, part of the uniqueID. More...
 
Int_t GetManuId () const
 Return electronic card id, part of the uniqueID. More...
 
Int_t GetManuChannel () const
 Return the channel within ManuId(), part of the uniqueID. More...
 
Int_t GetCathode () const
 Return the cathode number, part of the uniqueID. More...
 
Int_t GetPadPlaneType () const
 Return the plane type 0=Bending 1=NonBending. More...
 
void SetPadPlaneType (Int_t planeType)
 Set the plane type 0=Bending 1=NonBending. More...
 
void SetPadXY (Double_t x, Double_t y)
 Set pad coordinates (cm) More...
 
Double_t GetPadX () const
 Return pad X-position (cm) More...
 
Double_t GetPadY () const
 Return pad Y-position (cm) More...
 
void SetPadDimXY (Double_t dX, Double_t dY)
 Set pad dimension (cm) More...
 
Double_t GetPadDimX () const
 Return pad X-dimension (cm) More...
 
Double_t GetPadDimY () const
 Return pad Y-dimension (cm) More...
 
void SetPadCharge (Double_t charge)
 Set the calibrated charge. More...
 
Double_t GetPadCharge () const
 Return the calibrated charge. More...
 
void SetPadADC (Int_t adc)
 Set the raw charge. More...
 
Int_t GetPadADC () const
 Return the raw charge. More...
 
void SetCalibrated (Bool_t calibrated=kTRUE)
 Set the pad as being calibrated or not. More...
 
Bool_t IsCalibrated () const
 Return kTRUE if the pad is calibrated. More...
 
void SetSaturated (Bool_t saturated=kTRUE)
 Set the pad as being saturated or not. More...
 
Bool_t IsSaturated () const
 Return kTRUE if the pad is saturated. More...
 
void SetPedestal (Float_t mean, Float_t sigma)
 Set pedestal parameters. More...
 
Float_t GetPedMean () const
 Return the mean value of the pedestal. More...
 
Float_t GetPedSigma () const
 Return the sigma of the pedestal. More...
 
void SetGain (Float_t a0, Float_t a1, Int_t thres, Int_t qual)
 Set gain parameters. More...
 
Float_t GetGainA0 () const
 Return the linear parameter of the gain. More...
 
Float_t GetGainA1 () const
 Return the quadratic parameter of the gain. More...
 
Int_t GetGainThres () const
 Return the threshold of the quadratic behaviour of the gain. More...
 
Int_t GetGainQual () const
 Return the quality of the gain parameters. More...
 

Protected Attributes

UInt_t fPadId
 pad ID More...
 
Int_t fPadPlaneType
 pad plane tye (0=Bending; 1=NonBending) More...
 
Double32_t fPadX
 pad X position More...
 
Double32_t fPadY
 pad Y position More...
 
Double32_t fPadDimX
 pad X dimension More...
 
Double32_t fPadDimY
 pad Y dimension More...
 
Double32_t fPadCharge
 pad calibrated charge More...
 
Int_t fPadADC
 pad raw charge More...
 
Bool_t fPadSaturated
 pad saturation flag More...
 
Bool_t fPadCalibrated
 pad calibration flag More...
 
Float_t fPedMean
 mean value of pedestal More...
 
Float_t fPedSigma
 sigma of pedestal More...
 
Float_t fGainA0
 linear parameter of gain More...
 
Float_t fGainA1
 quadratic parameter of gain More...
 
Int_t fGainThres
 threshold of quadratic behaviour of gain More...
 
Int_t fGainQual
 quality of gain parameters More...
 

Detailed Description

Class to summarize ESD data at pad.

Class to summarize ESD data at pad

Author
Philippe Pillot, Subatech

Definition at line 17 of file AliMUONPadInfo.h.

Constructor & Destructor Documentation

AliMUONPadInfo::AliMUONPadInfo ( )

default constructor

Definition at line 39 of file AliMUONPadInfo.cxx.

AliMUONPadInfo::~AliMUONPadInfo ( )
virtual

Destructor

Definition at line 113 of file AliMUONPadInfo.cxx.

AliMUONPadInfo::AliMUONPadInfo ( const AliMUONPadInfo pad)

Copy constructor

Definition at line 62 of file AliMUONPadInfo.cxx.

Member Function Documentation

virtual void AliMUONPadInfo::Clear ( Option_t *  = "")
inlinevirtual

Clear method (used by TClonesArray)

Definition at line 25 of file AliMUONPadInfo.h.

Int_t AliMUONPadInfo::GetCathode ( ) const
inline

Return the cathode number, part of the uniqueID.

Definition at line 43 of file AliMUONPadInfo.h.

Referenced by Print().

Int_t AliMUONPadInfo::GetDetElemId ( ) const
inline

Return detection element id, part of the uniqueID.

Definition at line 37 of file AliMUONPadInfo.h.

Referenced by Print().

Float_t AliMUONPadInfo::GetGainA0 ( ) const
inline

Return the linear parameter of the gain.

Definition at line 94 of file AliMUONPadInfo.h.

Referenced by Print().

Float_t AliMUONPadInfo::GetGainA1 ( ) const
inline

Return the quadratic parameter of the gain.

Definition at line 96 of file AliMUONPadInfo.h.

Referenced by Print().

Int_t AliMUONPadInfo::GetGainQual ( ) const
inline

Return the quality of the gain parameters.

Definition at line 100 of file AliMUONPadInfo.h.

Referenced by Print().

Int_t AliMUONPadInfo::GetGainThres ( ) const
inline

Return the threshold of the quadratic behaviour of the gain.

Definition at line 98 of file AliMUONPadInfo.h.

Referenced by Print().

Int_t AliMUONPadInfo::GetManuChannel ( ) const
inline

Return the channel within ManuId(), part of the uniqueID.

Definition at line 41 of file AliMUONPadInfo.h.

Referenced by Print().

Int_t AliMUONPadInfo::GetManuId ( ) const
inline

Return electronic card id, part of the uniqueID.

Definition at line 39 of file AliMUONPadInfo.h.

Referenced by Print().

Int_t AliMUONPadInfo::GetPadADC ( ) const
inline

Return the raw charge.

Definition at line 71 of file AliMUONPadInfo.h.

Referenced by Print().

Double_t AliMUONPadInfo::GetPadCharge ( ) const
inline

Return the calibrated charge.

Definition at line 66 of file AliMUONPadInfo.h.

Referenced by AliMUONClusterInfo::GetClusterCharge(), and Print().

Double_t AliMUONPadInfo::GetPadDimX ( ) const
inline

Return pad X-dimension (cm)

Definition at line 59 of file AliMUONPadInfo.h.

Referenced by Print().

Double_t AliMUONPadInfo::GetPadDimY ( ) const
inline

Return pad Y-dimension (cm)

Definition at line 61 of file AliMUONPadInfo.h.

Referenced by Print().

UInt_t AliMUONPadInfo::GetPadId ( ) const
inline

Return pad ID.

Definition at line 34 of file AliMUONPadInfo.h.

Referenced by Print().

Int_t AliMUONPadInfo::GetPadPlaneType ( ) const
inline

Return the plane type 0=Bending 1=NonBending.

Definition at line 45 of file AliMUONPadInfo.h.

Referenced by AliMUONClusterInfo::GetClusterCharge(), AliMUONClusterInfo::GetNPads(), AliMUONClusterInfo::GetNPadsX(), and AliMUONClusterInfo::GetNPadsY().

Double_t AliMUONPadInfo::GetPadX ( ) const
inline

Return pad X-position (cm)

Definition at line 52 of file AliMUONPadInfo.h.

Referenced by AliMUONClusterInfo::GetNPadsX(), and Print().

Double_t AliMUONPadInfo::GetPadY ( ) const
inline

Return pad Y-position (cm)

Definition at line 54 of file AliMUONPadInfo.h.

Referenced by AliMUONClusterInfo::GetNPadsY(), and Print().

Float_t AliMUONPadInfo::GetPedMean ( ) const
inline

Return the mean value of the pedestal.

Definition at line 87 of file AliMUONPadInfo.h.

Referenced by Print().

Float_t AliMUONPadInfo::GetPedSigma ( ) const
inline

Return the sigma of the pedestal.

Definition at line 89 of file AliMUONPadInfo.h.

Referenced by Print().

Bool_t AliMUONPadInfo::IsCalibrated ( ) const
inline

Return kTRUE if the pad is calibrated.

Definition at line 76 of file AliMUONPadInfo.h.

Bool_t AliMUONPadInfo::IsSaturated ( ) const
inline

Return kTRUE if the pad is saturated.

Definition at line 80 of file AliMUONPadInfo.h.

AliMUONPadInfo & AliMUONPadInfo::operator= ( const AliMUONPadInfo pad)

Equal operator

Definition at line 85 of file AliMUONPadInfo.cxx.

void AliMUONPadInfo::Print ( Option_t *  option = "") const

print pad info content also print calibration parameters if option=FULL

Definition at line 119 of file AliMUONPadInfo.cxx.

Referenced by AliMUONClusterInfo::Print().

void AliMUONPadInfo::SetCalibrated ( Bool_t  calibrated = kTRUE)
inline

Set the pad as being calibrated or not.

Definition at line 74 of file AliMUONPadInfo.h.

Referenced by AliMUONChamberCalibrationTask::Exec(), and MUONClusterInfo().

void AliMUONPadInfo::SetGain ( Float_t  a0,
Float_t  a1,
Int_t  thres,
Int_t  qual 
)
inline

Set gain parameters.

Definition at line 92 of file AliMUONPadInfo.h.

Referenced by AliMUONChamberCalibrationTask::Exec(), and MUONClusterInfo().

void AliMUONPadInfo::SetPadADC ( Int_t  adc)
inline

Set the raw charge.

Definition at line 69 of file AliMUONPadInfo.h.

Referenced by AliMUONChamberCalibrationTask::Exec(), and MUONClusterInfo().

void AliMUONPadInfo::SetPadCharge ( Double_t  charge)
inline

Set the calibrated charge.

Definition at line 64 of file AliMUONPadInfo.h.

Referenced by AliMUONChamberCalibrationTask::Exec(), and MUONClusterInfo().

void AliMUONPadInfo::SetPadDimXY ( Double_t  dX,
Double_t  dY 
)
inline

Set pad dimension (cm)

Definition at line 57 of file AliMUONPadInfo.h.

Referenced by AliMUONChamberCalibrationTask::Exec(), and MUONClusterInfo().

void AliMUONPadInfo::SetPadId ( UInt_t  padId)
inline

Set pad ID.

Definition at line 32 of file AliMUONPadInfo.h.

Referenced by AliMUONChamberCalibrationTask::Exec(), and MUONClusterInfo().

void AliMUONPadInfo::SetPadPlaneType ( Int_t  planeType)
inline

Set the plane type 0=Bending 1=NonBending.

Definition at line 47 of file AliMUONPadInfo.h.

Referenced by AliMUONChamberCalibrationTask::Exec(), and MUONClusterInfo().

void AliMUONPadInfo::SetPadXY ( Double_t  x,
Double_t  y 
)
inline

Set pad coordinates (cm)

Definition at line 50 of file AliMUONPadInfo.h.

Referenced by AliMUONChamberCalibrationTask::Exec(), and MUONClusterInfo().

void AliMUONPadInfo::SetPedestal ( Float_t  mean,
Float_t  sigma 
)
inline

Set pedestal parameters.

Definition at line 85 of file AliMUONPadInfo.h.

Referenced by AliMUONChamberCalibrationTask::Exec(), and MUONClusterInfo().

void AliMUONPadInfo::SetSaturated ( Bool_t  saturated = kTRUE)
inline

Set the pad as being saturated or not.

Definition at line 78 of file AliMUONPadInfo.h.

Referenced by AliMUONChamberCalibrationTask::Exec(), and MUONClusterInfo().

Member Data Documentation

Float_t AliMUONPadInfo::fGainA0
protected

linear parameter of gain

Definition at line 120 of file AliMUONPadInfo.h.

Referenced by GetGainA0(), operator=(), and SetGain().

Float_t AliMUONPadInfo::fGainA1
protected

quadratic parameter of gain

Definition at line 121 of file AliMUONPadInfo.h.

Referenced by GetGainA1(), operator=(), and SetGain().

Int_t AliMUONPadInfo::fGainQual
protected

quality of gain parameters

Definition at line 123 of file AliMUONPadInfo.h.

Referenced by GetGainQual(), operator=(), and SetGain().

Int_t AliMUONPadInfo::fGainThres
protected

threshold of quadratic behaviour of gain

Definition at line 122 of file AliMUONPadInfo.h.

Referenced by GetGainThres(), operator=(), and SetGain().

Int_t AliMUONPadInfo::fPadADC
protected

pad raw charge

Definition at line 113 of file AliMUONPadInfo.h.

Referenced by GetPadADC(), operator=(), and SetPadADC().

Bool_t AliMUONPadInfo::fPadCalibrated
protected

pad calibration flag

Definition at line 115 of file AliMUONPadInfo.h.

Referenced by IsCalibrated(), operator=(), and SetCalibrated().

Double32_t AliMUONPadInfo::fPadCharge
protected

pad calibrated charge

Definition at line 112 of file AliMUONPadInfo.h.

Referenced by GetPadCharge(), operator=(), and SetPadCharge().

Double32_t AliMUONPadInfo::fPadDimX
protected

pad X dimension

Definition at line 110 of file AliMUONPadInfo.h.

Referenced by GetPadDimX(), operator=(), and SetPadDimXY().

Double32_t AliMUONPadInfo::fPadDimY
protected

pad Y dimension

Definition at line 111 of file AliMUONPadInfo.h.

Referenced by GetPadDimY(), operator=(), and SetPadDimXY().

UInt_t AliMUONPadInfo::fPadId
protected

pad ID

Definition at line 106 of file AliMUONPadInfo.h.

Referenced by GetCathode(), GetDetElemId(), GetManuChannel(), GetManuId(), GetPadId(), operator=(), and SetPadId().

Int_t AliMUONPadInfo::fPadPlaneType
protected

pad plane tye (0=Bending; 1=NonBending)

Definition at line 107 of file AliMUONPadInfo.h.

Referenced by GetPadPlaneType(), operator=(), and SetPadPlaneType().

Bool_t AliMUONPadInfo::fPadSaturated
protected

pad saturation flag

Definition at line 114 of file AliMUONPadInfo.h.

Referenced by IsSaturated(), operator=(), and SetSaturated().

Double32_t AliMUONPadInfo::fPadX
protected

pad X position

Definition at line 108 of file AliMUONPadInfo.h.

Referenced by GetPadX(), operator=(), and SetPadXY().

Double32_t AliMUONPadInfo::fPadY
protected

pad Y position

Definition at line 109 of file AliMUONPadInfo.h.

Referenced by GetPadY(), operator=(), and SetPadXY().

Float_t AliMUONPadInfo::fPedMean
protected

mean value of pedestal

Definition at line 118 of file AliMUONPadInfo.h.

Referenced by GetPedMean(), operator=(), and SetPedestal().

Float_t AliMUONPadInfo::fPedSigma
protected

sigma of pedestal

Definition at line 119 of file AliMUONPadInfo.h.

Referenced by GetPedSigma(), operator=(), and SetPedestal().


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