]> git.uio.no Git - u/mrichter/AliRoot.git/blob - VZERO/AliVZEROv7.h
Updated trigger configuration OCDB entry. To be used in MC productions (Raphael)
[u/mrichter/AliRoot.git] / VZERO / AliVZEROv7.h
1 #ifndef AliVZEROv7_H
2 #define AliVZEROv7_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 //                                                 //
9 //  Manager and hits classes for set :   VZERO     //
10 //                                     version 7   //
11 //                                     April 2006  //
12 //                           revised in July 2008  // 
13 //                                                 //
14 /////////////////////////////////////////////////////
15
16 #include "TLorentzVector.h" 
17 #include "AliVZERO.h"
18
19 class AliVZEROv7 : public AliVZERO {
20   
21 public:
22   AliVZEROv7();
23   AliVZEROv7(const char *name, const char *title);
24   virtual       ~AliVZEROv7() {};
25   virtual void   AddHit(Int_t track, Int_t *vol, Float_t *hits); 
26   virtual void   AddDigits(Int_t *tracks, Int_t *digits);
27   virtual void   CreateGeometry();
28   virtual void   AddAlignableVolumes() const;
29   virtual void   CreateMaterials();
30   virtual void   DrawModule() const;
31   virtual void   DrawGeometry();
32   virtual void   Init();
33   virtual void   MakeBranch(Option_t *option);
34   virtual Int_t  IsVersion() const {return fVersion;};
35   virtual void   StepManager();
36   Int_t          GetCellId(Int_t *vol, Float_t *hits);
37   
38 protected:
39   Int_t          fCellId;        // Scintillator cell number from 0 to 95 
40   TLorentzVector fTrackPosition; // Position of particle entering cell
41   TLorentzVector fTrackMomentum; // Momentum of particle entering cell
42   
43 private: 
44
45 // V0C part in front of muon arm absorber 
46 // V0C Parameters related to geometry: 
47   Double_t  fV0CHeight1, fV0CHeight2, fV0CHeight3, fV0CHeight4; // Heights of V0C elements
48   Double_t  fV0CRMin, fV0CRBox;  // Min and max radii of V0C box
49   Double_t  fV0CLidThickness;    // Thickness of V0C box lid
50   Double_t  fV0CCellThickness;   // Thickness of V0C cell
51   Double_t  fV0CBoxThickness;    // Thickness of V0C box
52   Double_t  fV0COffsetFibers;    // Z offsets to output fibers
53
54 // V0C Parameters related to light production:
55   Float_t fV0CLightYield;        // Lightyield in BC408   (93.75 eV per photon)
56   Float_t fV0CLightAttenuation;  // LightAttenuation in fibers (0.05 per meter)
57   Float_t fV0CnMeters;           // Number of meters of fibers to PM
58   Float_t fV0CFibToPhot;         // Loss in Fibers - Photocathode Connection 
59
60 // V0A Parameters related to geometry:
61   Double_t fV0AR0, fV0AR1, fV0AR2, fV0AR3, fV0AR4, fV0AR5, fV0AR6, fV0AR7;   // Radius of V0A
62   Double_t fV0ASciWd, fV0APlaWd, fV0APlaAl, fV0AOctWd, fV0AFraWd;       // Thickness of elements
63   Double_t fV0AOctH1, fV0AOctH2, fV0ABasHt;                             // Height of elements
64   Double_t fV0AFibRd;                                                   // Radius of Fiber
65   Double_t fV0APlaEx;                                                   // Extension of plates to basis
66   Double_t fV0APMBWd, fV0APMBHt, fV0APMBTh, fV0APMBWdW, fV0APMBHtW;     // Parameters for Photo-Multiplier
67   Double_t fV0APMBAng, fV0APMBThW, fV0APMTR1, fV0APMTR2, fV0APMTR3;     // Parameters for Photo-Multiplier
68   Double_t fV0APMTR4, fV0APMTH, fV0APMTB;                               // Parameters for Photo-Multiplier
69   Double_t fV0AFEEBWd, fV0AFEEBHt, fV0AFEEBTh;                          // Parameters for Front End Electronics
70   Float_t fV0AnMeters;                                                  // Must be calculated depending on each ring
71   
72 // V0A Parameters related to light production:
73   Double_t fV0ALightYield;       // Lightyield in BC404
74   Double_t fV0ALightAttenuation; // LightAttenuation in fibers
75   Double_t fV0AFibToPhot;        // Loss in Fibers - Photocathode Connection
76
77   Int_t   fVersion;              // Version number == IsVersion
78
79
80   ClassDef(AliVZEROv7,1)  // Class for VZERO version 7
81 };
82
83 #endif