]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONv1.h
- Old StepManager() replaced with StepManager2()
[u/mrichter/AliRoot.git] / MUON / AliMUONv1.h
index 5377fcf29009375ce4a622407a124fbfb69e0961..713cb17f410906eed70e4dce9c54d6e0233d675f 100644 (file)
@@ -8,16 +8,13 @@
 
 /// \ingroup base
 /// \class AliMUONv1
-/// \brief Manager and hits classes for set:MUON version 1
-
-/////////////////////////////////////////////////////////
-//  Manager and hits classes for set:MUON version 1    //
-/////////////////////////////////////////////////////////
+/// \brief AliDetector class for MUON subsystem which implements
+/// functions for simulation 
  
-#include <TLorentzVector.h>
-
 #include "AliMUON.h"
 
+#include <TLorentzVector.h>
+
 class TF1;
 class TGeoCombiTrans;
 class TString;
@@ -27,20 +24,16 @@ class AliMUONv1 : public AliMUON
 {
  public:
    AliMUONv1();
-   AliMUONv1(const char *name, const char *title);
+   AliMUONv1(const char *name, const char *title="FactoryV4",
+           const char* sDigitizerType="sdigitizer:AliMUONSDigitizerV2",
+           const char* digitizerType="digitizer:NewDigitizerWithNoiseOldTrigger");
    virtual  ~AliMUONv1();
    virtual void   CreateGeometry();
    virtual void   CreateMaterials();
    virtual void   Init();
    virtual Int_t  IsVersion() const {return 1;}
    virtual void   StepManager();
-                  //TBR
-   virtual void   StepManager2();
 
-   void SetStepManagerVersionOld(Bool_t Opt) 
-     { fStepManagerVersionOld = Opt; }
-   void SetStepManagerVersionDE(Bool_t Opt) 
-     { fStepManagerVersionDE = Opt; }
    void SetAngleEffect(Bool_t Opt) 
      { fAngleEffect = Opt; }
    void SetStepMaxInActiveGas(Float_t StepMax)
@@ -53,22 +46,20 @@ class AliMUONv1 : public AliMUON
    virtual Int_t  GetChamberId(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,4)  // 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