ROOT logo
AliRoot » MUON » AliMUONTriggerStoreV1

class AliMUONTriggerStoreV1: public AliMUONVTriggerStore

 \class AliMUONTriggerStoreV1

 Implementation of AliMUONVTriggerStore, which is backward compatible,
 i.e. should be able to read back old TreeR and TreeD files, produced
 before the introduction of the AliMUONVStore concept.

 \author Laurent Aphecetche, Subatech

Function Members (Methods)

public:
AliMUONTriggerStoreV1()
virtual~AliMUONTriggerStoreV1()
voidTObject::AbstractMethod(const char* method) const
virtual voidAdd(const AliMUONLocalTrigger& localTrigger)
virtual voidAdd(const AliMUONRegionalTrigger& regionalTrigger)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
virtual Bool_tCanConnect() const
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidClear(Option_t* opt = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual Bool_tConnect(TTree& tree, Bool_t alone = kTRUE) const
virtual voidTObject::Copy(TObject& object) const
virtual AliMUONTriggerStoreV1*Create() const
virtual TIterator*AliMUONVTriggerStore::CreateIterator() const
virtual TIterator*CreateLocalIterator() const
virtual TIterator*CreateRegionalIterator() 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 AliMUONLocalTrigger*FindLocal(Int_t boardNumber) const
virtual TObject*AliMUONVStore::FindObject(const char* name) const
virtual TObject*AliMUONVStore::FindObject(const TObject* object) const
virtual TObject*AliMUONVStore::FindObject(UInt_t uniqueID) const
virtual TObject*AliMUONVStore::FindObject(Int_t i, Int_t j) const
virtual AliMUONRegionalTrigger*FindRegional(Int_t boardNumber) 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 Int_tGetSize() const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual AliMUONGlobalTrigger*Global() 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_tAliMUONVStore::IsEmpty() 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 voidPrint(Option_t* wildcard, Option_t* opt) 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 = "")
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)
virtual voidSetGlobal(const AliMUONGlobalTrigger& globalTrigger)
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()
private:
AliMUONTriggerStoreV1(const AliMUONTriggerStoreV1&)
TClonesArray**GlobalPtr() const
TClonesArray**LocalPtr() const
AliMUONTriggerStoreV1&operator=(const AliMUONTriggerStoreV1&)
TClonesArray**RegionalPtr() const

Data Members

private:
TClonesArray*fEmptyLocal!< internal array of empty local trigger
TClonesArray*fGlobal/< internal array of global trigger information
TClonesArray*fLocal/< internal array of local trigger information
TClonesArray*fRegional/< internal array of regional trigger information

Class Charts

Inheritance Chart:
TObject
AliMUONVStore
AliMUONVTriggerStore
AliMUONTriggerStoreV1

Function documentation

AliMUONTriggerStoreV1()
 ctor
~AliMUONTriggerStoreV1()
 dtor
Add(const AliMUONLocalTrigger& localTrigger)
 Add local information
 If the local board has no information (IsNull), we
 add it in the fEmpty array
 This is really an implementation choice, to store empty boards
 in order to be able to return them, if asked for, as is the case
 in some client code. Note that only the non-empty boards
 are streamed to disk.

Connect(TTree& tree, Bool_t alone = kTRUE) const
 Connect this store to the tree
SetGlobal(const AliMUONGlobalTrigger& globalTrigger)
 Set the global information
Add(const AliMUONRegionalTrigger& regionalTrigger)
 Add regional information
CreateLocalIterator() const
 Return iterator on local cards
CreateRegionalIterator() const
 Return iterator on regional cards
FindLocal(Int_t boardNumber) const
 Find a local board, by its *number* (not to be confused with its index,
 which used to be the key)

FindRegional(Int_t boardNumber) const
 Return a given regional board
Global() const
 Return global trigger
Clear(Option_t* opt = "")
 Reset
GetSize() const
 Number of non-empty local boards we hold
Print(Option_t* wildcard, Option_t* opt) const
 Printout
 \param what used to tell what to print, can be GLOBAL, LOCAL, REGIONAL
 or ALL
 \param opt is passed to the local, regional, global object

AliMUONTriggerStoreV1()
AliMUONTriggerStoreV1* Create() const
 Whether the Connect(TTree&) method is implemented
{ return new AliMUONTriggerStoreV1; }
Bool_t CanConnect() const
{ return kTRUE; }
TClonesArray** GlobalPtr() const
 Return the address of the array of global trigger information
{ return const_cast<TClonesArray**>(&fGlobal); }
TClonesArray** LocalPtr() const
 Return the address of the array of local trigger information
{ return const_cast<TClonesArray**>(&fLocal); }
TClonesArray** RegionalPtr() const
 Return the address of the array of regional trigger information
{ return const_cast<TClonesArray**>(&fRegional); }
AliMUONTriggerStoreV1& operator=(const AliMUONTriggerStoreV1& )
 Not implemented