1 #ifndef ALIMUONDATAINTERFACE_H
2 #define ALIMUONDATAINTERFACE_H
45 void Open(
const char* filename);
61 void DumpDigits(Int_t event, Bool_t sorted=kTRUE);
62 void DumpTrigger(Int_t event,
const char* treeLetter=
"R");
108 TObject*
FetchObject(TIterator* iter, Int_t index);
136 #endif // ALIMUONDATAINTERFACE_H
Int_t fCurrentIndex
! A current index number maintained for certain iteration operations.
Int_t NumberOfDigits(Int_t detElemId)
TObject * FetchObject(TIterator *iter, Int_t index)
void DumpTrigger(Int_t event, const char *treeLetter="R")
Int_t NumberOfRawClusters(Int_t chamber)
Int_t CountObjects(TIterator *iter)
Interface for a digit container.
Bool_t IsValid() const
Returns true if the data interface was able to open the root file correctly.
Int_t CurrentEvent() const
Int_t fCurrentEvent
! Current event we've read in
An easy to use interface to MUON data.
void DumpDigits(Int_t event, Bool_t sorted=kTRUE)
AliMUONVDigitStore * fDigitStore
! current digit store (owner)
AliMUONGlobalTrigger * GlobalTrigger()
AliMUONRegionalTrigger * RegionalTrigger(Int_t index)
A digit iterator for iterating over detector elements.
AliMUONVDigitStore * DigitStore(Int_t event)
IteratorType fCurrentIteratorType
! The type of iterator that is currently set.
Bool_t GetEvent(Int_t event=0)
A digit iterator for iterating over chambers and cathodes.
void Open(const char *filename)
No iterator was constructed.
Base class of a trigger information store.
AliMUONVClusterStore * fClusterStore
! current cluster store (owner)
Reconstructed regional Trigger object.
AliMUONVTriggerStore * fTriggerStore
! current trigger store (owner)
Int_t NumberOfEvents() const
abstract base class for clusters
IteratorType
The various identifiers for the type of iterator constructed.
AliLoader * fLoader
! Tree accessor
Reconstructed Local Trigger object.
AliMUONVTriggerStore * TriggerStore(Int_t event, const char *treeLetter="R")
An iterator for iterating over reconstructed regional triggers.
TIterator * fIterator
! Iterator for various iteration operations.
TString fTreeLetter
! The tree letter used in the last call to TriggerStore().
static Int_t fgInstanceCounter
! To build unique folder name for each instance
Int_t NumberOfLocalTriggers()
virtual ~AliMUONDataInterface()
Bool_t LoadEvent(Int_t event)
AliMUONDataInterface(const char *filename="galice.root")
Interface of a cluster container.
AliMUONLocalTrigger * LocalTrigger(Int_t index)
void DumpSorted(const AliMUONVStore &store) const
Int_t NumberOfRegionalTriggers()
An iterator for iterating over reconstructed local triggers.
Int_t fDataX
! Extra data parameter about the iterator, can be the chamber number or detector element.
void DumpClusters(Int_t event, Bool_t sorted=kTRUE)
Dump the clusters for a given event, sorted if so required.
void DumpRecPoints(Int_t event, Bool_t sorted=kTRUE)
Bool_t fIsValid
! whether we were initialized properly or not
AliMUONDataInterface & operator=(const AliMUONDataInterface &rhs)
Not implemented.
AliMUONVDigit * Digit(Int_t detElemId, Int_t index)
TIterator * GetIterator(IteratorType type, Int_t x=0, Int_t y=0)
Int_t fDataY
! Extra data parameter about the iterator, can be the cathode number.
Base class for MUON data stores.
AliMUONVClusterStore * ClusterStore(Int_t event)
void NtupleTrigger(const char *treeLetter)
AliMUONVCluster * RawCluster(Int_t chamber, Int_t index)