1 #ifndef ALIMUONHITSTOREV1_H
2 #define ALIMUONHITSTOREV1_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
10 /// \class AliMUONHitStoreV1
11 /// \brief Implementation of AliMUONVHitStore
13 // Author Laurent Aphecetche
15 #ifndef ALIMUONVHITSTORE_H
16 # include "AliMUONVHitStore.h"
21 class AliMUONHitStoreV1 : public AliMUONVHitStore
25 virtual ~AliMUONHitStoreV1();
27 using AliMUONVHitStore::Add;
29 virtual void Add(const AliMUONHit& hit);
31 /// Whether the Connect(TTree&) method is implemented
32 virtual Bool_t CanConnect() const { return kTRUE; }
34 virtual void Clear(Option_t* opt="");
36 virtual Bool_t Connect(TTree& tree, Bool_t alone=kTRUE) const;
38 virtual AliMUONHitStoreV1* Create() const { return new AliMUONHitStoreV1; }
40 virtual TIterator* CreateIterator() const;
42 virtual TCollection* Collection();
44 using AliMUONVHitStore::GetSize;
46 virtual Int_t GetSize() const;
50 AliMUONHitStoreV1(const AliMUONHitStoreV1&);
52 AliMUONHitStoreV1& operator=(const AliMUONHitStoreV1&);
53 /// Return the address of array of hits
54 TClonesArray** HitsPtr() const { return const_cast<TClonesArray**>(&fHits); }
55 /// Return the array of hits
56 TClonesArray* Hits() const { return fHits; }
59 TClonesArray* fHits; ///< array of hits
61 ClassDef(AliMUONHitStoreV1,1) // Implementation of AliMUONVHitStore