![]() |
AliRoot Core
3abf5b4 (3abf5b4)
|
Implementation of AliMUONVTriggerStore. More...
#include <AliMUONTriggerStoreV1.h>
Public Member Functions | |
AliMUONTriggerStoreV1 () | |
virtual | ~AliMUONTriggerStoreV1 () |
virtual AliMUONTriggerStoreV1 * | Create () const |
Whether the Connect(TTree&) method is implemented. More... | |
virtual Bool_t | CanConnect () const |
Whether the Connect(TTree&) method is implemented. More... | |
virtual void | Add (const AliMUONLocalTrigger &localTrigger) |
Add local trigger. More... | |
virtual void | Add (const AliMUONRegionalTrigger ®ionalTrigger) |
Add regional trigger. More... | |
virtual void | SetGlobal (const AliMUONGlobalTrigger &globalTrigger) |
Set global trigger. More... | |
virtual TIterator * | CreateLocalIterator () const |
Create iterator on local trigger. More... | |
virtual TIterator * | CreateRegionalIterator () const |
Create iterator on regional trigger. More... | |
virtual AliMUONGlobalTrigger * | Global () const |
Return global trigger. More... | |
virtual AliMUONLocalTrigger * | FindLocal (Int_t boardNumber) const |
Find a local trigger by the board number (not an index, it is a number really) More... | |
virtual AliMUONRegionalTrigger * | FindRegional (Int_t boardNumber) const |
Find a regional trigger by the board number (not an index, it is a number really) More... | |
virtual void | Print (Option_t *wildcard, Option_t *opt) const |
Print, with option, all objects whose name matches wildcard. More... | |
virtual Bool_t | Connect (TTree &tree, Bool_t alone=kTRUE) const |
Connect us to a TTree (only valid if CanConnect()==kTRUE) More... | |
virtual void | Clear (Option_t *opt="") |
Clear ourselves (i.e. Reset) More... | |
virtual Int_t | GetSize () const |
The number of objects stored. More... | |
![]() | |
AliMUONVTriggerStore () | |
virtual | ~AliMUONVTriggerStore () |
virtual Bool_t | Add (TObject *object) |
Add an object, if of the right type. More... | |
virtual TIterator * | CreateIterator () const |
Create iterator (on local card) More... | |
virtual void | Print (Option_t *wildcard="") const |
Print all objects whose name matches wildcard. More... | |
![]() | |
AliMUONVStore () | |
virtual | ~AliMUONVStore () |
virtual TObject * | FindObject (const char *name) const |
Find an object by name. More... | |
virtual TObject * | FindObject (const TObject *object) const |
Find an object. More... | |
virtual TObject * | FindObject (UInt_t uniqueID) const |
Find an object using a single id. More... | |
virtual TObject * | FindObject (Int_t i, Int_t j) const |
Find an object using 2 ids. More... | |
virtual Int_t | GetSize (Int_t i) const |
The number of objects stored for firstid=i. Not implemented by default. More... | |
virtual Bool_t | IsEmpty () const |
Whether we are empty or not. More... | |
Private Member Functions | |
TClonesArray ** | GlobalPtr () const |
Return the address of the array of global trigger information. More... | |
TClonesArray ** | LocalPtr () const |
Return the address of the array of local trigger information. More... | |
TClonesArray ** | RegionalPtr () const |
Return the address of the array of regional trigger information. More... | |
AliMUONTriggerStoreV1 (const AliMUONTriggerStoreV1 &) | |
Not implemented. More... | |
AliMUONTriggerStoreV1 & | operator= (const AliMUONTriggerStoreV1 &) |
Not implemented. More... | |
Private Attributes | |
TClonesArray * | fLocal |
internal array of local trigger information More... | |
TClonesArray * | fRegional |
internal array of regional trigger information More... | |
TClonesArray * | fGlobal |
internal array of global trigger information More... | |
TClonesArray * | fEmptyLocal |
! internal array of empty local trigger More... | |
Additional Inherited Members | |
![]() | |
static AliMUONVTriggerStore * | Create (TTree &tree) |
Create a store from the tree (if possible). More... | |
![]() | |
static AliMUONVStore * | Create (TTree &tree, const char *what) |
Create a store from a TTree. More... | |
Implementation of AliMUONVTriggerStore.
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.
Definition at line 21 of file AliMUONTriggerStoreV1.h.
AliMUONTriggerStoreV1::AliMUONTriggerStoreV1 | ( | ) |
|
virtual |
dtor
Definition at line 59 of file AliMUONTriggerStoreV1.cxx.
|
private |
Not implemented.
|
virtual |
Add local trigger.
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.
Implements AliMUONVTriggerStore.
Definition at line 70 of file AliMUONTriggerStoreV1.cxx.
|
virtual |
Add regional trigger.
Add regional information
Implements AliMUONVTriggerStore.
Definition at line 131 of file AliMUONTriggerStoreV1.cxx.
|
inlinevirtual |
Whether the Connect(TTree&) method is implemented.
Implements AliMUONVStore.
Definition at line 30 of file AliMUONTriggerStoreV1.h.
|
virtual |
Clear ourselves (i.e. Reset)
Reset
Implements AliMUONVStore.
Definition at line 216 of file AliMUONTriggerStoreV1.cxx.
Referenced by AliMUONTriggerGUI::ClearTriggerStore(), and AliMUONTriggerUtilities::Init().
|
virtual |
Connect us to a TTree (only valid if CanConnect()==kTRUE)
Connect this store to the tree
Connect to a Ttree
Reimplemented from AliMUONVStore.
Definition at line 94 of file AliMUONTriggerStoreV1.cxx.
|
inlinevirtual |
Whether the Connect(TTree&) method is implemented.
Implements AliMUONVStore.
Definition at line 28 of file AliMUONTriggerStoreV1.h.
Referenced by AliMUONTriggerGUI::AliMUONTriggerGUI().
|
virtual |
Create iterator on local trigger.
Return iterator on local cards
Implements AliMUONVTriggerStore.
Definition at line 139 of file AliMUONTriggerStoreV1.cxx.
Referenced by AliMUONTriggerGUI::PrintTriggerStore().
|
virtual |
Create iterator on regional trigger.
Return iterator on regional cards
Implements AliMUONVTriggerStore.
Definition at line 147 of file AliMUONTriggerStoreV1.cxx.
|
virtual |
Find a local trigger by the board number (not an index, it is a number really)
Find a local board, by its number (not to be confused with its index, which used to be the key)
Implements AliMUONVTriggerStore.
Definition at line 155 of file AliMUONTriggerStoreV1.cxx.
|
virtual |
Find a regional trigger by the board number (not an index, it is a number really)
Return a given regional board
Implements AliMUONVTriggerStore.
Definition at line 192 of file AliMUONTriggerStoreV1.cxx.
|
virtual |
The number of objects stored.
Number of non-empty local boards we hold
Implements AliMUONVStore.
Definition at line 227 of file AliMUONTriggerStoreV1.cxx.
|
virtual |
Return global trigger.
Return global trigger
Implements AliMUONVTriggerStore.
Definition at line 208 of file AliMUONTriggerStoreV1.cxx.
Referenced by AliMUONTriggerUtilities::Init(), and AliMUONTriggerGUI::PrintTriggerStore().
|
inlineprivate |
Return the address of the array of global trigger information.
Definition at line 60 of file AliMUONTriggerStoreV1.h.
Referenced by Connect().
|
inlineprivate |
Return the address of the array of local trigger information.
Definition at line 62 of file AliMUONTriggerStoreV1.h.
Referenced by Connect().
|
private |
Not implemented.
|
virtual |
Print, with option, all objects whose name matches wildcard.
Printout
what | used to tell what to print, can be GLOBAL, LOCAL, REGIONAL or ALL |
opt | is passed to the local, regional, global object |
Reimplemented from AliMUONVStore.
Definition at line 235 of file AliMUONTriggerStoreV1.cxx.
|
inlineprivate |
Return the address of the array of regional trigger information.
Definition at line 64 of file AliMUONTriggerStoreV1.h.
Referenced by Connect().
|
virtual |
Set global trigger.
Set the global information
Implements AliMUONVTriggerStore.
Definition at line 123 of file AliMUONTriggerStoreV1.cxx.
|
mutableprivate |
! internal array of empty local trigger
Definition at line 75 of file AliMUONTriggerStoreV1.h.
Referenced by Add(), Clear(), FindLocal(), and ~AliMUONTriggerStoreV1().
|
private |
internal array of global trigger information
Definition at line 74 of file AliMUONTriggerStoreV1.h.
Referenced by Clear(), Global(), GlobalPtr(), Print(), and ~AliMUONTriggerStoreV1().
|
private |
internal array of local trigger information
Definition at line 72 of file AliMUONTriggerStoreV1.h.
Referenced by Add(), Clear(), CreateLocalIterator(), FindLocal(), GetSize(), LocalPtr(), Print(), and ~AliMUONTriggerStoreV1().
|
private |
internal array of regional trigger information
Definition at line 73 of file AliMUONTriggerStoreV1.h.
Referenced by Add(), Clear(), CreateRegionalIterator(), FindRegional(), Print(), RegionalPtr(), and ~AliMUONTriggerStoreV1().