1 #ifndef ALIMUONVHITSTORE_H
2 #define ALIMUONVHITSTORE_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
10 /// \class AliMUONVHitStore
11 /// \brief Virtual store to hold digit
13 // Author Laurent Aphecetche, Subatech
15 #ifndef ALIMUONVSTORE_H
16 # include "AliMUONVStore.h"
23 class AliMUONVHitStore : public AliMUONVStore
27 virtual ~AliMUONVHitStore();
29 /// Add an object, if of type AliMUONHit
30 virtual Bool_t Add(TObject* object);
33 virtual void Add(const AliMUONHit& hit) = 0;
35 using AliMUONVStore::Create;
37 /// Create a store from the tree (if possible).
38 static AliMUONVHitStore* Create(TTree& tree);
40 /// Return an iterator to loop over hits
41 virtual TIterator* CreateIterator() const = 0;
43 /// Must be implemented to allow connection using MCApp()->AddHitList()
44 virtual TCollection* Collection() = 0;
46 using AliMUONVStore::GetSize;
48 ClassDef(AliMUONVHitStore,1) // Base class of a MUON hit store