Line data Source code
1 : #ifndef ALIADV1_H
2 : #define ALIADV1_H
3 : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 : * See cxx source for full Copyright notice */
5 :
6 :
7 : //////////////////////////////////////////////////
8 : // Manager and hits classes for set : AD //
9 : //////////////////////////////////////////////////
10 :
11 : ///////////////////////////////////////////////////////////////////////////
12 : // //
13 : // AD (ALICE Diffractive) Detector //
14 : // //
15 : // This class contains the base procedures for the AD detector //
16 : // New geometry of 2014 //
17 : // All comments should be sent to : //
18 : // //
19 : // //
20 : ///////////////////////////////////////////////////////////////////////////
21 :
22 : #include "AliAD.h"
23 : #include "TGeoCompositeShape.h"
24 : class AliADv1 : public AliAD {
25 : public:
26 :
27 : AliADv1();
28 : AliADv1(const char *name, const char *title);
29 : virtual void AddAlignableVolumes() const;
30 : virtual ~AliADv1();
31 :
32 :
33 0 : virtual TString Version() { return TString("v1"); }
34 0 : 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();
39 : virtual void Init();
40 : virtual void StepManager();
41 0 : virtual void DisableTunnelStruct() { fADCstruct = kFALSE; }
42 0 : virtual void KeepHistory() { fKeepHistory = kTRUE; }
43 :
44 : enum ADCPosition_t { kADCInTunnel, kADCInCavern, kADCInBoth};
45 :
46 : protected:
47 :
48 : // functions for ADA and ADC
49 : void ReadADCFromEnv(void);
50 : TGeoCompositeShape * MakeShapeADCpadH(const Double_t W, const Double_t H, const Double_t dz);
51 : virtual void CreateAD();
52 : private:
53 : // Position of ADC: In the Tunnel, In the Cavern, or in Both
54 : Bool_t fADCstruct;
55 : ADCPosition_t fADCPosition;
56 : //! ADC Geometrical & Optical parameters :
57 :
58 : Double_t fADCLightYield; //! Lightyield in NE102
59 : Double_t fADCPhotoCathodeEfficiency;
60 :
61 : //! ADA Geometrical & Optical parameters :
62 :
63 : Double_t fADALightYield; //! Lightyield in NE102
64 : Double_t fADAPhotoCathodeEfficiency;
65 :
66 : Bool_t fKeepHistory;
67 :
68 :
69 : AliADv1(const AliAD&);
70 : AliADv1& operator = (const AliADv1&);
71 :
72 12 : ClassDef(AliADv1, 1) //!Class for the AD detector
73 :
74 : };
75 :
76 :
77 : #endif
|