]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONLegacyClusterServer.cxx
Sergey: bug fix with storing cluster id's
[u/mrichter/AliRoot.git] / MUON / AliMUONLegacyClusterServer.cxx
index c4ae587c2d37fab77d9bb6ac7e4753c3dbfd6b68..5e9ca644a88662736a9bd8e5b8fb0b5b89a5e8a3 100644 (file)
@@ -37,6 +37,7 @@
 #include "AliMUONTriggerTrackToTrackerClusters.h"
 #include "AliMUONVCluster.h"
 #include "AliMUONVClusterStore.h"
+#include "AliMUONRecoParam.h"
 #include "AliMpArea.h"
 #include <TCollection.h>
 
@@ -48,7 +49,7 @@ ClassImp(AliMUONLegacyClusterServer)
 AliMUONLegacyClusterServer::AliMUONLegacyClusterServer(const AliMUONGeometryTransformer& transformer, 
                                                                                                                                                                                                                         AliMUONVClusterStore* store,
                                                                                                                                                                                                                         Bool_t bypassSt4, Bool_t bypassSt5)
-: AliMUONVClusterServer(), fTransformer(transformer), fClusterStore(store), fTriggerTrackStore(0x0),
+: AliMUONVClusterServer(), fkTransformer(transformer), fClusterStore(store), fTriggerTrackStore(0x0),
 fBypass(0x0),
 fBypassSt4(bypassSt4),
 fBypassSt5(bypassSt5)
@@ -67,13 +68,14 @@ AliMUONLegacyClusterServer::~AliMUONLegacyClusterServer()
 Int_t 
 AliMUONLegacyClusterServer::Clusterize(Int_t chamberId, 
                                        AliMUONVClusterStore& clusterStore,
-                                       const AliMpArea& /*area*/)
+                                       const AliMpArea& /*area*/,
+                                       const AliMUONRecoParam* /*recoParam*/)
 {
   /// Fills clusterStore with clusters in given chamber
   ///
   /// Return the number of clusters added to clusterStore
   
-  AliCodeTimerAuto(Form("Chamber %d",chamberId));
+  AliCodeTimerAuto(Form("Chamber %d",chamberId),0);
 
   if ( fBypassSt4 && ( chamberId == 6 || chamberId == 7 ) ) 
   {
@@ -120,13 +122,13 @@ AliMUONLegacyClusterServer::UseTriggerTrackStore(AliMUONVTriggerTrackStore* trac
   /// Tells us to use trigger track store, and thus to bypass St4 and/or 5 clusters
   fTriggerTrackStore = trackStore; // not owner
   delete fBypass;
-  fBypass = new AliMUONTriggerTrackToTrackerClusters(fTransformer,fTriggerTrackStore);
+  fBypass = new AliMUONTriggerTrackToTrackerClusters(fkTransformer,fTriggerTrackStore);
   return kTRUE;
 }
 
 //_____________________________________________________________________________
 void
-AliMUONLegacyClusterServer::UseDigits(TIter&)
+AliMUONLegacyClusterServer::UseDigits(TIter&, AliMUONVDigitStore*)
 {
   /// Give the iterator to our delegate if we have one, of issue and error