![]() |
AliRoot Core
edcc906 (edcc906)
|
Pedestal value and width for each strip in the FMD. More...
#include <AliFMDCalibPedestal.h>
Public Member Functions | |
AliFMDCalibPedestal () | |
~AliFMDCalibPedestal () | |
AliFMDCalibPedestal (const AliFMDCalibPedestal &o) | |
AliFMDCalibPedestal & | operator= (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) |
AliFMDBoolMap * | MakeDeadMap (Float_t maxW, AliFMDBoolMap *dead=0) const |
const AliFMDFloatMap & | Values () const |
const AliFMDFloatMap & | Widths () const |
Private Attributes | |
AliFMDFloatMap | fValue |
AliFMDFloatMap | fWidth |
Pedestal value and width for each strip in the FMD.
Definition at line 31 of file AliFMDCalibPedestal.h.
AliFMDCalibPedestal::AliFMDCalibPedestal | ( | ) |
|
inline |
DTOR
Definition at line 37 of file AliFMDCalibPedestal.h.
AliFMDCalibPedestal::AliFMDCalibPedestal | ( | const AliFMDCalibPedestal & | o | ) |
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.
maxW | Maximum value of noise for a channel before it is marked as dead. |
dead | If non-null, then modify this map. |
Definition at line 146 of file AliFMDCalibPedestal.cxx.
Referenced by AliFMDParameters::MakeDeadMap(), and ~AliFMDCalibPedestal().
AliFMDCalibPedestal & AliFMDCalibPedestal::operator= | ( | const AliFMDCalibPedestal & | o | ) |
Assignment
o | Object to assign from |
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
inFile | inputFile |
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.
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.
Definition at line 86 of file AliFMDCalibPedestal.cxx.
Referenced by AliFMDParameters::GetPedestal(), and ~AliFMDCalibPedestal().
|
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.
Definition at line 95 of file AliFMDCalibPedestal.cxx.
Referenced by AliFMDPreprocessor::GetDeadChannelMap(), AliFMDParameters::GetPedestalWidth(), and ~AliFMDCalibPedestal().
|
inline |
Definition at line 109 of file AliFMDCalibPedestal.h.
|
private |
Definition at line 111 of file AliFMDCalibPedestal.h.
Referenced by AliFMDCalibPedestal(), operator=(), Set(), Value(), and Values().
|
private |
Pedestal
Definition at line 112 of file AliFMDCalibPedestal.h.
Referenced by AliFMDCalibPedestal(), MakeDeadMap(), operator=(), Set(), Width(), and Widths().