]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALGeometryOfflineTrd1.h
Changes for removal of AliMpManuList (Laurent)
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALGeometryOfflineTrd1.h
index ca8a3e2fffe19180946609863cdc8e4388d5b48b..42419335feab6589367c1b3d87514640e6800919 100644 (file)
@@ -25,15 +25,30 @@ class AliEMCALShishKebabTrd1Module;
 
 class AliEMCALGeometryOfflineTrd1 : public TNamed {
  public:
-  AliEMCALGeometryOfflineTrd1(const AliEMCALGeometryOfflineTrd1& geom):TNamed(geom.GetName(),geom.GetTitle()) {
-    // cpy ctor requested by Coding Convention but not yet needed
-    Fatal("Cpy ctor", "Not implemented");
-  }
+  AliEMCALGeometryOfflineTrd1(const AliEMCALGeometryOfflineTrd1& geom);
+
+  //assignment operator for coding convention
+  const AliEMCALGeometryOfflineTrd1 & operator = (const AliEMCALGeometryOfflineTrd1 &) {return *this;}
 
   virtual ~AliEMCALGeometryOfflineTrd1() { /* nothing */ };
   static   AliEMCALGeometryOfflineTrd1* GetInstance();
   // positon in SuperModule
-  TVector3&  PosInSuperModule(const int nSupMod, const int nTower, const int nIphi, const int nIeta); 
+  TVector3&  PosInSuperModule(int nSupMod, int nModule, int nIphi, int nIeta); 
+
+ public:
+  // One Super Module
+  void PositionInSuperModule(int iphi, int ieta, double &lphi, double &leta);
+  void PositionInSuperModule(int nSupMod, int nModule, int nIphi, int nIeta, double &lphi, double &leta);
+  // Position towers(cells)
+  TVector3* CellPosition(int absId); // from 0 to fGeometry->GetNCells()
+  // Global System
+  TRotation* Rotation(Int_t module); // module change from 1 to 12;
+
+  // service methods
+  void    PrintSuperModule();       // *MENU*
+  void    PrintCell(Int_t absId=1); // *MENU*
+  virtual void Browse(TBrowser* b);
+  virtual Bool_t  IsFolder() const;
 
  private:
   AliEMCALGeometryOfflineTrd1();
@@ -57,20 +72,6 @@ class AliEMCALGeometryOfflineTrd1 : public TNamed {
   TRotation fSuperModuleRotation[12];                    //! 
   // position of cells in global coordinate system
   TObjArray *fXYZofCells;                                //! 
- public:
-  // One Super Module
-  void PositionInSuperModule(const int iphi, const int ieta, double &lphi, double &leta);
-  void PositionInSuperModule(const int nSupMod, const int nTower, const int nIphi, const int nIeta, double &lphi, double &leta);
-  // Position towers(cells)
-  TVector3* CellPosition(int absId); // from 0 to fGeometry->GetNCells()
-  // Global System
-  TRotation* Rotation(Int_t module); // module change from 1 to 12;
-
-  // service methods
-  void    PrintSuperModule();       // *MENU*
-  void    PrintCell(Int_t absId=1); // *MENU*
-  virtual void Browse(TBrowser* b);
-  virtual Bool_t  IsFolder() const;
 
   ClassDef(AliEMCALGeometryOfflineTrd1, 0) // EMCAL geometry for offline 
 };