AliRoot Core  3abf5b4 (3abf5b4)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONTrackStoreV1 Class Reference

Implementation of AliMUONVTrackStore. More...

#include <AliMUONTrackStoreV1.h>

Inheritance diagram for AliMUONTrackStoreV1:

Public Member Functions

 AliMUONTrackStoreV1 ()
 
 AliMUONTrackStoreV1 (TRootIOCtor *dummy)
 
virtual ~AliMUONTrackStoreV1 ()
 
virtual AliMUONTrackAdd (const AliMUONTrack &track)
 Add a track. More...
 
virtual AliMUONTrackRemove (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 AliMUONTrackStoreV1Create () 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...
 
- Public Member Functions inherited from AliMUONVTrackStore
 AliMUONVTrackStore ()
 
virtual ~AliMUONVTrackStore ()
 
virtual Bool_t Add (TObject *object)
 Add an object, if of the right type. More...
 
- Public Member Functions inherited from AliMUONVStore
 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...
 
AliMUONTrackStoreV1operator= (const AliMUONTrackStoreV1 &)
 Not implemented. More...
 

Private Attributes

TClonesArray * fTracks
 Internal array. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from AliMUONVTrackStore
static AliMUONVTrackStoreCreate (TTree &tree)
 Create a store from the tree (if possible). More...
 
- Static Public Member Functions inherited from AliMUONVStore
static AliMUONVStoreCreate (TTree &tree, const char *what)
 Create a store from a TTree. More...
 

Detailed Description

Implementation of AliMUONVTrackStore.

Implementation of AliMUONTrackStoreV1, which should be backward compatible, i.e. able to read old TreeT files

Author
Laurent Aphecetche, Subatech

Definition at line 21 of file AliMUONTrackStoreV1.h.

Constructor & Destructor Documentation

AliMUONTrackStoreV1::AliMUONTrackStoreV1 ( )

Ctor

Definition at line 40 of file AliMUONTrackStoreV1.cxx.

Referenced by Create().

AliMUONTrackStoreV1::AliMUONTrackStoreV1 ( TRootIOCtor *  dummy)

Ctor

Definition at line 48 of file AliMUONTrackStoreV1.cxx.

AliMUONTrackStoreV1::~AliMUONTrackStoreV1 ( )
virtual

dtor

Definition at line 55 of file AliMUONTrackStoreV1.cxx.

AliMUONTrackStoreV1::AliMUONTrackStoreV1 ( const AliMUONTrackStoreV1 )
private

Not implemented.

Member Function Documentation

AliMUONTrack * AliMUONTrackStoreV1::Add ( const AliMUONTrack track)
virtual

Add a track.

Add a track

Implements AliMUONVTrackStore.

Definition at line 63 of file AliMUONTrackStoreV1.cxx.

virtual Bool_t AliMUONTrackStoreV1::CanConnect ( ) const
inlinevirtual

Whether the Connect(TTree&) method is implemented.

Implements AliMUONVStore.

Definition at line 35 of file AliMUONTrackStoreV1.h.

void AliMUONTrackStoreV1::Clear ( Option_t *  opt = "")
virtual

Clear ourselves (i.e. Reset)

Reset

Implements AliMUONVStore.

Definition at line 115 of file AliMUONTrackStoreV1.cxx.

Bool_t AliMUONTrackStoreV1::Connect ( TTree &  tree,
Bool_t  alone = kTRUE 
) const
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.

virtual AliMUONTrackStoreV1* AliMUONTrackStoreV1::Create ( ) const
inlinevirtual

Create an empty copy of this.

Implements AliMUONVStore.

Definition at line 39 of file AliMUONTrackStoreV1.h.

TIterator * AliMUONTrackStoreV1::CreateIterator ( ) const
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.

void AliMUONTrackStoreV1::CreateTracks ( )
private

Allocate track container

Definition at line 123 of file AliMUONTrackStoreV1.cxx.

Referenced by Add().

Int_t AliMUONTrackStoreV1::GetSize ( ) const
virtual

The number of objects stored.

Return the number of tracks we hold

Implements AliMUONVStore.

Definition at line 138 of file AliMUONTrackStoreV1.cxx.

AliMUONTrackStoreV1& AliMUONTrackStoreV1::operator= ( const AliMUONTrackStoreV1 )
private

Not implemented.

AliMUONTrack * AliMUONTrackStoreV1::Remove ( AliMUONTrack track)
virtual

Remove a track from the store.

Remove a track from the store

Implements AliMUONVTrackStore.

Definition at line 74 of file AliMUONTrackStoreV1.cxx.

TClonesArray* AliMUONTrackStoreV1::Tracks ( ) const
inlineprivate

Return the tracks array.

Definition at line 51 of file AliMUONTrackStoreV1.h.

TClonesArray** AliMUONTrackStoreV1::TracksPtr ( ) const
inlineprivate

Return the address of the tracks array.

Definition at line 56 of file AliMUONTrackStoreV1.h.

Referenced by Connect().

Member Data Documentation

TClonesArray* AliMUONTrackStoreV1::fTracks
private

Internal array.

Definition at line 64 of file AliMUONTrackStoreV1.h.

Referenced by Add(), Clear(), CreateIterator(), CreateTracks(), GetSize(), Remove(), Tracks(), TracksPtr(), and ~AliMUONTrackStoreV1().


The documentation for this class was generated from the following files: