]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONSimpleClusterServer.h
- adding time information in NbyN clusterizer
[u/mrichter/AliRoot.git] / MUON / AliMUONSimpleClusterServer.h
index 1b5ed78a681ca8cc631e766dc5b9c405f8584b02..d88820b093876d26d4ad677eb406147b280ee1aa 100644 (file)
@@ -20,7 +20,10 @@ class AliESDMuonPad;
 class AliMUONGeometryTransformer;
 class AliMUONTriggerTrackToTrackerClusters;
 class AliMUONVClusterFinder;
+class AliMUONCluster;
+class AliMpVSegmentation;
 class AliMpExMap;
+class AliMpExMapIterator;
 class TClonesArray;
 
 class AliMUONSimpleClusterServer : public AliMUONVClusterServer
@@ -33,9 +36,10 @@ public:
   
   Int_t Clusterize(Int_t chamberId,
                    AliMUONVClusterStore& clusterStore,
-                   const AliMpArea& area);
+                   const AliMpArea& area,
+                   const AliMUONRecoParam* recoParam = 0x0);
   
-  void UseDigits(TIter& next);
+  void UseDigits(TIter& next, AliMUONVDigitStore* digitStore = 0x0);
   
   void Print(Option_t* opt="") const;
 
@@ -52,12 +56,16 @@ private:
     
   void Global2Local(Int_t detElemId, const AliMpArea& globalArea, AliMpArea& localArea) const;
 
-  TClonesArray* PadArray(Int_t detElemId, Int_t cathode) const;
+  TObjArray* PadArray(Int_t detElemId, Int_t cathode) const;
+  
+  Int_t FindMCLabel(const AliMUONCluster& cluster, Int_t detElemId, const AliMpVSegmentation* seg[2]) const;
   
 private:
+  AliMUONVDigitStore* fDigitStore; //!< the digit store (not owner)
   AliMUONVClusterFinder* fClusterFinder; //!< the cluster finder (owner)
-  const AliMUONGeometryTransformer& fTransformer; //!< the geometry transformer (not owner)
+  const AliMUONGeometryTransformer& fkTransformer; //!< the geometry transformer (not owner)
   AliMpExMap* fPads[2]; ///< map of TClonesArray of AliMUONPads
+  AliMpExMapIterator* fPadsIterator[2]; ///< iterator for the map of TClonesArray of AliMUONPads
   AliMUONVTriggerTrackStore* fTriggerTrackStore; ///< trigger track store (if bypassing of St45 was requested) (not owner)
   AliMUONTriggerTrackToTrackerClusters* fBypass; ///< to convert trigger track into tracker clusters (owner)