CbmRoot
Loading...
Searching...
No Matches
LmvmDef.h
Go to the documentation of this file.
1
/* Copyright (C) 2021 Justus-Liebig-Universitaet Giessen, Giessen
2
SPDX-License-Identifier: GPL-3.0-only
3
Authors: Semen Lebedev [committer] */
4
5
#ifndef LMVM_DEF_H
6
#define LMVM_DEF_H
7
8
#include "Rtypes.h"
9
10
#include <string>
11
12
class
TH1D;
13
14
enum class
ELmvmTopologyCut
:
int
15
{
16
ST
,
17
RT
,
18
TT
19
};
20
21
22
enum class
ELmvmSrc
:
int
23
{
24
Signal
= 0,
25
Bg
= 1,
26
Pi0
= 2,
27
Gamma
= 3,
28
Eta
= 4,
29
Undefined
= 5
30
};
31
32
33
enum class
ELmvmAnaStep
:
int
34
{
35
Mc
= 0,
36
Acc
= 1,
37
Reco
= 2,
38
Chi2Prim
= 3,
39
ElId
= 4,
40
GammaCut
= 5,
41
Mvd1Cut
= 6,
42
Mvd2Cut
= 7,
43
StCut
= 8,
44
RtCut
= 9,
45
TtCut
= 10,
46
PtCut
= 11,
47
Undefined
= 12
48
};
49
50
enum class
ELmvmBgPairSrc
:
int
51
{
52
GG
= 0,
// gamma-gamma
53
PP
= 1,
// pi0-pi0
54
OO
= 2,
// other-other
55
GP
= 3,
// gamma-pi0
56
GO
= 4,
// gamma-other
57
PO
= 5,
// pi0-other
58
Undefined
= 6
59
};
60
61
enum class
ELmvmSignal
:
int
62
{
63
Inmed
= 0,
64
Qgp
= 1,
65
Omega
= 2,
66
Phi
= 3,
67
OmegaD
= 4
68
};
69
70
class
LmvmDataXYInd
{
71
public
:
72
LmvmDataXYInd
() {}
73
LmvmDataXYInd
(
double
x
,
double
y
,
int
ind) :
fX
(
x
),
fY
(
y
),
fInd
(ind) {}
74
double
fX
= 0.;
75
double
fY
= 0.;
76
int
fInd
= 0;
77
};
78
79
class
LmvmDataAngMomInd
{
80
public
:
81
LmvmDataAngMomInd
() {}
82
LmvmDataAngMomInd
(
double
angle,
double
mom,
int
ind) :
fAngle
(angle),
fMom
(mom),
fInd
(ind) {}
83
double
fAngle
= 0.;
84
double
fMom
= 0.;
85
int
fInd
= 0;
86
};
87
88
class
LmvmDrawMinvData
{
89
public
:
90
LmvmDrawMinvData
() {}
91
LmvmDrawMinvData
(TH1D*
h
, Color_t fillColor, Color_t lineColor,
int
lineWidth, Style_t fillStyle,
92
const
std::string& legend)
93
:
fH
(
h
)
94
,
fFillColor
(fillColor)
95
,
fLineColor
(lineColor)
96
,
fLineWidth
(lineWidth)
97
,
fFillStyle
(fillStyle)
98
,
fLegend
(legend)
99
{
100
}
101
102
TH1D*
fH
=
nullptr
;
103
Color_t
fFillColor
= 0;
104
Color_t
fLineColor
= 0;
105
int
fLineWidth
= 0;
106
Style_t
fFillStyle
= -1;
107
std::string
fLegend
=
""
;
108
};
109
110
class
LmvmSBgResultData
{
111
public
:
112
LmvmSBgResultData
() {}
113
LmvmSBgResultData
(
double
sBgRatio,
double
signallEff,
double
fitMean,
double
fitSigma)
114
:
fSBgRatio
(sBgRatio)
115
,
fSignallEff
(signallEff)
116
,
fFitMean
(fitMean)
117
,
fFitSigma
(fitSigma)
118
{
119
}
120
double
fSBgRatio
= 0.;
121
double
fSignallEff
= 0.;
122
double
fFitMean
= 0.;
123
double
fFitSigma
= 0;
124
};
125
126
class
LmvmLegend
{
127
public
:
128
LmvmLegend
() {}
129
LmvmLegend
(TH1D*
h
,
const
char
* name, Option_t* opt) :
fH
(
h
),
fName
(name),
fOpt
(opt) {}
130
TH1D*
fH
=
nullptr
;
131
const
char
*
fName
=
""
;
132
Option_t*
fOpt
=
"l"
;
133
};
134
135
#endif
y
Double_t y
Definition
CbmMvdSensorDigiToHitTask.cxx:64
x
Double_t x
Definition
CbmMvdSensorDigiToHitTask.cxx:64
ELmvmSrc
ELmvmSrc
Definition
LmvmDef.h:23
ELmvmSrc::Signal
@ Signal
ELmvmSrc::Bg
@ Bg
ELmvmSrc::Pi0
@ Pi0
ELmvmSrc::Eta
@ Eta
ELmvmSrc::Gamma
@ Gamma
ELmvmSrc::Undefined
@ Undefined
ELmvmBgPairSrc
ELmvmBgPairSrc
Definition
LmvmDef.h:51
ELmvmBgPairSrc::GO
@ GO
ELmvmBgPairSrc::PP
@ PP
ELmvmBgPairSrc::GG
@ GG
ELmvmBgPairSrc::GP
@ GP
ELmvmBgPairSrc::PO
@ PO
ELmvmBgPairSrc::OO
@ OO
ELmvmSignal
ELmvmSignal
Definition
LmvmDef.h:62
ELmvmSignal::Qgp
@ Qgp
ELmvmSignal::Inmed
@ Inmed
ELmvmSignal::Omega
@ Omega
ELmvmSignal::Phi
@ Phi
ELmvmSignal::OmegaD
@ OmegaD
ELmvmAnaStep
ELmvmAnaStep
Definition
LmvmDef.h:34
ELmvmAnaStep::Reco
@ Reco
ELmvmAnaStep::Acc
@ Acc
ELmvmAnaStep::TtCut
@ TtCut
ELmvmAnaStep::RtCut
@ RtCut
ELmvmAnaStep::Mvd2Cut
@ Mvd2Cut
ELmvmAnaStep::Chi2Prim
@ Chi2Prim
ELmvmAnaStep::StCut
@ StCut
ELmvmAnaStep::Mvd1Cut
@ Mvd1Cut
ELmvmAnaStep::Mc
@ Mc
ELmvmAnaStep::ElId
@ ElId
ELmvmAnaStep::GammaCut
@ GammaCut
ELmvmAnaStep::PtCut
@ PtCut
ELmvmTopologyCut
ELmvmTopologyCut
Definition
LmvmDef.h:15
ELmvmTopologyCut::RT
@ RT
ELmvmTopologyCut::TT
@ TT
ELmvmTopologyCut::ST
@ ST
h
Data class with information on a STS local track.
LmvmDataAngMomInd
Definition
LmvmDef.h:79
LmvmDataAngMomInd::fMom
double fMom
Definition
LmvmDef.h:84
LmvmDataAngMomInd::fInd
int fInd
Definition
LmvmDef.h:85
LmvmDataAngMomInd::LmvmDataAngMomInd
LmvmDataAngMomInd()
Definition
LmvmDef.h:81
LmvmDataAngMomInd::fAngle
double fAngle
Definition
LmvmDef.h:83
LmvmDataAngMomInd::LmvmDataAngMomInd
LmvmDataAngMomInd(double angle, double mom, int ind)
Definition
LmvmDef.h:82
LmvmDataXYInd
Definition
LmvmDef.h:70
LmvmDataXYInd::fX
double fX
Definition
LmvmDef.h:74
LmvmDataXYInd::LmvmDataXYInd
LmvmDataXYInd(double x, double y, int ind)
Definition
LmvmDef.h:73
LmvmDataXYInd::fY
double fY
Definition
LmvmDef.h:75
LmvmDataXYInd::fInd
int fInd
Definition
LmvmDef.h:76
LmvmDataXYInd::LmvmDataXYInd
LmvmDataXYInd()
Definition
LmvmDef.h:72
LmvmDrawMinvData
Definition
LmvmDef.h:88
LmvmDrawMinvData::fFillColor
Color_t fFillColor
Definition
LmvmDef.h:103
LmvmDrawMinvData::LmvmDrawMinvData
LmvmDrawMinvData()
Definition
LmvmDef.h:90
LmvmDrawMinvData::LmvmDrawMinvData
LmvmDrawMinvData(TH1D *h, Color_t fillColor, Color_t lineColor, int lineWidth, Style_t fillStyle, const std::string &legend)
Definition
LmvmDef.h:91
LmvmDrawMinvData::fLineColor
Color_t fLineColor
Definition
LmvmDef.h:104
LmvmDrawMinvData::fLegend
std::string fLegend
Definition
LmvmDef.h:107
LmvmDrawMinvData::fFillStyle
Style_t fFillStyle
Definition
LmvmDef.h:106
LmvmDrawMinvData::fLineWidth
int fLineWidth
Definition
LmvmDef.h:105
LmvmDrawMinvData::fH
TH1D * fH
Definition
LmvmDef.h:102
LmvmLegend
Definition
LmvmDef.h:126
LmvmLegend::fOpt
Option_t * fOpt
Definition
LmvmDef.h:132
LmvmLegend::fName
const char * fName
Definition
LmvmDef.h:131
LmvmLegend::LmvmLegend
LmvmLegend(TH1D *h, const char *name, Option_t *opt)
Definition
LmvmDef.h:129
LmvmLegend::LmvmLegend
LmvmLegend()
Definition
LmvmDef.h:128
LmvmLegend::fH
TH1D * fH
Definition
LmvmDef.h:130
LmvmSBgResultData
Definition
LmvmDef.h:110
LmvmSBgResultData::LmvmSBgResultData
LmvmSBgResultData()
Definition
LmvmDef.h:112
LmvmSBgResultData::fSBgRatio
double fSBgRatio
Definition
LmvmDef.h:120
LmvmSBgResultData::LmvmSBgResultData
LmvmSBgResultData(double sBgRatio, double signallEff, double fitMean, double fitSigma)
Definition
LmvmDef.h:113
LmvmSBgResultData::fFitMean
double fFitMean
Definition
LmvmDef.h:122
LmvmSBgResultData::fFitSigma
double fFitSigma
Definition
LmvmDef.h:123
LmvmSBgResultData::fSignallEff
double fSignallEff
Definition
LmvmDef.h:121
analysis
PWGDIL
dielectron
lmvm
LmvmDef.h
Generated on Sun Dec 22 2024 23:04:06 for CbmRoot by
1.12.0