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 AliEvePMDModule_H
11 #define AliEvePMDModule_H
13 #include <TEveQuadSet.h>
18 class AliEvePMDModule : public TEveQuadSet
22 virtual ~AliEvePMDModule();
24 static Int_t GetPRETotPads() { return fgPreTotPads; }
25 static Int_t GetCPVTotPads() { return fgCpvTotPads; }
26 static Int_t GetPRETotAdc() { return fgPreTotAdc; }
27 static Int_t GetCPVTotAdc() { return fgCpvTotAdc; }
29 Int_t GetNPads() const { return fNPads; }
30 Int_t GetAdc() const { return fAdc; }
31 TH1F *GetHisto() const { return fH1; }
33 void DisplayInit(Int_t ism);
34 void DisplayDigitsData(Int_t ism, TTree *pmdt);
35 void DisplayRawData(Int_t ism, TObjArray *ddlcont);
36 void SetPosition(Float_t x, Float_t y, Float_t z);
39 TH1F* fH1; // histogram
40 Float_t fX, fY, fZ; // coordinates
41 Int_t fNPads; // number of pads
42 Int_t fAdc; // ad count
44 static const Float_t fgkRad; // fooconst
45 static const Float_t fgkSqRoot3; // fooconst
46 static const Float_t fgkZpos; // position of PMD
48 static Int_t fgPreTotPads; // total pre pads
49 static Int_t fgCpvTotPads; // total cpv pads
50 static Int_t fgPreTotAdc; // total pre signal
51 static Int_t fgCpvTotAdc; // total cpv signal
54 void RectGeomCellPos(Int_t ism, Int_t irow, Int_t icol,
55 Float_t &xpos, Float_t &ypos);
56 void GenerateBox(Int_t ism, Float_t &xism, Float_t &yism,
57 Float_t &dxism, Float_t &dyism);
59 AliEvePMDModule(const AliEvePMDModule&); // Not implemented
60 AliEvePMDModule& operator=(const AliEvePMDModule&); // Not implemented
62 ClassDef(AliEvePMDModule, 0);
63 }; // endclass AliEvePMDModule