1 #ifndef ALIMUONVTRACKSTORE_H
2 #define ALIMUONVTRACKSTORE_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
10 /// \class AliMUONVTrackStore
11 /// \brief Base class of a track container
13 // Author Laurent Aphecetche, Subatech
15 #ifndef ALIMUONVSTORE_H
16 # include "AliMUONVStore.h"
21 class AliMUONVTrackStore : public AliMUONVStore
25 virtual ~AliMUONVTrackStore();
27 /// Add an object, if of the right type
28 virtual Bool_t Add(TObject* object);
31 virtual AliMUONTrack* Add(const AliMUONTrack& track) = 0;
33 /// Remove a track from the store
34 virtual AliMUONTrack* Remove(AliMUONTrack& track) = 0;
36 using AliMUONVStore::Create;
38 /// Create a store from the tree (if possible).
39 static AliMUONVTrackStore* Create(TTree& tree);
41 /// Create an iterator to loop over tracks
42 virtual TIterator* CreateIterator() const = 0;
44 using AliMUONVStore::GetSize;
46 ClassDef(AliMUONVTrackStore,1) // Base class of a track store