]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONv1.h
Adding misalignment with gaussian distribution
[u/mrichter/AliRoot.git] / MUON / AliMUONv1.h
index 3a543b04abc39b1acf768f7eaf5c3fa7bc033e4a..31041b29bf33a29125d2ead27b643e445f0f876b 100644 (file)
@@ -6,14 +6,18 @@
 /* $Id$ */
 // Revision of includes 07/05/2004
 
+/// \ingroup base
+/// \class AliMUONv1
+/// \brief Manager and hits classes for set:MUON version 1
+
 /////////////////////////////////////////////////////////
 //  Manager and hits classes for set:MUON version 1    //
 /////////////////////////////////////////////////////////
  
-#include <TLorentzVector.h>
-
 #include "AliMUON.h"
 
+#include <TLorentzVector.h>
+
 class TF1;
 class TGeoCombiTrans;
 class TString;
@@ -23,16 +27,22 @@ 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();
-   void StepManagerOld();
+                  //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)
@@ -42,10 +52,13 @@ class AliMUONv1 : public AliMUON
    AliMUONv1(const AliMUONv1& right);
    AliMUONv1&  operator = (const AliMUONv1& right);
 
+   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
-   virtual Int_t  GetChamberId(Int_t volId) const;
 
    // StepManager 
    Float_t *  fStepSum; //!
@@ -56,17 +69,8 @@ class AliMUONv1 : public AliMUON
    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)
-   TGeoCombiTrans* fGlobalTransformation; // global transformation 
-                                  // applied to the whole geometry 
- private:
-   // method
-   void PlaceVolume(const TString& name, const TString& mName, Int_t copyNo, 
-             const TGeoHMatrix& matrix, Int_t npar, Double_t* param,
-            const char* only) const;
-
-   ClassDef(AliMUONv1,2)  // MUON Detector class Version 1
-
-
+     
+   ClassDef(AliMUONv1,5)  // MUON Detector class Version 1
 };
 #endif