Definition at line 134 of file PndScrutAnaTask.cxx.
References RhoKinFitter::Add4MomConstraint(), all, RhoTuple::Column(), RhoTuple::DumpData(), fAnalysis, fEvtCount, PndAnalysis::FillList(), fIni, RhoKinFitter::Fit(), RhoFitterBase::GetChi2(), PndAnalysis::GetEvent(), RhoCandidate::GetFit(), RhoCandidate::GetMcTruth(), i, jpsiMassSel, jpsiPreMassSel, mclist, PndAnalysis::McTruthMatch(), muminus, muplus, nmc, ntp1, ntp2, RhoCandidate::P4(), piminus, piplus, and TString.
149 TString pidalg =
"PidChargedProbability";
175 qa.qaMcList(
"", mclist,
nmc);
180 jpsi.Combine(muplus, muminus);
186 for (j=0;j<jpsi.GetLength();++j)
191 ntp1->
Column(
"ncand", (Float_t) jpsi.GetLength());
198 qa.qaComp(
"j", jpsi[j],
ntp1);
201 qa.qaEventShapeShort(
"es",&evsh,
ntp1);
206 if (truth) lv = truth->
P4();
207 qa.qaP4(
"trj", lv,
ntp1);
217 psi2s.Combine(jpsi, piplus, piminus);
218 psi2s.SetType(100443);
222 for (j=0;j<psi2s.GetLength();++j)
227 ntp2->
Column(
"ncand", (Float_t) psi2s.GetLength());
231 kinfit.Add4MomConstraint(
fIni);
239 qa.qaComp(
"psi", psi2s[j],
ntp2);
240 qa.qaComp(
"fpsi",psifit,
ntp2);
241 ntp2->
Column(
"fchi2", (Float_t) kinfit.GetChi2());
244 qa.qaEventShapeShort(
"es",&evsh,
ntp2);
249 if (truth) lv = truth->
P4();
250 qa.qaP4(
"trpsi", lv,
ntp2);
RhoMassParticleSelector * jpsiMassSel
Bool_t FillList(RhoCandList &l, TString listkey="All", TString pidTcaNames="", int trackHypothesis=-1)
RhoMassParticleSelector * jpsiPreMassSel
TLorentzVector P4() const
void Column(const char *label, Bool_t value, Bool_t defval=0, const char *block=0)
RhoCandidate * GetMcTruth() const
RhoCandidate * GetFit() const
Bool_t McTruthMatch(RhoCandidate *cand, Int_t level=2, bool verbose=false)
Int_t GetEvent(Int_t n=-1)