25 #include "KFParticle.h"
26 #include "KFParticleTopoReconstructor.h"
43 : fKFparticle(nullptr)
44 , fKFparticleFinderQA(nullptr)
50 , fStsTrackMatches(nullptr)
51 , fGlobalTracks(nullptr)
52 , fRichRingMatches(nullptr)
53 , fRichProjections(nullptr)
64 , GammasZeroStsIndex()
67 , GammasOneTwoStsIndex()
83 , EMT_Event_multi_all()
84 , EMT_pair_momenta_multi_all()
85 , EMT_Event_multi_one()
86 , EMT_pair_momenta_multi_one()
87 , EMT_Event_multi_two()
88 , EMT_pair_momenta_multi_two()
89 , EMT_Event_multi_zero()
90 , EMT_pair_momenta_multi_zero()
91 , EMT_Event_multi_onetwo()
92 , EMT_pair_momenta_multi_onetwo()
98 , fHistoList_CheckForCuts()
99 , CheckForCuts_InvMass_MC(nullptr)
100 , CheckForCuts_InvMass_Reco(nullptr)
101 , CheckForCuts_OA_MC(nullptr)
102 , CheckForCuts_OA_Reco(nullptr)
103 , CheckForCuts_InvMass_MC_from_one_pi0(nullptr)
104 , CheckForCuts_InvMass_Reco_from_one_pi0(nullptr)
105 , CheckForCuts_OA_MC_from_one_pi0(nullptr)
106 , CheckForCuts_OA_Reco_from_one_pi0(nullptr)
107 , CheckForCuts_z_vs_InvMass_MC_from_one_pi0(nullptr)
108 , CheckForCuts_z_vs_InvMass_Reco_from_one_pi0(nullptr)
109 , CheckForCuts_z_vs_OA_MC_from_one_pi0(nullptr)
110 , CheckForCuts_z_vs_OA_Reco_from_one_pi0(nullptr)
111 , CheckForCuts_InvMass_Reco_from_one_pi0_less4cm(nullptr)
112 , CheckForCuts_OA_Reco_from_one_pi0_less4cm(nullptr)
113 , CheckForCuts_InvMass_Reco_from_one_pi0_4cm_21cm(nullptr)
114 , CheckForCuts_OA_Reco_from_one_pi0_4cm_21cm(nullptr)
115 , CheckForCuts_InvMass_Reco_from_one_pi0_more21cm(nullptr)
116 , CheckForCuts_OA_Reco_from_one_pi0_more21cm(nullptr)
118 , fGammaInvMassReco_All(nullptr)
119 , fGammaOpeningAngleReco_All(nullptr)
121 , fP_reco_All(nullptr)
122 , fPt_reco_All(nullptr)
123 , fPi0InvMassRecoKF_All(nullptr)
124 , fEMT_InvMass_All(nullptr)
125 , fPi0_pt_vs_rap_All(nullptr)
126 , fPi0_pt_vs_rap_est_All(nullptr)
127 , fHistoList_All_target()
128 , fGammaInvMassReco_All_target(nullptr)
129 , fGammaOpeningAngleReco_All_target(nullptr)
130 , fPi0InvMassRecoKF_All_target(nullptr)
131 , fEMT_InvMass_All_target(nullptr)
132 , fHistoList_All_mvd()
133 , fGammaInvMassReco_All_mvd(nullptr)
134 , fGammaOpeningAngleReco_All_mvd(nullptr)
135 , fPi0InvMassRecoKF_All_mvd(nullptr)
136 , fHistoList_All_sts()
137 , fGammaInvMassReco_All_sts(nullptr)
138 , fGammaOpeningAngleReco_All_sts(nullptr)
139 , fPi0InvMassRecoKF_All_sts(nullptr)
140 , fHistoList_All_outside()
141 , fGammaInvMassReco_All_outside(nullptr)
142 , fGammaOpeningAngleReco_All_outside(nullptr)
143 , fPi0InvMassRecoKF_All_outside(nullptr)
144 , fEMT_InvMass_All_outside(nullptr)
146 , fGammaInvMassReco_Zero(nullptr)
147 , fGammaOpeningAngleReco_Zero(nullptr)
149 , fP_reco_Zero(nullptr)
150 , fPt_reco_Zero(nullptr)
151 , fPi0InvMassRecoKF_Zero(nullptr)
152 , fEMT_InvMass_Zero(nullptr)
153 , fPi0_pt_vs_rap_Zero(nullptr)
154 , fPi0_pt_vs_rap_est_Zero(nullptr)
155 , fHistoList_Zero_target()
156 , fGammaInvMassReco_Zero_target(nullptr)
157 , fGammaOpeningAngleReco_Zero_target(nullptr)
158 , fPi0InvMassRecoKF_Zero_target(nullptr)
159 , fEMT_InvMass_Zero_target(nullptr)
160 , fHistoList_Zero_mvd()
161 , fGammaInvMassReco_Zero_mvd(nullptr)
162 , fGammaOpeningAngleReco_Zero_mvd(nullptr)
163 , fPi0InvMassRecoKF_Zero_mvd(nullptr)
164 , fHistoList_Zero_sts()
165 , fGammaInvMassReco_Zero_sts(nullptr)
166 , fGammaOpeningAngleReco_Zero_sts(nullptr)
167 , fPi0InvMassRecoKF_Zero_sts(nullptr)
168 , fHistoList_Zero_outside()
169 , fGammaInvMassReco_Zero_outside(nullptr)
170 , fGammaOpeningAngleReco_Zero_outside(nullptr)
171 , fPi0InvMassRecoKF_Zero_outside(nullptr)
172 , fEMT_InvMass_Zero_outside(nullptr)
174 , fGammaInvMassReco_One(nullptr)
175 , fGammaOpeningAngleReco_One(nullptr)
177 , fP_reco_One(nullptr)
178 , fPt_reco_One(nullptr)
179 , fPi0InvMassRecoKF_One(nullptr)
180 , fEMT_InvMass_One(nullptr)
181 , fPi0_pt_vs_rap_One(nullptr)
182 , fPi0_pt_vs_rap_est_One(nullptr)
183 , fHistoList_One_target()
184 , fGammaInvMassReco_One_target(nullptr)
185 , fGammaOpeningAngleReco_One_target(nullptr)
186 , fPi0InvMassRecoKF_One_target(nullptr)
187 , fEMT_InvMass_One_target(nullptr)
188 , fHistoList_One_mvd()
189 , fGammaInvMassReco_One_mvd(nullptr)
190 , fGammaOpeningAngleReco_One_mvd(nullptr)
191 , fPi0InvMassRecoKF_One_mvd(nullptr)
192 , fHistoList_One_sts()
193 , fGammaInvMassReco_One_sts(nullptr)
194 , fGammaOpeningAngleReco_One_sts(nullptr)
195 , fPi0InvMassRecoKF_One_sts(nullptr)
196 , fHistoList_One_outside()
197 , fGammaInvMassReco_One_outside(nullptr)
198 , fGammaOpeningAngleReco_One_outside(nullptr)
199 , fPi0InvMassRecoKF_One_outside(nullptr)
200 , fEMT_InvMass_One_outside(nullptr)
202 , fGammaInvMassReco_Two(nullptr)
203 , fGammaOpeningAngleReco_Two(nullptr)
205 , fP_reco_Two(nullptr)
206 , fPt_reco_Two(nullptr)
207 , fPi0InvMassRecoKF_Two(nullptr)
208 , fEMT_InvMass_Two(nullptr)
209 , fPi0_pt_vs_rap_Two(nullptr)
210 , fPi0_pt_vs_rap_est_Two(nullptr)
211 , fHistoList_Two_target()
212 , fGammaInvMassReco_Two_target(nullptr)
213 , fGammaOpeningAngleReco_Two_target(nullptr)
214 , fPi0InvMassRecoKF_Two_target(nullptr)
215 , fEMT_InvMass_Two_target(nullptr)
216 , fHistoList_Two_mvd()
217 , fGammaInvMassReco_Two_mvd(nullptr)
218 , fGammaOpeningAngleReco_Two_mvd(nullptr)
219 , fPi0InvMassRecoKF_Two_mvd(nullptr)
220 , fHistoList_Two_sts()
221 , fGammaInvMassReco_Two_sts(nullptr)
222 , fGammaOpeningAngleReco_Two_sts(nullptr)
223 , fPi0InvMassRecoKF_Two_sts(nullptr)
224 , fHistoList_Two_outside()
225 , fGammaInvMassReco_Two_outside(nullptr)
226 , fGammaOpeningAngleReco_Two_outside(nullptr)
227 , fPi0InvMassRecoKF_Two_outside(nullptr)
228 , fEMT_InvMass_Two_outside(nullptr)
229 , fHistoList_OneTwo()
230 , fGammaInvMassReco_OneTwo(nullptr)
231 , fGammaOpeningAngleReco_OneTwo(nullptr)
232 , fPdg_OneTwo(nullptr)
233 , fP_reco_OneTwo(nullptr)
234 , fPt_reco_OneTwo(nullptr)
235 , fPi0InvMassRecoKF_OneTwo(nullptr)
236 , fEMT_InvMass_OneTwo(nullptr)
237 , fPi0_pt_vs_rap_OneTwo(nullptr)
238 , fPi0_pt_vs_rap_est_OneTwo(nullptr)
239 , fHistoList_OneTwo_target()
240 , fGammaInvMassReco_OneTwo_target(nullptr)
241 , fGammaOpeningAngleReco_OneTwo_target(nullptr)
242 , fPi0InvMassRecoKF_OneTwo_target(nullptr)
243 , fEMT_InvMass_OneTwo_target(nullptr)
244 , fHistoList_OneTwo_mvd()
245 , fGammaInvMassReco_OneTwo_mvd(nullptr)
246 , fGammaOpeningAngleReco_OneTwo_mvd(nullptr)
247 , fPi0InvMassRecoKF_OneTwo_mvd(nullptr)
248 , fHistoList_OneTwo_sts()
249 , fGammaInvMassReco_OneTwo_sts(nullptr)
250 , fGammaOpeningAngleReco_OneTwo_sts(nullptr)
251 , fPi0InvMassRecoKF_OneTwo_sts(nullptr)
252 , fHistoList_OneTwo_outside()
253 , fGammaInvMassReco_OneTwo_outside(nullptr)
254 , fGammaOpeningAngleReco_OneTwo_outside(nullptr)
255 , fPi0InvMassRecoKF_OneTwo_outside(nullptr)
256 , fEMT_InvMass_OneTwo_outside(nullptr)
257 , fHistoList_multiplicity()
258 , MultiplicityGamma_All(nullptr)
259 , MultiplicityGamma_Zero(nullptr)
260 , MultiplicityGamma_One(nullptr)
261 , MultiplicityGamma_Two(nullptr)
262 , MultiplicityGamma_OneTwo(nullptr)
263 , MultiplicityChargedParticles_All(nullptr)
264 , MultiplicityChargedParticles_Zero(nullptr)
265 , MultiplicityChargedParticles_One(nullptr)
266 , MultiplicityChargedParticles_Two(nullptr)
267 , MultiplicityChargedParticles_OneTwo(nullptr)
268 , fHistoList_multiplicity_All()
269 , fHistoList_multiplicity_One()
270 , fHistoList_multiplicity_Two()
271 , fHistoList_multiplicity_Zero()
272 , fHistoList_multiplicity_OneTwo()
273 , EMTMulti_InvMass_All_m1(nullptr)
274 , EMTMulti_InvMass_All_m2(nullptr)
275 , EMTMulti_InvMass_All_m3(nullptr)
276 , EMTMulti_InvMass_All_m4(nullptr)
277 , EMTMulti_InvMass_All_m5(nullptr)
278 , EMTMulti_InvMass_All_m6(nullptr)
279 , EMTMulti_InvMass_All_m7(nullptr)
280 , EMTMulti_InvMass_Zero_m1(nullptr)
281 , EMTMulti_InvMass_Zero_m2(nullptr)
282 , EMTMulti_InvMass_Zero_m3(nullptr)
283 , EMTMulti_InvMass_Zero_m4(nullptr)
284 , EMTMulti_InvMass_Zero_m5(nullptr)
285 , EMTMulti_InvMass_Zero_m6(nullptr)
286 , EMTMulti_InvMass_Zero_m7(nullptr)
287 , EMTMulti_InvMass_One_m1(nullptr)
288 , EMTMulti_InvMass_One_m2(nullptr)
289 , EMTMulti_InvMass_One_m3(nullptr)
290 , EMTMulti_InvMass_One_m4(nullptr)
291 , EMTMulti_InvMass_One_m5(nullptr)
292 , EMTMulti_InvMass_One_m6(nullptr)
293 , EMTMulti_InvMass_One_m7(nullptr)
294 , EMTMulti_InvMass_Two_m1(nullptr)
295 , EMTMulti_InvMass_Two_m2(nullptr)
296 , EMTMulti_InvMass_Two_m3(nullptr)
297 , EMTMulti_InvMass_Two_m4(nullptr)
298 , EMTMulti_InvMass_Two_m5(nullptr)
299 , EMTMulti_InvMass_Two_m6(nullptr)
300 , EMTMulti_InvMass_Two_m7(nullptr)
301 , EMTMulti_InvMass_OneTwo_m1(nullptr)
302 , EMTMulti_InvMass_OneTwo_m2(nullptr)
303 , EMTMulti_InvMass_OneTwo_m3(nullptr)
304 , EMTMulti_InvMass_OneTwo_m4(nullptr)
305 , EMTMulti_InvMass_OneTwo_m5(nullptr)
306 , EMTMulti_InvMass_OneTwo_m6(nullptr)
307 , EMTMulti_InvMass_OneTwo_m7(nullptr)
308 , fHistoList_bg_all()
319 , PdgCase8_all(nullptr)
320 , PdgCase8mothers_all(nullptr)
321 , sameMIDcase8_all(nullptr)
322 , sameGRIDcase8_all(nullptr)
323 , Case1ZYPos_all(nullptr)
324 , sameMIDcase8_mothedPDG_all(nullptr)
325 , PdgCase8NonEComeFromTarget_all(nullptr)
326 , PdgCase8NonE_NOT_FromTarget_all(nullptr)
327 , PdgCase8motherNonE_all(nullptr)
328 , Case8ElFromDalitz_all(nullptr)
329 , Case8NonElFrom_pn_all(nullptr)
330 , Case8NonElFrom_eta_all(nullptr)
331 , Case8NonElFrom_kaon_all(nullptr)
332 , sameMIDcase8NonEPdg_all(nullptr)
333 , sameMIDcase8NonEMotherPdg_all(nullptr)
334 , sameMIDcase8NonEMotherIM_all(nullptr)
335 , sameMIDcase8NonEPdgFromTarget_all(nullptr)
336 , sameMIDcase8NonEComeFromTargetIM_all(nullptr)
337 , sameMIDcase8NonEComeFromTargetP_all(nullptr)
338 , sameMIDcase8NonEComeFromTargetPt_all(nullptr)
339 , fHistoList_bg_zero()
350 , PdgCase8_zero(nullptr)
351 , PdgCase8mothers_zero(nullptr)
352 , sameMIDcase8_zero(nullptr)
353 , sameGRIDcase8_zero(nullptr)
354 , Case1ZYPos_zero(nullptr)
355 , sameMIDcase8_mothedPDG_zero(nullptr)
356 , PdgCase8NonEComeFromTarget_zero(nullptr)
357 , PdgCase8NonE_NOT_FromTarget_zero(nullptr)
358 , PdgCase8motherNonE_zero(nullptr)
359 , Case8ElFromDalitz_zero(nullptr)
360 , Case8NonElFrom_pn_zero(nullptr)
361 , Case8NonElFrom_eta_zero(nullptr)
362 , Case8NonElFrom_kaon_zero(nullptr)
363 , sameMIDcase8NonEPdg_zero(nullptr)
364 , sameMIDcase8NonEMotherPdg_zero(nullptr)
365 , sameMIDcase8NonEMotherIM_zero(nullptr)
366 , sameMIDcase8NonEPdgFromTarget_zero(nullptr)
367 , sameMIDcase8NonEComeFromTargetIM_zero(nullptr)
368 , sameMIDcase8NonEComeFromTargetP_zero(nullptr)
369 , sameMIDcase8NonEComeFromTargetPt_zero(nullptr)
370 , fHistoList_bg_one()
381 , PdgCase8_one(nullptr)
382 , PdgCase8mothers_one(nullptr)
383 , sameMIDcase8_one(nullptr)
384 , sameGRIDcase8_one(nullptr)
385 , Case1ZYPos_one(nullptr)
386 , sameMIDcase8_mothedPDG_one(nullptr)
387 , PdgCase8NonEComeFromTarget_one(nullptr)
388 , PdgCase8NonE_NOT_FromTarget_one(nullptr)
389 , PdgCase8motherNonE_one(nullptr)
390 , Case8ElFromDalitz_one(nullptr)
391 , Case8NonElFrom_pn_one(nullptr)
392 , Case8NonElFrom_eta_one(nullptr)
393 , Case8NonElFrom_kaon_one(nullptr)
394 , sameMIDcase8NonEPdg_one(nullptr)
395 , sameMIDcase8NonEMotherPdg_one(nullptr)
396 , sameMIDcase8NonEMotherIM_one(nullptr)
397 , sameMIDcase8NonEPdgFromTarget_one(nullptr)
398 , sameMIDcase8NonEComeFromTargetIM_one(nullptr)
399 , sameMIDcase8NonEComeFromTargetP_one(nullptr)
400 , sameMIDcase8NonEComeFromTargetPt_one(nullptr)
401 , fHistoList_bg_two()
412 , PdgCase8_two(nullptr)
413 , PdgCase8mothers_two(nullptr)
414 , sameMIDcase8_two(nullptr)
415 , sameGRIDcase8_two(nullptr)
416 , Case1ZYPos_two(nullptr)
417 , sameMIDcase8_mothedPDG_two(nullptr)
418 , PdgCase8NonEComeFromTarget_two(nullptr)
419 , PdgCase8NonE_NOT_FromTarget_two(nullptr)
420 , PdgCase8motherNonE_two(nullptr)
421 , Case8ElFromDalitz_two(nullptr)
422 , Case8NonElFrom_pn_two(nullptr)
423 , Case8NonElFrom_eta_two(nullptr)
424 , Case8NonElFrom_kaon_two(nullptr)
425 , sameMIDcase8NonEPdg_two(nullptr)
426 , sameMIDcase8NonEMotherPdg_two(nullptr)
427 , sameMIDcase8NonEMotherIM_two(nullptr)
428 , sameMIDcase8NonEPdgFromTarget_two(nullptr)
429 , sameMIDcase8NonEComeFromTargetIM_two(nullptr)
430 , sameMIDcase8NonEComeFromTargetP_two(nullptr)
431 , sameMIDcase8NonEComeFromTargetPt_two(nullptr)
432 , fHistoList_bg_onetwo()
433 , BG1_onetwo(nullptr)
434 , BG2_onetwo(nullptr)
435 , BG3_onetwo(nullptr)
436 , BG4_onetwo(nullptr)
437 , BG5_onetwo(nullptr)
438 , BG6_onetwo(nullptr)
439 , BG7_onetwo(nullptr)
440 , BG8_onetwo(nullptr)
441 , BG9_onetwo(nullptr)
442 , BG10_onetwo(nullptr)
443 , PdgCase8_onetwo(nullptr)
444 , PdgCase8mothers_onetwo(nullptr)
445 , sameMIDcase8_onetwo(nullptr)
446 , sameGRIDcase8_onetwo(nullptr)
447 , Case1ZYPos_onetwo(nullptr)
448 , sameMIDcase8_mothedPDG_onetwo(nullptr)
449 , PdgCase8NonEComeFromTarget_onetwo(nullptr)
450 , PdgCase8NonE_NOT_FromTarget_onetwo(nullptr)
451 , PdgCase8motherNonE_onetwo(nullptr)
452 , Case8ElFromDalitz_onetwo(nullptr)
453 , Case8NonElFrom_pn_onetwo(nullptr)
454 , Case8NonElFrom_eta_onetwo(nullptr)
455 , Case8NonElFrom_kaon_onetwo(nullptr)
456 , sameMIDcase8NonEPdg_onetwo(nullptr)
457 , sameMIDcase8NonEMotherPdg_onetwo(nullptr)
458 , sameMIDcase8NonEMotherIM_onetwo(nullptr)
459 , sameMIDcase8NonEPdgFromTarget_onetwo(nullptr)
460 , sameMIDcase8NonEComeFromTargetIM_onetwo(nullptr)
461 , sameMIDcase8NonEComeFromTargetP_onetwo(nullptr)
462 , sameMIDcase8NonEComeFromTargetPt_onetwo(nullptr) {}
471 cout <<
"CbmKresConversionKF: kf works" << endl;
473 cout <<
"CbmKresConversionKF: kf does not work" << endl;
482 FairRootManager* ioman = FairRootManager::Instance();
483 if (
nullptr == ioman) {
484 Fatal(
"CbmKresConversionKF::Init",
"RootManager not instantised!");
487 fMcTracks = (TClonesArray*) ioman->GetObject(
"MCTrack");
489 Fatal(
"CbmKresConversionKF::Init",
"No MCTrack array!");
492 fStsTracks = (TClonesArray*) ioman->GetObject(
"StsTrack");
494 Fatal(
"CbmKresConversionKF::Init",
"No StsTrack array!");
499 Fatal(
"CbmKresConversionKF::Init",
"No StsTrackMatch array!");
502 fGlobalTracks = (TClonesArray*) ioman->GetObject(
"GlobalTrack");
504 Fatal(
"CbmKresConversionKF::Init",
"No GlobalTrack array!");
509 Fatal(
"CbmKresConversionKF::Init",
"No RichRingMatch array!");
514 Fatal(
"CbmKresConversionKF::Init",
"No RichProjection array!");
517 fRichRings = (TClonesArray*) ioman->GetObject(
"RichRing");
519 Fatal(
"CbmKresConversionKF::Init",
"No RichRing array!");
522 fRichHits = (TClonesArray*) ioman->GetObject(
"RichHit");
524 Fatal(
"CbmKresConversionKF::Init",
"No RichHit array!");
535 double OpeningAngleCut,
536 double GammaInvMassCut,
538 cout <<
"CbmKresConversionKF, event No. " << fEventNumKF << endl;
541 vector<KFParticle> particlevector;
542 particlevector =
fKFtopo->GetParticles();
545 vector<KFParticle> allgammas;
547 for (
size_t vv = 0; vv < particlevector.size(); vv++) {
548 if (particlevector[vv].KFParticleBase::GetPDG()
550 if (particlevector[vv].KFParticleBase::NDaughters() != 2)
552 allgammas.push_back(particlevector[vv]);
555 cout <<
"number of all gammas from KFParticleFinder before any cuts = "
556 << allgammas.size() << endl;
670 if (fEventNumKF % 500 == 0) {
678 if (fEventNumKF % 1000 == 0) {
699 vector<vector<KFParticle>> primpi0;
700 primpi0 =
fKFtopo->GetKFParticleFinder()->GetPrimaryPi0();
701 vector<KFParticle> primpi0inside;
702 primpi0inside = primpi0.at(0);
703 for (
size_t tt = 0; tt < primpi0inside.size(); tt++) {
704 cout <<
"\t *********** primpi0->GetPt = " << primpi0inside[tt].GetPt()
705 <<
"; ->GetMass = " << primpi0inside[tt].GetMass()
706 <<
"; ->GetX = " << primpi0inside[tt].GetX()
707 <<
"; ->GetY = " << primpi0inside[tt].GetY()
708 <<
"; ->GetZ = " << primpi0inside[tt].GetZ()
709 <<
"; ->GetE = " << primpi0inside[tt].GetE() << endl;
715 vector<KFParticle> particlevector,
720 for (
size_t tt = 0; tt < allgammas.size(); tt++) {
721 if (allgammas[tt].GetZ() > 75 || allgammas[tt].GetZ() < -5)
continue;
722 std::vector<int> electronIds = allgammas[tt].KFParticleBase::DaughterIds();
723 std::vector<int> grDaughter0 =
724 particlevector[electronIds.at(0)].KFParticleBase::DaughterIds();
725 std::vector<int> grDaughter1 =
726 particlevector[electronIds.at(1)].KFParticleBase::DaughterIds();
727 if (grDaughter0.size() != 1 || grDaughter1.size() != 1)
733 if (stsTrack0 ==
nullptr || stsTrack1 ==
nullptr)
continue;
738 if (stsMatch0 ==
nullptr || stsMatch1 ==
nullptr)
continue;
743 if (stsMcTrackId0 < 0 || stsMcTrackId1 < 0)
continue;
746 if (mcTrack0 ==
nullptr || mcTrack1 ==
nullptr)
continue;
749 allgammas[tt].GetX(),
750 allgammas[tt].GetY(),
751 allgammas[tt].GetZ());
753 allgammas[tt].GetX(),
754 allgammas[tt].GetY(),
755 allgammas[tt].GetZ());
759 int richInd0 = 99999;
760 int richInd1 = 99999;
761 for (Int_t iTr = 0; iTr < ngTracks; iTr++) {
763 if (
nullptr == gTrack)
continue;
765 if (stsInd < 0)
continue;
766 if (stsInd == grDaughter0.at(0)) {
770 if (stsInd == grDaughter1.at(0)) {
780 if (richInd0 != 99999) {
783 if (richMatch ==
nullptr)
continue;
786 if (richMcTrackId < 0)
continue;
787 if (stsMcTrackId0 != richMcTrackId)
790 if (mcTrack2 ==
nullptr)
continue;
792 if (TMath::Abs(pdgRICH) == 11) richcheck_0++;
794 if (richInd1 != 99999) {
797 if (richMatch ==
nullptr)
continue;
800 if (richMcTrackId < 0)
continue;
801 if (stsMcTrackId1 != richMcTrackId)
804 if (mcTrack2 ==
nullptr)
continue;
806 if (TMath::Abs(pdgRICH) == 11) richcheck_1++;
812 if (richInd0 != 99999) {
817 if (richInd1 != 99999) {
825 int richcheck = richcheck_0 + richcheck_1;
828 FairTrackParam* proj =
830 if (richcheck_0 == 0 && proj->GetX() > -115 && proj->GetX() < 115
831 && ((proj->GetY() < -120 && proj->GetY() > -200)
832 || (proj->GetY() > 120 && proj->GetY() < 200)))
834 FairTrackParam* proj2 =
836 if (richcheck_1 == 0 && proj2->GetX() > -115 && proj2->GetX() < 115
837 && ((proj2->GetY() < -120 && proj2->GetY() > -200)
838 || (proj2->GetY() > 120 && proj2->GetY() < 200)))
858 fStsInd.push_back(grDaughter0.at(0));
859 fStsInd.push_back(grDaughter1.at(0));
861 Double_t invmassTrue =
867 Double_t opening_angle_refitted =
885 if (mcTrackMother !=
nullptr && mcTrackMother->
GetPdgCode() == 22
890 if (mcTrackMotherOfGamma->
GetPdgCode() == 111) {
900 allgammas[tt].GetZ(), invmassReco);
902 opening_angle_refitted);
903 if (allgammas[tt].GetZ() <= 4) {
906 opening_angle_refitted);
908 if (allgammas[tt].GetZ() <= 21 && allgammas[tt].GetZ() > 4) {
911 opening_angle_refitted);
913 if (allgammas[tt].GetZ() > 21) {
916 opening_angle_refitted);
924 if (TMath::Abs(opening_angle_refitted) > AngleCut)
continue;
925 if (TMath::Abs(invmassReco) > InvMassCut)
continue;
932 EMT_Z.push_back(allgammas[tt].GetZ());
936 if (richcheck == 0 || richcheck == 1 || richcheck == 2) {
954 if (allgammas[tt].GetZ() < 4) {
958 if (allgammas[tt].GetZ() > 4 && allgammas[tt].GetZ() < 21) {
962 if (allgammas[tt].GetZ() > 21 && allgammas[tt].GetZ() < 75) {
966 if (allgammas[tt].GetZ() > 4) {
974 if (richcheck == 0) {
992 if (allgammas[tt].GetZ() < 4) {
996 if (allgammas[tt].GetZ() > 4 && allgammas[tt].GetZ() < 21) {
1000 if (allgammas[tt].GetZ() > 21 && allgammas[tt].GetZ() < 75) {
1004 if (allgammas[tt].GetZ() > 4) {
1011 if (richcheck == 1) {
1029 if (allgammas[tt].GetZ() < 4) {
1033 if (allgammas[tt].GetZ() > 4 && allgammas[tt].GetZ() < 21) {
1037 if (allgammas[tt].GetZ() > 21 && allgammas[tt].GetZ() < 75) {
1041 if (allgammas[tt].GetZ() > 4) {
1048 if (richcheck == 2) {
1066 if (allgammas[tt].GetZ() < 4) {
1070 if (allgammas[tt].GetZ() > 4 && allgammas[tt].GetZ() < 21) {
1074 if (allgammas[tt].GetZ() > 21 && allgammas[tt].GetZ() < 75) {
1078 if (allgammas[tt].GetZ() > 4) {
1085 if (richcheck == 1 || richcheck == 2) {
1103 if (allgammas[tt].GetZ() < 4) {
1107 if (allgammas[tt].GetZ() > 4 && allgammas[tt].GetZ() < 21) {
1111 if (allgammas[tt].GetZ() > 21 && allgammas[tt].GetZ() < 75) {
1115 if (allgammas[tt].GetZ() > 4) {
1128 for (
size_t kk = 0; kk <
GammasAll.size(); kk++) {
1131 for (
size_t kk = 0; kk <
GammasZero.size(); kk++) {
1134 for (
size_t kk = 0; kk <
GammasOne.size(); kk++) {
1137 for (
size_t kk = 0; kk <
GammasTwo.size(); kk++) {
1147 vector<vector<TVector3>> Gammas,
1148 vector<vector<int>> StsIndex,
1149 vector<vector<CbmMCTrack*>> GammasMC,
1150 vector<Double_t> GammasZ,
1151 TH1D* Pi0InvMassRecoKF,
1152 TH2D* Pi0_pt_vs_rap,
1153 TH2D* Pi0_pt_vs_rap_est,
1154 TH1D* Pi0InvMassRecoKF_target,
1155 TH1D* Pi0InvMassRecoKF_mvd,
1156 TH1D* Pi0InvMassRecoKF_sts,
1157 TH1D* Pi0InvMassRecoKF_outside,
1158 TH2D* MultiplicityGamma,
1159 TH2D* MultiplicityChargedParticles,
1160 vector<TH1*> BGCases)
1164 if (Gammas.size() < 2)
return;
1166 for (
size_t gamma1 = 0; gamma1 < Gammas.size() - 1; gamma1++) {
1167 for (
size_t gamma2 = gamma1 + 1; gamma2 < Gammas.size(); gamma2++) {
1169 if (StsIndex[gamma1][0] == StsIndex[gamma2][0]
1170 || StsIndex[gamma1][0] == StsIndex[gamma2][1]
1171 || StsIndex[gamma1][1] == StsIndex[gamma2][0]
1172 || StsIndex[gamma1][1] == StsIndex[gamma2][1])
1176 TVector3 e1 = Gammas[gamma1][0];
1177 TVector3 e2 = Gammas[gamma1][1];
1178 TVector3 e3 = Gammas[gamma2][0];
1179 TVector3 e4 = Gammas[gamma2][1];
1190 Pi0InvMassRecoKF->Fill(params.
fMinv);
1192 MultiplicityGamma->Fill(Gammas.size(), params.
fMinv);
1193 MultiplicityChargedParticles->Fill(
fGlobalTracks->GetEntriesFast(),
1197 if (GammasZ[gamma1] < 4 && GammasZ[gamma2] < 4) {
1198 Pi0InvMassRecoKF_target->Fill(params.
fMinv);
1200 if (GammasZ[gamma1] > 4 && GammasZ[gamma1] < 21 && GammasZ[gamma2] > 4
1201 && GammasZ[gamma2] < 21) {
1202 Pi0InvMassRecoKF_mvd->Fill(params.
fMinv);
1204 if (GammasZ[gamma1] > 21 && GammasZ[gamma1] < 75 && GammasZ[gamma2] > 21
1205 && GammasZ[gamma2] < 75) {
1206 Pi0InvMassRecoKF_sts->Fill(params.
fMinv);
1208 if (GammasZ[gamma1] > 4 && GammasZ[gamma2] > 4) {
1209 Pi0InvMassRecoKF_outside->Fill(params.
fMinv);
1213 mcTrack1, mcTrack2, mcTrack3, mcTrack4, params.
fMinv, BGCases);
1216 if (
nullptr == mcTrack1 ||
nullptr == mcTrack2 ||
nullptr == mcTrack3
1217 ||
nullptr == mcTrack4)
1230 if (motherId1 == -1 || motherId2 == -1 || motherId3 == -1
1233 if (motherId1 != motherId2 || motherId3 != motherId4)
continue;
1238 if (
nullptr == mother1 ||
nullptr == mother2 ||
nullptr == mother3
1239 ||
nullptr == mother4)
1250 if (mcMotherPdg1 == 22 && mcMotherPdg2 == 22 && mcMotherPdg3 == 111
1251 && mcMotherPdg4 == 111) {
1252 if (grandmotherId1 != motherId3)
continue;
1257 if (mcMotherPdg1 == 111 && mcMotherPdg2 == 111 && mcMotherPdg3 == 22
1258 && mcMotherPdg4 == 22) {
1259 if (grandmotherId3 != motherId1)
continue;
1264 if (mcMotherPdg1 == 22 && mcMotherPdg2 == 22 && mcMotherPdg3 == 22
1265 && mcMotherPdg4 == 22) {
1266 if (grandmotherId1 != grandmotherId2 || grandmotherId3 != grandmotherId4
1267 || grandmotherId1 != grandmotherId3)
1269 if (grandmotherId1 == -1)
continue;
1271 if (
nullptr == grandmother1)
continue;
1272 int mcGrandMotherPdg1 = grandmother1->
GetPdgCode();
1273 if (mcGrandMotherPdg1 != 111)
continue;
1285 if (
nullptr != ring) {
1288 for (
int i = 0;
i < nofHits;
i++) {
1289 Int_t hitInd = ring->
GetHit(
i);
1291 if (
nullptr == hit)
continue;
1311 cout <<
"MixedEvent CbmKresConversionKF - nof entries " << nof << endl;
1312 for (Int_t a = 0; a < nof - 1; a++) {
1313 for (Int_t b = a + 1; b < nof; b++) {
1322 e11, e12, e21, e22);
1370 cout <<
"MixedEventMulti CbmKresConversionKF - nof entries all " << nof_all
1372 for (Int_t a = 0; a < nof_all - 1; a++) {
1373 for (Int_t b = a + 1; b < nof_all; b++) {
1384 e11, e12, e21, e22);
1398 cout <<
"MixedEvent - nof entries zero " << nof_zero << endl;
1399 for (Int_t a = 0; a < nof_zero - 1; a++) {
1400 for (Int_t b = a + 1; b < nof_zero; b++) {
1411 e11, e12, e21, e22);
1425 cout <<
"MixedEvent - nof entries one " << nof_one << endl;
1426 for (Int_t a = 0; a < nof_one - 1; a++) {
1427 for (Int_t b = a + 1; b < nof_one; b++) {
1438 e11, e12, e21, e22);
1452 cout <<
"MixedEvent - nof entries two " << nof_two << endl;
1453 for (Int_t a = 0; a < nof_two - 1; a++) {
1454 for (Int_t b = a + 1; b < nof_two; b++) {
1465 e11, e12, e21, e22);
1479 cout <<
"MixedEvent - nof entries onetwo " << nof_onetwo << endl;
1480 for (Int_t a = 0; a < nof_onetwo - 1; a++) {
1481 for (Int_t b = a + 1; b < nof_onetwo; b++) {
1492 e11, e12, e21, e22);
1514 gDirectory->mkdir(
"KF");
1515 gDirectory->cd(
"KF");
1518 gDirectory->mkdir(
"CheckCuts");
1519 gDirectory->cd(
"CheckCuts");
1523 gDirectory->cd(
"..");
1526 gDirectory->mkdir(
"multiplicity");
1527 gDirectory->cd(
"multiplicity");
1528 gDirectory->mkdir(
"All");
1529 gDirectory->cd(
"All");
1533 gDirectory->cd(
"..");
1534 gDirectory->mkdir(
"Zero");
1535 gDirectory->cd(
"Zero");
1539 gDirectory->cd(
"..");
1540 gDirectory->mkdir(
"One");
1541 gDirectory->cd(
"One");
1545 gDirectory->cd(
"..");
1546 gDirectory->mkdir(
"Two");
1547 gDirectory->cd(
"Two");
1551 gDirectory->cd(
"..");
1552 gDirectory->mkdir(
"OneTwo");
1553 gDirectory->cd(
"OneTwo");
1557 gDirectory->cd(
"..");
1561 gDirectory->cd(
"..");
1564 gDirectory->mkdir(
"BG");
1565 gDirectory->cd(
"BG");
1566 gDirectory->mkdir(
"BG_all");
1567 gDirectory->cd(
"BG_all");
1571 gDirectory->cd(
"..");
1572 gDirectory->mkdir(
"BG_zero");
1573 gDirectory->cd(
"BG_zero");
1577 gDirectory->cd(
"..");
1578 gDirectory->mkdir(
"BG_one");
1579 gDirectory->cd(
"BG_one");
1583 gDirectory->cd(
"..");
1584 gDirectory->mkdir(
"BG_two");
1585 gDirectory->cd(
"BG_two");
1589 gDirectory->cd(
"..");
1590 gDirectory->mkdir(
"BG_onetwo");
1591 gDirectory->cd(
"BG_onetwo");
1595 gDirectory->cd(
"..");
1596 gDirectory->cd(
"..");
1599 gDirectory->mkdir(
"g->All");
1600 gDirectory->cd(
"g->All");
1601 gDirectory->mkdir(
"target(<4cm)");
1602 gDirectory->cd(
"target(<4cm)");
1606 gDirectory->cd(
"..");
1607 gDirectory->mkdir(
"mvd(4cm-21cm)");
1608 gDirectory->cd(
"mvd(4cm-21cm)");
1612 gDirectory->cd(
"..");
1613 gDirectory->mkdir(
"sts(21cm-75cm)");
1614 gDirectory->cd(
"sts(21cm-75cm)");
1618 gDirectory->cd(
"..");
1619 gDirectory->mkdir(
"outside the target(>4cm)");
1620 gDirectory->cd(
"outside the target(>4cm)");
1624 gDirectory->cd(
"..");
1628 gDirectory->cd(
"..");
1631 gDirectory->mkdir(
"g->Zero");
1632 gDirectory->cd(
"g->Zero");
1633 gDirectory->mkdir(
"target(<4cm)");
1634 gDirectory->cd(
"target(<4cm)");
1638 gDirectory->cd(
"..");
1639 gDirectory->mkdir(
"mvd(4cm-21cm)");
1640 gDirectory->cd(
"mvd(4cm-21cm)");
1644 gDirectory->cd(
"..");
1645 gDirectory->mkdir(
"sts(21cm-75cm)");
1646 gDirectory->cd(
"sts(21cm-75cm)");
1650 gDirectory->cd(
"..");
1651 gDirectory->mkdir(
"outside the target(>4cm)");
1652 gDirectory->cd(
"outside the target(>4cm)");
1656 gDirectory->cd(
"..");
1660 gDirectory->cd(
"..");
1663 gDirectory->mkdir(
"g->One");
1664 gDirectory->cd(
"g->One");
1665 gDirectory->mkdir(
"target(<4cm)");
1666 gDirectory->cd(
"target(<4cm)");
1670 gDirectory->cd(
"..");
1671 gDirectory->mkdir(
"mvd(4cm-21cm)");
1672 gDirectory->cd(
"mvd(4cm-21cm)");
1676 gDirectory->cd(
"..");
1677 gDirectory->mkdir(
"sts(21cm-75cm)");
1678 gDirectory->cd(
"sts(21cm-75cm)");
1682 gDirectory->cd(
"..");
1683 gDirectory->mkdir(
"outside the target(>4cm)");
1684 gDirectory->cd(
"outside the target(>4cm)");
1688 gDirectory->cd(
"..");
1692 gDirectory->cd(
"..");
1695 gDirectory->mkdir(
"g->Two");
1696 gDirectory->cd(
"g->Two");
1697 gDirectory->mkdir(
"target(<4cm)");
1698 gDirectory->cd(
"target(<4cm)");
1702 gDirectory->cd(
"..");
1703 gDirectory->mkdir(
"mvd(4cm-21cm)");
1704 gDirectory->cd(
"mvd(4cm-21cm)");
1708 gDirectory->cd(
"..");
1709 gDirectory->mkdir(
"sts(21cm-75cm)");
1710 gDirectory->cd(
"sts(21cm-75cm)");
1714 gDirectory->cd(
"..");
1715 gDirectory->mkdir(
"outside the target(>4cm)");
1716 gDirectory->cd(
"outside the target(>4cm)");
1720 gDirectory->cd(
"..");
1724 gDirectory->cd(
"..");
1727 gDirectory->mkdir(
"g->OneTwo");
1728 gDirectory->cd(
"g->OneTwo");
1729 gDirectory->mkdir(
"target(<4cm)");
1730 gDirectory->cd(
"target(<4cm)");
1734 gDirectory->cd(
"..");
1735 gDirectory->mkdir(
"mvd(4cm-21cm)");
1736 gDirectory->cd(
"mvd(4cm-21cm)");
1740 gDirectory->cd(
"..");
1741 gDirectory->mkdir(
"sts(21cm-75cm)");
1742 gDirectory->cd(
"sts(21cm-75cm)");
1746 gDirectory->cd(
"..");
1747 gDirectory->mkdir(
"outside the target(>4cm)");
1748 gDirectory->cd(
"outside the target(>4cm)");
1752 gDirectory->cd(
"..");
1756 gDirectory->cd(
"..");
1759 gDirectory->cd(
"..");
1765 new TH1D(
"CheckForCuts_InvMass_MC",
1766 "CheckForCuts_InvMass_MC; invariant mass in GeV/c^{2};#",
1772 new TH1D(
"CheckForCuts_InvMass_Reco",
1773 "CheckForCuts_InvMass_Reco; invariant mass in GeV/c^{2};#",
1779 "CheckForCuts_OA_MC; #theta angle [deg];#",
1785 "CheckForCuts_OA_Reco; #theta angle [deg];#",
1791 "CheckForCuts_InvMass_MC_from_one_pi0",
1792 "CheckForCuts_InvMass_MC_from_one_pi0; invariant mass in GeV/c^{2};#",
1798 "CheckForCuts_InvMass_Reco_from_one_pi0",
1799 "CheckForCuts_InvMass_Reco_from_one_pi0; invariant mass in GeV/c^{2};#",
1805 new TH1D(
"CheckForCuts_OA_MC_from_one_pi0",
1806 "CheckForCuts_OA_MC_from_one_pi0; angle [deg];#",
1812 new TH1D(
"CheckForCuts_OA_Reco_from_one_pi0",
1813 "CheckForCuts_OA_Reco_from_one_pi0; angle [deg];#",
1819 new TH2D(
"CheckForCuts_z_vs_InvMass_MC_from_one_pi0",
1820 "CheckForCuts_z_vs_InvMass_MC_from_one_pi0; Z [cm]; invariant "
1821 "mass in GeV/c^{2}; Nof",
1830 new TH2D(
"CheckForCuts_z_vs_InvMass_Reco_from_one_pi0",
1831 "CheckForCuts_z_vs_InvMass_Reco_from_one_pi0; Z [cm]; invariant "
1832 "mass in GeV/c^{2}; Nof",
1842 new TH2D(
"CheckForCuts_z_vs_OA_MC_from_one_pi0",
1843 "CheckForCuts_z_vs_OA_MC_from_one_pi0; Z [cm]; #theta in deg; Nof",
1852 "CheckForCuts_z_vs_OA_Reco_from_one_pi0",
1853 "CheckForCuts_z_vs_OA_Reco_from_one_pi0; Z [cm]; #theta in deg; Nof",
1862 new TH1D(
"CheckForCuts_InvMass_Reco_from_one_pi0_less4cm",
1863 "CheckForCuts_InvMass_Reco_from_one_pi0_less4cm; invariant mass "
1871 new TH1D(
"CheckForCuts_OA_Reco_from_one_pi0_less4cm",
1872 "CheckForCuts_OA_Reco_from_one_pi0_less4cm; angle [deg];#",
1878 new TH1D(
"CheckForCuts_InvMass_Reco_from_one_pi0_4cm_21cm",
1879 "CheckForCuts_InvMass_Reco_from_one_pi0_4cm_21cm; invariant mass "
1887 new TH1D(
"CheckForCuts_OA_Reco_from_one_pi0_4cm_21cm",
1888 "CheckForCuts_OA_Reco_from_one_pi0_4cm_21cm; angle [deg];#",
1894 new TH1D(
"CheckForCuts_InvMass_Reco_from_one_pi0_more21cm",
1895 "CheckForCuts_InvMass_Reco_from_one_pi0_more21cm; invariant mass "
1903 new TH1D(
"CheckForCuts_OA_Reco_from_one_pi0_more21cm",
1904 "CheckForCuts_OA_Reco_from_one_pi0_more21cm; angle [deg];#",
1913 new TH1D(
"fGammaInvMassReco_All",
1914 "fGammaInvMassReco_All; invariant mass in GeV/c^{2};#",
1920 new TH1D(
"fGammaOpeningAngleReco_All",
1921 "fGammaOpeningAngleReco_All; angle [deg];#",
1926 fPdg_All =
new TH1D(
"fPdg_All",
"fPdg_All; Id ;#", 800, 0, 400);
1929 new TH1D(
"fP_reco_All",
"fP_reco_All; P in GeV/c^{2} ;#", 600, 0, 6);
1932 new TH1D(
"fPt_reco_All",
"fPt_reco_All; Pt in GeV/c^{2} ;#", 300, 0, 3);
1935 new TH1D(
"fPi0InvMassRecoKF_All",
1936 "fPi0InvMassRecoKF_All; invariant mass in GeV/c^{2};#",
1942 "fEMT_InvMass_All; invariant mass in GeV/c^{2};#",
1948 new TH2D(
"fPi0_pt_vs_rap_All",
1949 "fPi0_pt_vs_rap_All; rapidity y; p_{t} in GeV/c ",
1958 new TH2D(
"fPi0_pt_vs_rap_est_All",
1959 "fPi0_pt_vs_rap_est_All; rapidity y; p_{t} in GeV/c ",
1969 new TH1D(
"fGammaInvMassReco_All_target",
1970 "fGammaInvMassReco_All_target; invariant mass in GeV/c^{2};#",
1976 new TH1D(
"fGammaOpeningAngleReco_All_target",
1977 "fGammaOpeningAngleReco_All_target; angle [deg];#",
1983 new TH1D(
"fPi0InvMassRecoKF_All_target",
1984 "fPi0InvMassRecoKF_All_target; invariant mass in GeV/c^{2};#",
1990 new TH1D(
"fEMT_InvMass_All_target",
1991 "fEMT_InvMass_All_target; invariant mass in GeV/c^{2};#",
1998 new TH1D(
"fGammaInvMassReco_All_mvd",
1999 "fGammaInvMassReco_All_mvd; invariant mass in GeV/c^{2};#",
2005 new TH1D(
"fGammaOpeningAngleReco_All_mvd",
2006 "fGammaOpeningAngleReco_All_mvd; angle [deg];#",
2012 new TH1D(
"fPi0InvMassRecoKF_All_mvd",
2013 "fPi0InvMassRecoKF_All_mvd; invariant mass in GeV/c^{2};#",
2020 new TH1D(
"fGammaInvMassReco_All_sts",
2021 "fGammaInvMassReco_All_sts; invariant mass in GeV/c^{2};#",
2027 new TH1D(
"fGammaOpeningAngleReco_All_sts",
2028 "fGammaOpeningAngleReco_All_sts; angle [deg];#",
2034 new TH1D(
"fPi0InvMassRecoKF_All_sts",
2035 "fPi0InvMassRecoKF_All_sts; invariant mass in GeV/c^{2};#",
2042 new TH1D(
"fGammaInvMassReco_All_outside",
2043 "fGammaInvMassReco_All_outside; invariant mass in GeV/c^{2};#",
2049 new TH1D(
"fGammaOpeningAngleReco_All_outside",
2050 "fGammaOpeningAngleReco_All_outside; angle [deg];#",
2056 new TH1D(
"fPi0InvMassRecoKF_All_outside",
2057 "fPi0InvMassRecoKF_All_outside; invariant mass in GeV/c^{2};#",
2063 new TH1D(
"fEMT_InvMass_All_outside",
2064 "fEMT_InvMass_All_outside; invariant mass in GeV/c^{2};#",
2073 new TH1D(
"fGammaInvMassReco_Zero",
2074 "fGammaInvMassReco_Zero; invariant mass in GeV/c^{2};#",
2080 new TH1D(
"fGammaOpeningAngleReco_Zero",
2081 "fGammaOpeningAngleReco_Zero; angle [deg];#",
2086 fPdg_Zero =
new TH1D(
"fPdg_Zero",
"fPdg_Zero; Id ;#", 800, 0, 400);
2089 new TH1D(
"fP_reco_Zero",
"fP_reco_Zero; P in GeV/c^{2} ;#", 600, 0, 6);
2092 new TH1D(
"fPt_reco_Zero",
"fPt_reco_Zero; Pt in GeV/c^{2} ;#", 300, 0, 3);
2095 new TH1D(
"fPi0InvMassRecoKF_Zero",
2096 "fPi0InvMassRecoKF_Zero; invariant mass in GeV/c^{2};#",
2102 new TH1D(
"fEMT_InvMass_Zero",
2103 "fEMT_InvMass_Zero; invariant mass in GeV/c^{2};#",
2109 new TH2D(
"fPi0_pt_vs_rap_Zero",
2110 "fPi0_pt_vs_rap_Zero; rapidity y; p_{t} in GeV/c ",
2119 new TH2D(
"fPi0_pt_vs_rap_est_Zero",
2120 "fPi0_pt_vs_rap_est_Zero; rapidity y; p_{t} in GeV/c ",
2130 new TH1D(
"fGammaInvMassReco_Zero_target",
2131 "fGammaInvMassReco_Zero_target; invariant mass in GeV/c^{2};#",
2137 new TH1D(
"fGammaOpeningAngleReco_Zero_target",
2138 "fGammaOpeningAngleReco_Zero_target; angle [deg];#",
2144 new TH1D(
"fPi0InvMassRecoKF_Zero_target",
2145 "fPi0InvMassRecoKF_Zero_target; invariant mass in GeV/c^{2};#",
2151 new TH1D(
"fEMT_InvMass_Zero_target",
2152 "fEMT_InvMass_Zero_target; invariant mass in GeV/c^{2};#",
2159 new TH1D(
"fGammaInvMassReco_Zero_mvd",
2160 "fGammaInvMassReco_Zero_mvd; invariant mass in GeV/c^{2};#",
2166 new TH1D(
"fGammaOpeningAngleReco_Zero_mvd",
2167 "fGammaOpeningAngleReco_Zero_mvd; angle [deg];#",
2173 new TH1D(
"fPi0InvMassRecoKF_Zero_mvd",
2174 "fPi0InvMassRecoKF_Zero_mvd; invariant mass in GeV/c^{2};#",
2181 new TH1D(
"fGammaInvMassReco_Zero_sts",
2182 "fGammaInvMassReco_Zero_sts; invariant mass in GeV/c^{2};#",
2188 new TH1D(
"fGammaOpeningAngleReco_Zero_sts",
2189 "fGammaOpeningAngleReco_Zero_sts; angle [deg];#",
2195 new TH1D(
"fPi0InvMassRecoKF_Zero_sts",
2196 "fPi0InvMassRecoKF_Zero_sts; invariant mass in GeV/c^{2};#",
2203 new TH1D(
"fGammaInvMassReco_Zero_outside",
2204 "fGammaInvMassReco_Zero_outside; invariant mass in GeV/c^{2};#",
2210 new TH1D(
"fGammaOpeningAngleReco_Zero_outside",
2211 "fGammaOpeningAngleReco_Zero_outside; angle [deg];#",
2217 new TH1D(
"fPi0InvMassRecoKF_Zero_outside",
2218 "fPi0InvMassRecoKF_Zero_outside; invariant mass in GeV/c^{2};#",
2224 new TH1D(
"fEMT_InvMass_Zero_outside",
2225 "fEMT_InvMass_Zero_outside; invariant mass in GeV/c^{2};#",
2234 new TH1D(
"fGammaInvMassReco_One",
2235 "fGammaInvMassReco_One; invariant mass in GeV/c^{2};#",
2241 new TH1D(
"fGammaOpeningAngleReco_One",
2242 "fGammaOpeningAngleReco_One; angle [deg];#",
2247 fPdg_One =
new TH1D(
"fPdg_One",
"fPdg_One; Id ;#", 800, 0, 400);
2250 new TH1D(
"fP_reco_One",
"fP_reco_One; P in GeV/c^{2} ;#", 600, 0, 6);
2253 new TH1D(
"fPt_reco_One",
"fPt_reco_One; Pt in GeV/c^{2} ;#", 300, 0, 3);
2256 new TH1D(
"fPi0InvMassRecoKF_One",
2257 "fPi0InvMassRecoKF_One; invariant mass in GeV/c^{2};#",
2263 "fEMT_InvMass_One; invariant mass in GeV/c^{2};#",
2269 new TH2D(
"fPi0_pt_vs_rap_One",
2270 "fPi0_pt_vs_rap_One; rapidity y; p_{t} in GeV/c ",
2279 new TH2D(
"fPi0_pt_vs_rap_est_One",
2280 "fPi0_pt_vs_rap_est_One; rapidity y; p_{t} in GeV/c ",
2290 new TH1D(
"fGammaInvMassReco_One_target",
2291 "fGammaInvMassReco_One_target; invariant mass in GeV/c^{2};#",
2297 new TH1D(
"fGammaOpeningAngleReco_One_target",
2298 "fGammaOpeningAngleReco_One_target; angle [deg];#",
2304 new TH1D(
"fPi0InvMassRecoKF_One_target",
2305 "fPi0InvMassRecoKF_One_target; invariant mass in GeV/c^{2};#",
2311 new TH1D(
"fEMT_InvMass_One_target",
2312 "fEMT_InvMass_One_target; invariant mass in GeV/c^{2};#",
2319 new TH1D(
"fGammaInvMassReco_One_mvd",
2320 "fGammaInvMassReco_One_mvd; invariant mass in GeV/c^{2};#",
2326 new TH1D(
"fGammaOpeningAngleReco_One_mvd",
2327 "fGammaOpeningAngleReco_One_mvd; angle [deg];#",
2333 new TH1D(
"fPi0InvMassRecoKF_One_mvd",
2334 "fPi0InvMassRecoKF_One_mvd; invariant mass in GeV/c^{2};#",
2341 new TH1D(
"fGammaInvMassReco_One_sts",
2342 "fGammaInvMassReco_One_sts; invariant mass in GeV/c^{2};#",
2348 new TH1D(
"fGammaOpeningAngleReco_One_sts",
2349 "fGammaOpeningAngleReco_One_sts; angle [deg];#",
2355 new TH1D(
"fPi0InvMassRecoKF_One_sts",
2356 "fPi0InvMassRecoKF_One_sts; invariant mass in GeV/c^{2};#",
2363 new TH1D(
"fGammaInvMassReco_One_outside",
2364 "fGammaInvMassReco_One_outside; invariant mass in GeV/c^{2};#",
2370 new TH1D(
"fGammaOpeningAngleReco_One_outside",
2371 "fGammaOpeningAngleReco_One_outside; angle [deg];#",
2377 new TH1D(
"fPi0InvMassRecoKF_One_outside",
2378 "fPi0InvMassRecoKF_One_outside; invariant mass in GeV/c^{2};#",
2384 new TH1D(
"fEMT_InvMass_One_outside",
2385 "fEMT_InvMass_One_outside; invariant mass in GeV/c^{2};#",
2394 new TH1D(
"fGammaInvMassReco_Two",
2395 "fGammaInvMassReco_Two; invariant mass in GeV/c^{2};#",
2401 new TH1D(
"fGammaOpeningAngleReco_Two",
2402 "fGammaOpeningAngleReco_Two; angle [deg];#",
2407 fPdg_Two =
new TH1D(
"fPdg_Two",
"fPdg_Two; Id ;#", 800, 0, 400);
2410 new TH1D(
"fP_reco_Two",
"fP_reco_Two; P in GeV/c^{2} ;#", 600, 0, 6);
2413 new TH1D(
"fPt_reco_Two",
"fPt_reco_Two; Pt in GeV/c^{2} ;#", 300, 0, 3);
2416 new TH1D(
"fPi0InvMassRecoKF_Two",
2417 "fPi0InvMassRecoKF_Two; invariant mass in GeV/c^{2};#",
2423 "fEMT_InvMass_Two; invariant mass in GeV/c^{2};#",
2429 new TH2D(
"fPi0_pt_vs_rap_Two",
2430 "fPi0_pt_vs_rap_Two; rapidity y; p_{t} in GeV/c ",
2439 new TH2D(
"fPi0_pt_vs_rap_est_Two",
2440 "fPi0_pt_vs_rap_est_Two; rapidity y; p_{t} in GeV/c ",
2450 new TH1D(
"fGammaInvMassReco_Two_target",
2451 "fGammaInvMassReco_Two_target; invariant mass in GeV/c^{2};#",
2457 new TH1D(
"fGammaOpeningAngleReco_Two_target",
2458 "fGammaOpeningAngleReco_Two_target; angle [deg];#",
2464 new TH1D(
"fPi0InvMassRecoKF_Two_target",
2465 "fPi0InvMassRecoKF_Two_target; invariant mass in GeV/c^{2};#",
2471 new TH1D(
"fEMT_InvMass_Two_target",
2472 "fEMT_InvMass_Two_target; invariant mass in GeV/c^{2};#",
2479 new TH1D(
"fGammaInvMassReco_Two_mvd",
2480 "fGammaInvMassReco_Two_mvd; invariant mass in GeV/c^{2};#",
2486 new TH1D(
"fGammaOpeningAngleReco_Two_mvd",
2487 "fGammaOpeningAngleReco_Two_mvd; angle [deg];#",
2493 new TH1D(
"fPi0InvMassRecoKF_Two_mvd",
2494 "fPi0InvMassRecoKF_Two_mvd; invariant mass in GeV/c^{2};#",
2501 new TH1D(
"fGammaInvMassReco_Two_sts",
2502 "fGammaInvMassReco_Two_sts; invariant mass in GeV/c^{2};#",
2508 new TH1D(
"fGammaOpeningAngleReco_Two_sts",
2509 "fGammaOpeningAngleReco_Two_sts; angle [deg];#",
2515 new TH1D(
"fPi0InvMassRecoKF_Two_sts",
2516 "fPi0InvMassRecoKF_Two_sts; invariant mass in GeV/c^{2};#",
2523 new TH1D(
"fGammaInvMassReco_Two_outside",
2524 "fGammaInvMassReco_Two_outside; invariant mass in GeV/c^{2};#",
2530 new TH1D(
"fGammaOpeningAngleReco_Two_outside",
2531 "fGammaOpeningAngleReco_Two_outside; angle [deg];#",
2537 new TH1D(
"fPi0InvMassRecoKF_Two_outside",
2538 "fPi0InvMassRecoKF_Two_outside; invariant mass in GeV/c^{2};#",
2544 new TH1D(
"fEMT_InvMass_Two_outside",
2545 "fEMT_InvMass_Two_outside; invariant mass in GeV/c^{2};#",
2554 new TH1D(
"fGammaInvMassReco_OneTwo",
2555 "fGammaInvMassReco_OneTwo; invariant mass in GeV/c^{2};#",
2561 new TH1D(
"fGammaOpeningAngleReco_OneTwo",
2562 "fGammaOpeningAngleReco_OneTwo; angle [deg];#",
2567 fPdg_OneTwo =
new TH1D(
"fPdg_OneTwo",
"fPdg_OneTwo; Id ;#", 800, 0, 400);
2570 new TH1D(
"fP_reco_OneTwo",
"fP_reco_OneTwo; P in GeV/c^{2} ;#", 600, 0, 6);
2573 "fPt_reco_OneTwo",
"fPt_reco_OneTwo; Pt in GeV/c^{2} ;#", 300, 0, 3);
2576 new TH1D(
"fPi0InvMassRecoKF_OneTwo",
2577 "fPi0InvMassRecoKF_OneTwo; invariant mass in GeV/c^{2};#",
2583 new TH1D(
"fEMT_InvMass_OneTwo",
2584 "fEMT_InvMass_OneTwo; invariant mass in GeV/c^{2};#",
2590 new TH2D(
"fPi0_pt_vs_rap_OneTwo",
2591 "fPi0_pt_vs_rap_OneTwo; rapidity y; p_{t} in GeV/c ",
2600 new TH2D(
"fPi0_pt_vs_rap_est_OneTwo",
2601 "fPi0_pt_vs_rap_est_OneTwo; rapidity y; p_{t} in GeV/c ",
2611 new TH1D(
"fGammaInvMassReco_OneTwo_target",
2612 "fGammaInvMassReco_OneTwo_target; invariant mass in GeV/c^{2};#",
2618 new TH1D(
"fGammaOpeningAngleReco_OneTwo_target",
2619 "fGammaOpeningAngleReco_OneTwo_target; angle [deg];#",
2625 new TH1D(
"fPi0InvMassRecoKF_OneTwo_target",
2626 "fPi0InvMassRecoKF_OneTwo_target; invariant mass in GeV/c^{2};#",
2632 new TH1D(
"fEMT_InvMass_OneTwo_target",
2633 "fEMT_InvMass_OneTwo_target; invariant mass in GeV/c^{2};#",
2640 new TH1D(
"fGammaInvMassReco_OneTwo_mvd",
2641 "fGammaInvMassReco_OneTwo_mvd; invariant mass in GeV/c^{2};#",
2647 new TH1D(
"fGammaOpeningAngleReco_OneTwo_mvd",
2648 "fGammaOpeningAngleReco_OneTwo_mvd; angle [deg];#",
2654 new TH1D(
"fPi0InvMassRecoKF_OneTwo_mvd",
2655 "fPi0InvMassRecoKF_OneTwo_mvd; invariant mass in GeV/c^{2};#",
2662 new TH1D(
"fGammaInvMassReco_OneTwo_sts",
2663 "fGammaInvMassReco_OneTwo_sts; invariant mass in GeV/c^{2};#",
2669 new TH1D(
"fGammaOpeningAngleReco_OneTwo_sts",
2670 "fGammaOpeningAngleReco_OneTwo_sts; angle [deg];#",
2676 new TH1D(
"fPi0InvMassRecoKF_OneTwo_sts",
2677 "fPi0InvMassRecoKF_OneTwo_sts; invariant mass in GeV/c^{2};#",
2684 new TH1D(
"fGammaInvMassReco_OneTwo_outside",
2685 "fGammaInvMassReco_OneTwo_outside; invariant mass in GeV/c^{2};#",
2691 new TH1D(
"fGammaOpeningAngleReco_OneTwo_outside",
2692 "fGammaOpeningAngleReco_OneTwo_outside; angle [deg];#",
2698 new TH1D(
"fPi0InvMassRecoKF_OneTwo_outside",
2699 "fPi0InvMassRecoKF_OneTwo_outside; invariant mass in GeV/c^{2};#",
2705 new TH1D(
"fEMT_InvMass_OneTwo_outside",
2706 "fEMT_InvMass_OneTwo_outside; invariant mass in GeV/c^{2};#",
2715 "MultiplicityGamma_All",
2716 "MultiplicityGamma_All; Nof gammas in event; invariant mass in GeV/c^{2};#",
2725 "MultiplicityGamma_Zero; Nof gammas in "
2726 "event; invariant mass in GeV/c^{2};#",
2735 "MultiplicityGamma_One",
2736 "MultiplicityGamma_One; Nof gammas in event; invariant mass in GeV/c^{2};#",
2745 "MultiplicityGamma_Two",
2746 "MultiplicityGamma_Two; Nof gammas in event; invariant mass in GeV/c^{2};#",
2755 "MultiplicityGamma_OneTwo; Nof gammas in "
2756 "event; invariant mass in GeV/c^{2};#",
2766 new TH2D(
"MultiplicityChargedParticles_All",
2767 "MultiplicityChargedParticles_All; Nof charged particles in "
2768 "event; invariant mass in GeV/c^{2};#",
2777 new TH2D(
"MultiplicityChargedParticles_Zero",
2778 "MultiplicityChargedParticles_Zero; Nof charged particles in "
2779 "event; invariant mass in GeV/c^{2};#",
2788 new TH2D(
"MultiplicityChargedParticles_One",
2789 "MultiplicityChargedParticles_One; Nof charged particles in "
2790 "event; invariant mass in GeV/c^{2};#",
2799 new TH2D(
"MultiplicityChargedParticles_Two",
2800 "MultiplicityChargedParticles_Two; Nof charged particles in "
2801 "event; invariant mass in GeV/c^{2};#",
2810 new TH2D(
"MultiplicityChargedParticles_OneTwo",
2811 "MultiplicityChargedParticles_OneTwo; Nof charged particles in "
2812 "event; invariant mass in GeV/c^{2};#",
2824 new TH1D(
"EMTMulti_InvMass_All_m1",
2825 "EMTMulti_InvMass_All_m1; invariant mass in GeV/c^{2};#",
2831 new TH1D(
"EMTMulti_InvMass_All_m2",
2832 "EMTMulti_InvMass_All_m2; invariant mass in GeV/c^{2};#",
2838 new TH1D(
"EMTMulti_InvMass_All_m3",
2839 "EMTMulti_InvMass_All_m3; invariant mass in GeV/c^{2};#",
2845 new TH1D(
"EMTMulti_InvMass_All_m4",
2846 "EMTMulti_InvMass_All_m4; invariant mass in GeV/c^{2};#",
2852 new TH1D(
"EMTMulti_InvMass_All_m5",
2853 "EMTMulti_InvMass_All_m5; invariant mass in GeV/c^{2};#",
2859 new TH1D(
"EMTMulti_InvMass_All_m6",
2860 "EMTMulti_InvMass_All_m6; invariant mass in GeV/c^{2};#",
2866 new TH1D(
"EMTMulti_InvMass_All_m7",
2867 "EMTMulti_InvMass_All_m7; invariant mass in GeV/c^{2};#",
2874 new TH1D(
"EMTMulti_InvMass_Zero_m1",
2875 "EMTMulti_InvMass_Zero_m1; invariant mass in GeV/c^{2};#",
2881 new TH1D(
"EMTMulti_InvMass_Zero_m2",
2882 "EMTMulti_InvMass_Zero_m2; invariant mass in GeV/c^{2};#",
2888 new TH1D(
"EMTMulti_InvMass_Zero_m3",
2889 "EMTMulti_InvMass_Zero_m3; invariant mass in GeV/c^{2};#",
2895 new TH1D(
"EMTMulti_InvMass_Zero_m4",
2896 "EMTMulti_InvMass_Zero_m4; invariant mass in GeV/c^{2};#",
2902 new TH1D(
"EMTMulti_InvMass_Zero_m5",
2903 "EMTMulti_InvMass_Zero_m5; invariant mass in GeV/c^{2};#",
2909 new TH1D(
"EMTMulti_InvMass_Zero_m6",
2910 "EMTMulti_InvMass_Zero_m6; invariant mass in GeV/c^{2};#",
2916 new TH1D(
"EMTMulti_InvMass_Zero_m7",
2917 "EMTMulti_InvMass_Zero_m7; invariant mass in GeV/c^{2};#",
2924 new TH1D(
"EMTMulti_InvMass_One_m1",
2925 "EMTMulti_InvMass_One_m1; invariant mass in GeV/c^{2};#",
2931 new TH1D(
"EMTMulti_InvMass_One_m2",
2932 "EMTMulti_InvMass_One_m2; invariant mass in GeV/c^{2};#",
2938 new TH1D(
"EMTMulti_InvMass_One_m3",
2939 "EMTMulti_InvMass_One_m3; invariant mass in GeV/c^{2};#",
2945 new TH1D(
"EMTMulti_InvMass_One_m4",
2946 "EMTMulti_InvMass_One_m4; invariant mass in GeV/c^{2};#",
2952 new TH1D(
"EMTMulti_InvMass_One_m5",
2953 "EMTMulti_InvMass_One_m5; invariant mass in GeV/c^{2};#",
2959 new TH1D(
"EMTMulti_InvMass_One_m6",
2960 "EMTMulti_InvMass_One_m6; invariant mass in GeV/c^{2};#",
2966 new TH1D(
"EMTMulti_InvMass_One_m7",
2967 "EMTMulti_InvMass_One_m7; invariant mass in GeV/c^{2};#",
2974 new TH1D(
"EMTMulti_InvMass_Two_m1",
2975 "EMTMulti_InvMass_Two_m1; invariant mass in GeV/c^{2};#",
2981 new TH1D(
"EMTMulti_InvMass_Two_m2",
2982 "EMTMulti_InvMass_Two_m2; invariant mass in GeV/c^{2};#",
2988 new TH1D(
"EMTMulti_InvMass_Two_m3",
2989 "EMTMulti_InvMass_Two_m3; invariant mass in GeV/c^{2};#",
2995 new TH1D(
"EMTMulti_InvMass_Two_m4",
2996 "EMTMulti_InvMass_Two_m4; invariant mass in GeV/c^{2};#",
3002 new TH1D(
"EMTMulti_InvMass_Two_m5",
3003 "EMTMulti_InvMass_Two_m5; invariant mass in GeV/c^{2};#",
3009 new TH1D(
"EMTMulti_InvMass_Two_m6",
3010 "EMTMulti_InvMass_Two_m6; invariant mass in GeV/c^{2};#",
3016 new TH1D(
"EMTMulti_InvMass_Two_m7",
3017 "EMTMulti_InvMass_Two_m7; invariant mass in GeV/c^{2};#",
3024 new TH1D(
"EMTMulti_InvMass_OneTwo_m1",
3025 "EMTMulti_InvMass_OneTwo_m1; invariant mass in GeV/c^{2};#",
3031 new TH1D(
"EMTMulti_InvMass_OneTwo_m2",
3032 "EMTMulti_InvMass_OneTwo_m2; invariant mass in GeV/c^{2};#",
3038 new TH1D(
"EMTMulti_InvMass_OneTwo_m3",
3039 "EMTMulti_InvMass_OneTwo_m3; invariant mass in GeV/c^{2};#",
3045 new TH1D(
"EMTMulti_InvMass_OneTwo_m4",
3046 "EMTMulti_InvMass_OneTwo_m4; invariant mass in GeV/c^{2};#",
3052 new TH1D(
"EMTMulti_InvMass_OneTwo_m5",
3053 "EMTMulti_InvMass_OneTwo_m5; invariant mass in GeV/c^{2};#",
3059 new TH1D(
"EMTMulti_InvMass_OneTwo_m6",
3060 "EMTMulti_InvMass_OneTwo_m6; invariant mass in GeV/c^{2};#",
3066 new TH1D(
"EMTMulti_InvMass_OneTwo_m7",
3067 "EMTMulti_InvMass_OneTwo_m7; invariant mass in GeV/c^{2};#",
3077 new TH1D(
"BG1_all",
"BG1_all; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3080 new TH1D(
"BG2_all",
"BG2_all; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3083 new TH1D(
"BG3_all",
"BG3_all; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3086 new TH1D(
"BG4_all",
"BG4_all; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3089 new TH1D(
"BG5_all",
"BG5_all; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3092 new TH1D(
"BG6_all",
"BG6_all; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3095 new TH1D(
"BG7_all",
"BG7_all; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3098 new TH1D(
"BG8_all",
"BG8_all; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3101 new TH1D(
"BG9_all",
"BG9_all; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3104 "BG10_all",
"BG10_all; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3107 new TH1D(
"PdgCase8_all",
"PdgCase8_all; Id ;#", 5000, -2500, 2500);
3110 "PdgCase8mothers_all",
"PdgCase8mothers_all; Id ;#", 5000, -2500, 2500);
3113 "sameMIDcase8_all; invariant mass in GeV/c^{2};#",
3119 new TH1D(
"sameGRIDcase8_all",
3120 "sameGRIDcase8_all; invariant mass in GeV/c^{2};#",
3126 "Case1ZYPos_all; z[cm]; y[cm]",
3135 "sameMIDcase8_mothedPDG_all; Id ;#",
3141 new TH1D(
"PdgCase8NonEComeFromTarget_all",
3142 "PdgCase8NonEComeFromTarget_all; Id ;#",
3148 new TH1D(
"PdgCase8NonE_NOT_FromTarget_all",
3149 "PdgCase8NonE_NOT_FromTarget_all; Id ;#",
3155 "PdgCase8motherNonE_all; Id ;#",
3161 new TH1D(
"Case8ElFromDalitz_all",
3162 "Case8ElFromDalitz_all; invariant mass in GeV/c^{2};#",
3168 new TH1D(
"Case8NonElFrom_pn_all",
3169 "Case8NonElFrom_pn_all; invariant mass in GeV/c^{2};#",
3175 new TH1D(
"Case8NonElFrom_eta_all",
3176 "Case8NonElFrom_eta_all; invariant mass in GeV/c^{2};#",
3182 new TH1D(
"Case8NonElFrom_kaon_all",
3183 "Case8NonElFrom_kaon_all; invariant mass in GeV/c^{2};#",
3189 "sameMIDcase8NonEPdg_all; Id ;#",
3195 new TH1D(
"sameMIDcase8NonEMotherPdg_all",
3196 "sameMIDcase8NonEMotherPdg_all; Id ;#",
3202 new TH1D(
"sameMIDcase8NonEMotherIM_all",
3203 "sameMIDcase8NonEMotherIM_all; invariant mass in GeV/c^{2};#",
3209 new TH1D(
"sameMIDcase8NonEPdgFromTarget_all",
3210 "sameMIDcase8NonEPdgFromTarget_all; Id ;#",
3216 "sameMIDcase8NonEComeFromTargetIM_all",
3217 "sameMIDcase8NonEComeFromTargetIM_all; invariant mass in GeV/c^{2};#",
3223 new TH1D(
"sameMIDcase8NonEComeFromTargetP_all",
3224 "sameMIDcase8NonEComeFromTargetP_all; P in GeV/c^{2} ;#",
3230 new TH1D(
"sameMIDcase8NonEComeFromTargetPt_all",
3231 "sameMIDcase8NonEComeFromTargetPt_all; Pt in GeV/c^{2} ;#",
3238 "BG1_zero",
"BG1_zero; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3241 "BG2_zero",
"BG2_zero; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3244 "BG3_zero",
"BG3_zero; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3247 "BG4_zero",
"BG4_zero; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3250 "BG5_zero",
"BG5_zero; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3253 "BG6_zero",
"BG6_zero; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3256 "BG7_zero",
"BG7_zero; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3259 "BG8_zero",
"BG8_zero; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3262 "BG9_zero",
"BG9_zero; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3265 "BG10_zero",
"BG10_zero; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3268 new TH1D(
"PdgCase8_zero",
"PdgCase8_zero; Id ;#", 5000, -2500, 2500);
3271 "PdgCase8mothers_zero",
"PdgCase8mothers_zero; Id ;#", 5000, -2500, 2500);
3274 new TH1D(
"sameMIDcase8_zero",
3275 "sameMIDcase8_zero; invariant mass in GeV/c^{2};#",
3281 new TH1D(
"sameGRIDcase8_zero",
3282 "sameGRIDcase8_zero; invariant mass in GeV/c^{2};#",
3288 "Case1ZYPos_zero; z[cm]; y[cm]",
3297 "sameMIDcase8_mothedPDG_zero; Id ;#",
3303 new TH1D(
"PdgCase8NonEComeFromTarget_zero",
3304 "PdgCase8NonEComeFromTarget_zero; Id ;#",
3310 new TH1D(
"PdgCase8NonE_NOT_FromTarget_zero",
3311 "PdgCase8NonE_NOT_FromTarget_zero; Id ;#",
3317 "PdgCase8motherNonE_zero; Id ;#",
3323 new TH1D(
"Case8ElFromDalitz_zero",
3324 "Case8ElFromDalitz_zero; invariant mass in GeV/c^{2};#",
3330 new TH1D(
"Case8NonElFrom_pn_zero",
3331 "Case8NonElFrom_pn_zero; invariant mass in GeV/c^{2};#",
3337 new TH1D(
"Case8NonElFrom_eta_zero",
3338 "Case8NonElFrom_eta_zero; invariant mass in GeV/c^{2};#",
3344 new TH1D(
"Case8NonElFrom_kaon_zero",
3345 "Case8NonElFrom_kaon_zero; invariant mass in GeV/c^{2};#",
3351 "sameMIDcase8NonEPdg_zero; Id ;#",
3357 new TH1D(
"sameMIDcase8NonEMotherPdg_zero",
3358 "sameMIDcase8NonEMotherPdg_zero; Id ;#",
3364 new TH1D(
"sameMIDcase8NonEMotherIM_zero",
3365 "sameMIDcase8NonEMotherIM_zero; invariant mass in GeV/c^{2};#",
3371 new TH1D(
"sameMIDcase8NonEPdgFromTarget_zero",
3372 "sameMIDcase8NonEPdgFromTarget_zero; Id ;#",
3378 "sameMIDcase8NonEComeFromTargetIM_zero",
3379 "sameMIDcase8NonEComeFromTargetIM_zero; invariant mass in GeV/c^{2};#",
3385 new TH1D(
"sameMIDcase8NonEComeFromTargetP_zero",
3386 "sameMIDcase8NonEComeFromTargetP_zero; P in GeV/c^{2} ;#",
3392 new TH1D(
"sameMIDcase8NonEComeFromTargetPt_zero",
3393 "sameMIDcase8NonEComeFromTargetPt_zero; Pt in GeV/c^{2} ;#",
3400 new TH1D(
"BG1_one",
"BG1_one; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3403 new TH1D(
"BG2_one",
"BG2_one; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3406 new TH1D(
"BG3_one",
"BG3_one; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3409 new TH1D(
"BG4_one",
"BG4_one; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3412 new TH1D(
"BG5_one",
"BG5_one; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3415 new TH1D(
"BG6_one",
"BG6_one; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3418 new TH1D(
"BG7_one",
"BG7_one; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3421 new TH1D(
"BG8_one",
"BG8_one; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3424 new TH1D(
"BG9_one",
"BG9_one; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3427 "BG10_one",
"BG10_one; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3430 new TH1D(
"PdgCase8_one",
"PdgCase8_one; Id ;#", 5000, -2500, 2500);
3433 "PdgCase8mothers_one",
"PdgCase8mothers_one; Id ;#", 5000, -2500, 2500);
3436 "sameMIDcase8_one; invariant mass in GeV/c^{2};#",
3442 new TH1D(
"sameGRIDcase8_one",
3443 "sameGRIDcase8_one; invariant mass in GeV/c^{2};#",
3449 "Case1ZYPos_one; z[cm]; y[cm]",
3458 "sameMIDcase8_mothedPDG_one; Id ;#",
3464 new TH1D(
"PdgCase8NonEComeFromTarget_one",
3465 "PdgCase8NonEComeFromTarget_one; Id ;#",
3471 new TH1D(
"PdgCase8NonE_NOT_FromTarget_one",
3472 "PdgCase8NonE_NOT_FromTarget_one; Id ;#",
3478 "PdgCase8motherNonE_one; Id ;#",
3484 new TH1D(
"Case8ElFromDalitz_one",
3485 "Case8ElFromDalitz_one; invariant mass in GeV/c^{2};#",
3491 new TH1D(
"Case8NonElFrom_pn_one",
3492 "Case8NonElFrom_pn_one; invariant mass in GeV/c^{2};#",
3498 new TH1D(
"Case8NonElFrom_eta_one",
3499 "Case8NonElFrom_eta_one; invariant mass in GeV/c^{2};#",
3505 new TH1D(
"Case8NonElFrom_kaon_one",
3506 "Case8NonElFrom_kaon_one; invariant mass in GeV/c^{2};#",
3512 "sameMIDcase8NonEPdg_one; Id ;#",
3518 new TH1D(
"sameMIDcase8NonEMotherPdg_one",
3519 "sameMIDcase8NonEMotherPdg_one; Id ;#",
3525 new TH1D(
"sameMIDcase8NonEMotherIM_one",
3526 "sameMIDcase8NonEMotherIM_one; invariant mass in GeV/c^{2};#",
3532 new TH1D(
"sameMIDcase8NonEPdgFromTarget_one",
3533 "sameMIDcase8NonEPdgFromTarget_one; Id ;#",
3539 "sameMIDcase8NonEComeFromTargetIM_one",
3540 "sameMIDcase8NonEComeFromTargetIM_one; invariant mass in GeV/c^{2};#",
3546 new TH1D(
"sameMIDcase8NonEComeFromTargetP_one",
3547 "sameMIDcase8NonEComeFromTargetP_one; P in GeV/c^{2} ;#",
3553 new TH1D(
"sameMIDcase8NonEComeFromTargetPt_one",
3554 "sameMIDcase8NonEComeFromTargetPt_one; Pt in GeV/c^{2} ;#",
3561 new TH1D(
"BG1_two",
"BG1_two; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3564 new TH1D(
"BG2_two",
"BG2_two; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3567 new TH1D(
"BG3_two",
"BG3_two; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3570 new TH1D(
"BG4_two",
"BG4_two; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3573 new TH1D(
"BG5_two",
"BG5_two; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3576 new TH1D(
"BG6_two",
"BG6_two; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3579 new TH1D(
"BG7_two",
"BG7_two; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3582 new TH1D(
"BG8_two",
"BG8_two; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3585 new TH1D(
"BG9_two",
"BG9_two; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3588 "BG10_two",
"BG10_two; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3591 new TH1D(
"PdgCase8_two",
"PdgCase8_two; Id ;#", 5000, -2500, 2500);
3594 "PdgCase8mothers_two",
"PdgCase8mothers_two; Id ;#", 5000, -2500, 2500);
3597 "sameMIDcase8_two; invariant mass in GeV/c^{2};#",
3603 new TH1D(
"sameGRIDcase8_two",
3604 "sameGRIDcase8_two; invariant mass in GeV/c^{2};#",
3610 "Case1ZYPos_two; z[cm]; y[cm]",
3619 "sameMIDcase8_mothedPDG_two; Id ;#",
3625 new TH1D(
"PdgCase8NonEComeFromTarget_two",
3626 "PdgCase8NonEComeFromTarget_two; Id ;#",
3632 new TH1D(
"PdgCase8NonE_NOT_FromTarget_two",
3633 "PdgCase8NonE_NOT_FromTarget_two; Id ;#",
3639 "PdgCase8motherNonE_two; Id ;#",
3645 new TH1D(
"Case8ElFromDalitz_two",
3646 "Case8ElFromDalitz_two; invariant mass in GeV/c^{2};#",
3652 new TH1D(
"Case8NonElFrom_pn_two",
3653 "Case8NonElFrom_pn_two; invariant mass in GeV/c^{2};#",
3659 new TH1D(
"Case8NonElFrom_eta_two",
3660 "Case8NonElFrom_eta_two; invariant mass in GeV/c^{2};#",
3666 new TH1D(
"Case8NonElFrom_kaon_two",
3667 "Case8NonElFrom_kaon_two; invariant mass in GeV/c^{2};#",
3673 "sameMIDcase8NonEPdg_two; Id ;#",
3679 new TH1D(
"sameMIDcase8NonEMotherPdg_two",
3680 "sameMIDcase8NonEMotherPdg_two; Id ;#",
3686 new TH1D(
"sameMIDcase8NonEMotherIM_two",
3687 "sameMIDcase8NonEMotherIM_two; invariant mass in GeV/c^{2};#",
3693 new TH1D(
"sameMIDcase8NonEPdgFromTarget_two",
3694 "sameMIDcase8NonEPdgFromTarget_two; Id ;#",
3700 "sameMIDcase8NonEComeFromTargetIM_two",
3701 "sameMIDcase8NonEComeFromTargetIM_two; invariant mass in GeV/c^{2};#",
3707 new TH1D(
"sameMIDcase8NonEComeFromTargetP_two",
3708 "sameMIDcase8NonEComeFromTargetP_two; P in GeV/c^{2} ;#",
3714 new TH1D(
"sameMIDcase8NonEComeFromTargetPt_two",
3715 "sameMIDcase8NonEComeFromTargetPt_two; Pt in GeV/c^{2} ;#",
3722 "BG1_onetwo",
"BG1_onetwo; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3725 "BG2_onetwo",
"BG2_onetwo; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3728 "BG3_onetwo",
"BG3_onetwo; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3731 "BG4_onetwo",
"BG4_onetwo; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3734 "BG5_onetwo",
"BG5_onetwo; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3737 "BG6_onetwo",
"BG6_onetwo; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3740 "BG7_onetwo",
"BG7_onetwo; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3743 "BG8_onetwo",
"BG8_onetwo; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3746 "BG9_onetwo",
"BG9_onetwo; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3749 "BG10_onetwo",
"BG10_onetwo; invariant mass in GeV/c^{2};#", 1000, 0, 2.0);
3752 new TH1D(
"PdgCase8_onetwo",
"PdgCase8_onetwo; Id ;#", 5000, -2500, 2500);
3755 "PdgCase8mothers_onetwo; Id ;#",
3761 new TH1D(
"sameMIDcase8_onetwo",
3762 "sameMIDcase8_onetwo; invariant mass in GeV/c^{2};#",
3768 new TH1D(
"sameGRIDcase8_onetwo",
3769 "sameGRIDcase8_onetwo; invariant mass in GeV/c^{2};#",
3775 "Case1ZYPos_onetwo; z[cm]; y[cm]",
3784 new TH1D(
"sameMIDcase8_mothedPDG_onetwo",
3785 "sameMIDcase8_mothedPDG_onetwo; Id ;#",
3791 new TH1D(
"PdgCase8NonEComeFromTarget_onetwo",
3792 "PdgCase8NonEComeFromTarget_onetwo; Id ;#",
3798 new TH1D(
"PdgCase8NonE_NOT_FromTarget_onetwo",
3799 "PdgCase8NonE_NOT_FromTarget_onetwo; Id ;#",
3805 "PdgCase8motherNonE_onetwo; Id ;#",
3811 new TH1D(
"Case8ElFromDalitz_onetwo",
3812 "Case8ElFromDalitz_onetwo; invariant mass in GeV/c^{2};#",
3818 new TH1D(
"Case8NonElFrom_pn_onetwo",
3819 "Case8NonElFrom_pn_onetwo; invariant mass in GeV/c^{2};#",
3825 new TH1D(
"Case8NonElFrom_eta_onetwo",
3826 "Case8NonElFrom_eta_onetwo; invariant mass in GeV/c^{2};#",
3832 new TH1D(
"Case8NonElFrom_kaon_onetwo",
3833 "Case8NonElFrom_kaon_onetwo; invariant mass in GeV/c^{2};#",
3839 "sameMIDcase8NonEPdg_onetwo; Id ;#",
3845 new TH1D(
"sameMIDcase8NonEMotherPdg_onetwo",
3846 "sameMIDcase8NonEMotherPdg_onetwo; Id ;#",
3852 new TH1D(
"sameMIDcase8NonEMotherIM_onetwo",
3853 "sameMIDcase8NonEMotherIM_onetwo; invariant mass in GeV/c^{2};#",
3859 new TH1D(
"sameMIDcase8NonEPdgFromTarget_onetwo",
3860 "sameMIDcase8NonEPdgFromTarget_onetwo; Id ;#",
3866 "sameMIDcase8NonEComeFromTargetIM_onetwo",
3867 "sameMIDcase8NonEComeFromTargetIM_onetwo; invariant mass in GeV/c^{2};#",
3873 new TH1D(
"sameMIDcase8NonEComeFromTargetP_onetwo",
3874 "sameMIDcase8NonEComeFromTargetP_onetwo; P in GeV/c^{2} ;#",
3880 new TH1D(
"sameMIDcase8NonEComeFromTargetPt_onetwo",
3881 "sameMIDcase8NonEComeFromTargetPt_onetwo; Pt in GeV/c^{2} ;#",