1 #ifndef ALIMUONMCDATAINTERFACE_H
2 #define ALIMUONMCDATAINTERFACE_H
45 void Open(
const char* filename);
64 AliStack*
Stack(Int_t event);
68 void DumpDigits(Int_t event, Bool_t sorted=kTRUE);
132 TObject*
FetchObject(TIterator* iter, Int_t index);
AliMUONVDigitStore * SDigitStore(Int_t event)
TClonesArray * fTrackRefs
! current trackrefs (owner)
AliLoader * fLoader
! Tree accessor
void DumpHits(Int_t event)
Int_t NumberOfHits(Int_t track)
Interface for a digit container.
No iterator was constructed.
Virtual store to hold digit.
TIterator * GetIterator(IteratorType type, Int_t x=0, Int_t y=0)
AliMUONVDigit * Digit(Int_t detElemId, Int_t index)
AliMUONVDigitStore * fDigitStore
! current digit store (owner)
void DumpTrigger(Int_t event)
Int_t NumberOfTrackRefs()
void Open(const char *filename)
An iterator for iterating over the simulated regional triggers.
Int_t CurrentEvent() const
An iterator for simulated digits to iterate over the detector elements.
Int_t fDataY
! Extra data parameter about the iterator, can be the cathode number.
static Int_t fgInstanceCounter
! To build unique folder name for each instance
TParticle * Particle(Int_t index)
AliMUONVTriggerStore * TriggerStore(Int_t event)
AliMUONRegionalTrigger * RegionalTrigger(Int_t index)
void DumpSorted(const AliMUONVStore &store) const
An iterator for simulated digits to iterate over chambers and cathodes.
AliMUONGlobalTrigger * GlobalTrigger()
virtual ~AliMUONMCDataInterface()
Base class of a trigger information store.
TClonesArray * TrackRefs(Int_t event, Int_t track)
AliMUONVDigitStore * fSDigitStore
! current sdigit store (owner)
AliMUONVDigitStore * DigitStore(Int_t event)
AliMUONVHitStore * fHitStore
! current hit store (owner)
Reconstructed regional Trigger object.
Int_t CountObjects(TIterator *iter)
AliMUONHit * Hit(Int_t track, Int_t index)
Reconstructed Local Trigger object.
Int_t NumberOfSDigits(Int_t detElemId)
IteratorType
The various identifiers for the type of iterator constructed.
Int_t fDataX
! Extra data parameter about the iterator, can be the chamber number, detector element or track numbe...
Int_t NumberOfRegionalTriggers()
void DumpDigits(Int_t event, Bool_t sorted=kTRUE)
An iterator for iterating over the simulated local triggers.
AliMUONVTriggerStore * fTriggerStore
! current trigger store (owner)
void DumpKine(Int_t event)
An iterator to iterate over the hits.
IteratorType fCurrentIteratorType
! The type of iterator that is currently set.
TIterator * fIterator
! Iterator for various iteration operations.
Int_t NumberOfParticles()
Bool_t IsValid() const
Returns true if the data interface was able to open the root file correctly.
void DumpSDigits(Int_t event, Bool_t sorted=kTRUE)
Bool_t fIsValid
! whether we were initialized properly or not
Easy to use data access to MC information.
void DumpTrackRefs(Int_t event)
Bool_t GetEvent(Int_t event=0)
Int_t NumberOfDigits(Int_t detElemId)
AliMUONVHitStore * HitStore(Int_t event, Int_t track)
TObject * FetchObject(TIterator *iter, Int_t index)
AliMUONVDigit * SDigit(Int_t detElemId, Int_t index)
AliStack * Stack(Int_t event)
AliMUONMCDataInterface(const char *filename="galice.root")
Bool_t LoadEvent(Int_t event)
Int_t NumberOfLocalTriggers()
Base class for MUON data stores.
Int_t fCurrentIndex
! A current index number maintained for certain iteration operations.
Int_t fCurrentEvent
! Current event we've read in
A summable digit iterator to iterate over chambers and cathodes.
A summable digit iterator to iterate over the detector elements.
AliMUONMCDataInterface & operator=(const AliMUONMCDataInterface &)
Not implemented.
AliMUONLocalTrigger * LocalTrigger(Int_t index)
Int_t NumberOfEvents() const