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 void Add(const AliMUONTrack& track) = 0;
33 using AliMUONVStore::Create;
35 /// Create a store from the tree (if possible).
36 static AliMUONVTrackStore* Create(TTree& tree);
38 /// Create an iterator to loop over tracks
39 virtual TIterator* CreateIterator() const = 0;
41 using AliMUONVStore::GetSize;
43 ClassDef(AliMUONVTrackStore,1) // Base class of a track store