CbmRoot
CbmImpactParameterModel.h
Go to the documentation of this file.
1
/*
2
*====================================================================
3
*
4
* CBM impact parameter extraction
5
*
6
* Authors: V.Vovchenko
7
*
8
* e-mail :
9
*
10
*====================================================================
11
*
12
* Extraction of event impact parameter from total participant electric charge, based on Glauber model predictions
13
*
14
*====================================================================
15
*/
16
17
#ifndef _CbmImpactParameterModel_h_
18
#define _CbmImpactParameterModel_h_
19
20
#include "
CbmModelBase.h
"
21
#include "
KFQA/CbmKFTrErrMCPoints.h
"
22
#include "TMath.h"
23
#include <algorithm>
24
#include <map>
25
#include <vector>
26
27
class
TClonesArray;
28
class
CbmVertex
;
29
class
TDirectory;
30
class
TH1F;
31
class
TH2F;
32
class
TGraphErrors;
33
class
TSpline3;
34
class
FairRootManager;
35
class
FairMCEventHeader;
36
37
class
ImpactParameterModel
;
38
39
class
CbmImpactParameterModel
:
public
CbmModelBase
{
40
public
:
41
//static const int p_sz = 8;
42
CbmImpactParameterModel
(
43
Int_t recoLevel =
44
-1,
// -1 - MC Tracks, 0 - Reconstructible MC Tracks, 1 - Reco Tracks with MC Data, 2 - Reco Tracks with Reco Momentum and MC Primary, 3 - Reco Tracks with Reco Momentum and Reco Primary
45
//Int_t usePID = 1, // 1 - MC, 2 - TOF
46
//Int_t trackNumber = 1,
47
Int_t iVerbose = 1,
48
TString Mode =
"MC"
,
49
//Int_t EventStats=1,
50
KFParticleTopoReconstructor* tr = 0,
51
Float_t ekin_ = 25.,
52
TString InputTable =
"Npvsb-AuAu.dat"
);
53
~CbmImpactParameterModel
();
54
55
virtual
void
ReInit
(FairRootManager* fManger);
56
virtual
void
Init
();
57
virtual
void
Exec
();
58
virtual
void
Finish
();
59
60
ClassDef
(
CbmImpactParameterModel
, 1);
61
62
private
:
63
int
CalculateTotalChargeInEvent
(
int
RecoLevel);
64
65
// Float_t fCuts[2][3];
66
Float_t
ekin
;
67
Float_t
p0cm
;
68
Float_t
ycm
;
69
Bool_t
fUpdate
;
70
Int_t
fusePID
;
71
Int_t
fRecoLevel
;
72
Int_t
fTrackNumber
;
// 0 - test calculation, only Pions, 1 - UrQMD Au+Au
73
Int_t
fEventStats
;
74
Int_t
events
;
75
76
77
TString
fModeName
;
78
TString
outfileName
;
79
80
TDirectory*
histodir
;
81
TClonesArray*
flistMCTracks
;
82
83
//Int_t events;
84
FairMCEventHeader*
MCEvent
;
85
86
static
const
int
nHisto1D
=
87
9;
//b, Nwp, Npe, bMC, bpe, bpeMC, bdiff, bres, bpull
88
int
Indexb
,
IndexNwp
,
IndexNpe
,
IndexbMC
,
Indexbpe
,
IndexbpeMC
,
Indexbdiff
,
89
Indexbres
,
Indexbpull
;
90
91
TH1F*
histo1D
[
nHisto1D
];
92
93
int
totalEvents
;
94
int
PPDG
;
95
96
double
kProtonMass
;
97
double
fCor
;
98
99
100
CbmImpactParameterModel
(
const
CbmImpactParameterModel
&);
101
CbmImpactParameterModel
&
operator=
(
const
CbmImpactParameterModel
&);
102
103
ImpactParameterModel
*
model
;
104
};
105
106
#endif
CbmImpactParameterModel::model
ImpactParameterModel * model
Definition:
CbmImpactParameterModel.h:103
CbmImpactParameterModel::fusePID
Int_t fusePID
Definition:
CbmImpactParameterModel.h:70
CbmImpactParameterModel::Finish
virtual void Finish()
Definition:
CbmImpactParameterModel.cxx:324
CbmImpactParameterModel::Exec
virtual void Exec()
Definition:
CbmImpactParameterModel.cxx:273
CbmImpactParameterModel::histodir
TDirectory * histodir
Definition:
CbmImpactParameterModel.h:80
CbmImpactParameterModel::ycm
Float_t ycm
Definition:
CbmImpactParameterModel.h:68
CbmImpactParameterModel::CbmImpactParameterModel
CbmImpactParameterModel(const CbmImpactParameterModel &)
CbmImpactParameterModel::Indexb
int Indexb
Definition:
CbmImpactParameterModel.h:88
CbmImpactParameterModel::ekin
Float_t ekin
Definition:
CbmImpactParameterModel.h:66
CbmImpactParameterModel::ReInit
virtual void ReInit(FairRootManager *fManger)
Definition:
CbmImpactParameterModel.cxx:263
ImpactParameterModel
Definition:
ImpactParameterModel.h:11
CbmKFTrErrMCPoints.h
CbmImpactParameterModel::PPDG
int PPDG
Definition:
CbmImpactParameterModel.h:94
CbmImpactParameterModel::Init
virtual void Init()
Definition:
CbmImpactParameterModel.cxx:269
CbmImpactParameterModel::~CbmImpactParameterModel
~CbmImpactParameterModel()
Definition:
CbmImpactParameterModel.cxx:259
CbmImpactParameterModel::IndexNpe
int IndexNpe
Definition:
CbmImpactParameterModel.h:88
CbmModelBase.h
CbmImpactParameterModel::MCEvent
FairMCEventHeader * MCEvent
Definition:
CbmImpactParameterModel.h:84
CbmImpactParameterModel::nHisto1D
static const int nHisto1D
Definition:
CbmImpactParameterModel.h:86
CbmImpactParameterModel::totalEvents
int totalEvents
Definition:
CbmImpactParameterModel.h:93
CbmVertex
Definition:
CbmVertex.h:26
CbmImpactParameterModel::CbmImpactParameterModel
CbmImpactParameterModel(Int_t recoLevel=-1, Int_t iVerbose=1, TString Mode="MC", KFParticleTopoReconstructor *tr=0, Float_t ekin_=25., TString InputTable="Npvsb-AuAu.dat")
CbmImpactParameterModel::Indexbpe
int Indexbpe
Definition:
CbmImpactParameterModel.h:88
CbmImpactParameterModel::histo1D
TH1F * histo1D[nHisto1D]
Definition:
CbmImpactParameterModel.h:91
CbmImpactParameterModel::fEventStats
Int_t fEventStats
Definition:
CbmImpactParameterModel.h:73
CbmModelBase
Definition:
CbmModelBase.h:25
CbmImpactParameterModel::events
Int_t events
Definition:
CbmImpactParameterModel.h:74
CbmImpactParameterModel
Definition:
CbmImpactParameterModel.h:39
CbmImpactParameterModel::ClassDef
ClassDef(CbmImpactParameterModel, 1)
CbmImpactParameterModel::flistMCTracks
TClonesArray * flistMCTracks
Definition:
CbmImpactParameterModel.h:81
CbmImpactParameterModel::Indexbres
int Indexbres
Definition:
CbmImpactParameterModel.h:89
CbmImpactParameterModel::fRecoLevel
Int_t fRecoLevel
Definition:
CbmImpactParameterModel.h:71
CbmImpactParameterModel::CalculateTotalChargeInEvent
int CalculateTotalChargeInEvent(int RecoLevel)
Definition:
CbmImpactParameterModel.cxx:326
CbmImpactParameterModel::operator=
CbmImpactParameterModel & operator=(const CbmImpactParameterModel &)
CbmImpactParameterModel::fTrackNumber
Int_t fTrackNumber
Definition:
CbmImpactParameterModel.h:72
CbmImpactParameterModel::IndexbMC
int IndexbMC
Definition:
CbmImpactParameterModel.h:88
CbmImpactParameterModel::Indexbdiff
int Indexbdiff
Definition:
CbmImpactParameterModel.h:88
CbmImpactParameterModel::fUpdate
Bool_t fUpdate
Definition:
CbmImpactParameterModel.h:69
CbmImpactParameterModel::IndexNwp
int IndexNwp
Definition:
CbmImpactParameterModel.h:88
CbmImpactParameterModel::fModeName
TString fModeName
Definition:
CbmImpactParameterModel.h:77
CbmImpactParameterModel::p0cm
Float_t p0cm
Definition:
CbmImpactParameterModel.h:67
CbmImpactParameterModel::Indexbpull
int Indexbpull
Definition:
CbmImpactParameterModel.h:89
CbmImpactParameterModel::fCor
double fCor
Definition:
CbmImpactParameterModel.h:97
CbmImpactParameterModel::outfileName
TString outfileName
Definition:
CbmImpactParameterModel.h:78
CbmImpactParameterModel::IndexbpeMC
int IndexbpeMC
Definition:
CbmImpactParameterModel.h:88
CbmImpactParameterModel::kProtonMass
double kProtonMass
Definition:
CbmImpactParameterModel.h:96
reco
KF
KFModelParameters
ImpactParameterModel
CbmImpactParameterModel.h
Generated on Wed Oct 28 2020 15:11:36 for CbmRoot by
1.8.18