#include <AliFMDParameters.h>
Collaboration diagram for AliFMDParameters:
Some of the parameter managed are
fPedestal
, fPedestalWidth
Mean and width of the pedestal. The pedestal is simulated by a Guassian, but derived classes my override MakePedestal to simulate it differently (or pick it up from a database).fVA1MipRange
The dymamic MIP range of the VA1_ALICE pre-amplifier chipfAltroChannelSize
The largest number plus one that can be stored in one channel in one time step in the ALTRO ADC chip.fSampleRate
How many times the ALTRO ADC chip samples the VA1_ALICE pre-amplifier signal. The VA1_ALICE chip is read-out at 10MHz, while it's possible to drive the ALTRO chip at 25MHz. That means, that the ALTRO chip can have time to sample each VA1_ALICE signal up to 2 times. Although it's not certain this feature will be used in the production, we'd like have the option, and so it should be reflected in the code.
Definition at line 63 of file AliFMDParameters.h.
Public Types | |
enum | { kBaseDDL = 0x1000 } |
Public Member Functions | |
void | Init () |
Set various `Fixed' parameters | |
void | SetVA1MipRange (UShort_t r=20) |
void | SetAltroChannelSize (UShort_t s=1024) |
void | SetChannelsPerAltro (UShort_t size=128) |
void | SetPedestalFactor (Float_t f=3) |
Set various variable parameter defaults | |
void | SetZeroSuppression (UShort_t s=0) |
void | SetSampleRate (UShort_t r=1) |
void | SetPedestal (Float_t p=10) |
void | SetPedestalWidth (Float_t w=1) |
void | SetThreshold (Float_t t=0) |
Get `Fixed' various parameters | |
UShort_t | GetVA1MipRange () const |
UShort_t | GetAltroChannelSize () const |
UShort_t | GetChannelsPerAltro () const |
Float_t | GetEdepMip () const |
Float_t | GetPedestalFactor () const |
Get variable parameters | |
Bool_t | IsDead (UShort_t detector, Char_t ring, UShort_t sector, UShort_t strip) const |
Float_t | GetThreshold () const |
Float_t | GetPulseGain (UShort_t detector, Char_t ring, UShort_t sector, UShort_t strip) const |
Float_t | GetPedestal (UShort_t detector, Char_t ring, UShort_t sector, UShort_t strip) const |
Float_t | GetPedestalWidth (UShort_t detector, Char_t ring, UShort_t sector, UShort_t strip) const |
UShort_t | GetZeroSuppression (UShort_t detector, Char_t ring, UShort_t sector, UShort_t strip) const |
UShort_t | GetSampleRate (UShort_t ddl) const |
Bool_t | Hardware2Detector (UInt_t ddl, UInt_t addr, UShort_t &det, Char_t &ring, UShort_t &sec, UShort_t &str) const |
Bool_t | Detector2Hardware (UShort_t det, Char_t ring, UShort_t sec, UShort_t str, UInt_t &ddl, UInt_t &addr) const |
AliFMDAltroMapping * | GetAltroMap () const |
Static Public Member Functions | |
static AliFMDParameters * | Instance () |
Static Public Attributes | |
static const char * | fgkPulseGain |
static const char * | fgkPedestal |
static const char * | fgkDead |
static const char * | fgkSampleRate |
static const char * | fgkAltroMap |
static const char * | fgkZeroSuppression |
Protected Member Functions | |
AliFMDParameters () | |
virtual | ~AliFMDParameters () |
void | InitPulseGain () |
void | InitPedestal () |
void | InitDeadMap () |
void | InitSampleRate () |
void | InitZeroSuppression () |
void | InitAltroMap () |
Protected Attributes | |
Bool_t | fIsInit |
const Float_t | fSiDeDxMip |
UShort_t | fVA1MipRange |
UShort_t | fAltroChannelSize |
UShort_t | fChannelsPerAltro |
Float_t | fPedestalFactor |
Float_t | fFixedPedestal |
Float_t | fFixedPedestalWidth |
UShort_t | fFixedZeroSuppression |
UShort_t | fFixedSampleRate |
Float_t | fFixedThreshold |
Float_t | fFixedPulseGain |
Float_t | fEdepMip |
AliFMDCalibZeroSuppression * | fZeroSuppression |
AliFMDCalibSampleRate * | fSampleRate |
AliFMDCalibPedestal * | fPedestal |
AliFMDCalibGain * | fPulseGain |
AliFMDCalibDeadMap * | fDeadMap |
AliFMDAltroMapping * | fAltroMap |
Static Protected Attributes | |
static AliFMDParameters * | fgInstance |
|
Definition at line 133 of file AliFMDParameters.h. |
|
CTOR |
|
DTOR Definition at line 146 of file AliFMDParameters.h. |
|
|
|
Definition at line 95 of file AliFMDParameters.h. |
|
|
|
Definition at line 96 of file AliFMDParameters.h. |
|
|
|
|
|
Definition at line 98 of file AliFMDParameters.h. |
|
|
|
|
|
|
|
|
|
Definition at line 94 of file AliFMDParameters.h. |
|
|
|
|
|
Initialize the manager. This tries to read the parameters from CDB. If that fails, the class uses the hard-coded parameters. |
|
Initialize hardware map. Try to get it from CDB |
|
Initialize dead map. Try to get it from CDB |
|
Initialize pedestals. Try to get them from CDB |
|
Initialize gains. Try to get them from CDB |
|
Initialize sample rates. Try to get them from CDB |
|
Initialize zero suppression thresholds. Try to get them from CDB |
|
Singleton access
|
|
|
|
Definition at line 78 of file AliFMDParameters.h. |
|
Definition at line 79 of file AliFMDParameters.h. |
|
Definition at line 87 of file AliFMDParameters.h. |
|
Definition at line 80 of file AliFMDParameters.h. |
|
Definition at line 88 of file AliFMDParameters.h. |
|
Definition at line 86 of file AliFMDParameters.h. |
|
Definition at line 89 of file AliFMDParameters.h. |
|
Definition at line 77 of file AliFMDParameters.h. |
|
Definition at line 85 of file AliFMDParameters.h. |
|
Definition at line 166 of file AliFMDParameters.h. |
|
Definition at line 183 of file AliFMDParameters.h. |
|
Definition at line 167 of file AliFMDParameters.h. |
|
Definition at line 182 of file AliFMDParameters.h. |
|
Gain (cached).
Definition at line 176 of file AliFMDParameters.h. |
|
Definition at line 170 of file AliFMDParameters.h. |
|
Definition at line 171 of file AliFMDParameters.h. |
|
Definition at line 175 of file AliFMDParameters.h. |
|
Definition at line 173 of file AliFMDParameters.h. |
|
Definition at line 174 of file AliFMDParameters.h. |
|
Definition at line 172 of file AliFMDParameters.h. |
|
Singleton instance Definition at line 148 of file AliFMDParameters.h. |
|
Definition at line 140 of file AliFMDParameters.h. |
|
Definition at line 138 of file AliFMDParameters.h. |
|
Definition at line 137 of file AliFMDParameters.h. |
|
Definition at line 136 of file AliFMDParameters.h. |
|
Definition at line 139 of file AliFMDParameters.h. |
|
Definition at line 141 of file AliFMDParameters.h. |
|
Definition at line 162 of file AliFMDParameters.h. |
|
Definition at line 180 of file AliFMDParameters.h. |
|
Definition at line 168 of file AliFMDParameters.h. |
|
Definition at line 181 of file AliFMDParameters.h. |
|
Definition at line 179 of file AliFMDParameters.h. |
|
Definition at line 164 of file AliFMDParameters.h. |
|
Definition at line 165 of file AliFMDParameters.h. |
|
Cache of energy loss for a MIP.
Definition at line 178 of file AliFMDParameters.h. |