AliRoot Core  3abf5b4 (3abf5b4)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONv1.h
Go to the documentation of this file.
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$ */
7 // Revision of includes 07/05/2004
8 
13 
14 #include "AliMUON.h"
15 
16 #include <TLorentzVector.h>
17 
18 class TF1;
19 class TF2;
20 class TGeoCombiTrans;
21 class TString;
22 class TGeoHMatrix;
23 
24 class AliMUONv1 : public AliMUON
25 {
26  public:
27  AliMUONv1();
28  AliMUONv1(const char *name, const char* title = "default");
29  virtual ~AliMUONv1();
30  virtual void CreateGeometry();
31  virtual void CreateMaterials();
32  virtual void UpdateInternalGeometry();
33  virtual void AddAlignableVolumes() const;
34  virtual void Init();
35 
37  virtual Int_t IsVersion() const {return 1;}
38 
39  virtual void StepManager();
40 
42  void SetAngleEffect(Bool_t Opt)
43  { fAngleEffect = Opt; }
44 
46  void SetMagEffect(Bool_t Opt)
47  { fMagEffect = Opt; }
48 
50  void SetStepMaxInActiveGas(Float_t StepMax)
51  {fStepMaxInActiveGas = StepMax; }
52 
53  protected:
55  AliMUONv1(const AliMUONv1& right);
57  AliMUONv1& operator = (const AliMUONv1& right);
58 
59  virtual Int_t GetGeomModuleId(Int_t volId) const;
60  TString CurrentVolumePath() const;
61 
62  Bool_t fAngleEffect;
63  Bool_t fMagEffect;
65 
66  // StepManager
67  Float_t * fStepSum;
68  Float_t * fDestepSum;
69 
70  TLorentzVector fTrackMomentum;
71  TLorentzVector fTrackPosition;
72  TF1 * fElossRatio;
76 
77  ClassDef(AliMUONv1,6) // MUON Detector class Version 1
78 };
79 #endif
80 
81 
82 
83 
84 
85 
86 
void SetMagEffect(Bool_t Opt)
Set option to take into account magnetic field effect.
Definition: AliMUONv1.h:46
TString CurrentVolumePath() const
Definition: AliMUONv1.cxx:236
Bool_t fAngleEffect
Angle Effect along wires, Default is true.
Definition: AliMUONv1.h:62
virtual void UpdateInternalGeometry()
Definition: AliMUONv1.cxx:178
Float_t * fDestepSum
! Sum of energy deposits per chamber
Definition: AliMUONv1.h:68
virtual void CreateMaterials()
Definition: AliMUONv1.cxx:170
virtual void Init()
Definition: AliMUONv1.cxx:200
virtual void AddAlignableVolumes() const
Definition: AliMUONv1.cxx:191
Float_t * fStepSum
! Sum of track steps per chamber
Definition: AliMUONv1.h:67
TF1 * fElossRatio
Ratio of particle mean eloss with respect MIP's.
Definition: AliMUONv1.h:72
TF1 * fAngleEffectNorma
Angle effect: Normalisation form theta=10 degres to theta between 0 and 10 (Khalil BOUDJEMLINE sep 20...
Definition: AliMUONv1.h:74
AliDetector class for MUON subsystem providing simulation data management.
Definition: AliMUON.h:37
TF2 * fMagAngleEffectNorma
Magnetic field effect: Normalisation from theta=16 degres to theta between -20 and 20 (Lamia Benhabib...
Definition: AliMUONv1.h:75
TLorentzVector fTrackPosition
Position of the particle exiting the active gas of chamber.
Definition: AliMUONv1.h:71
virtual Int_t IsVersion() const
Return the version number of this detector.
Definition: AliMUONv1.h:37
AliDetector class for MUON subsystem which implements functions for simulation.
Definition: AliMUONv1.h:24
AliMUONv1 & operator=(const AliMUONv1 &right)
Not implemented.
Float_t fStepMaxInActiveGas
Step max in active gas default 0.6cm.
Definition: AliMUONv1.h:64
virtual ~AliMUONv1()
Definition: AliMUONv1.cxx:148
void SetStepMaxInActiveGas(Float_t StepMax)
Set max step max in active gas.
Definition: AliMUONv1.h:50
virtual Int_t GetGeomModuleId(Int_t volId) const
Definition: AliMUONv1.cxx:221
Bool_t fMagEffect
Magnetic Field Effect along wires, Default is true.
Definition: AliMUONv1.h:63
TLorentzVector fTrackMomentum
Momentum of the particle entering in the active gas of chamber.
Definition: AliMUONv1.h:70
TF1 * fAngleEffect10
Angle effect in tracking chambers at theta =10 degres as a function of ElossRatio (Khalil BOUDJEMLINE...
Definition: AliMUONv1.h:73
virtual void StepManager()
Definition: AliMUONv1.cxx:260
void SetAngleEffect(Bool_t Opt)
Set option to take into account angle effect.
Definition: AliMUONv1.h:42
virtual void CreateGeometry()
Definition: AliMUONv1.cxx:162