1 #ifndef ALIMUONHITSTOREV1_H 2 #define ALIMUONHITSTOREV1_H 15 #ifndef ALIMUONVHITSTORE_H 35 virtual void Clear(Option_t* opt=
"");
37 virtual Bool_t
Connect(TTree&
tree, Bool_t alone=kTRUE)
const;
55 TClonesArray**
HitsPtr()
const {
return const_cast<TClonesArray**
>(&
fHits); }
virtual ~AliMUONHitStoreV1()
TClonesArray ** HitsPtr() const
Return the address of array of hits.
Virtual store to hold digit.
Implementation of AliMUONVHitStore.
AliMUONHitStoreV1 & operator=(const AliMUONHitStoreV1 &)
Not implemented.
virtual Int_t GetSize() const =0
The number of objects stored.
virtual Int_t GetSize() const
The number of objects stored.
TClonesArray * Hits() const
Return the array of hits.
virtual Bool_t CanConnect() const
Whether the Connect(TTree&) method is implemented.
virtual TCollection * Collection()
Must be implemented to allow connection using MCApp()->AddHitList()
virtual Bool_t Connect(TTree &tree, Bool_t alone=kTRUE) const
Connect us to a TTree (only valid if CanConnect()==kTRUE)
virtual AliMUONHitStoreV1 * Create() const
Create an empty copy of this.
virtual void Add(const AliMUONHit &hit)
Add a digit.
virtual Bool_t Add(TObject *object)
Add an object, if of type AliMUONHit.
TClonesArray * fHits
array of hits
virtual void Clear(Option_t *opt="")
Clear ourselves (i.e. Reset)
virtual TIterator * CreateIterator() const
Return an iterator to loop over hits.