]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALIZDC_H | |
2 | #define ALIZDC_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
8 | //////////////////////////////////////////////// | |
9 | // Manager and classes for set ZDC // | |
10 | //////////////////////////////////////////////// | |
11 | ||
12 | #include "AliDetector.h" | |
13 | ||
14 | class AliZDC : public AliDetector { | |
15 | ||
16 | public: | |
17 | AliZDC(); | |
18 | AliZDC(const char *name, const char *title); | |
19 | virtual ~AliZDC(); | |
20 | virtual void AddHit(Int_t track, Int_t *vol, Float_t *hits); | |
21 | virtual void BuildGeometry(); | |
22 | virtual void CreateGeometry() {} | |
23 | virtual void CreateMaterials() {} | |
24 | Int_t DistancetoPrimitive(Int_t px, Int_t py); | |
25 | virtual Int_t IsVersion() const =0; | |
26 | virtual Float_t ZMin() const; // Minimum overall dimension of the ZDC | |
27 | virtual Float_t ZMax() const; // Maximum overall dimension of the ZDC | |
28 | virtual void SetTreeAddress(); | |
29 | virtual void MakeBranch(Option_t* opt, const char *file=0); | |
30 | virtual void Hits2SDigits(); | |
31 | virtual AliDigitizer* CreateDigitizer(AliRunDigitizer* manager) const; | |
32 | virtual void Digits2Raw(); | |
33 | virtual void StepManager() {} | |
34 | ||
35 | // Switching off the shower development in ZDCs | |
36 | void NoShower(){fNoShower=1;} | |
37 | void Shower() {fNoShower=0;} | |
38 | ||
39 | protected: | |
40 | ||
41 | Int_t fNoShower; // Flag to switch off the shower | |
42 | ||
43 | ClassDef(AliZDC,4) // Zero Degree Calorimeter base class | |
44 | }; | |
45 | ||
46 | #endif |