80 auto stsCut =
new TCutG(
"StsELossCut2D", 6);
82 stsCut->SetVarY(
"eLoss");
83 stsCut->SetPoint(0, 0., 21e3);
84 stsCut->SetPoint(1, 10., 23e3);
85 stsCut->SetPoint(2, 10., 28e3);
86 stsCut->SetPoint(3, 4., 33e3);
87 stsCut->SetPoint(4, 2., 33e3);
88 stsCut->SetPoint(5, 0., 27e3);
94 auto richCut =
new TCutG(
"RichAnnCut2D", 6);
95 richCut->SetVarX(
"P");
96 richCut->SetVarY(
"ANN");
97 richCut->SetPoint(0, 0.0, 0.0);
98 richCut->SetPoint(1, 2.0, 0.0);
99 richCut->SetPoint(2, 3.0, 0.6);
100 richCut->SetPoint(3, 10.0, 0.9);
101 richCut->SetPoint(4, 10.0, 1.5);
102 richCut->SetPoint(5, 0.0, 1.5);
108 auto trdLikeCut =
new TCutG(
"TrdElLikeCut2D", 8);
109 trdLikeCut->SetVarX(
"P");
110 trdLikeCut->SetVarY(
"Likelihood");
111 trdLikeCut->SetPoint(0, 0.0, 0.65);
112 trdLikeCut->SetPoint(1, 2.0, 0.65);
113 trdLikeCut->SetPoint(2, 3.0, 0.4);
114 trdLikeCut->SetPoint(3, 5.5, 0.4);
115 trdLikeCut->SetPoint(4, 6., 0.85);
116 trdLikeCut->SetPoint(5, 8., 0.9);
117 trdLikeCut->SetPoint(6, 8., 1.5);
118 trdLikeCut->SetPoint(7, 0., 1.5);
124 auto trdChi2Cut =
new TCutG(
"TrdChi2Cut2D", 5);
125 trdChi2Cut->SetVarX(
"P");
126 trdChi2Cut->SetVarY(
"Chi2");
127 trdChi2Cut->SetPoint(0, 0.0, 0.0);
128 trdChi2Cut->SetPoint(1, 10.0, 1.0);
129 trdChi2Cut->SetPoint(2, 10.0, 7.0);
130 trdChi2Cut->SetPoint(3, 7.0, 10.0);
131 trdChi2Cut->SetPoint(4, 0.0, 10.0);
135 std::unique_ptr<TCutG>
fTofM2Cut2D = std::make_unique<TCutG>(*[]() {
137 auto tofM2Cut =
new TCutG(
"TofM2Cut2D", 8);
138 tofM2Cut->SetVarX(
"P");
139 tofM2Cut->SetVarY(
"m2");
140 tofM2Cut->SetPoint(0, 0., -0.01);
141 tofM2Cut->SetPoint(1, 2., -0.06);
142 tofM2Cut->SetPoint(2, 8., -0.35);
143 tofM2Cut->SetPoint(3, 10., -0.35);
144 tofM2Cut->SetPoint(4, 10., 0.2);
145 tofM2Cut->SetPoint(5, 6., 0.3);
146 tofM2Cut->SetPoint(6, 1.3, 0.01);
147 tofM2Cut->SetPoint(7, 0., 0.01);
153 auto tofDistCut =
new TCutG(
"TofDistCut2D", 7);
154 tofDistCut->SetVarX(
"P");
155 tofDistCut->SetVarY(
"Dist");
156 tofDistCut->SetPoint(0, 0., 0.);
157 tofDistCut->SetPoint(1, 10., 0.);
158 tofDistCut->SetPoint(2, 10., 5.);
159 tofDistCut->SetPoint(3, 5., 7.);
160 tofDistCut->SetPoint(4, 2.5, 25.);
161 tofDistCut->SetPoint(5, 1., 50.);
162 tofDistCut->SetPoint(6, 0., 50.);
199 Double_t
GetTofM2(
Int_t globalTrackIndex, Double_t momentum, Double_t eventTime = 1000.);
220 void SetRichCuts(Double_t meanA, Double_t rmsA, Double_t meanB, Double_t rmsB, Double_t rmsCoeff, Double_t rtDistCut)