ROOT logo
AliRoot » TRD » CAL » AliTRDCalOnlineGainTableMCM

class AliTRDCalOnlineGainTableMCM: public TObject


 Data structure to store gaintables of the online calibration in the OCDB
 consisting of three classes:
 AliTRDCalOnlineGainTable
 AliTRDCalOnlineGainTableROC
 AliTRDCalOnlineGainTableMCM

 AliTRDCalOnlineGainTable is the main class from which all stored data can be accessed.
 The two sub-classes AliTRDCalOnlineGainTableROC and AliTRDCalOnlineGainTableMCM
 contain the gaintables on ROC level and on the MCM level respectively.

 The online calibration is used to compensate gain deviations on the pad level.
 For the offline reconstruction the online calibration has to be undone.
 The corresponding gain correction factor that was used by the online gain filter can be accessed
 via the functions AliTRDCalOnlineGainTable::GetGainCorrectionFactor(Int_t det, Int_t row, Int_t col)
 and AliTRDCalOnlineGainTable::GetGainCorrectionFactor(Int_t sector, Int_t stack, Int_t layer, Int_t row, Int_t col).

 With the class AliTRDCalOnlineGainTablesMCM all values used for the
 online calibration can be set and accessed on the MCM/channel level


Function Members (Methods)

public:
AliTRDCalOnlineGainTableMCM()
AliTRDCalOnlineGainTableMCM(const AliTRDCalOnlineGainTableMCM&)
virtual~AliTRDCalOnlineGainTableMCM()
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
Short_tGetAdcdac()
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
Short_tGetFGAN(Int_t channel)
Short_tGetFGFN(Int_t channel)
Float_tGetGainCorrectionFactor(Int_t channel)
virtual const char*TObject::GetIconName() const
Float_tGetMCMGain()
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
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
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)
AliTRDCalOnlineGainTableMCM&operator=(const AliTRDCalOnlineGainTableMCM&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTObject::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidSetAdcdac(Short_t x)
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)
voidSetFGAN(Short_t ch, Short_t x)
voidSetFGFN(Short_t ch, Short_t x)
voidSetMCMGain(Float_t x)
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

protected:
Short_tfAdcdacReference voltage of the ADCs U_Ref = (1.05V + (fAdcdac/31)*0.4V
Short_tfFGAN[21]Gain Correction Filter Additive
Short_tfFGFN[21]Gain Correction Filter Factor
Float_tfMCMGainGain Factor which would lead to a Correction Factor of 1.0 within the MCM

Class Charts

Inheritance Chart:
TObject
AliTRDCalOnlineGainTableMCM

Function documentation

AliTRDCalOnlineGainTableMCM()
 constructor

~AliTRDCalOnlineGainTableMCM()
 destructor

Float_t GetGainCorrectionFactor(Int_t channel)
 returns the Gain Correction Factor of the given channel that was used by the online gain filter
 1.0 means no correction
 0.9 means a correction of -10%
 1.1 means a correction of +10% etc.

Short_t GetAdcdac()
 returns an integer between 0 and 31 which corresponds to an ADC reference voltage between 1.05V and 1.45V
 U_Ref =  (1.05V + (fAdcdac/31)*0.4V
 fAdcdac is the same value for all ADCs within one MCM

Float_t GetMCMGain()
 returns the Gain Factor which would lead to a Gain Correction Factor of 1.0
 this value is the same for all channels within one MCM
 this value is used for the online PID

Short_t GetFGAN(Int_t channel)
 returns the Gain Correction Filter Additive as an interger between 0 and 15
 as it is loaded into the TRAP

Short_t GetFGFN(Int_t channel)
 returns the Gain Correction Filter Factors as an interger between 0 and 511
 as it is loaded into the TRAP

AliTRDCalOnlineGainTableMCM()
void SetAdcdac(Short_t x)
{fAdcdac = x;}
void SetMCMGain(Float_t x)
{fMCMGain = x;}
void SetFGFN(Short_t ch, Short_t x)
{fFGFN[ch] = x;}
void SetFGAN(Short_t ch, Short_t x)
{fFGAN[ch] = x;}