]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONv1.h
New Stepmanager function.
[u/mrichter/AliRoot.git] / MUON / AliMUONv1.h
1 #ifndef ALIMUONV1_H
2 #define ALIMUONV1_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id$ */
7 /* $Id$ */
8
9 /////////////////////////////////////////////////////////
10 //  Manager and hits classes for set:MUON version 0    //
11 /////////////////////////////////////////////////////////
12  
13 #include "TLorentzVector.h"
14
15 #include "AliMUON.h"
16
17 class TF1;
18
19 class AliMUONv1 : public AliMUON {
20 public:
21    AliMUONv1();
22    AliMUONv1(const char *name, const char *title);
23    virtual  ~AliMUONv1() {}
24    virtual void   CreateGeometry();
25    virtual void   CreateMaterials();
26    virtual void   Init();
27    virtual Int_t  IsVersion() const {return 1;}
28    virtual void   StepManager();
29    void StepManagerOld();
30    void SetStepManagerVersionOld(Bool_t Opt) 
31      { fStepManagerVersionOld = Opt; }
32    void SetStepMaxInActiveGas(Float_t StepMax)
33      {fStepMaxInActiveGas = StepMax; }
34 protected:
35    Int_t*  fStations;              //! allow to externally set which station to create
36    Bool_t  fStepManagerVersionOld; // Version of StepManager, Default is false
37    Float_t fStepMaxInActiveGas;    // Step max in active gas default 0.6cm
38    virtual Int_t  GetChamberId(Int_t volId) const;
39
40    // StepManager 
41    Float_t *  fStepSum; //!
42    Float_t *  fDestepSum; //!
43    // Momentum of the particle entering in the active gas of chamber
44    TLorentzVector fTrackMomentum;
45    // Position of the particle exiting the active gas of chamber
46    TLorentzVector fTrackPosition;
47    // Ratio of particle mean eloss with respect MIP's
48    TF1 * fElossRatio;
49    // Angle effect in tracking chambers at theta =10 degres as a function of ElossRatio (Khalil BOUDJEMLINE sep 2003 Ph.D Thesis) (in micrometers)
50    TF1 * fAngleEffect10;
51    // Angle effect: Normalisation form theta=10 degres to theta between 0 and 10 (Khalil BOUDJEMLINE sep 2003 Ph.D Thesis) 
52    TF1 * fAngleEffectNorma;
53 private:
54    ClassDef(AliMUONv1,1)  // MUON Detector class Version 1
55
56
57 };
58 #endif
59
60
61
62
63
64
65