3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 ////////////////////////////////////////////////
9 // Manager and classes for set ZDC //
10 ////////////////////////////////////////////////
12 #include "AliDetector.h"
15 class AliZDC : public AliDetector {
19 AliZDC(const char *name, const char *title);
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 void ResetDigits();
28 virtual void StepManager();
30 // Switching off the shower development in ZDCs
31 void NoShower(){fNoShower=1;}
32 void Shower() {fNoShower=0;}
36 // TClonesArray of stored hits -> not reset et finish event
37 // (for digitization at the end of the event)
38 TClonesArray *fStHits;
41 Int_t fNPrimaryHits; // Number of primary particles
43 Int_t fNoShower; // Flag to switch off the shower
45 ClassDef(AliZDC,1) // Zero Degree Calorimeter base class