]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONv1.h
ENDIF replaced by endif (compilation problems)
[u/mrichter/AliRoot.git] / MUON / AliMUONv1.h
CommitLineData
a9e2aefa 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
8/////////////////////////////////////////////////////////
acc838fd 9// Manager and hits classes for set:MUON version 1 //
a9e2aefa 10/////////////////////////////////////////////////////////
11
1391e633 12#include "TLorentzVector.h"
13
a9e2aefa 14#include "AliMUON.h"
1391e633 15
16class TF1;
acc838fd 17class TGeoCombiTrans;
18
19class TString;
20class TGeoHMatrix;
a9e2aefa 21
22class AliMUONv1 : public AliMUON {
23public:
24 AliMUONv1();
25 AliMUONv1(const char *name, const char *title);
acc838fd 26 virtual ~AliMUONv1();
a9e2aefa 27 virtual void CreateGeometry();
28 virtual void CreateMaterials();
29 virtual void Init();
30 virtual Int_t IsVersion() const {return 1;}
31 virtual void StepManager();
c33d9661 32 void StepManagerOld();
33 void SetStepManagerVersionOld(Bool_t Opt)
34 { fStepManagerVersionOld = Opt; }
374ebd7d 35 void SetAngleEffect(Bool_t Opt)
36 { fAngleEffect = Opt; }
c33d9661 37 void SetStepMaxInActiveGas(Float_t StepMax)
38 {fStepMaxInActiveGas = StepMax; }
ba030c0e 39protected:
c33d9661 40 Bool_t fStepManagerVersionOld; // Version of StepManager, Default is false
374ebd7d 41 Bool_t fAngleEffect; // Angle Effect along wires, Default is true
1391e633 42 Float_t fStepMaxInActiveGas; // Step max in active gas default 0.6cm
5f91c9e8 43 virtual Int_t GetChamberId(Int_t volId) const;
abaf7c9d 44
1391e633 45 // StepManager
46 Float_t * fStepSum; //!
47 Float_t * fDestepSum; //!
d7c4fbc4 48
49 TLorentzVector fTrackMomentum; // Momentum of the particle entering in the active gas of chamber
50 TLorentzVector fTrackPosition; // Position of the particle exiting the active gas of chamber
51 TF1 * fElossRatio; // Ratio of particle mean eloss with respect MIP's
52 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)
53 TF1 * fAngleEffectNorma;// Angle effect: Normalisation form theta=10 degres to theta between 0 and 10 (Khalil BOUDJEMLINE sep 2003 Ph.D Thesis)
acc838fd 54 TGeoCombiTrans* fGlobalTransformation; // global transformation
55 // applied to the whole geometry
a9e2aefa 56private:
acc838fd 57 // method
58 void PlaceVolume(const TString& name, const TString& mName, Int_t copyNo,
59 const TGeoHMatrix& matrix, Int_t npar, Double_t* param) const;
60
a1001283 61 ClassDef(AliMUONv1,1) // MUON Detector class Version 1
abaf7c9d 62
63
a9e2aefa 64};
65#endif
66
67
68
69
70
71
72