]>
Commit | Line | Data |
---|---|---|
a9e2aefa | 1 | #ifndef ALIMUONV1_H |
2 | #define ALIMUONV1_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
88cb7938 | 7 | /* $Id$ */ |
a9e2aefa | 8 | |
9 | ///////////////////////////////////////////////////////// | |
10 | // Manager and hits classes for set:MUON version 0 // | |
11 | ///////////////////////////////////////////////////////// | |
12 | ||
1391e633 | 13 | #include "TLorentzVector.h" |
14 | ||
a9e2aefa | 15 | #include "AliMUON.h" |
1391e633 | 16 | |
17 | class TF1; | |
a9e2aefa | 18 | |
19 | class AliMUONv1 : public AliMUON { | |
20 | public: | |
21 | AliMUONv1(); | |
22 | AliMUONv1(const char *name, const char *title); | |
23 | virtual ~AliMUONv1() {} | |
24 | virtual void CreateGeometry(); | |
25 | virtual void CreateMaterials(); | |
26 | virtual void Init(); | |
27 | virtual Int_t IsVersion() const {return 1;} | |
28 | virtual void StepManager(); | |
c33d9661 | 29 | void StepManagerOld(); |
30 | void SetStepManagerVersionOld(Bool_t Opt) | |
31 | { fStepManagerVersionOld = Opt; } | |
32 | void SetStepMaxInActiveGas(Float_t StepMax) | |
33 | {fStepMaxInActiveGas = StepMax; } | |
ba030c0e | 34 | protected: |
1391e633 | 35 | Int_t* fStations; //! allow to externally set which station to create |
c33d9661 | 36 | Bool_t fStepManagerVersionOld; // Version of StepManager, Default is false |
1391e633 | 37 | Float_t fStepMaxInActiveGas; // Step max in active gas default 0.6cm |
5f91c9e8 | 38 | virtual Int_t GetChamberId(Int_t volId) const; |
abaf7c9d | 39 | |
1391e633 | 40 | // StepManager |
41 | Float_t * fStepSum; //! | |
42 | Float_t * fDestepSum; //! | |
43 | // Momentum of the particle entering in the active gas of chamber | |
44 | TLorentzVector fTrackMomentum; | |
45 | // Position of the particle exiting the active gas of chamber | |
46 | TLorentzVector fTrackPosition; | |
47 | // Ratio of particle mean eloss with respect MIP's | |
48 | TF1 * fElossRatio; | |
49 | // Angle effect in tracking chambers at theta =10 degres as a function of ElossRatio (Khalil BOUDJEMLINE sep 2003 Ph.D Thesis) (in micrometers) | |
50 | TF1 * fAngleEffect10; | |
51 | // Angle effect: Normalisation form theta=10 degres to theta between 0 and 10 (Khalil BOUDJEMLINE sep 2003 Ph.D Thesis) | |
52 | TF1 * fAngleEffectNorma; | |
a9e2aefa | 53 | private: |
a1001283 | 54 | ClassDef(AliMUONv1,1) // MUON Detector class Version 1 |
abaf7c9d | 55 | |
56 | ||
a9e2aefa | 57 | }; |
58 | #endif | |
59 | ||
60 | ||
61 | ||
62 | ||
63 | ||
64 | ||
65 |