]>
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 | |
692de412 | 9 | /// \ingroup base |
10 | /// \class AliMUONv1 | |
11 | /// \brief Manager and hits classes for set:MUON version 1 | |
12 | ||
a9e2aefa | 13 | ///////////////////////////////////////////////////////// |
acc838fd | 14 | // Manager and hits classes for set:MUON version 1 // |
a9e2aefa | 15 | ///////////////////////////////////////////////////////// |
16 | ||
30178c30 | 17 | #include <TLorentzVector.h> |
1391e633 | 18 | |
a9e2aefa | 19 | #include "AliMUON.h" |
1391e633 | 20 | |
21 | class TF1; | |
acc838fd | 22 | class TGeoCombiTrans; |
acc838fd | 23 | class TString; |
24 | class TGeoHMatrix; | |
a9e2aefa | 25 | |
30178c30 | 26 | class AliMUONv1 : public AliMUON |
27 | { | |
28 | public: | |
a9e2aefa | 29 | AliMUONv1(); |
30 | AliMUONv1(const char *name, const char *title); | |
acc838fd | 31 | virtual ~AliMUONv1(); |
a9e2aefa | 32 | virtual void CreateGeometry(); |
33 | virtual void CreateMaterials(); | |
34 | virtual void Init(); | |
35 | virtual Int_t IsVersion() const {return 1;} | |
36 | virtual void StepManager(); | |
d59b2ec3 | 37 | //TBR |
38 | virtual void StepManager2(); | |
002920d1 | 39 | |
c33d9661 | 40 | void SetStepManagerVersionOld(Bool_t Opt) |
41 | { fStepManagerVersionOld = Opt; } | |
d59b2ec3 | 42 | void SetStepManagerVersionDE(Bool_t Opt) |
43 | { fStepManagerVersionDE = Opt; } | |
374ebd7d | 44 | void SetAngleEffect(Bool_t Opt) |
45 | { fAngleEffect = Opt; } | |
c33d9661 | 46 | void SetStepMaxInActiveGas(Float_t StepMax) |
47 | {fStepMaxInActiveGas = StepMax; } | |
30178c30 | 48 | |
49 | protected: | |
fb1bf5c0 | 50 | AliMUONv1(const AliMUONv1& right); |
51 | AliMUONv1& operator = (const AliMUONv1& right); | |
52 | ||
d4bb94a1 | 53 | virtual Int_t GetChamberId(Int_t volId) const; |
333f7cda | 54 | TString CurrentVolumePath() const; |
d4bb94a1 | 55 | |
c33d9661 | 56 | Bool_t fStepManagerVersionOld; // Version of StepManager, Default is false |
d59b2ec3 | 57 | Bool_t fStepManagerVersionDE; // Version of StepManager with DE, Default is false |
374ebd7d | 58 | Bool_t fAngleEffect; // Angle Effect along wires, Default is true |
1391e633 | 59 | Float_t fStepMaxInActiveGas; // Step max in active gas default 0.6cm |
abaf7c9d | 60 | |
1391e633 | 61 | // StepManager |
62 | Float_t * fStepSum; //! | |
63 | Float_t * fDestepSum; //! | |
d7c4fbc4 | 64 | |
65 | TLorentzVector fTrackMomentum; // Momentum of the particle entering in the active gas of chamber | |
66 | TLorentzVector fTrackPosition; // Position of the particle exiting the active gas of chamber | |
67 | TF1 * fElossRatio; // Ratio of particle mean eloss with respect MIP's | |
68 | 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) | |
69 | TF1 * fAngleEffectNorma;// Angle effect: Normalisation form theta=10 degres to theta between 0 and 10 (Khalil BOUDJEMLINE sep 2003 Ph.D Thesis) | |
edee5e63 | 70 | |
71 | ClassDef(AliMUONv1,4) // MUON Detector class Version 1 | |
a9e2aefa | 72 | }; |
73 | #endif | |
74 | ||
75 | ||
76 | ||
77 | ||
78 | ||
79 | ||
80 |