3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
7 //////////////////////////////////////////////////
8 // Manager and hits classes for set : AD //
9 //////////////////////////////////////////////////
11 ///////////////////////////////////////////////////////////////////////////
13 // AD (ALICE Diffractive) Detector //
15 // This class contains the base procedures for the AD detector //
16 // New geometry of 2014 //
17 // All comments should be sent to : //
20 ///////////////////////////////////////////////////////////////////////////
23 #include "TGeoCompositeShape.h"
24 class AliADv1 : public AliAD {
28 AliADv1(const char *name, const char *title);
29 virtual void AddAlignableVolumes() const;
33 virtual TString Version() { return TString("v1"); }
34 virtual Int_t IsVersion() const { return 1; }
35 virtual void AddHit(Int_t track, Int_t *vol, Float_t *hits);
36 // virtual void AddDigits(Int_t* track, Int_t module, Float_t time);
37 virtual void MakeBranch(Option_t *option);
38 virtual void CreateGeometry();
40 virtual void StepManager();
41 virtual void DisableTunnelStruct() { fADCstruct = kFALSE; }
43 enum ADCPosition_t { kADCInTunnel, kADCInCavern, kADCInBoth};
47 // functions for ADA and ADC
48 void ReadADCFromEnv(void);
49 TGeoCompositeShape * MakeShapeADCpadH(const Double_t W, const Double_t H, const Double_t dz);
50 virtual void CreateAD();
52 // Position of ADC: In the Tunnel, In the Cavern, or in Both
54 ADCPosition_t fADCPosition;
55 //! ADC Geometrical & Optical parameters :
57 Double_t fADCLightYield; //! Lightyield in NE102
58 Double_t fADCPhotoCathodeEfficiency;
60 //! ADA Geometrical & Optical parameters :
62 Double_t fADALightYield; //! Lightyield in NE102
63 Double_t fADAPhotoCathodeEfficiency;
66 AliADv1(const AliAD&);
67 AliADv1& operator = (const AliADv1&);
69 ClassDef(AliADv1, 1) //!Class for the AD detector