X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=MUON%2FAliMUONv1.h;h=5d71d1ec47238afba94f8ddb29b9eb888250412d;hb=a2160395da727c87a52679e844e3e38999ffde4f;hp=3c3797c6f31cc79f48b3fbf8c53e2ae2f065ddff;hpb=d59b2ec39e37db12f9d4b3914b5626db127e6bb5;p=u%2Fmrichter%2FAliRoot.git diff --git a/MUON/AliMUONv1.h b/MUON/AliMUONv1.h index 3c3797c6f31..5d71d1ec472 100644 --- a/MUON/AliMUONv1.h +++ b/MUON/AliMUONv1.h @@ -6,14 +6,15 @@ /* $Id$ */ // Revision of includes 07/05/2004 -///////////////////////////////////////////////////////// -// Manager and hits classes for set:MUON version 1 // -///////////////////////////////////////////////////////// +/// \ingroup sim +/// \class AliMUONv1 +/// \brief AliDetector class for MUON subsystem which implements +/// functions for simulation -#include - #include "AliMUON.h" +#include + class TF1; class TGeoCombiTrans; class TString; @@ -23,50 +24,49 @@ class AliMUONv1 : public AliMUON { public: AliMUONv1(); - AliMUONv1(const char *name, const char *title); + AliMUONv1(const char *name, const char* title = "default"); virtual ~AliMUONv1(); virtual void CreateGeometry(); virtual void CreateMaterials(); + virtual void AddAlignableVolumes() const; virtual void Init(); + + /// Return the version number of this detector virtual Int_t IsVersion() const {return 1;} + virtual void StepManager(); - //TBR - virtual void StepManager2(); - void StepManagerOld(); - //TBR - void StepManagerOld2(); - void SetStepManagerVersionOld(Bool_t Opt) - { fStepManagerVersionOld = Opt; } - void SetStepManagerVersionDE(Bool_t Opt) - { fStepManagerVersionDE = Opt; } + + /// Set option to take into account angle effect void SetAngleEffect(Bool_t Opt) { fAngleEffect = Opt; } + + /// Set max step max in active gas void SetStepMaxInActiveGas(Float_t StepMax) {fStepMaxInActiveGas = StepMax; } protected: + /// Not implemented AliMUONv1(const AliMUONv1& right); + /// Not implemented AliMUONv1& operator = (const AliMUONv1& right); - virtual Int_t GetChamberId(Int_t volId) const; + virtual Int_t GetGeomModuleId(Int_t volId) const; TString CurrentVolumePath() const; - Bool_t fStepManagerVersionOld; // Version of StepManager, Default is false - Bool_t fStepManagerVersionDE; // Version of StepManager with DE, Default is false - Bool_t fAngleEffect; // Angle Effect along wires, Default is true - Float_t fStepMaxInActiveGas; // Step max in active gas default 0.6cm + Bool_t fAngleEffect; ///< Angle Effect along wires, Default is true + Float_t fStepMaxInActiveGas; ///< Step max in active gas default 0.6cm // StepManager - Float_t * fStepSum; //! - Float_t * fDestepSum; //! + Float_t * fStepSum; //!< Sum of track steps per chamber + Float_t * fDestepSum; //!< Sum of energy deposits per chamber - TLorentzVector fTrackMomentum; // Momentum of the particle entering in the active gas of chamber - TLorentzVector fTrackPosition; // Position of the particle exiting the active gas of chamber - TF1 * fElossRatio; // Ratio of particle mean eloss with respect MIP's - 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) - TF1 * fAngleEffectNorma;// Angle effect: Normalisation form theta=10 degres to theta between 0 and 10 (Khalil BOUDJEMLINE sep 2003 Ph.D Thesis) - - ClassDef(AliMUONv1,3) // MUON Detector class Version 1 + TLorentzVector fTrackMomentum; ///< Momentum of the particle entering in the active gas of chamber + TLorentzVector fTrackPosition; ///< Position of the particle exiting the active gas of chamber + TF1 * fElossRatio; ///< Ratio of particle mean eloss with respect MIP's + 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) + TF1 * fAngleEffectNorma;///< Angle effect: Normalisation form theta=10 degres to theta between 0 and 10 (Khalil BOUDJEMLINE sep 2003 Ph.D Thesis) + + ClassDef(AliMUONv1,5) // MUON Detector class Version 1 }; #endif