ROOT logo
AliRoot » TRD » AliTRDtrapConfigHandler

class AliTRDtrapConfigHandler: public TObject


MCM configuraton handler

Author: U. Westerhoff


Function Members (Methods)

public:
AliTRDtrapConfigHandler(AliTRDtrapConfig* cfg)
virtual~AliTRDtrapConfigHandler()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
virtual const char*TObject::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
voidInit()
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
Int_tLoadConfig()
Int_tLoadConfig(TString filename)
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::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 voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTObject::Print(Option_t* option = "") const
voidPrintGeoTest()
voidProcessLTUparam(Int_t dest, Int_t addr, UInt_t data)
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
voidResetMCMs()
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
Int_tSetGaintable(AliTRDCalOnlineGainTable const& gtbl)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

private:
AliTRDCalOnlineGainTablefGtblgain table
UInt_tfRestrictiveMaskmask to restrict subsequent commands to specified chambers
AliTRDtrapConfig*fTrapConfigpointer to TRAP config in use
static const Int_tfgkMCMperROBColMCMs per ROB column
static const Int_tfgkMCMperROBRowMCMs per ROB row
static const Int_tfgkMaxLinkPairsnumber of linkpairs used during configuration
static const Int_tfgkMcmlistSizelist of MCMs to which a value has to be written
static const Int_tfgkPadsPerMCMreadout pads per MCM
static const UInt_tfgkScsnCmdHwPtrgSCSN command to issue pretrigger pulse
static const UInt_tfgkScsnCmdMcmTempSCSN command for MCM temperature sensors
static const UInt_tfgkScsnCmdOriSCSN command for ORI configuration
static const UInt_tfgkScsnCmdPMSCSN command for patchmaker
static const UInt_tfgkScsnCmdPauseSCSN command to pause
static const UInt_tfgkScsnCmdPtrgSCSN command for pretrigger
static const UInt_tfgkScsnCmdReadSCSN command to read
static const UInt_tfgkScsnCmdResetSCSN command for reset
static const UInt_tfgkScsnCmdRestrSCSN command to restrict commands to specified chambers
static const UInt_tfgkScsnCmdRobPowerSCSN command to switch ROB power
static const UInt_tfgkScsnCmdRobResetSCSN command for ROB reset
static const UInt_tfgkScsnCmdSetHCSCSN command to set HC ID
static const UInt_tfgkScsnCmdTtcRxSCSN command to configure TTCrx
static const UInt_tfgkScsnCmdWriteSCSN command to write
static const UInt_tfgkScsnLTUparamextended SCSN command for the LTU configuration
AliTRDltuParamltuParamltuParam class for the actual calculation of the parameters

Class Charts

Inheritance Chart:
TObject
AliTRDtrapConfigHandler

Function documentation

AliTRDtrapConfigHandler(AliTRDtrapConfig* cfg)
~AliTRDtrapConfigHandler()
void Init()
void ResetMCMs()
 Reset all MCM registers and DMEM

Int_t LoadConfig()
 load a default configuration which is suitable for simulation
 for a detailed description of the registers see the TRAP manual
 if you want to resimulate tracklets on real data use the appropriate config instead
Int_t LoadConfig(TString filename)
 load a TRAP configuration from a file
 The file format is the format created by the standalone
 command coder scc / show_cfdat but without the running number
 scc /show_cfdat adds as the first column
 which are two tools to inspect/export configurations from wingDB

Int_t SetGaintable(AliTRDCalOnlineGainTable const& gtbl)
void ProcessLTUparam(Int_t dest, Int_t addr, UInt_t data)
 Process the LTU parameters and stores them in internal class variables
 or transfer the stored values to AliTRDtrapConfig, depending on the dest parameter

void ConfigureNTimebins(Int_t det)
 Set timebins in the drift region

void ConfigureDyCorr(Int_t det)
  Deflection length correction
  due to Lorentz angle and tilted pad correction
  This correction is in units of padwidth / (256*32)

void ConfigureDRange(Int_t det)
 deflection range LUT
 range calculated according to B-field (in T) and pt_min (in GeV/c)
 if pt_min < 0.1 GeV/c the maximal allowed range for the tracklet
 deflection (-64..63) is used

void PrintGeoTest()
 Prints some information about the geometry. Only for debugging

void ConfigurePIDcorr(Int_t det)
 Calculate the MCM individual correction factors for the PID
 and transfer them to AliTRDtrapConfig

Bool_t AddValues(UInt_t det, UInt_t cmd, UInt_t extali, Int_t addr, UInt_t data)
 transfer the informations provided by LoadConfig to the internal class variables
AliTRDtrapConfigHandler(AliTRDtrapConfig* cfg)
Double_t Square(Double_t val) const
{ return val*val; }
AliTRDtrapConfigHandler & operator=(const AliTRDtrapConfigHandler& h)