2 // Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
4 /**************************************************************************
5 * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
6 * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for *
7 * full copyright notice. *
8 **************************************************************************/
10 #ifndef ALIEVE_PMDModule_H
11 #define ALIEVE_PMDModule_H
14 #include <TEveQuadSet.h>
17 #include <TObjArray.h>
22 class AliEvePMDModule : public TEveQuadSet
25 AliEvePMDModule(const AliEvePMDModule&); // Not implemented
26 AliEvePMDModule& operator=(const AliEvePMDModule&); // Not implemented
28 void RectGeomCellPos(Int_t ism, Int_t irow, Int_t icol,
29 Float_t &xpos, Float_t &ypos);
30 void GenerateBox(Int_t ism, Float_t &xism, Float_t &yism,
31 Float_t &dxism, Float_t &dyism);
39 static const Float_t fgkRad;
40 static const Float_t fgkSqRoot3;
41 static const Float_t fgkZpos;
43 static Int_t fPreTotPads;
44 static Int_t fCpvTotPads;
45 static Int_t fPreTotAdc;
46 static Int_t fCpvTotAdc;
51 virtual ~AliEvePMDModule() { delete fH1; }
53 Int_t GetPRETotPads() const { return fPreTotPads; }
54 Int_t GetCPVTotPads() const { return fCpvTotPads; }
55 Int_t GetNPads() const { return fNPads; }
56 Int_t GetPRETotAdc() const { return fPreTotAdc; }
57 Int_t GetCPVTotAdc() const { return fCpvTotAdc; }
58 Int_t GetAdc() const { return fAdc; }
59 TH1F *GetHisto() const { return fH1;}
61 void DisplayInit(Int_t ism);
62 void DisplayDigitsData(Int_t ism, TTree *pmdt);
63 void DisplayRawData(Int_t ism, TObjArray *ddlcont);
64 void SetPosition(Float_t x, Float_t y, Float_t z);
66 ClassDef(AliEvePMDModule, 1);
67 }; // endclass AliEvePMDModule