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
11 /// \brief AliDetector class for MUON subsystem which implements
12 /// functions for simulation
16 #include <TLorentzVector.h>
23 class AliMUONv1 : public AliMUON
27 AliMUONv1(const char *name, const char *title="FactoryV4",
28 const char* sDigitizerType="sdigitizer:AliMUONSDigitizerV2",
29 const char* digitizerType="digitizer:NewDigitizerWithNoiseOldTrigger");
31 virtual void CreateGeometry();
32 virtual void CreateMaterials();
35 /// Return the version number of this detector
36 virtual Int_t IsVersion() const {return 1;}
38 virtual void StepManager();
40 /// Set option to take into account angle effect
41 void SetAngleEffect(Bool_t Opt)
42 { fAngleEffect = Opt; }
44 /// Set max step max in active gas
45 void SetStepMaxInActiveGas(Float_t StepMax)
46 {fStepMaxInActiveGas = StepMax; }
49 AliMUONv1(const AliMUONv1& right);
50 AliMUONv1& operator = (const AliMUONv1& right);
52 virtual Int_t GetChamberId(Int_t volId) const;
53 TString CurrentVolumePath() const;
55 Bool_t fAngleEffect; ///< Angle Effect along wires, Default is true
56 Float_t fStepMaxInActiveGas; ///< Step max in active gas default 0.6cm
59 Float_t * fStepSum; //!< Sum of track steps per chamber
60 Float_t * fDestepSum; //!< Sum of energy deposits per chamber
62 TLorentzVector fTrackMomentum; ///< Momentum of the particle entering in the active gas of chamber
63 TLorentzVector fTrackPosition; ///< Position of the particle exiting the active gas of chamber
64 TF1 * fElossRatio; ///< Ratio of particle mean eloss with respect MIP's
65 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)
66 TF1 * fAngleEffectNorma;///< Angle effect: Normalisation form theta=10 degres to theta between 0 and 10 (Khalil BOUDJEMLINE sep 2003 Ph.D Thesis)
68 ClassDef(AliMUONv1,5) // MUON Detector class Version 1