AliRoot Core  edcc906 (edcc906)
AliMUONVHitStore.h
Go to the documentation of this file.
1 #ifndef ALIMUONVHITSTORE_H
2 #define ALIMUONVHITSTORE_H
3 
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6 
7 // $Id$
8 
13 // Author Laurent Aphecetche, Subatech
14 
15 #ifndef ALIMUONVSTORE_H
16 # include "AliMUONVStore.h"
17 #endif
18 
19 class AliMUONHit;
20 class TClonesArray;
21 class TCollection;
22 
24 {
25 public:
27  virtual ~AliMUONVHitStore();
28 
30  virtual Bool_t Add(TObject* object);
31 
33  virtual void Add(const AliMUONHit& hit) = 0;
34 
36 
38  static AliMUONVHitStore* Create(TTree& tree);
39 
41  virtual TIterator* CreateIterator() const = 0;
42 
44  virtual TCollection* Collection() = 0;
45 
47 
48  ClassDef(AliMUONVHitStore,1) // Base class of a MUON hit store
49 };
50 
51 #endif
Virtual store to hold digit.
virtual Int_t GetSize() const =0
The number of objects stored.
virtual ~AliMUONVHitStore()
TTree * tree
virtual AliMUONVStore * Create() const =0
Create an empty copy of this.
virtual TCollection * Collection()=0
Must be implemented to allow connection using MCApp()->AddHitList()
virtual Bool_t Add(TObject *object)
Add an object, if of type AliMUONHit.
MonteCarlo hit.
Definition: AliMUONHit.h:24
virtual TIterator * CreateIterator() const =0
Return an iterator to loop over hits.
Base class for MUON data stores.
Definition: AliMUONVStore.h:22