]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSClusterFinderV2.cxx
One instance of AliITSresponse per sensor - AliITSresponse objects read/stored from...
[u/mrichter/AliRoot.git] / ITS / AliITSClusterFinderV2.cxx
index d1c0081dd239d6d53c3f69b6026aefde30300c32..2be96be39487e2f42c4bfe6db955a4f02978854f 100644 (file)
@@ -23,7 +23,8 @@
 #include "AliRun.h"
 #include "AliITSClusterFinderV2.h"
 #include "AliITSclusterV2.h"
-#include "AliITSgeom.h"
+#include "AliITSDetTypeRec.h"
+//#include "AliITSgeom.h"
 #include <TParticle.h>
 #include "AliMC.h"
 
@@ -31,13 +32,12 @@ ClassImp(AliITSClusterFinderV2)
 
 extern AliRun *gAlice;
 
-AliITSClusterFinderV2::AliITSClusterFinderV2(AliITSgeom* geom):AliITSClusterFinder(){
+AliITSClusterFinderV2::AliITSClusterFinderV2(AliITSDetTypeRec* dettyp):AliITSClusterFinder(dettyp){
 
   //Default constructor
   fEvent = 0;
   fModule = 0;
-  fITSgeom = geom;
-  fNModules = fITSgeom->GetIndexMax();
+  fNModules = dettyp->GetITSgeom()->GetIndexMax();
 }
 
 //______________________________________________________________________