]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONResponseTriggerV1.cxx
From Laurent
[u/mrichter/AliRoot.git] / MUON / AliMUONResponseTriggerV1.cxx
index aa65cf243e9bdc39d2969f3b5f26603c82b8253e..5fe76964f2b72dec8f0d6f4afd751fe36a748b2a 100644 (file)
@@ -19,7 +19,7 @@
 #include <TRandom.h>
 
 #include "AliMUONResponseTriggerV1.h"
-#include "AliSegmentation.h"
+#include "AliMUONGeometrySegmentation.h"
 
 ClassImp(AliMUONResponseTriggerV1)
 
@@ -57,7 +57,7 @@ Int_t AliMUONResponseTriggerV1::SetGenerCluster(){
 } 
 
 //------------------------------------------------------------------   
-Float_t AliMUONResponseTriggerV1::IntXY(AliSegmentation * segmentation){
+Float_t AliMUONResponseTriggerV1::IntXY(Int_t idDE, AliMUONGeometrySegmentation * segmentation){
 // Returns 1 or 0 if the current strip is fired or not 
 // get the "parameters" needed to evaluate the strip response
 // x1 : hit x(y) position
@@ -66,7 +66,7 @@ Float_t AliMUONResponseTriggerV1::IntXY(AliSegmentation * segmentation){
 // x4 : dist. between x(y) hit pos. and the closest border of the current strip
 
   Float_t x1,x2,x3,x4;  
-  segmentation->IntegrationLimits(x1,x2,x3,x4);    
+  segmentation->IntegrationLimits(idDE, x1,x2,x3,x4);    
   Float_t theta = 0.; // incident angle to be implemented
 
   return (fGenerCluster < FireStripProb(x4,theta)) ? 1:0;