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 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();
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 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 chabge 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
};