13#ifndef CBM_ANA_CONVERSION_RECOFULL
14#define CBM_ANA_CONVERSION_RECOFULL
18#include <TClonesArray.h>
22#include <TStopwatch.h>
45 void CombineElectrons(std::vector<CbmGlobalTrack*> gtrack, std::vector<TVector3> momenta,
46 std::vector<float> momentaChi, std::vector<int> mctrackID,
47 std::vector<std::vector<int>> reconstructedPhotons, Int_t index);
49 const TVector3 part4);
50 Double_t
Pt_4particlesRECO(
const TVector3 part1,
const TVector3 part2,
const TVector3 part3,
const TVector3 part4);
51 Double_t
Rap_4particlesRECO(
const TVector3 part1,
const TVector3 part2,
const TVector3 part3,
const TVector3 part4);
55 const TVector3 part4);
57 void CombinePhotons(std::vector<CbmGlobalTrack*> gtrack, std::vector<TVector3> momenta, std::vector<float> momentaChi,
58 std::vector<int> mctrackID, std::vector<std::vector<int>> reconstructedPhotons, Int_t index);
61 std::vector<int> photons2);
std::vector< CbmGlobalTrack * > fMixedEventsElectrons_list3_gtrack
TH1D * fhPhotons_peakCheck1[5]
TH2D * fhPhotons_openingAngle_vs_momentum
TH1D * fhPhotons_invmass_cut_chi25
std::vector< std::vector< Bool_t > > fMixedTest4_isRichElectronAnn0
std::vector< CbmGlobalTrack * > fElectrons_track_2
TH2D * fhPhotons_rapidity_vs_pt
std::vector< CbmGlobalTrack * > fMixedTest3_gtrack
TH1D * fhPhotons_invmass_ptBin2_3
TH1D * fhElectrons_nofPerEvent_new[5]
std::vector< int > fElectrons_mctrackID_2
TH1D * fhPhotons_invmass_ptBin4_2
TH1D * fhPhotons_invmass_direction_cut
TH1D * fhElectrons_nofPerEvent
TH2D * fhPhotons_invmass_vs_pt_new[5]
TH1D * fhPhotons_invmass_MCcutTest3_new[5]
TClonesArray * fRichPoints
std::vector< float > fElectrons_momentaChi
TH1D * fhPhotons_invmass_MCcut3_new[5]
std::vector< int > fElectrons_mctrackID_1
TH1D * fhMomentumFits_pi0reco
TH1D * fhElectrons_invmass_1
TH1D * fhElectrons_invmass_cut
CbmAnaConversionRecoFull operator=(const CbmAnaConversionRecoFull &)
TH1D * fhPhotons_invmass_ptBin1_3
TH1D * fhPhotons_nofPerEvent_1
std::vector< TVector3 > fElectrons_momenta_3
TH2D * fhPhotons_invmass_vs_pt
std::vector< int > fMixedTest3_eventno
TH1D * fhElectrons_nofPerEvent_1
std::vector< TH1 * > fHistoList_recofull_new[5]
std::vector< TVector3 > fVector_photons_momenta
TH2D * fhPhotons_startvertex_vs_chi
TH1D * fhMixedEventsTest4_invmass_ann0
std::vector< int > fElectrons_mctrackID_new[5]
CbmAnaConversionRecoFull(const CbmAnaConversionRecoFull &)
TH1D * fhPhotons_Refit_chiDistribution
TH1D * fhPhotons_invmass_new[5]
Double_t Invmass_4particlesRECO(const TVector3 part1, const TVector3 part2, const TVector3 part3, const TVector3 part4)
TH1D * fhPhotons_invmass_ptBin1_new[5]
TH1D * fhPhotons_invmass_ptBin1_1
std::vector< TVector3 > fElectrons_momenta
std::vector< CbmGlobalTrack * > fElectrons_track_4
std::vector< TH1 * > fHistoList_recofull_3
TH1D * fhPhotons_invmass_ptBin3_new[5]
TH1D * fhMixedEventsTest_invmass[5]
TH1D * fhPhotons_invmass_MCcutTest2_new[5]
std::vector< TH1 * > fHistoList_recofull_2
std::vector< TVector3 > fElectrons_momenta_new[5]
TH1D * fhPhotons_MC_motherpdg
TClonesArray * fStsTrackMatches
TH1D * fhPhotons_invmass_cut_ptBin4
TClonesArray * fRichRings
TH1D * fhPhotons_invmass_4
TH1D * fhPhotons_invmass_MCcut1_new[5]
TH1D * fhElectrons_nofPerEvent_4
TH2D * fhPhotons_invmass_vs_pt_2
TH2D * fhPhotons_phaseSpace_eta[5]
std::vector< std::vector< Double_t > > fMixedTest4_ElectronAnns
TH1D * fhPhotons_invmass_2
TH1D * fhPhotons_stats[5]
TH1D * fhPhotons_invmass_ptBin4_new[5]
TH1D * fhPhotons_invmass_cut_chi65
void CombinePhotonsDirection()
LmvmKinePar CalculateKinematicParams_4particles(const TVector3 part1, const TVector3 part2, const TVector3 part3, const TVector3 part4)
std::vector< std::vector< TVector3 > > fMixedTest4_photons
TH2D * fhPhotons_invmass_vs_openingAngle
TH1D * fhElectrons_openingAngle_sameSign_new[5]
TH1D * fhPhotons_MC_invmass1
std::vector< float > fElectrons_momentaChi_4
TH1D * fhPhotons_invmass_ptBin4_4
std::vector< CbmGlobalTrack * > fMixedEventsElectrons_list1_gtrack
TH2D * fhPhotons_invmass_vs_pt_3
std::vector< TVector3 > fMixedEventsElectrons_list1
std::vector< int > fElectrons_mctrackID
std::vector< TVector3 > fMixedEventsElectrons_list3
TH1D * fhPhotons_invmass_cut
TH1D * fhPhotons_RefitPion_chiDistribution
std::vector< std::vector< int > > fVector_photons_pairs_4
TH1D * fhMixedEventsTest2_invmass
TH1D * fhPhotons_boostAngle
TH1D * fhPhotons_invmass_MCcutTest_new[5]
TH1D * fhPhotons_invmass_MCcut7_new[5]
TH1D * fhPhotons_invmass_cut_chi3
TH1D * fhPhotons_angleBetween
TH1D * fhPhotons_invmass_cut_chi5
TH1D * fhPhotons_invmass_ptBin2_1
virtual ~CbmAnaConversionRecoFull()
std::vector< float > fElectrons_momentaChi_1
std::vector< TVector3 > fElectrons_momenta_4
TH1D * fhPhotons_invmass_ptBin2_new[5]
TClonesArray * fRichRingMatches
TH1D * fhMomentumFits_electronRich
TH2D * fhPhotons_phaseSpace_pi0[5]
TH2D * fhPhotons_invmass_ANNcuts_new[5]
TH1D * fhPhotons_invmass_cut_ptBin3
TH1D * fhPhotons_nofPerEventAfter_new[5]
std::vector< std::vector< int > > fVector_photons_pairs_new[5]
TH1D * fhPhotons_invmass_MCcut4_new[5]
std::vector< std::vector< int > > fVector_photons_pairs_1
std::vector< CbmGlobalTrack * > fMixedEventsElectrons_list2_gtrack
TH1D * fhMixedEventsTest4_invmass_ptBin3
TH1D * fhPhotons_MC_invmass2
std::vector< int > fMixedTest4_eventno
TH1D * fhPhotons_invmass_ptBin1_4
TH1D * fhMixedEventsTest4_invmass_ptBin1
TH1D * fhPhotons_peakCheck2[5]
TH1D * fhPhotons_invmass_ptBin5_new[5]
std::vector< TVector3 > fMixedTest3_momenta
std::vector< CbmGlobalTrack * > fElectrons_track_new[5]
TH1D * fhPhotons_MC_motherIdCut
TClonesArray * fStsTracks
TH2D * fhMixedEventsTest4_invmass_ANNcuts
TH1D * fhPhotons_invmass_refit_cut
std::vector< int > fElectrons_globaltrackID_new[5]
TH1D * fhPhotons_invmass_cut_chi1
std::vector< std::vector< int > > fVector_photons_pairs_3
std::vector< TVector3 > fMixedEventsElectrons_list2
TH1D * fhPhotons_boostAngleMC
TH1D * fhPhotons_invmass_ptBin3_3
std::vector< TH1 * > fHistoList_recofull_4
TH1D * fhPhotons_boostAngleTest
TH1D * fhPhotons_invmass_cut_chi80
TH1D * fhPhotons_invmass_MCcut6_new[5]
std::vector< CbmGlobalTrack * > fElectrons_track_refit
TH1D * fhPhotons_invmass_MCcut2_new[5]
TH1D * fhPhotons_invmass_cut_chi40
TH1D * fhPhotons_invmass_MCcut5_new[5]
TH1D * fhPhotons_MCtrue_pdgCodes
TH1D * fhPhotons_invmass_ptBin2_4
TH1D * fhPhotons_invmass_refit
std::vector< int > fElectrons_mctrackID_4
TH1D * fhPhotons_MC_invmass4
std::vector< float > fElectrons_momentaChi_3
TH1D * fhElectrons_nofPerEvent_2
CbmAnaConversionRecoFull()
TH1D * fhMixedEventsTest3_invmass
TH1D * fhPhotons_invmass_cut_ptBin1
std::vector< TH1 * > fHistoList_recofull
TH2D * fhPhotons_invmass_vs_pt_1
std::vector< std::vector< int > > fVector_photons_pairs_2
std::vector< TVector3 > fMixedEventsElectrons[5]
std::vector< std::vector< int > > fVector_photons_pairs_direction
TH1D * fhPhotons_invmass_ptBin3_2
std::vector< std::vector< int > > fVector_photons_pairs
TH1D * fhPhotons_invmass_ptBin3_1
std::vector< TVector3 > fElectrons_momenta_1
TH1D * fhPhotons_invmass_ptBin3_4
TH1D * fhPhotons_nofPerEvent_2
TH1D * fhElectrons_invmass_4
TH1D * fhMixedEventsTest4_invmass_ptBin2
TH2D * fhPhotons_invmass_vs_chi
std::vector< TVector3 > fElectrons_momenta_2
Double_t Rap_4particlesRECO(const TVector3 part1, const TVector3 part2, const TVector3 part3, const TVector3 part4)
std::vector< float > fElectrons_momentaChi_new[5]
Double_t ElectronANNvalue(Int_t globalTrackIndex, Double_t momentum)
TH1D * fhPhotons_nofPerEvent_3
TH1D * fhPhotons_MC_startvertexZ
std::vector< CbmGlobalTrack * > fElectrons_track
TH1D * fhPhotons_invmass_ptBin4_1
std::vector< TVector3 > fElectrons_momenta_refit
TH1D * fhPhotons_MC_invmass3
std::vector< int > fElectrons_mctrackID_3
TH1D * fhElectrons_invmass_2
std::vector< std::vector< int > > fVector_photons_pairs_refit
std::vector< TVector3 > fMixedEventsElectrons_list4
TH2D * fhPhotons_pt_vs_rap_new[5]
std::vector< TH1 * > fHistoList_recofull_1
TH1D * fhElectrons_invmass
Double_t OpeningAngleBetweenPhotons2(std::vector< int > photon1, std::vector< int > photons2)
TH1D * fhElectrons_nofPerEvent_3
TH1D * fhPhotons_invmass_ptBin4_3
LmvmKinePar CalculateKinematicParamsReco(const TVector3 electron1, const TVector3 electron2)
TH1D * fhMixedEventsTest4_invmass
Double_t OpeningAngleBetweenPhotons(std::vector< TVector3 > momenta, std::vector< int > photon1, std::vector< int > photons2)
TH1D * fhPhotons_invmass_cut_chi10
TH1D * fhPhotons_invmass_direction
TH1D * fhElectrons_invmass_3
TH1D * fhPhotons_nofPerEvent_new[5]
std::vector< CbmGlobalTrack * > fElectrons_track_1
TClonesArray * fGlobalTracks
TH1D * fhPhotons_nofPerEvent_4
TH2D * fhMixedEventsTest4_pt_vs_rap
TH1D * fhPhotons_invmass_ptBin1_2
TH1D * fhPhotons_invmass_cut_ptBin2
TH1D * fhPhotons_invmass_ann0_new[5]
TH1D * fhPhotons_invmass_1
TH1D * fhPhotons_invmass_ptBin2_2
TH1D * fhPhotons_nofPerEvent
std::vector< CbmGlobalTrack * > fElectrons_track_3
std::vector< std::vector< CbmMCTrack * > > fMixedTest4_mctracks
std::vector< float > fElectrons_momentaChi_2
TH1D * fhPhotons_Refit_momentumDiff
TH1D * fhPhotons_invmass_ptBin6_new[5]
TH2D * fhPhotons_invmass_MCcutAll_new[5]
Double_t Pt_4particlesRECO(const TVector3 part1, const TVector3 part2, const TVector3 part3, const TVector3 part4)
std::vector< CbmGlobalTrack * > fMixedEventsElectrons_gtrack[5]
TH1D * fhPi0_nofPerEvent_new[5]
TH1D * fhPhotons_invmass_3
TH1D * fhMixedEventsTest4_invmass_ptBin4
TH1D * fhElectrons_invmass_new[5]
std::vector< CbmGlobalTrack * > fMixedEventsElectrons_list4_gtrack
TH2D * fhPhotons_invmass_vs_pt_4
TH1D * fhPhotons_Refit_chiDiff