]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/MUONrec/AliMUONClusterStoreV1.h
remove unused code
[u/mrichter/AliRoot.git] / MUON / MUONrec / AliMUONClusterStoreV1.h
CommitLineData
e8adc3ac 1#ifndef ALIMUONCLUSTERSTOREV1_H
2#define ALIMUONCLUSTERSTOREV1_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
9/// \ingroup rec
10/// \class AliMUONClusterStoreV1
11/// \brief Implementation of VClusterStore
12///
13// Author Laurent Aphecetche, Subatech
14
15#ifndef ALIMUONVCLUSTERSTORE_H
16# include "AliMUONVClusterStore.h"
17#endif
18
19class TObjArray;
20class TClonesArray;
21
22class AliMUONClusterStoreV1 : public AliMUONVClusterStore
23{
24public:
25 AliMUONClusterStoreV1();
26 AliMUONClusterStoreV1(const AliMUONClusterStoreV1& rhs);
27 AliMUONClusterStoreV1& operator=(const AliMUONClusterStoreV1& rhs);
28 virtual ~AliMUONClusterStoreV1();
29
30 virtual AliMUONClusterStoreV1* Create() const { return new AliMUONClusterStoreV1; }
31
2060b217 32 virtual AliMUONVCluster* CreateCluster(Int_t /*chamberId*/, Int_t detElemId, Int_t /*clusterIndex*/) const;
33
e8adc3ac 34 using AliMUONVClusterStore::Add;
35
7332f213 36 virtual AliMUONVCluster* Add(const AliMUONVCluster& Cluster);
2060b217 37 virtual AliMUONVCluster* Add(Int_t chamberId, Int_t detElemId, Int_t /*clusterIndex*/);
e8adc3ac 38
39 /// Whether the Connect(TTree&) method is implemented
40 virtual Bool_t CanConnect() const { return kTRUE; }
41
42 virtual TIterator* CreateIterator() const;
43
44 virtual TIterator* CreateChamberIterator(Int_t firstChamberId, Int_t lastChamberId) const;
45
46 virtual Bool_t Connect(TTree& tree, Bool_t alone=kTRUE) const;
47
48 virtual void Clear(Option_t* opt="");
49
50 using AliMUONVClusterStore::GetSize;
51
52 virtual Int_t GetSize() const;
53
2060b217 54 virtual AliMUONVCluster* Remove(AliMUONVCluster& cluster);
e8adc3ac 55
56private:
57
58 TClonesArray* ChamberClusters(Int_t chamberId) const;
59 TObject** ChamberClustersPtr(Int_t chamberId) const;
2060b217 60 //AliMUONVCluster* Find(Int_t clusterId, Int_t& index) const;
e8adc3ac 61
62private:
2060b217 63 TObjArray* fClusters; //!< Array of TClonesArray of VClusters
e8adc3ac 64
65 ClassDef(AliMUONClusterStoreV1,1) // Implementation of VClusterStore
66};
67
68#endif
2060b217 69