]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ZDC/AliZDC.h
Preliminary version of optics 6.2 - Insertion of TDI
[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////////////////////////////////////////////////
11
12#include "AliDetector.h"
fe4da5cc 13
14
15class AliZDC : public AliDetector {
16
17public:
18 AliZDC();
19 AliZDC(const char *name, const char *title);
f901045b 20 virtual ~AliZDC();
68ca986e 21 virtual void AddHit(Int_t track, Int_t *vol, Float_t *hits);
fe4da5cc 22 virtual void BuildGeometry();
23 virtual void CreateGeometry() {}
24 virtual void CreateMaterials() {}
f901045b 25 Int_t DistancetoPrimitive(Int_t px, Int_t py);
fe4da5cc 26 virtual Int_t IsVersion() const =0;
f901045b 27 virtual void ResetDigits();
09630792 28 virtual void StepManager();
3d0b2c4f 29
30 // Switching off the shower development in ZDCs
09630792 31 void NoShower(){fNoShower=1;}
32 void Shower() {fNoShower=0;}
3d0b2c4f 33
68ca986e 34protected:
f901045b 35 // TClonesArray of stored hits -> not reset et finish event
2e6fc82a 36 // (for digitization at the end of the event)
f901045b 37 TClonesArray *fStHits;
38 Int_t fNStHits;
39
09630792 40 Int_t fNPrimaryHits; // Number of primary particles
68ca986e 41
09630792 42 Int_t fNoShower; // Flag to switch off the shower
3d0b2c4f 43
09630792 44 ClassDef(AliZDC,1) // Zero Degree Calorimeter base class
fe4da5cc 45};
fe4da5cc 46
47#endif