/** Initialize the manager. This tries to read the parameters from
CDB. If that fails, the class uses the hard-coded parameters.
*/
- void Init();
+ void Init(Bool_t forceReInit=kFALSE);
/** Print all parameters.
@param option Option string */
void Print(Option_t* option="A") const;
+ /** Draw parameters.
+ @param option What to draw. Should be one of
+ - dead Dead channels
+ - threshold Threshold
+ - gain Gain
+ - pedestal Pedestal
+ - noise Noise (or pedestal width)
+ - zero Zero suppression
+ - rate Sampling rate (VA1 clock / ALTRO clock)
+ - min Minimum strip read out
+ - max Maximum strip read out
+ - map hardware address
+ */
+ void Draw(Option_t* option="pedestal");
/** @{ */
/** @name Set various `Fixed' parameters */
AliFMDAltroMapping* GetAltroMap() const;
/** @} */
- enum {
- kBaseDDL = 0x1000 // DDL offset for the FMD
- };
static const char* PulseGainPath() { return fgkPulseGain; }
static const char* PedestalPath() { return fgkPedestal; }
static const char* DeadPath() { return fgkDead; }
AliFMDParameters();
/** CTOR */
AliFMDParameters(const AliFMDParameters& o)
- : TNamed(o), fkSiDeDxMip(o.fkSiDeDxMip) {}
+ : TNamed(o),
+ fIsInit(o.fIsInit),
+ fkSiDeDxMip(o.fkSiDeDxMip),
+ fVA1MipRange(o.fVA1MipRange),
+ fAltroChannelSize(o.fAltroChannelSize),
+ fChannelsPerAltro(o.fChannelsPerAltro),
+ fPedestalFactor(o.fPedestalFactor),
+ fFixedPedestal(o.fFixedPedestal),
+ fFixedPedestalWidth(o.fFixedPedestalWidth),
+ fFixedZeroSuppression(o.fFixedZeroSuppression),
+ fFixedSampleRate(o.fFixedSampleRate),
+ fFixedThreshold(o.fFixedThreshold),
+ fFixedMinStrip(o.fFixedMinStrip),
+ fFixedMaxStrip(o.fFixedMaxStrip),
+ fFixedPulseGain(o.fFixedPulseGain),
+ fEdepMip(o.fEdepMip),
+ fZeroSuppression(o.fZeroSuppression),
+ fSampleRate(o.fSampleRate),
+ fPedestal(o.fPedestal),
+ fPulseGain(o.fPulseGain),
+ fDeadMap(o.fDeadMap),
+ fAltroMap(o.fAltroMap),
+ fStripRange(o.fStripRange)
+ {}
/** Assignement operator
@return Reference to this */
AliFMDParameters& operator=(const AliFMDParameters&) { return *this; }