]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALShishKebabTrd1Module.h
remove old alignment data object, to be replaced with new version
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALShishKebabTrd1Module.h
index a105a346cf31cbfec90ce99fa6145c1e67524280..8ee884c536e051fcc01c374f4b03281ae7a40937 100644 (file)
@@ -20,10 +20,8 @@ class AliEMCALShishKebabTrd1Module : public TNamed {
   AliEMCALShishKebabTrd1Module(Double_t theta=0.0, AliEMCALGeometry *g=0);
   AliEMCALShishKebabTrd1Module(AliEMCALShishKebabTrd1Module &leftNeighbor);
   void Init(Double_t A, Double_t B);
-  AliEMCALShishKebabTrd1Module(const AliEMCALShishKebabTrd1Module& mod) : TNamed(mod.GetName(),mod.GetTitle()){
-    // cpy ctor: no implementation yet; requested by the Coding Convention
-    Fatal("cpy ctor", "not implemented") ;  
-  }
+  AliEMCALShishKebabTrd1Module(const AliEMCALShishKebabTrd1Module& mod);
+
   AliEMCALShishKebabTrd1Module & operator = (const AliEMCALShishKebabTrd1Module& /*rvalue*/)  {
     Fatal("operator =", "not implemented") ;  
     return *this ; 
@@ -43,15 +41,22 @@ class AliEMCALShishKebabTrd1Module : public TNamed {
   Double_t  GetA() const {return fA;}
   Double_t  GetB() const {return fB;}
   //  Additional offline staff 
+  //  ieta=0 or 1 - Jun 02, 2006
   TVector2& GetCenterOfCellInLocalCoordinateofSM(Int_t ieta)
-  { if(ieta<=1) return fOK2;
+  { if(ieta<=0) return fOK2;
     else        return fOK1;}
   void GetCenterOfCellInLocalCoordinateofSM(Int_t ieta, Double_t &xr, Double_t &zr)
   { 
-    if(ieta<=1) {xr = fOK2.Y(); zr = fOK2.X();
+    if(ieta<=0) {xr = fOK2.Y(); zr = fOK2.X();
     } else      {xr = fOK1.Y(); zr = fOK1.X();
     }
   }
+  // 15-may-06
+  TVector2& GetCenterOfModuleFace() {return fOB;}  
+  TVector2& GetCenterOfModuleFace(Int_t ieta) {
+    if(ieta<=0) return fOB2;
+    else        return fOB1;
+  }  
   // 
   Double_t GetTanBetta() const {return fgtanBetta;}
   Double_t Getb()        const {return fgb;}
@@ -70,15 +75,19 @@ class AliEMCALShishKebabTrd1Module : public TNamed {
   static Double_t fgtanBetta; // tan(fgangle/2.)
   static Double_t fgr;        // radius to IP
 
-  TVector2 fOK;     // position the module center x->y; z->x;
+  TVector2 fOK;     // position the module center in ALICE system; x->y; z->x;
   Double_t fA;      // parameters of right line : y = A*z + B
   Double_t fB;      // system where zero point is IP.
   Double_t fThetaA; // angle coresponding fA - for convinience
   Double_t fTheta;  // theta angle of perependicular to SK module
   // position of towers(cells) with differents ieta (1 or 2) in local coordinate of SM
   // Nov 04,2004; Feb 19,2006 
-  TVector2 fOK1; // ieta=2
-  TVector2 fOK2; // ieta=1
+  TVector2 fOK1; // ieta=1
+  TVector2 fOK2; // ieta=0
+  // May 13, 2006; local position of module (cells) face  
+  TVector2 fOB;  // module
+  TVector2 fOB1; // ieta=1
+  TVector2 fOB2; // ieta=0
 
   // public:
   ClassDef(AliEMCALShishKebabTrd1Module,0) // TRD1 Shish-Kebab module