]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ZDC/AliZDC.h
Changes in AddHit method
[u/mrichter/AliRoot.git] / ZDC / AliZDC.h
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  
15 class AliZDC : public AliDetector {
16
17 public:
18   AliZDC();
19   AliZDC(const char *name, const char *title);
20   virtual       ~AliZDC();
21   virtual void  AddHit(Int_t track, Int_t *vol, Float_t *hits);
22   virtual void  BuildGeometry();
23   virtual void  CreateGeometry() {}
24   virtual void  CreateMaterials() {}
25   Int_t         DistancetoPrimitive(Int_t px, Int_t py);
26   virtual Int_t IsVersion() const =0;
27   virtual Float_t ZMin() const; // Minimum overall dimension of the ZDC
28   virtual Float_t ZMax() const; // Maximum overall dimension of the ZDC
29   virtual void  ResetDigits();
30   virtual void  StepManager();
31   
32   // Switching off the shower development in ZDCs
33   void  NoShower(){fNoShower=1;}
34   void  Shower()  {fNoShower=0;}
35   
36 protected:
37   // TClonesArray of stored hits -> not reset et finish event
38   //     (for digitization at the end of the event)
39 //  TClonesArray *fStHits;
40 //  Int_t fNStHits;
41   
42 //  Int_t   fNPrimaryHits;      // Number of primary particles
43
44   Int_t   fNoShower;            // Flag to switch off the shower        
45
46   ClassDef(AliZDC,1)    // Zero Degree Calorimeter base class
47 };
48  
49 #endif