]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSGeometry.h
Clean up to correct for the mess introduced by my eratic branching !
[u/mrichter/AliRoot.git] / PHOS / AliPHOSGeometry.h
index 835d0413818b50f98adcba89e737d054c85196fb..eb06b2422a8f235986b02ec1bb8f4e386e4c2baf 100644 (file)
@@ -23,6 +23,9 @@
 #include "AliGeometry.h"
 #include "AliPHOSRecPoint.h"
 
+static const TString kDegre("deg") ; 
+static const TString kRadian("rad") ; 
+
 class AliPHOSGeometry : public AliGeometry {
 
 public: 
@@ -46,6 +49,14 @@ public:
   // General
 
   Bool_t AbsToRelNumbering(const Int_t AbsId, Int_t * RelId) ;           // converts the absolute PHOS numbering to a relative 
+  void EmcModuleCoverage(const Int_t m, Double_t & tm, Double_t & tM, Double_t & pm, Double_t & pM, Option_t * opt = kRadian);    
+                                                                         // calculates the angular coverage in theta and phi of a EMC module
+  void EmcXtalCoverage(Double_t & theta, Double_t & phi, Option_t * opt = kRadian) ; 
+                                                                         // calculates the angular coverage in theta and phi of a 
+                                                                         // single crystal in a EMC module
+  void ImpactOnEmc(const Double_t theta, const Double_t phi, Int_t & ModuleNumber, Double_t & x, Double_t & z) ; 
+                                                                         // calculates the impact coordinates of a neutral particle  
+                                                                         // emitted in direction theta and phi in ALICE
   void   RelPosInModule(const Int_t * RelId, Float_t & y, Float_t & z) ; // gets the position of element (pad or Xtal) relative to 
                                                                          // center of PHOS module  
   void   RelPosInAlice(const Int_t AbsId, TVector3 &  pos) ;             // gets the position of element (pad or Xtal) relative to