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();
33 void StepManagerOld();
34 void SetStepManagerVersionOld(Bool_t Opt)
35 { fStepManagerVersionOld = Opt; }
36 void SetAngleEffect(Bool_t Opt)
37 { fAngleEffect = Opt; }
38 void SetStepMaxInActiveGas(Float_t StepMax)
39 {fStepMaxInActiveGas = StepMax; }
42 AliMUONv1(const AliMUONv1& right);
43 AliMUONv1& operator = (const AliMUONv1& right);
45 Bool_t fStepManagerVersionOld; // Version of StepManager, Default is false
46 Bool_t fAngleEffect; // Angle Effect along wires, Default is true
47 Float_t fStepMaxInActiveGas; // Step max in active gas default 0.6cm
48 virtual Int_t GetChamberId(Int_t volId) const;
51 Float_t * fStepSum; //!
52 Float_t * fDestepSum; //!
54 TLorentzVector fTrackMomentum; // Momentum of the particle entering in the active gas of chamber
55 TLorentzVector fTrackPosition; // Position of the particle exiting the active gas of chamber
56 TF1 * fElossRatio; // Ratio of particle mean eloss with respect MIP's
57 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)
58 TF1 * fAngleEffectNorma;// Angle effect: Normalisation form theta=10 degres to theta between 0 and 10 (Khalil BOUDJEMLINE sep 2003 Ph.D Thesis)
59 TGeoCombiTrans* fGlobalTransformation; // global transformation
60 // applied to the whole geometry
63 void PlaceVolume(const TString& name, const TString& mName, Int_t copyNo,
64 const TGeoHMatrix& matrix, Int_t npar, Double_t* param,
65 const char* only) const;
67 ClassDef(AliMUONv1,2) // MUON Detector class Version 1