Some service mother volumes modified
[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;
fe4da5cc 27 virtual void StepManager();
f901045b 28 virtual void ResetDigits();
3d0b2c4f 29
30 // Switching off the shower development in ZDCs
31 virtual void NoShower(){fNoShower=1;}
32 virtual void Shower() {fNoShower=0;}
33
68ca986e 34protected:
f901045b 35
866ab5a2 36 // Parameters for hadronic calorimeters geometry
68ca986e 37 Float_t fDimZN[3]; // Dimensions of neutron detector
38 Float_t fDimZP[3]; // Dimensions of proton detector
39 Float_t fPosZN[3]; // Position of neutron detector
40 Float_t fPosZP[3]; // Position of proton detector
41 Float_t fFibZN[3]; // Fibers for neutron detector
42 Float_t fFibZP[3]; // Fibers for proton detector
43 Float_t fGrvZN[3]; // Grooves for neutron detector
44 Float_t fGrvZP[3]; // Grooves for proton detector
45 Int_t fDivZN[3]; // Division for neutron detector
46 Int_t fDivZP[3]; // Division for proton detector
47 Int_t fTowZN[2]; // Tower for neutron detector
48 Int_t fTowZP[2]; // Tower for proton detector
f901045b 49
866ab5a2 50 // Parameters for EM calorimeter geometry
51 Float_t fDimZEMPb; // z-dimension of the Pb slice
52 Float_t fDimZEMAir; // scotch
53 Float_t fFibRadZEM; // External fiber radius (including cladding)
54 Float_t fFibZEM[3]; // Fibers for EM calorimeter
55 Float_t fDimZEM[6]; // Dimensions of EM detector
56 Float_t fPosZEM[3]; // Position of EM detector
57 Int_t fDivZEM[3]; // Divisions for EM detector
58
f901045b 59 // TClonesArray of stored hits -> not reset et finish event
60 // (for digitization at the end of the event)
61 TClonesArray *fStHits;
62 Int_t fNStHits;
63
64 Int_t fNPrimaryHits;
68ca986e 65
3d0b2c4f 66 //Flag to switch off the shower
67 Int_t fNoShower;
68
fe4da5cc 69 ClassDef(AliZDC,1) // Zero Degree Calorimeter base class
70};
fe4da5cc 71
72#endif