\class AliMUONMCDataInterface Easy to use MC data accessor \author Laurent Aphecetche, Subatech Moved parts of old AliMUONDataInterface interface to AliMUONMCDataInterface Artur Szostak <artursz@iafrica.com> (University of Cape Town)
AliMUONMCDataInterface(const char* filename = "galice.root") | |
virtual | ~AliMUONMCDataInterface() |
void | TObject::AbstractMethod(const char* method) const |
virtual void | TObject::AppendPad(Option_t* option = "") |
virtual void | TObject::Browse(TBrowser* b) |
static TClass* | Class() |
virtual const char* | TObject::ClassName() const |
virtual void | TObject::Clear(Option_t* = "") |
virtual TObject* | TObject::Clone(const char* newname = "") const |
virtual Int_t | TObject::Compare(const TObject* obj) const |
virtual void | TObject::Copy(TObject& object) const |
Int_t | CurrentEvent() const |
virtual void | TObject::Delete(Option_t* option = "")MENU |
AliMUONVDigit* | Digit(Int_t detElemId, Int_t index) |
AliMUONVDigit* | Digit(Int_t chamber, Int_t cathode, Int_t index) |
AliMUONVDigitStore* | DigitStore(Int_t event) |
virtual Int_t | TObject::DistancetoPrimitive(Int_t px, Int_t py) |
virtual void | TObject::Draw(Option_t* option = "") |
virtual void | TObject::DrawClass() constMENU |
virtual TObject* | TObject::DrawClone(Option_t* option = "") constMENU |
virtual void | TObject::Dump() constMENU |
void | DumpDigits(Int_t event, Bool_t sorted = kTRUE) |
void | DumpHits(Int_t event) |
void | DumpKine(Int_t event) |
void | DumpSDigits(Int_t event, Bool_t sorted = kTRUE) |
void | DumpTrackRefs(Int_t event) |
void | DumpTrigger(Int_t event) |
virtual void | TObject::Error(const char* method, const char* msgfmt) const |
virtual void | TObject::Execute(const char* method, const char* params, Int_t* error = 0) |
virtual void | TObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0) |
virtual void | TObject::ExecuteEvent(Int_t event, Int_t px, Int_t py) |
virtual void | TObject::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_t | TObject::GetDtorOnly() |
Bool_t | GetEvent(Int_t event = 0) |
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_t | TObject::GetObjectStat() |
virtual Option_t* | TObject::GetOption() const |
virtual const char* | TObject::GetTitle() const |
virtual UInt_t | TObject::GetUniqueID() const |
AliMUONGlobalTrigger* | GlobalTrigger() |
virtual Bool_t | TObject::HandleTimer(TTimer* timer) |
virtual ULong_t | TObject::Hash() const |
AliMUONHit* | Hit(Int_t track, Int_t index) |
AliMUONVHitStore* | HitStore(Int_t event, Int_t track) |
virtual void | TObject::Info(const char* method, const char* msgfmt) const |
virtual Bool_t | TObject::InheritsFrom(const char* classname) const |
virtual Bool_t | TObject::InheritsFrom(const TClass* cl) const |
virtual void | TObject::Inspect() constMENU |
void | TObject::InvertBit(UInt_t f) |
virtual TClass* | IsA() const |
virtual Bool_t | TObject::IsEqual(const TObject* obj) const |
virtual Bool_t | TObject::IsFolder() const |
Bool_t | TObject::IsOnHeap() const |
virtual Bool_t | TObject::IsSortable() const |
Bool_t | IsValid() const |
Bool_t | TObject::IsZombie() const |
AliMUONLocalTrigger* | LocalTrigger(Int_t index) |
virtual void | TObject::ls(Option_t* option = "") const |
void | TObject::MayNotUse(const char* method) const |
virtual Bool_t | TObject::Notify() |
Int_t | NumberOfDigits(Int_t detElemId) |
Int_t | NumberOfDigits(Int_t chamber, Int_t cathode) |
Int_t | NumberOfEvents() const |
Int_t | NumberOfHits(Int_t track) |
Int_t | NumberOfLocalTriggers() |
Int_t | NumberOfParticles() |
Int_t | NumberOfRegionalTriggers() |
Int_t | NumberOfSDigits(Int_t detElemId) |
Int_t | NumberOfSDigits(Int_t chamber, Int_t cathode) |
Int_t | NumberOfTrackRefs() |
Int_t | NumberOfTrackRefs(Int_t event) |
Int_t | NumberOfTracks() |
Int_t | NumberOfTracks(Int_t event) |
void | TObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const |
void | Open(const char* filename) |
static void | TObject::operator delete(void* ptr) |
static void | TObject::operator delete(void* ptr, void* vp) |
static void | TObject::operator delete[](void* ptr) |
static void | TObject::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 void | TObject::Paint(Option_t* option = "") |
TParticle* | Particle(Int_t index) |
virtual void | TObject::Pop() |
virtual void | TObject::Print(Option_t* option = "") const |
virtual Int_t | TObject::Read(const char* name) |
virtual void | TObject::RecursiveRemove(TObject* obj) |
AliMUONRegionalTrigger* | RegionalTrigger(Int_t index) |
void | TObject::ResetBit(UInt_t f) |
virtual void | TObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU |
virtual void | TObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "") |
AliMUONVDigit* | SDigit(Int_t detElemId, Int_t index) |
AliMUONVDigit* | SDigit(Int_t chamber, Int_t cathode, Int_t index) |
AliMUONVDigitStore* | SDigitStore(Int_t event) |
void | TObject::SetBit(UInt_t f) |
void | TObject::SetBit(UInt_t f, Bool_t set) |
virtual void | TObject::SetDrawOption(Option_t* option = "")MENU |
static void | TObject::SetDtorOnly(void* obj) |
static void | TObject::SetObjectStat(Bool_t stat) |
virtual void | TObject::SetUniqueID(UInt_t uid) |
virtual void | ShowMembers(TMemberInspector&) |
AliStack* | Stack(Int_t event) |
virtual void | Streamer(TBuffer&) |
void | StreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b) |
virtual void | TObject::SysError(const char* method, const char* msgfmt) const |
Bool_t | TObject::TestBit(UInt_t f) const |
Int_t | TObject::TestBits(UInt_t f) const |
TClonesArray* | TrackRefs(Int_t track) |
TClonesArray* | TrackRefs(Int_t event, Int_t track) |
AliMUONVTriggerStore* | TriggerStore(Int_t event) |
virtual void | TObject::UseCurrentStyle() |
virtual void | TObject::Warning(const char* method, const char* msgfmt) const |
virtual Int_t | TObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) |
virtual Int_t | TObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const |
virtual void | TObject::DoError(int level, const char* location, const char* fmt, va_list va) const |
void | TObject::MakeZombie() |
AliMUONMCDataInterface(const AliMUONMCDataInterface&) | |
Int_t | CountObjects(TIterator* iter) |
void | DumpSorted(const AliMUONVStore& store) const |
TObject* | FetchObject(TIterator* iter, Int_t index) |
TIterator* | GetIterator(AliMUONMCDataInterface::IteratorType type, Int_t x = 0, Int_t y = 0) |
Bool_t | LoadEvent(Int_t event) |
AliMUONMCDataInterface& | operator=(const AliMUONMCDataInterface&) |
void | ResetIterator() |
void | ResetStores() |
enum IteratorType { | kNoIterator | |
kHitIterator | ||
kSDigitIteratorByDetectorElement | ||
kSDigitIteratorByChamberAndCathode | ||
kDigitIteratorByDetectorElement | ||
kDigitIteratorByChamberAndCathode | ||
kLocalTriggerIterator | ||
kRegionalTriggerIterator | ||
}; | ||
enum TObject::EStatusBits { | kCanDelete | |
kMustCleanup | ||
kObjInCanvas | ||
kIsReferenced | ||
kHasUUID | ||
kCannotPick | ||
kNoContextMenu | ||
kInvalidObject | ||
}; | ||
enum TObject::[unnamed] { | kIsOnHeap | |
kNotDeleted | ||
kZombie | ||
kBitMask | ||
kSingleKey | ||
kOverwrite | ||
kWriteDelete | ||
}; |
Int_t | fCurrentEvent | !< Current event we've read in |
Int_t | fCurrentIndex | !< A current index number maintained for certain iteration operations. |
AliMUONMCDataInterface::IteratorType | fCurrentIteratorType | !< The type of iterator that is currently set. |
Int_t | fDataX | !< Extra data parameter about the iterator, can be the chamber number, detector element or track number. |
Int_t | fDataY | !< Extra data parameter about the iterator, can be the cathode number. |
AliMUONVDigitStore* | fDigitStore | !< current digit store (owner) |
AliMUONVHitStore* | fHitStore | !< current hit store (owner) |
Bool_t | fIsValid | !< whether we were initialized properly or not |
TIterator* | fIterator | !< Iterator for various iteration operations. |
AliLoader* | fLoader | !< Tree accessor |
AliMUONVDigitStore* | fSDigitStore | !< current sdigit store (owner) |
TClonesArray* | fTrackRefs | !< current trackrefs (owner) |
AliMUONVTriggerStore* | fTriggerStore | !< current trigger store (owner) |
static Int_t | fgInstanceCounter | !< To build unique folder name for each instance |
Inheritance Chart: | ||||||||
|
Return the hitStore for a given track of one event Return 0x0 if event and/or track not found Returned pointer should not be deleted \note If a previous store has been retrieved by one of the methods of this class, but for a different event number, then those stores will be deleted and no longer valid. If you require access to the data for the earlier retrieved store, but for different events, then you should deep copy / clone the object.
Return the SDigit store for a given event. Return 0 if event not found Returned pointer should not be deleted \note If a previous store has been retrieved by one of the methods of this class, but for a different event number, then those stores will be deleted and no longer valid. If you require access to the data for the earlier retrieved store, but for different events, then you should deep copy / clone the object.
Return a pointer to the digitStore for a given event (or 0 if not found) Returned pointer should not be deleted \note If a previous store has been retrieved by one of the methods of this class, but for a different event number, then those stores will be deleted and no longer valid. If you require access to the data for the earlier retrieved store, but for different events, then you should deep copy / clone the object.
Get the Stack (list of generated particles) for one event Returned pointer should not be deleted \note If a previous store has been retrieved by one of the methods of this class, but for a different event number, then those stores will be deleted and no longer valid. If you require access to the data for the earlier retrieved store, but for different events, then you should deep copy / clone the object.
Get the track references for a given (generated) track of one event Returned pointer should not be deleted \note If a previous store has been retrieved by one of the methods of this class, but for a different event number, then those stores will be deleted and no longer valid. If you require access to the data for the earlier retrieved store, but for different events, then you should deep copy / clone the object.
Return the triggerStore for a given event. Return 0x0 if event not found. Returned pointer should not be deleted. \note If a previous store has been retrieved by one of the methods of this class, but for a different event number, then those stores will be deleted and no longer valid. If you require access to the data for the earlier retrieved store, but for different events, then you should deep copy / clone the object.
Dump the digits for a given event, sorted if requested.
Dump the SDigits for a given event, sorted if requested
Returns the index'th particle in the kinematics tree. @param index The index number of the particle in the range [0 ... N-1] where N = NumberOfParticles()
Returns the number of primary tracks (from primary particles) in the current event.
Returns the number of hits for a given primary track/particle. @param track The track number in the range [0 .. N-1] where N = NumberOfTracks()
Returns a pointer to the index'th hit object. @param track The track number in the range [0 .. N-1] where N = NumberOfTracks() @param index The index number of the hit in the range [0 ... M-1] where M = NumberOfHits(track)
Returns the number of summable digits to be found on a given detector element. @param detElemId The detector element ID number to search on.
Returns the a pointer to the index'th summable digit on the specified detector element. @param detElemId The detector element ID number to search on. @param index The index number of the digit to fetch in the range [0 .. N-1], where N = NumberOfDigits(detElemId)
Returns the number of summable digits to be found on a specific chamber and cathode. @param chamber The chamber number in the range [0 .. 13]. @param cathode The cathode in the range [0 .. 1], where 0 is the bending and 1 is the non-bending plane.
Returns the a pointer to the index'th summable digit on the specified chamber and cathode. @param chamber The chamber number in the range [0 .. 13]. @param cathode The cathode in the range [0 .. 1], where 0 is the bending and 1 is the non-bending plane. @param index The index number of the digit to fetch in the range [0 .. N-1], where N = NumberOfDigits(chamber, cathode)
Returns the number of simulated digits to be found on a given detector element. @param detElemId The detector element ID number to search on.
Returns the a pointer to the index'th simulated digit on the specified detector element. @param detElemId The detector element ID number to search on. @param index The index number of the digit to fetch in the range [0 .. N-1], where N = NumberOfDigits(detElemId)
Returns the number of simulated digits to be found on a specific chamber and cathode. @param chamber The chamber number in the range [0 .. 13]. @param cathode The cathode in the range [0 .. 1], where 0 is the bending and 1 is the non-bending plane.
Returns the a pointer to the index'th simulated digit on the specified chamber and cathode. @param chamber The chamber number in the range [0 .. 13]. @param cathode The cathode in the range [0 .. 1], where 0 is the bending and 1 is the non-bending plane. @param index The index number of the digit to fetch in the range [0 .. N-1], where N = NumberOfDigits(chamber, cathode)
Returns a pointer to the index'th simulated local trigger object. @param index The index number of the local trigger object to fetch in the range [0 .. N-1], where N = NumberOfLocalTriggers()
Returns a pointer to the index'th simulated regional trigger object. @param index The index number of the regional trigger object to fetch in the range [0 .. N-1], where N = NumberOfRegionalTriggers()
Returns a pointer to the simulated global trigger object for the event.
Returns the track references for a given track in the current event. @param track The track to returns track references for. In the range [0 .. N-1] where N = NumberOfTrackRefs()
Deletes all the store objects that have been created and resets the pointers to 0x0. The temporary iterator object is automatically reset. See ResetIterator for more details.
Creates an appropriate iterator object and returns it. If the iterator has already been created then that one is returned otherwise a new object is created. Depending on the value of 'type' the semantics of parameters x and y can change. @param type The type of iterator to create. @param x This is the detector element ID if type equals kDigitIteratorByDetectorElement or kSDigitIteratorByDetectorElement. If type equals kDigitIteratorByChamberAndCathode or kSDigitIteratorByChamberAndCathode then this is the chamber number. For type == kHitIterator the parameter x is the track number. In all other cases this parameter is ignored. @param y If type equals kDigitIteratorByChamberAndCathode or kSDigitIteratorByChamberAndCathode then this parameter is the cathode number. In all other cases this parameter is ignored.
The temporary iterator object is deleted if it exists and the pointer reset to 0x0. The iterator type and temporary data indicating the state of the iterator are also reset.
Counts the number of objects in the iterator and resets it. @return The number of objects in 'iter'.
Fetches the index'th object from the iterator counting the first object returned by iterator after it is reset as index == 0. The next object has index == 1 and so on where the last object returned by the iterator has index == N-1 where N = CountObjects(iter) This method will only reset the iterator if index is smaller than fCurrentIndex, which is used to track the iteration progress and is updated when a new object if returned by this method. @param iter The iterator to fetch an object from. @param index The index number of the object to fetch in the range [0 .. N-1] where N = CountObjects(iter)
Returns true if the data interface was able to open the root file correctly.
{ return fIsValid; }
Returns the index number of the current event loaded. This is the event number as was used in the last calls to any of the methods in this interface that have 'Int_t event' in the parameter list. GetEvent(Int_t event) for example.
{ return fCurrentEvent; }