]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONv1.h
Coding Convention Violations
[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:
fb1bf5c0 40 AliMUONv1(const AliMUONv1& right);
41 AliMUONv1& operator = (const AliMUONv1& right);
42
c33d9661 43 Bool_t fStepManagerVersionOld; // Version of StepManager, Default is false
374ebd7d 44 Bool_t fAngleEffect; // Angle Effect along wires, Default is true
1391e633 45 Float_t fStepMaxInActiveGas; // Step max in active gas default 0.6cm
5f91c9e8 46 virtual Int_t GetChamberId(Int_t volId) const;
abaf7c9d 47
1391e633 48 // StepManager
49 Float_t * fStepSum; //!
50 Float_t * fDestepSum; //!
d7c4fbc4 51
52 TLorentzVector fTrackMomentum; // Momentum of the particle entering in the active gas of chamber
53 TLorentzVector fTrackPosition; // Position of the particle exiting the active gas of chamber
54 TF1 * fElossRatio; // Ratio of particle mean eloss with respect MIP's
55 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)
56 TF1 * fAngleEffectNorma;// Angle effect: Normalisation form theta=10 degres to theta between 0 and 10 (Khalil BOUDJEMLINE sep 2003 Ph.D Thesis)
acc838fd 57 TGeoCombiTrans* fGlobalTransformation; // global transformation
58 // applied to the whole geometry
a9e2aefa 59private:
acc838fd 60 // method
61 void PlaceVolume(const TString& name, const TString& mName, Int_t copyNo,
6b82c1f0 62 const TGeoHMatrix& matrix, Int_t npar, Double_t* param,
63 const char* only) const;
acc838fd 64
9d6df3aa 65 ClassDef(AliMUONv1,2) // MUON Detector class Version 1
abaf7c9d 66
67
a9e2aefa 68};
69#endif
70
71
72
73
74
75
76