AliRoot Core  edcc906 (edcc906)
AliMUONVTrackStore.h
Go to the documentation of this file.
1 #ifndef ALIMUONVTRACKSTORE_H
2 #define ALIMUONVTRACKSTORE_H
3 
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6 
7 // $Id$
8 
13 // Author Laurent Aphecetche, Subatech
14 
15 #ifndef ALIMUONVSTORE_H
16 # include "AliMUONVStore.h"
17 #endif
18 
19 class AliMUONTrack;
20 
22 {
23 public:
25  virtual ~AliMUONVTrackStore();
26 
28  virtual Bool_t Add(TObject* object);
29 
31  virtual AliMUONTrack* Add(const AliMUONTrack& track) = 0;
32 
34  virtual AliMUONTrack* Remove(AliMUONTrack& track) = 0;
35 
37 
39  static AliMUONVTrackStore* Create(TTree& tree);
40 
42  virtual TIterator* CreateIterator() const = 0;
43 
45 
46  ClassDef(AliMUONVTrackStore,1) // Base class of a track store
47 };
48 
49 #endif
Base class of a track container.
virtual TIterator * CreateIterator() const =0
Create an iterator to loop over tracks.
virtual AliMUONTrack * Remove(AliMUONTrack &track)=0
Remove a track from the store.
virtual Int_t GetSize() const =0
The number of objects stored.
AliTPCfastTrack * track
TTree * tree
virtual AliMUONVStore * Create() const =0
Create an empty copy of this.
Reconstructed track in ALICE dimuon spectrometer.
Definition: AliMUONTrack.h:24
virtual Bool_t Add(TObject *object)
Add an object, if of the right type.
Base class for MUON data stores.
Definition: AliMUONVStore.h:22