]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALGeometryOfflineTrd1.h
Adding function AddAlignableVolumes(), now required by framework,
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALGeometryOfflineTrd1.h
index f6df999345276515b7d21318dd5c170170b78e41..df42d8357d9cde43e118d00601b73bebb22ee6d6 100644 (file)
@@ -25,16 +25,31 @@ 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(int nSupMod, int nTower, int nIphi, int nIeta); 
 
+ public:
+  // One Super Module
+  void PositionInSuperModule(int iphi, int ieta, double &lphi, double &leta);
+  void PositionInSuperModule(int nSupMod, int nTower, 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();
   void Init();
@@ -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(int iphi, int ieta, double &lphi, double &leta);
-  void PositionInSuperModule(int nSupMod, int nTower, 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;
 
   ClassDef(AliEMCALGeometryOfflineTrd1, 0) // EMCAL geometry for offline 
 };