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