Go to the documentation of this file.
7 #ifndef CBM_ANA_DIELECTRON_TASK_H
8 #define CBM_ANA_DIELECTRON_TASK_H
21 #include "FairBaseParSet.h"
22 #include "FairMCEventHeader.h"
36 class FairRootManager;
55 virtual InitStatus
Init();
60 virtual void Exec(Option_t* option);
73 const std::string& name,
74 const std::string& axisX,
75 const std::string& axisY,
96 const std::string& name,
97 const std::string& axisX,
98 const std::string& axisY,
99 const std::string& axisZ,
118 const std::string& name,
119 const std::string& axisX,
120 const std::string& axisY,
141 const std::string& name,
142 const std::string& axisX,
143 const std::string& axisY,
144 const std::string& axisZ,
223 std::vector<TH2D*>& hist,
224 std::vector<TH1D*>& histQa);
231 const std::vector<CbmLmvmCandidate>& cutCandidates,
232 const std::vector<TH2D*>& hcut,
233 const std::vector<TH2D*>& hcutPion,
234 const std::vector<TH2D*>& hcutTruepair,
292 std::vector<CbmLmvmCandidate>
294 std::vector<CbmLmvmCandidate>
296 std::vector<CbmLmvmCandidate>
363 std::vector<std::vector<TH1D*>>
std::vector< CbmLmvmCandidate > fSTCandidates
TH1D * fh_mvd1cut_mc_dist_pi0
TClonesArray * fRichRings
TH1D * fh_nof_rec_pairs_pi0
std::vector< TH2D * > fh_signal_pty
std::vector< TH2D * > fh_source_pairs_epem
TH1D * fh_nof_topology_pairs_gamma
void PairMcAndAcceptance()
std::vector< TH1D * > fh_mvd1r
Bool_t IsMismatch(CbmLmvmCandidate *cand)
TH1D * fh_pi_mom_rec_sts_rich_trd_tof
TH1D * fh_piprim_minus_rapidity_mc
std::vector< TH1D * > fh_pi0_minv
TClonesArray * fMvdHitMatches
void AssignMcToCandidates()
TH1D * fh_pi_mom_rec_sts_rich_trd
std::vector< TH2D * > fh_mvd1cut
std::vector< std::vector< TH1D * > > fh_source_pt
std::vector< TH1D * > fh_bg_truematch_minv
TClonesArray * fRichPoints
CbmAnaDielectronTask & operator=(const CbmAnaDielectronTask &)
void CheckClosestMvdHit(Int_t mvdStationNum, std::vector< TH2D * > &hist, std::vector< TH1D * > &histQa)
void SetUseRich(Bool_t use)
std::vector< TH2D * > fh_vertex_el_gamma_xy
std::vector< TH2D * > fh_mvd1xy
TClonesArray * fMvdPoints
TClonesArray * fTrdTrackMatches
std::vector< CbmLmvmCandidate > fTTCandidates
std::vector< std::vector< TH1D * > > fh_source_bg_minv
void TrackSource(CbmLmvmCandidate *cand, CbmLmvmAnalysisSteps step, Int_t pdg)
TH1D * fh_piprim_plus_rapidity_mc
std::vector< CbmLmvmCandidate > fCandidates
CbmAnaDielectronTask(const CbmAnaDielectronTask &)
ClassDef(CbmAnaDielectronTask, 1)
std::vector< std::vector< TH1D * > > fh_opening_angle
std::vector< TH2D * > fh_rtcut_pion
FairMCEventHeader * fMCEventHeader
void CheckGammaConvAndPi0()
void SetEnergyAndPlutoParticle(const string &energy, const string &particle)
std::vector< TH1D * > fh_bg_truematch_notel_minv
friend F32vec4 min(const F32vec4 &a, const F32vec4 &b)
Bool_t IsGhost(CbmLmvmCandidate *cand)
std::vector< TH2D * > fh_ttcut_truepair
TH1D * fh_nof_charged_particles_acc
void CalculateNofTopologyPairs(TH1D *h_nof_pairs, const std::string &source)
std::vector< TH2D * > fh_vertex_el_gamma_xz
void CreateAnalysisStepsH1(std::vector< TH1D * > &hist, const std::string &name, const std::string &axisX, const std::string &axisY, double nBins, double min, double max)
std::vector< TH1D * > fh_mvd1cut_qa
void FillPairHists(CbmLmvmCandidate *candP, CbmLmvmCandidate *candM, CbmLmvmKinematicParams *parMc, CbmLmvmKinematicParams *parRec, CbmLmvmAnalysisSteps step)
std::vector< TH2D * > fh_ttcut
TH1D * fh_piprim_mom_rec_sts_rich_trd_tof
std::vector< TH2D * > fh_tofm2
Data class for STS tracks.
TH1D * fh_nof_rec_pairs_gamma
std::vector< TH1D * > fh_bg_mismatch_minv
void PairSource(CbmLmvmCandidate *candP, CbmLmvmCandidate *candM, CbmLmvmAnalysisSteps step, CbmLmvmKinematicParams *parRec)
TH1D * fh_mvd2cut_mc_dist_gamma
std::vector< CbmLmvmCandidate > fRTCandidates
std::vector< TH1D * > fh_mvd2cut_qa
std::vector< TH1D * > fh_bg_truematch_el_minv
void FillNofChargedParticlesPerEvent()
TH1D * fh_mvd2cut_mc_dist_pi0
Bool_t IsMcTrackAccepted(Int_t mcTrackInd)
std::vector< TH2D * > fh_stcut
void DifferenceSignalAndBg()
TClonesArray * fStsTrackMatches
void SingleParticleAcceptance()
std::vector< TH2D * > fh_eta_minv_pt
std::vector< std::vector< TH1D * > > fh_source_mom
std::vector< TH2D * > fh_vertex_el_gamma_rz
TH1D * fh_mvd1cut_mc_dist_gamma
void FillRichRingNofHits()
std::vector< TH1D * > fh_signal_minv
TClonesArray * fGlobalTracks
std::vector< TH2D * > fh_ttcut_pion
std::vector< TH1D * > fh_mom
std::vector< TH1D * > fh_trdann
std::vector< TH1D * > fh_pt
void CreateSourceTypesH1(std::vector< TH1D * > &hist, const std::string &name, const std::string &axisX, const std::string &axisY, double nBins, double min, double max)
void SetUseTrd(Bool_t use)
Creates CbmLitMCTrack objects.
TH1D * fh_nof_mismatches_trd
std::vector< TH2D * > fh_mvd2xy
std::vector< TH1D * > fh_nofStsHits
std::vector< TH2D * > fh_rtcut
TClonesArray * fTrdTracks
TH1D * fh_pi_mom_rec_only_sts
TClonesArray * fTofHitsMatches
std::vector< TH2D * > fh_pi0_minv_pt
TH1D * fh_nof_mismatches_rich
std::vector< TH2D * > fh_rtcut_truepair
void CheckTopologyCut(const std::string &cutName, const std::vector< CbmLmvmCandidate > &cutCandidates, const std::vector< TH2D * > &hcut, const std::vector< TH2D * > &hcutPion, const std::vector< TH2D * > &hcutTruepair, Double_t angleCut, Double_t ppCut)
void CreateAnalysisStepsH2(std::vector< TH2D * > &hist, const std::string &name, const std::string &axisX, const std::string &axisY, const std::string &axisZ, double nBinsX, double minX, double maxX, double nBinsY, double minY, double maxY)
virtual InitStatus Init()
std::vector< TH1D * > fh_eta_minv
void SetWeight(Double_t weight)
std::vector< TH2D * > fh_mvd2cut
void SetUseTof(Bool_t use)
std::vector< TH1D * > fh_mvd2r
std::vector< TH1D * > fh_nofMvdHits
TH1D * fh_piprim_mom_rec_sts_rich_trd
std::map< Int_t, Int_t > fNofHitsInRingMap
void SetUseMvd(Bool_t use)
CbmStsKFTrackFitter fKFFitter
TH1D * fh_nof_topology_pairs_pi0
void AssignMcToTopologyCandidates(std::vector< CbmLmvmCandidate > &cutCandidates)
void SetPionMisidLevel(Double_t level)
virtual ~CbmAnaDielectronTask()
TH1D * fh_piprim_mom_rec_only_sts
std::vector< TH1D * > fh_bg_minv
std::vector< TH1D * > fh_chi2prim
std::vector< TH1D * > fh_richann
TH1D * fh_nof_charged_particles
TH1D * fh_etaprim_rapidity_mc
virtual void Exec(Option_t *option)
TH1D * fh_nof_mismatches_tof
std::vector< TH1 * > fHistoList
std::vector< TH1D * > fh_signal_mom
TClonesArray * fRichRingMatches
friend F32vec4 max(const F32vec4 &a, const F32vec4 &b)
TH1D * fh_pi0prim_rapidity_mc
std::vector< TH2D * > fh_signal_minv_pt
TClonesArray * fStsTracks
std::vector< TH2D * > fh_stcut_truepair
void CreateSourceTypesH2(std::vector< TH2D * > &hist, const std::string &name, const std::string &axisX, const std::string &axisY, const std::string &axisZ, double nBinsX, double minX, double maxX, double nBinsY, double minY, double maxY)
std::vector< TH1D * > fh_gamma_minv
std::vector< TH2D * > fh_vertex_el_gamma_yz
void IsElectron(Int_t globalTrackIndex, Double_t momentum, CbmLmvmCandidate *cand)
std::vector< TH1D * > fh_chi2sts
TH2D * fh_mc_signal_mom_angle
std::vector< TH2D * > fh_stcut_pion
void FillTopologyCandidates()
TClonesArray * fTofPoints