]>
Commit | Line | Data |
---|---|---|
68ca986e | 1 | #ifndef ALIZDC_H |
2 | #define ALIZDC_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 | //////////////////////////////////////////////// |
f901045b | 9 | // Manager and classes for set ZDC // |
fe4da5cc | 10 | //////////////////////////////////////////////// |
359cdddc | 11 | |
12 | class AliZDCMerger; | |
fe4da5cc | 13 | |
14 | #include "AliDetector.h" | |
fe4da5cc | 15 | |
16 | class AliZDC : public AliDetector { | |
17 | ||
18 | public: | |
19 | AliZDC(); | |
20 | AliZDC(const char *name, const char *title); | |
f901045b | 21 | virtual ~AliZDC(); |
68ca986e | 22 | virtual void AddHit(Int_t track, Int_t *vol, Float_t *hits); |
359cdddc | 23 | virtual void AddDigit(Int_t *sector, Int_t digit); |
fe4da5cc | 24 | virtual void BuildGeometry(); |
25 | virtual void CreateGeometry() {} | |
26 | virtual void CreateMaterials() {} | |
f901045b | 27 | Int_t DistancetoPrimitive(Int_t px, Int_t py); |
fe4da5cc | 28 | virtual Int_t IsVersion() const =0; |
cefa66cb | 29 | virtual Float_t ZMin() const; // Minimum overall dimension of the ZDC |
30 | virtual Float_t ZMax() const; // Maximum overall dimension of the ZDC | |
359cdddc | 31 | virtual void MakeBranch(Option_t* opt, const char *file=0); |
32 | virtual void Hits2SDigits(); | |
33 | virtual void SDigits2Digits(); | |
34 | virtual void Hits2Digits(); | |
35 | virtual void Digits2Reco(); | |
36 | virtual void SetMerger(AliZDCMerger* merger); | |
37 | virtual AliZDCMerger* Merger(); | |
38 | virtual void StepManager() {} | |
3d0b2c4f | 39 | |
40 | // Switching off the shower development in ZDCs | |
09630792 | 41 | void NoShower(){fNoShower=1;} |
42 | void Shower() {fNoShower=0;} | |
359cdddc | 43 | |
68ca986e | 44 | protected: |
359cdddc | 45 | |
46 | Int_t fNoShower; // Flag to switch off the shower | |
47 | AliZDCMerger *fMerger; // ! pointer to merger | |
f901045b | 48 | |
359cdddc | 49 | Int_t fNRecPoints; // Number of RecPoints |
50 | TClonesArray *fRecPoints; // List of RecPoints | |
51 | ||
52 | // // --- TClonesArray of stored hits -> not reset et finish event | |
53 | // // (for digitization at the end of the event) | |
54 | // | |
55 | // TClonesArray *fStHits; | |
56 | // Int_t fNStHits; | |
cefa66cb | 57 | // Int_t fNPrimaryHits; // Number of primary particles |
68ca986e | 58 | |
3d0b2c4f | 59 | |
09630792 | 60 | ClassDef(AliZDC,1) // Zero Degree Calorimeter base class |
fe4da5cc | 61 | }; |
fe4da5cc | 62 | |
63 | #endif |