void | TObject::AbstractMethod(const char* method) const |
static const char* | AltroMapPath() |
virtual void | TObject::AppendPad(Option_t* option = "") |
virtual void | TObject::Browse(TBrowser* b) |
static TClass* | Class() |
virtual const char* | TObject::ClassName() const |
virtual void | TNamed::Clear(Option_t* option = "") |
virtual TObject* | TNamed::Clone(const char* newname = "") const |
virtual Int_t | TNamed::Compare(const TObject* obj) const |
virtual void | TNamed::Copy(TObject& named) const |
static const char* | DeadPath() |
virtual void | TObject::Delete(Option_t* option = "")MENU |
Bool_t | Detector2Hardware(UShort_t det, Char_t ring, UShort_t sec, UShort_t str, UShort_t sam, UShort_t& ddl, UShort_t& hwaddr, UShort_t& timebin) const |
Bool_t | Detector2Hardware(UShort_t det, Char_t ring, UShort_t sec, UShort_t str, UShort_t sam, UShort_t& ddl, UShort_t& board, UShort_t& altro, UShort_t& channel, UShort_t& timebin) const |
virtual Int_t | TObject::DistancetoPrimitive(Int_t px, Int_t py) |
virtual void | Draw(Option_t* option = "pedestal") |
virtual void | TObject::DrawClass() constMENU |
virtual TObject* | TObject::DrawClone(Option_t* option = "") constMENU |
virtual void | TObject::Dump() constMENU |
virtual void | TObject::Error(const char* method, const char* msgfmt) const |
virtual void | TObject::Execute(const char* method, const char* params, Int_t* error = 0) |
virtual void | TObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0) |
virtual void | TObject::ExecuteEvent(Int_t event, Int_t px, Int_t py) |
virtual void | TObject::Fatal(const char* method, const char* msgfmt) const |
virtual void | TNamed::FillBuffer(char*& buffer) |
virtual TObject* | TObject::FindObject(const char* name) const |
virtual TObject* | TObject::FindObject(const TObject* obj) const |
UShort_t | GetAltroChannelSize() const |
AliFMDAltroMapping* | GetAltroMap() const |
UShort_t | GetChannelsPerAltro() const |
static const char* | GetConditionsShuttleID() |
Float_t | GetDACPerMIP() const |
virtual Option_t* | TObject::GetDrawOption() const |
static Long_t | TObject::GetDtorOnly() |
Float_t | GetEdepMip() const |
static const char* | GetGainShuttleID() |
virtual const char* | TObject::GetIconName() const |
UShort_t | GetMaxStrip(UShort_t detector, Char_t ring, UShort_t sector, UShort_t strip) const |
UShort_t | GetMinStrip(UShort_t detector, Char_t ring, UShort_t sector, UShort_t strip) const |
virtual const char* | TNamed::GetName() const |
virtual char* | TObject::GetObjectInfo(Int_t px, Int_t py) const |
static Bool_t | TObject::GetObjectStat() |
virtual Option_t* | TObject::GetOption() const |
Float_t | GetPedestal(UShort_t detector, Char_t ring, UShort_t sector, UShort_t strip) const |
Float_t | GetPedestalFactor() const |
static const char* | GetPedestalShuttleID() |
Float_t | GetPedestalWidth(UShort_t detector, Char_t ring, UShort_t sector, UShort_t strip) const |
UShort_t | GetPreSamples(UShort_t, Char_t, UShort_t, UShort_t) const |
Float_t | GetPulseGain(UShort_t detector, Char_t ring, UShort_t sector, UShort_t strip) const |
UShort_t | GetSampleRate(UShort_t detector, Char_t ring, UShort_t sector, UShort_t strip) const |
Float_t | GetThreshold() const |
virtual const char* | TNamed::GetTitle() const |
virtual UInt_t | TObject::GetUniqueID() const |
UShort_t | GetVA1MipRange() const |
UShort_t | GetZeroSuppression(UShort_t detector, Char_t ring, UShort_t sector, UShort_t strip) const |
UShort_t | GetZSPostSamples() const |
UShort_t | GetZSPreSamples() const |
virtual Bool_t | TObject::HandleTimer(TTimer* timer) |
Bool_t | Hardware2Detector(UShort_t ddl, UShort_t hwaddr, UShort_t timebin, UShort_t& det, Char_t& ring, UShort_t& sec, Short_t& str, UShort_t& sam) const |
Bool_t | Hardware2Detector(UShort_t ddl, UShort_t board, UShort_t altro, UShort_t chan, UShort_t timebin, UShort_t& det, Char_t& ring, UShort_t& sec, Short_t& str, UShort_t& sam) const |
Bool_t | HasCompleteHeader() const |
virtual ULong_t | TNamed::Hash() const |
virtual void | TObject::Info(const char* method, const char* msgfmt) const |
virtual Bool_t | TObject::InheritsFrom(const char* classname) const |
virtual Bool_t | TObject::InheritsFrom(const TClass* cl) const |
UShort_t | Init(Bool_t forceReInit = kFALSE, UInt_t what = kAll) |
UShort_t | Init(AliFMDPreprocessor* pp, Bool_t forceReInit = kFALSE, UInt_t what = kAll) |
UShort_t | Init(const char* path, Bool_t forceReInit = kFALSE, UInt_t what = kAll) |
virtual void | TObject::Inspect() constMENU |
static AliFMDParameters* | Instance() |
void | TObject::InvertBit(UInt_t f) |
virtual TClass* | IsA() const |
Bool_t | IsDead(UShort_t detector, Char_t ring, UShort_t sector, UShort_t strip) const |
virtual Bool_t | TObject::IsEqual(const TObject* obj) const |
virtual Bool_t | TObject::IsFolder() const |
Bool_t | TObject::IsOnHeap() const |
virtual Bool_t | TNamed::IsSortable() const |
Bool_t | TObject::IsZombie() const |
Bool_t | IsZSPedSubtract() const |
virtual void | TNamed::ls(Option_t* option = "") const |
void | MakeDeadMap(Float_t maxNoise = 10, Float_t minGain = .1, Float_t maxGain = 10) |
void | TObject::MayNotUse(const char* method) const |
virtual Bool_t | TObject::Notify() |
void | TObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const |
static void | TObject::operator delete(void* ptr) |
static void | TObject::operator delete(void* ptr, void* vp) |
static void | TObject::operator delete[](void* ptr) |
static void | TObject::operator delete[](void* ptr, void* vp) |
void* | TObject::operator new(size_t sz) |
void* | TObject::operator new(size_t sz, void* vp) |
void* | TObject::operator new[](size_t sz) |
void* | TObject::operator new[](size_t sz, void* vp) |
virtual void | TObject::Paint(Option_t* option = "") |
static const char* | PedestalPath() |
virtual void | TObject::Pop() |
virtual void | Print(Option_t* option = "A") const |
static const char* | PulseGainPath() |
virtual Int_t | TObject::Read(const char* name) |
virtual void | TObject::RecursiveRemove(TObject* obj) |
void | TObject::ResetBit(UInt_t f) |
static const char* | SampleRatePath() |
virtual void | TObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU |
virtual void | TObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "") |
void | SetAltroChannelSize(UShort_t s = 1024) |
void | TObject::SetBit(UInt_t f) |
void | TObject::SetBit(UInt_t f, Bool_t set) |
void | SetChannelsPerAltro(UShort_t size = 128) |
virtual void | TObject::SetDrawOption(Option_t* option = "")MENU |
static void | TObject::SetDtorOnly(void* obj) |
void | SetGain(AliFMDCalibGain* g) |
void | SetGain(Float_t g = 2) |
virtual void | TNamed::SetName(const char* name)MENU |
virtual void | TNamed::SetNameTitle(const char* name, const char* title) |
static void | TObject::SetObjectStat(Bool_t stat) |
void | SetPedestal(Float_t p = 100) |
void | SetPedestal(AliFMDCalibPedestal* p) |
void | SetPedestalFactor(Float_t f = 3) |
void | SetPedestalWidth(Float_t w = 2) |
void | SetSampleRate(UShort_t r = 2) |
void | SetSampleRate(AliFMDCalibSampleRate* r) |
void | SetStripRange(AliFMDCalibStripRange* r) |
void | SetStripRange(UShort_t min = 0, UShort_t max = 127) |
void | SetThreshold(Float_t t = 0) |
virtual void | TNamed::SetTitle(const char* title = "")MENU |
virtual void | TObject::SetUniqueID(UInt_t uid) |
void | SetVA1MipRange(UShort_t r = 20) |
void | SetZeroSuppression(UShort_t s = 1) |
void | SetZSPedSubtract(Bool_t use = kTRUE) |
void | SetZSPostSamples(UShort_t n = 1) |
void | SetZSPreSamples(UShort_t n = 1) |
virtual void | ShowMembers(TMemberInspector&) |
virtual Int_t | TNamed::Sizeof() const |
virtual void | Streamer(TBuffer&) |
void | StreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b) |
static const char* | StripRangePath() |
virtual void | TObject::SysError(const char* method, const char* msgfmt) const |
Bool_t | TObject::TestBit(UInt_t f) const |
Int_t | TObject::TestBits(UInt_t f) const |
void | UseCompleteHeader(Bool_t yes = kTRUE) |
virtual void | TObject::UseCurrentStyle() |
virtual void | TObject::Warning(const char* method, const char* msgfmt) const |
virtual Int_t | TObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) |
virtual Int_t | TObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const |
static const char* | ZeroSuppressionPath() |
AliFMDParameters() | |
AliFMDParameters(const AliFMDParameters& o) | |
Bool_t | CheckFile(const char* prefix, const char* path, int number, TString& f) const |
Bool_t | CheckForNewRun() |
virtual void | TObject::DoError(int level, const char* location, const char* fmt, va_list va) const |
AliCDBEntry* | GetEntry(const char* path, AliFMDPreprocessor* pp, Bool_t fatal = kTRUE) const |
UShort_t | InitAltroMap(AliFMDPreprocessor* pp = 0) |
UShort_t | InitDeadMap(AliFMDPreprocessor* pp = 0) |
UShort_t | InitPedestal(AliFMDPreprocessor* pp = 0) |
UShort_t | InitPulseGain(AliFMDPreprocessor* pp = 0) |
UShort_t | InitSampleRate(AliFMDPreprocessor* pp = 0) |
UShort_t | InitStripRange(AliFMDPreprocessor* pp = 0) |
UShort_t | InitZeroSuppression(AliFMDPreprocessor* pp = 0) |
void | TObject::MakeZombie() |
AliFMDParameters& | operator=(const AliFMDParameters&) |
enum What { | kPulseGain | |
kPedestal | ||
kDeadMap | ||
kSampleRate | ||
kZeroSuppression | ||
kAltroMap | ||
kStripRange | ||
}; | ||
enum { | kAll | |
}; | ||
enum TObject::EStatusBits { | kCanDelete | |
kMustCleanup | ||
kObjInCanvas | ||
kIsReferenced | ||
kHasUUID | ||
kCannotPick | ||
kNoContextMenu | ||
kInvalidObject | ||
}; | ||
enum TObject::[unnamed] { | kIsOnHeap | |
kNotDeleted | ||
kZombie | ||
kBitMask | ||
kSingleKey | ||
kOverwrite | ||
kWriteDelete | ||
}; |
UShort_t | fAltroChannelSize | Largest # to store in 1 ADC ch. |
AliFMDAltroMapping* | fAltroMap | Map of hardware |
UShort_t | fChannelsPerAltro | Number of pre-amp. chan/adc chan. |
AliFMDBoolMap* | fDeadMap | Pulser gain |
Float_t | fEdepMip | ! Cache of energy loss for a MIP |
UShort_t | fFixedMaxStrip | Maximum strip read-out |
UShort_t | fFixedMinStrip | Minimum strip read-out |
Float_t | fFixedPedestal | Pedestal to subtract |
Float_t | fFixedPedestalWidth | Width of pedestal |
Float_t | fFixedPulseGain | ! Gain (cached) |
UShort_t | fFixedSampleRate | Times the ALTRO samples pre-amp. |
Float_t | fFixedThreshold | Threshold in ADC counts |
UShort_t | fFixedZeroSuppression | Threshold for zero-suppression |
Bool_t | fHasCompleteHeader | raw data has incomplete data header |
Bool_t | fIsInit | Whether we've been initialised |
TString | TNamed::fName | object identifier |
AliFMDCalibPedestal* | fPedestal | Pedestals |
Float_t | fPedestalFactor | Number of pedestal widths |
AliFMDCalibGain* | fPulseGain | Pulser gain |
Int_t | fRunNo | Initialized for this run |
AliFMDCalibSampleRate* | fSampleRate | Sample rate from CDB |
AliFMDCalibStripRange* | fStripRange | Strip range |
TString | TNamed::fTitle | object title |
UShort_t | fVA1MipRange | # MIPs the pre-amp can do |
Bool_t | fZSPedSubtract | Pedestal subtraction before ZS |
UShort_t | fZSPost | Number of post-samples in ZS |
UShort_t | fZSPre | Number of pre-samples in ZS |
AliFMDUShortMap* | fZeroSuppression | Zero suppression from CDB |
static AliFMDParameters* | fgInstance | Static singleton instance |
static const char* | fgkAltroMap | Path to AltroMap calib object |
static const char* | fgkDead | Path to Dead calib object |
static const char* | fgkPedestal | Path to Pedestal calib object |
static const char* | fgkPulseGain | Path to PulseGain calib object |
static const char* | fgkSampleRate | Path to SampleRate calib object |
static const char* | fgkStripRange | Path to strip range cal object |
static const char* | fgkZeroSuppression | Path to ZeroSuppression cal object |
static const char* | fkConditionsShuttleID | Shuttle/preprocessor ID for conditions |
static const char* | fkGainShuttleID | Shuttle/preprocessor ID for gains |
static const char* | fkPedestalShuttleID | Shuttle/preprocessor ID for pedestals |
const Float_t | fkSiDeDxMip | MIP dE/dx in Silicon |
Inheritance Chart: | ||||||||
|
Initialize the manager. This tries to read the parameters from CDB. If that fails, the class uses the hard-coded parameters. Parameters: forceReInit Force (re-)initalize flag what What to initialize
Initialize the manager. This tries to read the parameters from CDB. If that fails, the class uses the hard-coded parameters. Parameters: pp Preprocessor forceReInit Force (re-)initalize flag what What to initialize
Check if the file <i>prefix</i><i>number</i> exists in @a path, and write the full path to @a f. Parameters: prefix File prefix (cond, peds, gains, ...) path Path to files number Detector number (1, 2, or 3) f On return full path to file (if found) Return: @c true if file exists and is readable, @c false otherwise
Initialize the manager. This will try to read some calibrations (sample rate, strip range, gains, pedestals) from local comma separated value (CSV) files in the directory pointed at by @a path. If they are not found, then they will be retrieved from OCDB as appropriately. Other calibrations are always read from OCDB. The CSV files should be named as - Pedestals: <tt>peds</tt><i>det_number</i><tt>.csv</tt> - Gains: <tt>gains</tt><i>det_number</i><tt>.csv</tt> - Sample Rate: <tt>conditions</tt><i>det_number</i><tt>.csv</tt> - Strip Range: <tt>conditions</tt><i>det_number</i><tt>.csv</tt> where <i>det_number</i> is the detector number (1, 2, or 3). Parameters: path Where to look for the CSV files forceReInit Always reinitialise what What calibrations to load.
Automatically generate a dead map from the pedestals and gains. A channel is marked as dead of the noise is too high (currently more than 10 ADC counts), or the gain is unreasonable (currently larger than 10, or smaller than 0.1). The procedure does not overwrite channels previously marked as dead - e.g., channels marked as dead in the calibration loaded from OCDB will continue to be marked as dead. That is, this procedure will never make a channel un-dead. Parameters: maxNoise Maximum noise value before a channel is marked as dead. minGain Minimum value of the calibrated gain before a channel is considered dead. maxGain Maximum value of the calibrated gain before a channel is considered dead.
Draw parameters. Parameters: 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
Print information. If option contains an 'A' then everything is printed. If the option contains the string "FMD" the function will search for detector, ring, sector, and strip numbers to print, in the format FMD<detector><ring>[<sector>,<string>] The wild card '*' means all of <detector>, <ring>, <sector>, or <strip>.
Get an entry from either global AliCDBManager or passed AliFMDPreprocessor. Parameters: path Path to CDB object. pp AliFMDPreprocessor fatal If true, raise a fatal flag if we didn't get the entry. Return: AliCDBEntry if found
Initialize gains. Try to get them from CDB Parameters: pp Pre-processor if called from shuttle
Initialize pedestals. Try to get them from CDB Parameters: pp Pre-processor if called from shuttle
Initialize dead map. Try to get it from CDB Parameters: pp Pre-processor if called from shuttle
Initialize zero suppression thresholds. Try to get them from CDB Parameters: pp Pre-processor if called from shuttle
Initialize sample rates. Try to get them from CDB Parameters: pp Pre-processor if called from shuttle
Initialize hardware map. Try to get it from CDB Parameters: pp Pre-processor if called from shuttle
Initialize strip range. Try to get it from CDB Parameters: pp Pre-processor if called from shuttle
Gain of pre-amp. for strip, sector, ring, detector For simulations this is normally set to @f[ \frac{\mbox{VA1_MIP_Range}{\mbox{ALTRO_channel_size}}\mbox{MIP_Energy_Loss} @f] Parameters: detector Detector # (1-3) ring Ring ID ('I' or 'O') sector Sector number (0-39) strip Strip number (0-511) Return: Gain of pre-amp.
zero suppression threshold (in ADC counts) Parameters: detector Detector # (1-3) ring Ring ID ('I' or 'O') sector Sector number (0-39) strip Strip number (0-511) Return: zero suppression threshold (in ADC counts)
Get the sampling rate Parameters: detector Detector # (1-3) ring Ring ID ('I' or 'O') sector Sector number (0-39) strip Strip number (0-511) Return: The sampling rate
Get the minimum strip in the read-out range Parameters: detector Detector # (1-3) ring Ring ID ('I' or 'O') sector Sector number (0-39) strip Strip number (0-511) Return: Minimum strip
Get the maximum strip in the read-out range Parameters: detector Detector # (1-3) ring Ring ID ('I' or 'O') sector Sector number (0-39) strip Strip number (0-511) Return: Maximum strip
Get mean of pedestal Parameters: detector Detector # (1-3) ring Ring ID ('I' or 'O') sector Sector number (0-39) strip Strip number (0-511) Return: Mean of pedestal
Width of pedestal Parameters: detector Detector # (1-3) ring Ring ID ('I' or 'O') sector Sector number (0-39) strip Strip number (0-511) Return: Width of pedestal
Get the map that translates hardware to detector coordinates Return: Get the map that translates hardware to detector coordinates
Map a hardware address into a detector index. Parameters: ddl Hardware DDL number addr Hardware address. timebin Timebin det On return, the detector # ring On return, the ring ID sec On return, the sector # str On return, the base of strip # sam On return, the sample number for this strip Return: @c true on success, false otherwise
Map a hardware address into a detector index. Parameters: ddl Hardware DDL number board FEC number altro ALTRO number channel Channel number timebin Timebin det On return, the detector # ring On return, the ring ID sec On return, the sector # str On return, the base of strip # sam On return, the sample number for this strip Return: @c true on success, false otherwise
Map a detector index into a hardware address. Parameters: det The detector # ring The ring ID sec The sector # str The strip # sam The sample number ddl On return, hardware DDL number board On return, the FEC board address (local to DDL) altro On return, the ALTRO number (local to FEC) channel On return, the channel number (local to ALTRO) timebin On return, the timebin number (local to ALTRO) Return: @c true on success, false otherwise
Map a detector index into a hardware address. Parameters: det The detector # ring The ring ID sec The sector # str The strip # sam The sample number ddl On return, hardware DDL number addr On return, hardware address. timebin On return, the timebin number (local to ALTRO) Return: @c true on success, false otherwise
This is the conversion from Digital-to-Analog-Converter setting to the number of MIPs. The number was measured in the NBI lab during August 2008. Return: The conversion factor from DAC to ADC
@{ @name Set various `Fixed' parameters * @param r How many MIP signals we can fit in the VA1 * pre-amps. (default and design is 20)
{ fVA1MipRange = r; }
* @param s Maximum number of the ADC (ALTRO). This is a 10 bit * ADC so, the maximum number is 1024
{ fAltroChannelSize = s;}
* @param size The number of strips multiplexed into one ALTRO * channel. That is, how many strips is connected to one VA1 * pre-amp.
{ fChannelsPerAltro = size; }
* @param f Factor to use for accepting a signal.
{ fPedestalFactor = f; }
* @param n Number of pre-samples to keep during zero-suppression - * only used in simulation.
{ fZSPre = (n & 0x3); }
* @param n Number of post-samples to keep during zero-suppression - * only used in simulation.
{ fZSPost = (n & 0x3); }
* @param use If true, do pedestal subtraction before zero * suppression - only used in simulation
{ fZSPedSubtract = use; }
@} @{ @name Set various variable parameter defaults * @param s Zero suppression threshold in ADC counts
{ fFixedZeroSuppression = s; }
* @param r How many times we oversample each strip.
{ fSampleRate = r; }
* @param w Pedestal width in ADC counts
{ fFixedPedestalWidth = w; }
* @param t Threshold used for 1 MIP acceptance.
{ fFixedThreshold = t; }
* Range of strips read out * * @param min Minimum strip number (0-127). * @param max Maximum strip number (0-127).
* Whether raw data has full common data header (8 32bit words) or * the older invalid format (7 32bit words with bogus entries) * * @param yes if true the raw data has complete data header
{ fHasCompleteHeader = yes; }
@} @{ @name Get `Fixed' various parameters * @return Number of MIP signals that fit inside a VA1 channel
{ return fVA1MipRange; }
* @return The maximum count in the ADC
{ return fAltroChannelSize; }
* @return Number of strips muliplexed into one ADC channel
{ return fChannelsPerAltro; }
* @return The factor used of signal acceptance
{ return fPedestalFactor; }
* @param n Number of pre-samples to keep during zero-suppression - * only used in simulation.
{ return fZSPre; }
* @param n Number of post-samples to keep during zero-suppression - * only used in simulation.
{ return fZSPost; }
* @param use If true, do pedestal subtraction before zero * suppression - only used in simulation
{ return fZSPedSubtract; }
* Get the number of pre-samples in ALTRO channels * * @param detector Detector # (1-3) * @param ring Ring ID ('I' or 'O') * @param sector Sector number (0-39) * @param strip Strip number (0-511) * * @return Maximum strip
* Whether raw data has full common data header (8 32bit words) or * the older invalid format (7 32bit words with bogus entries) * * @return false if the raw data has incomplete data header
{ return fHasCompleteHeader; }
* Assignement operator * * @return Reference to this
{ return *this; }