Coding conventions
[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   
44    TLorentzVector fTrackMomentum; // Momentum of the particle entering in the active gas of chamber
45    TLorentzVector fTrackPosition; // Position of the particle exiting the active gas of chamber
46    TF1 *          fElossRatio;    // Ratio of particle mean eloss with respect MIP's 
47    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)  
48    TF1 *          fAngleEffectNorma;// Angle effect: Normalisation form theta=10 degres to theta between 0 and 10 (Khalil BOUDJEMLINE sep 2003 Ph.D Thesis)
49 private:
50    ClassDef(AliMUONv1,1)  // MUON Detector class Version 1
51
52
53 };
54 #endif
55
56
57
58
59
60
61