]>
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$ */ | |
30178c30 | 7 | // Revision of includes 07/05/2004 |
a9e2aefa | 8 | |
474f669f | 9 | /// \ingroup sim |
692de412 | 10 | /// \class AliMUONv1 |
585d648a | 11 | /// \brief AliDetector class for MUON subsystem which implements |
12 | /// functions for simulation | |
a9e2aefa | 13 | |
14 | #include "AliMUON.h" | |
1391e633 | 15 | |
7ecf374b | 16 | #include <TLorentzVector.h> |
17 | ||
1391e633 | 18 | class TF1; |
d7d39669 | 19 | class TF2; |
acc838fd | 20 | class TGeoCombiTrans; |
acc838fd | 21 | class TString; |
22 | class TGeoHMatrix; | |
a9e2aefa | 23 | |
30178c30 | 24 | class AliMUONv1 : public AliMUON |
25 | { | |
26 | public: | |
a9e2aefa | 27 | AliMUONv1(); |
9bf406e1 | 28 | AliMUONv1(const char *name, const char* title = "default"); |
acc838fd | 29 | virtual ~AliMUONv1(); |
a9e2aefa | 30 | virtual void CreateGeometry(); |
31 | virtual void CreateMaterials(); | |
450ca6fb | 32 | virtual void UpdateInternalGeometry(); |
c28b5041 | 33 | virtual void AddAlignableVolumes() const; |
a9e2aefa | 34 | virtual void Init(); |
5398f946 | 35 | |
36 | /// Return the version number of this detector | |
a9e2aefa | 37 | virtual Int_t IsVersion() const {return 1;} |
5398f946 | 38 | |
a9e2aefa | 39 | virtual void StepManager(); |
002920d1 | 40 | |
5398f946 | 41 | /// Set option to take into account angle effect |
374ebd7d | 42 | void SetAngleEffect(Bool_t Opt) |
43 | { fAngleEffect = Opt; } | |
d7d39669 | 44 | |
45 | /// Set option to take into account magnetic field effect | |
46 | void SetMagEffect(Bool_t Opt) | |
47 | { fMagEffect = Opt; } | |
5398f946 | 48 | |
49 | /// Set max step max in active gas | |
c33d9661 | 50 | void SetStepMaxInActiveGas(Float_t StepMax) |
51 | {fStepMaxInActiveGas = StepMax; } | |
30178c30 | 52 | |
53 | protected: | |
71a2d3aa | 54 | /// Not implemented |
fb1bf5c0 | 55 | AliMUONv1(const AliMUONv1& right); |
71a2d3aa | 56 | /// Not implemented |
fb1bf5c0 | 57 | AliMUONv1& operator = (const AliMUONv1& right); |
58 | ||
273e54a3 | 59 | virtual Int_t GetGeomModuleId(Int_t volId) const; |
333f7cda | 60 | TString CurrentVolumePath() const; |
d4bb94a1 | 61 | |
21590d30 | 62 | Bool_t fAngleEffect; ///< Angle Effect along wires, Default is true |
d7d39669 | 63 | Bool_t fMagEffect; ///< Magnetic Field Effect along wires, Default is true |
21590d30 | 64 | Float_t fStepMaxInActiveGas; ///< Step max in active gas default 0.6cm |
abaf7c9d | 65 | |
1391e633 | 66 | // StepManager |
21590d30 | 67 | Float_t * fStepSum; //!< Sum of track steps per chamber |
68 | Float_t * fDestepSum; //!< Sum of energy deposits per chamber | |
d7c4fbc4 | 69 | |
21590d30 | 70 | TLorentzVector fTrackMomentum; ///< Momentum of the particle entering in the active gas of chamber |
71 | TLorentzVector fTrackPosition; ///< Position of the particle exiting the active gas of chamber | |
72 | TF1 * fElossRatio; ///< Ratio of particle mean eloss with respect MIP's | |
73 | TF1 * fAngleEffect10; ///< Angle effect in tracking chambers at theta =10 degres as a function of ElossRatio (Khalil BOUDJEMLINE sep 2003 Ph.D Thesis) (in micrometers) | |
74 | TF1 * fAngleEffectNorma;///< Angle effect: Normalisation form theta=10 degres to theta between 0 and 10 (Khalil BOUDJEMLINE sep 2003 Ph.D Thesis) | |
d7d39669 | 75 | TF2 * fMagAngleEffectNorma;///< Magnetic field effect: Normalisation from theta=16 degres to theta between -20 and 20 (Lamia Benhabib jun 2006 Master Thesis) |
76 | ||
77 | ClassDef(AliMUONv1,6) // MUON Detector class Version 1 | |
a9e2aefa | 78 | }; |
79 | #endif | |
80 | ||
81 | ||
82 | ||
83 | ||
84 | ||
85 | ||
86 |