Updated ZDC geometry
[u/mrichter/AliRoot.git] / ZDC / AliZDC.h
CommitLineData
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
fe4da5cc 12#include "AliDetector.h"
fe4da5cc 13
14class AliZDC : public AliDetector {
15
16public:
17 AliZDC();
18 AliZDC(const char *name, const char *title);
f901045b 19 virtual ~AliZDC();
68ca986e 20 virtual void AddHit(Int_t track, Int_t *vol, Float_t *hits);
fe4da5cc 21 virtual void BuildGeometry();
22 virtual void CreateGeometry() {}
23 virtual void CreateMaterials() {}
f901045b 24 Int_t DistancetoPrimitive(Int_t px, Int_t py);
fe4da5cc 25 virtual Int_t IsVersion() const =0;
cefa66cb 26 virtual Float_t ZMin() const; // Minimum overall dimension of the ZDC
27 virtual Float_t ZMax() const; // Maximum overall dimension of the ZDC
b81c9821 28 virtual void SetTreeAddress();
359cdddc 29 virtual void MakeBranch(Option_t* opt, const char *file=0);
30 virtual void Hits2SDigits();
6de91202 31 virtual AliDigitizer* CreateDigitizer(AliRunDigitizer* manager) const;
32 virtual void Digits2Raw();
359cdddc 33 virtual void StepManager() {}
1acbaaa8 34
3d0b2c4f 35 // Switching off the shower development in ZDCs
09630792 36 void NoShower(){fNoShower=1;}
37 void Shower() {fNoShower=0;}
359cdddc 38
68ca986e 39protected:
359cdddc 40
41 Int_t fNoShower; // Flag to switch off the shower
1acbaaa8 42
6de91202 43 ClassDef(AliZDC,4) // Zero Degree Calorimeter base class
fe4da5cc 44};
fe4da5cc 45
46#endif