3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
7 // Revision of includes 07/05/2004
9 /////////////////////////////////////////////////////////
10 // Manager and hits classes for set:MUON version 1 //
11 /////////////////////////////////////////////////////////
13 #include <TLorentzVector.h>
22 class AliMUONv1 : public AliMUON
26 AliMUONv1(const char *name, const char *title);
28 virtual void CreateGeometry();
29 virtual void CreateMaterials();
31 virtual Int_t IsVersion() const {return 1;}
32 virtual void StepManager();
34 virtual void StepManager2();
35 void StepManagerOld();
37 void StepManagerOld2();
38 void SetStepManagerVersionOld(Bool_t Opt)
39 { fStepManagerVersionOld = Opt; }
40 void SetStepManagerVersionDE(Bool_t Opt)
41 { fStepManagerVersionDE = Opt; }
42 void SetAngleEffect(Bool_t Opt)
43 { fAngleEffect = Opt; }
44 void SetStepMaxInActiveGas(Float_t StepMax)
45 {fStepMaxInActiveGas = StepMax; }
48 AliMUONv1(const AliMUONv1& right);
49 AliMUONv1& operator = (const AliMUONv1& right);
51 virtual Int_t GetChamberId(Int_t volId) const;
52 TString CurrentVolumePath() const;
54 Bool_t fStepManagerVersionOld; // Version of StepManager, Default is false
55 Bool_t fStepManagerVersionDE; // Version of StepManager with DE, Default is false
56 Bool_t fAngleEffect; // Angle Effect along wires, Default is true
57 Float_t fStepMaxInActiveGas; // Step max in active gas default 0.6cm
60 Float_t * fStepSum; //!
61 Float_t * fDestepSum; //!
63 TLorentzVector fTrackMomentum; // Momentum of the particle entering in the active gas of chamber
64 TLorentzVector fTrackPosition; // Position of the particle exiting the active gas of chamber
65 TF1 * fElossRatio; // Ratio of particle mean eloss with respect MIP's
66 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)
67 TF1 * fAngleEffectNorma;// Angle effect: Normalisation form theta=10 degres to theta between 0 and 10 (Khalil BOUDJEMLINE sep 2003 Ph.D Thesis)
69 ClassDef(AliMUONv1,3) // MUON Detector class Version 1