ROOT logo
AliRoot » MUON » AliMUON2DStoreValidator

class AliMUON2DStoreValidator: public TObject

 \class AliMUON2DStoreValidator

 Determine which channels, manus, DEs, stations are missing
 from a VStore, which must be 2D, and the 2 dimensions must be
 (detElemId,manuId).
 This is mainly to be used during (shuttle) preprocessing
 to insure that what we'll put in the CDB is as complete as possible,
 and to detect possible problem.

 We made an effort to present the result of the validation in the most
 concise way (i.e. if all channels of a DE are missing, we do not list
 them, we just write "DE dead" ;-) )

 The list of missing things is kept in a structure of objects defined as :

 fMissing = TObjArray[0..N tracking chambers]

 fMissing[iChamber] = AliMUONCheckItem which contains n AliMUONCheckItem,
 where n is the number of DE for that chamber

 fMissing[iChamber]->GetItem(de) = AliMUONCheckItem which contains m
 AliMUONCheckItem where m is the number of Manu for that DE

 fMissing[iChamber]->GetItem(de)->GetItem(manu) = AliMUONCheckItem which
 contains k TObjString = Form("%d",manuChannel)

 \author Laurent Aphecetche

Function Members (Methods)

public:
AliMUON2DStoreValidator()
virtual~AliMUON2DStoreValidator()
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
AliMUONVStore*GetStatus() 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)
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)
voidReport(TList& lines) const
static voidReport(TList& lines, const TObjArray& chambers)
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 = "")
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)
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()
TObjArray*Validate(const AliMUONVStore& store, AliMUONVStore* config = 0x0)
TObjArray*Validate(const AliMUONVStore& store, Float_t invalidFloatValue, AliMUONVStore* config = 0x0)
TObjArray*Validate(const AliMUONVStore& store, Bool_t (*)(const AliMUONVCalibParam&,Int_t) check, AliMUONVStore* config = 0x0)
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()
private:
AliMUON2DStoreValidator(const AliMUON2DStoreValidator&)
voidAddMissingChannel(Int_t detElemId, Int_t manuId, Int_t manuChannel)
voidAddMissingManu(Int_t detElemId, Int_t manuId)
AliMUONCheckItem*GetChamber(Int_t chamberID)
AliMUONCheckItem*GetDE(Int_t detElemId)
AliMUONCheckItem*GetManu(Int_t detElemId, Int_t manuId)
AliMUON2DStoreValidator&operator=(const AliMUON2DStoreValidator&)
static voidReportChamber(TList& list, const AliMUONCheckItem& chamber)
static voidReportDE(TList& list, const AliMUONCheckItem& de)
static voidReportManu(TList& list, const AliMUONCheckItem& manu)

Data Members

private:
TObjArray*fChambers!< Array of AliMUONCheckItem.
AliMUONVStore*fStatus!< Statuses

Class Charts

Inheritance Chart:
TObject
AliMUON2DStoreValidator

Function documentation

AliMUON2DStoreValidator()
 ctor
~AliMUON2DStoreValidator()
 dtor
GetChamber(Int_t chamberID)
 Return (and create if not present) the given chamber
 chamberID in 0..NCh()
GetDE(Int_t detElemId)
 Return (and create if not present) a given detection element
GetManu(Int_t detElemId, Int_t manuId)
 Return (and create) a given manu
AddMissingChannel(Int_t detElemId, Int_t manuId, Int_t manuChannel)
 Add one missing channel to the list of missing things
AddMissingManu(Int_t detElemId, Int_t manuId)
 Add one missing manu to the list of missing things
ReportManu(TList& list, const AliMUONCheckItem& manu)
 Report list of missing channels from this manu
ReportDE(TList& list, const AliMUONCheckItem& de)
 Report list of missing manus from this de
ReportChamber(TList& list, const AliMUONCheckItem& chamber)
 Report list of missing de from this chamber
Report(TList& lines) const
Report(TList& lines, const TObjArray& chambers)
 Reports what is missing, trying to be as concise as possible.
Validate(const AliMUONVStore& store, AliMUONVStore* config = 0x0)
 Validate the store. Check only the presence of all manus (i.e.
 check nothing about the values themselves).
 Absence of manus which are not in the config is considered as normal.
Validate(const AliMUONVStore& store, Bool_t (*check)(const AliMUONVCalibParam&,Int_t), AliMUONVStore* config)
 Validate the store.
 The check method is used to decide if a store content value
 is valid or not.
Validate(const AliMUONVStore& store, Float_t invalidFloatValue, AliMUONVStore* config = 0x0)
 Validate the store.
 The invalidFloatValue is used to decide if a store content value
 is valid or not.
AliMUON2DStoreValidator()
AliMUONVStore* GetStatus() const
 Return statuses
{ return fStatus; }
AliMUON2DStoreValidator& operator=(const AliMUON2DStoreValidator& )
 Not implemented