AliRoot Core  edcc906 (edcc906)
AliFMDCalibPedestal Class Reference

Pedestal value and width for each strip in the FMD. More...

#include <AliFMDCalibPedestal.h>

Inheritance diagram for AliFMDCalibPedestal:

Public Member Functions

 AliFMDCalibPedestal ()
 
 ~AliFMDCalibPedestal ()
 
 AliFMDCalibPedestal (const AliFMDCalibPedestal &o)
 
AliFMDCalibPedestaloperator= (const AliFMDCalibPedestal &o)
 
void Set (UShort_t det, Char_t ring, UShort_t sec, UShort_t str, Float_t ped, Float_t pedW)
 
Float_t Value (UShort_t det, Char_t ring, UShort_t sec, UShort_t str)
 
Float_t Width (UShort_t det, Char_t ring, UShort_t sec, UShort_t str)
 
Bool_t ReadFromFile (std::istream &inFile)
 
AliFMDBoolMapMakeDeadMap (Float_t maxW, AliFMDBoolMap *dead=0) const
 
const AliFMDFloatMapValues () const
 
const AliFMDFloatMapWidths () const
 

Private Attributes

AliFMDFloatMap fValue
 
AliFMDFloatMap fWidth
 

Detailed Description

Pedestal value and width for each strip in the FMD.

Definition at line 31 of file AliFMDCalibPedestal.h.

Constructor & Destructor Documentation

AliFMDCalibPedestal::AliFMDCalibPedestal ( )

CTOR

Definition at line 44 of file AliFMDCalibPedestal.cxx.

Referenced by ~AliFMDCalibPedestal().

AliFMDCalibPedestal::~AliFMDCalibPedestal ( )
inline

DTOR

Definition at line 37 of file AliFMDCalibPedestal.h.

AliFMDCalibPedestal::AliFMDCalibPedestal ( const AliFMDCalibPedestal o)

Copy ctor

Parameters
oObject to copy from

Definition at line 54 of file AliFMDCalibPedestal.cxx.

Member Function Documentation

AliFMDBoolMap * AliFMDCalibPedestal::MakeDeadMap ( Float_t  maxW,
AliFMDBoolMap dead = 0 
) const

Make a dead map based on the noise of the channels. If the noise of a paraticular channel is larger than maxW, then the channel is marked as dead.

If the argument dead is non-null, then the map passed is modified. That is, channels marked as dead in the map will remain marked. Channels that meat the criterion (noise larger than maxW) will in addition be marked as dead.

If the argument dead is null, then a new map is created and a pointer to this will be returned.

Parameters
maxWMaximum value of noise for a channel before it is marked as dead.
deadIf non-null, then modify this map.
Returns
A pointer to possibly newly allocated dead map.

Definition at line 146 of file AliFMDCalibPedestal.cxx.

Referenced by AliFMDParameters::MakeDeadMap(), and ~AliFMDCalibPedestal().

AliFMDCalibPedestal & AliFMDCalibPedestal::operator= ( const AliFMDCalibPedestal o)

Assignment

Parameters
oObject to assign from
Returns
Reference to this object

Definition at line 64 of file AliFMDCalibPedestal.cxx.

Referenced by Width(), and ~AliFMDCalibPedestal().

Bool_t AliFMDCalibPedestal::ReadFromFile ( std::istream &  inFile)

Read information from file and set values

Parameters
inFileinputFile

Definition at line 181 of file AliFMDCalibPedestal.cxx.

Referenced by DrawCalibRaw::Init(), AliFMDParameters::Init(), and ~AliFMDCalibPedestal().

void AliFMDCalibPedestal::Set ( UShort_t  det,
Char_t  ring,
UShort_t  sec,
UShort_t  str,
Float_t  ped,
Float_t  pedW 
)

Set the values for a strip.

Parameters
detDetector
ringRing
secSector
strStrip
pedValue of pedestal
pedWWidth of pedestal

Definition at line 75 of file AliFMDCalibPedestal.cxx.

Referenced by AliFMDPreprocessor::GetPedestalCalibration(), AliFMDCalibFaker::MakePedestal(), ReadFromFile(), and ~AliFMDCalibPedestal().

Float_t AliFMDCalibPedestal::Value ( UShort_t  det,
Char_t  ring,
UShort_t  sec,
UShort_t  str 
)

Get pedestal for a strip.

Parameters
detDetector
ringRing
secSector
strStrip
Returns
Pedestal for strip

Definition at line 86 of file AliFMDCalibPedestal.cxx.

Referenced by AliFMDParameters::GetPedestal(), and ~AliFMDCalibPedestal().

const AliFMDFloatMap& AliFMDCalibPedestal::Values ( ) const
inline

Definition at line 108 of file AliFMDCalibPedestal.h.

Referenced by AliFMDParameters::InitPedestal().

Float_t AliFMDCalibPedestal::Width ( UShort_t  det,
Char_t  ring,
UShort_t  sec,
UShort_t  str 
)

Get pedestal width for a strip.

Parameters
detDetector
ringRing
secSector
strStrip
Returns
Pedestal width for strip

Definition at line 95 of file AliFMDCalibPedestal.cxx.

Referenced by AliFMDPreprocessor::GetDeadChannelMap(), AliFMDParameters::GetPedestalWidth(), and ~AliFMDCalibPedestal().

const AliFMDFloatMap& AliFMDCalibPedestal::Widths ( ) const
inline

Definition at line 109 of file AliFMDCalibPedestal.h.

Member Data Documentation

AliFMDFloatMap AliFMDCalibPedestal::fValue
private

Definition at line 111 of file AliFMDCalibPedestal.h.

Referenced by AliFMDCalibPedestal(), operator=(), Set(), Value(), and Values().

AliFMDFloatMap AliFMDCalibPedestal::fWidth
private

Pedestal

Definition at line 112 of file AliFMDCalibPedestal.h.

Referenced by AliFMDCalibPedestal(), MakeDeadMap(), operator=(), Set(), Width(), and Widths().


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