![]() |
AliRoot Core
3abf5b4 (3abf5b4)
|
Implementation of AliMUONVTrackStore. More...
#include <AliMUONTrackStoreV1.h>
Public Member Functions | |
AliMUONTrackStoreV1 () | |
AliMUONTrackStoreV1 (TRootIOCtor *dummy) | |
virtual | ~AliMUONTrackStoreV1 () |
virtual AliMUONTrack * | Add (const AliMUONTrack &track) |
Add a track. More... | |
virtual AliMUONTrack * | Remove (AliMUONTrack &track) |
Remove a track from the store. More... | |
virtual Bool_t | CanConnect () const |
Whether the Connect(TTree&) method is implemented. More... | |
virtual Bool_t | Connect (TTree &tree, Bool_t alone=kTRUE) const |
Connect us to a TTree (only valid if CanConnect()==kTRUE) More... | |
virtual AliMUONTrackStoreV1 * | Create () const |
Create an empty copy of this. More... | |
virtual TIterator * | CreateIterator () const |
Create an iterator to loop over tracks. More... | |
virtual void | Clear (Option_t *opt="") |
Clear ourselves (i.e. Reset) More... | |
virtual Int_t | GetSize () const |
The number of objects stored. More... | |
![]() | |
AliMUONVTrackStore () | |
virtual | ~AliMUONVTrackStore () |
virtual Bool_t | Add (TObject *object) |
Add an object, if of the right type. 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... | |
virtual void | Print (Option_t *wildcard="") const |
Print all objects whose name matches wildcard. More... | |
virtual void | Print (Option_t *wildcard, Option_t *opt) const |
Print, with option, all objects whose name matches wildcard. More... | |
Private Member Functions | |
TClonesArray * | Tracks () const |
Return the tracks array. More... | |
void | CreateTracks () |
TClonesArray ** | TracksPtr () const |
Return the address of the tracks array. More... | |
AliMUONTrackStoreV1 (const AliMUONTrackStoreV1 &) | |
Not implemented. More... | |
AliMUONTrackStoreV1 & | operator= (const AliMUONTrackStoreV1 &) |
Not implemented. More... | |
Private Attributes | |
TClonesArray * | fTracks |
Internal array. More... | |
Additional Inherited Members | |
![]() | |
static AliMUONVTrackStore * | 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 AliMUONVTrackStore.
Implementation of AliMUONTrackStoreV1, which should be backward compatible, i.e. able to read old TreeT files
Definition at line 21 of file AliMUONTrackStoreV1.h.
AliMUONTrackStoreV1::AliMUONTrackStoreV1 | ( | ) |
AliMUONTrackStoreV1::AliMUONTrackStoreV1 | ( | TRootIOCtor * | dummy | ) |
Ctor
Definition at line 48 of file AliMUONTrackStoreV1.cxx.
|
virtual |
dtor
Definition at line 55 of file AliMUONTrackStoreV1.cxx.
|
private |
Not implemented.
|
virtual |
Add a track.
Add a track
Implements AliMUONVTrackStore.
Definition at line 63 of file AliMUONTrackStoreV1.cxx.
|
inlinevirtual |
Whether the Connect(TTree&) method is implemented.
Implements AliMUONVStore.
Definition at line 35 of file AliMUONTrackStoreV1.h.
|
virtual |
Clear ourselves (i.e. Reset)
Reset
Implements AliMUONVStore.
Definition at line 115 of file AliMUONTrackStoreV1.cxx.
|
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 84 of file AliMUONTrackStoreV1.cxx.
|
inlinevirtual |
Create an empty copy of this.
Implements AliMUONVStore.
Definition at line 39 of file AliMUONTrackStoreV1.h.
|
virtual |
Create an iterator to loop over tracks.
Create an iterator to loop over tracks
Implements AliMUONVTrackStore.
Definition at line 106 of file AliMUONTrackStoreV1.cxx.
|
private |
Allocate track container
Definition at line 123 of file AliMUONTrackStoreV1.cxx.
Referenced by Add().
|
virtual |
The number of objects stored.
Return the number of tracks we hold
Implements AliMUONVStore.
Definition at line 138 of file AliMUONTrackStoreV1.cxx.
|
private |
Not implemented.
|
virtual |
Remove a track from the store.
Remove a track from the store
Implements AliMUONVTrackStore.
Definition at line 74 of file AliMUONTrackStoreV1.cxx.
|
inlineprivate |
Return the tracks array.
Definition at line 51 of file AliMUONTrackStoreV1.h.
|
inlineprivate |
Return the address of the tracks array.
Definition at line 56 of file AliMUONTrackStoreV1.h.
Referenced by Connect().
|
private |
Internal array.
Definition at line 64 of file AliMUONTrackStoreV1.h.
Referenced by Add(), Clear(), CreateIterator(), CreateTracks(), GetSize(), Remove(), Tracks(), TracksPtr(), and ~AliMUONTrackStoreV1().