1 #ifndef ALIMUONCLUSTERSTOREV2_H
2 #define ALIMUONCLUSTERSTOREV2_H
15 #ifndef ALIMUONVCLUSTERSTORE_H
20 #include <TClonesArray.h>
33 virtual void Clear(Option_t* opt=
"");
37 virtual Bool_t
Connect(TTree&
tree, Bool_t alone=kTRUE)
const;
AliMUONVCluster * FindObject(const TObject *object) const
Find an object.
virtual Int_t GetSize() const
Return the number of clusters we hold.
virtual TIterator * CreateChamberIterator(Int_t firstChamberId, Int_t lastChamberId) const
Return an iterator to loop over the store in the given chamber range.
void UpdateMap(AliMUONVCluster &cluster)
virtual Int_t GetSize() const =0
The number of objects stored.
Implementation of VClusterStore.
virtual TIterator * CreateIterator() const
Return an iterator to loop over the whole store.
TClonesArray * fClusters
collection of clusters
virtual Bool_t Add(TObject *object)
Add an object to the store.
abstract base class for clusters
virtual AliMUONVCluster * Remove(AliMUONVCluster &cluster)
Remove a cluster object to the store.
Interface of a cluster container.
virtual AliMUONVCluster * Add(const AliMUONVCluster &Cluster)
Add a cluster object to the store.
TClonesArray * fMap
! index map for fast cluster retrieval
virtual ~AliMUONClusterStoreV2()
virtual void Clear(Option_t *opt="")
Clear container.
virtual AliMUONVCluster * CreateCluster(Int_t chamberId, Int_t detElemId, Int_t clusterIndex) const
Create a cluster.
AliMUONClusterStoreV2 & operator=(const AliMUONClusterStoreV2 &store)
virtual Bool_t CanConnect() const
Whether the Connect(TTree&) method is implemented.
virtual Bool_t Connect(TTree &tree, Bool_t alone=kTRUE) const
Connect us to a TTree (only valid if CanConnect()==kTRUE)
Bool_t fMapped
! whether our internal indices are uptodate
virtual AliMUONClusterStoreV2 * Create() const
Create an empty copy of this.
Base implementation of TIterator for AliMUONClusterStoreV2.
virtual TObject * FindObject(const char *name) const
Find an object by name.