]>
Commit | Line | Data |
---|---|---|
895a906e | 1 | #ifndef ALIPMD_H |
2 | #define ALIPMD_H | |
3da30618 | 3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
fe4da5cc | 8 | //////////////////////////////////////////////// |
9 | // Manager and hits classes for set:PMD // | |
10 | //////////////////////////////////////////////// | |
11 | ||
12 | #include "AliDetector.h" | |
fe4da5cc | 13 | |
30fdb6d0 | 14 | class AliLoader; |
4fa198c6 | 15 | class TClonesArray; |
2ab0c725 | 16 | class TFile; |
4fa198c6 | 17 | class AliPMDRecPoint; |
895a906e | 18 | class AliPMDLoader; |
19 | class AliPMDhit; | |
fe4da5cc | 20 | |
21 | class AliPMD : public AliDetector { | |
895a906e | 22 | |
fe4da5cc | 23 | public: |
24 | AliPMD(); | |
25 | AliPMD(const char *name, const char *title); | |
1661e612 | 26 | |
27 | virtual AliLoader* MakeLoader(const char* topfoldername); | |
28 | ||
4fa198c6 | 29 | virtual ~AliPMD(); |
895a906e | 30 | virtual void AddHit(Int_t track, Int_t* vol, Float_t* hits); |
fe4da5cc | 31 | virtual void CreateGeometry() {} |
32 | virtual void CreateMaterials() {} | |
7235aed2 | 33 | virtual void Init() {} |
fe4da5cc | 34 | virtual Int_t IsVersion() const =0; |
895a906e | 35 | virtual void SetPAR(Float_t p1, Float_t p2, Float_t p3, Float_t p4); |
36 | virtual void SetIN(Float_t p1, Float_t p2, Float_t p3, Float_t p4, Float_t p5); | |
37 | virtual void SetGEO(Float_t p1, Float_t p2, Float_t p3); | |
38 | virtual void SetPadSize(Float_t p1, Float_t p2, Float_t p3, Float_t p4); | |
fe4da5cc | 39 | virtual void StepManager(); |
88cb7938 | 40 | virtual void MakeBranch(Option_t* option); |
4fa198c6 | 41 | virtual void SetTreeAddress(); |
24c5571f | 42 | |
43 | virtual void SetCpvOff(); | |
44 | virtual void SetPreOff(); | |
45 | virtual void SetModuleOff(Int_t /*imodule*/); | |
4fa198c6 | 46 | |
85a5290f | 47 | virtual void Hits2SDigits(); |
53043784 | 48 | virtual void SDigits2Digits(); |
49 | virtual void Hits2Digits(); | |
85a5290f | 50 | |
c0e813d0 | 51 | virtual AliDigitizer* CreateDigitizer(AliRunDigitizer* manager) const; |
fe743527 | 52 | |
c39d2a93 | 53 | virtual void Digits2Raw(); |
68a330f6 | 54 | virtual Bool_t Raw2SDigits(AliRawReader *rawReader); |
fe4da5cc | 55 | |
895a906e | 56 | protected: |
57 | Float_t fPar[4]; // pmdin, pmdout, thgas, thcell | |
58 | Float_t fIn[5]; // thmin, thmax, zdist, thlow, thhigh | |
59 | Float_t fGeo[3]; // wafer, edge, numqu | |
60 | Float_t fPadSize[4]; // size of the pads | |
61 | Int_t fNumPads[4]; // number of the pads | |
fe4da5cc | 62 | |
24c5571f | 63 | ClassDef(AliPMD,9) // Base Class for Photon Multiplicity Detector |
fe4da5cc | 64 | }; |
fe4da5cc | 65 | #endif |