23#include <Math/Vector3D.h>
24#include <Math/Vector4D.h>
48 :
CbmQaTask(
"v0Finder", verbose, bUseMc, recoMode)
74 void InitHistograms();
114 void FillParticles();
122 template<
bool IsMixedEvent>
160 static constexpr int kBp{80};
161 static constexpr double kLp{+0.0};
162 static constexpr double kUp{+4.0};
164 static constexpr double kLpt{+0.0};
165 static constexpr double kUpt{+4.0};
ECbmRecoMode
Reconstruct the full time slice or event-by-event.
A base class for CBM QA task logic.
CbmQaTask(const char *name, int verbose, bool isMCUsed, ECbmRecoMode recoMode=ECbmRecoMode::Timeslice)
Constructor from parameters.
Data class with information on a STS local track.
static constexpr int kBdca_rt_pv
DCA rel. to prim. vertex: number of bins.
static constexpr int kBdecay_vtx_y
Decay vertex y-coordinate: number of bins.
static constexpr double kUdecay_vtx_y
Decay vertex y-coordinate: upper bound [cm].
static constexpr int kBbeta
beta: number of bins
static constexpr double kUchi2ndf_geo
chi2/NDF geometry: upper bound
static constexpr int kBdca_rt_origin
DCA rel. to origin: number of bins.
static constexpr double kLdca_rt_origin
DCA rel. to origin: lower bound [cm].
std::shared_ptr< const KFParticleTopoReconstructor > fpTopoReconstructor
static constexpr double kLpt
transverse momentum : lower bound [GeV/c]
static constexpr double kLdecay_length
Decay length: lower bound [cm].
V0FinderQa(int verbose, bool bUseMc, ECbmRecoMode recoMode=ECbmRecoMode::Timeslice)
Constructor from parameters.
V0FinderQa(const V0FinderQa &)=delete
void WriteHistograms(const TString &)
Writes histograms into file.
static constexpr double kLdecay_vtx_z
Decay vertex z-coordinate: lower bound [cm].
const std::vector< V0FinderTask::ParticleInfo > * fpParticleInfo
void FillSecondary(RefHistogramsPrt &h, const KFParticle &prt, const V0FinderTask::ParticleInfo &prtInfo)
Fills secondary distributions.
const std::vector< V0FinderTask::TrackInfo > * fpTrackInfo
static constexpr double kUmass
Invariant mass: upper bound [GeV/c2].
static constexpr double kLdecay_vtx_y
Decay vertex y-coordinate: lower bound [cm].
RefHistograms fhRefTracksBefore
Track distributions before track selection.
static constexpr double kUp
abs. momentum : upper bound [GeV/c]
static constexpr int kBopening_angle
opening angle: number of bins
V0FinderQa & operator=(const V0FinderQa &)=delete
RefHistograms fhRefDaughtersAfter
Daughter particle distribution after cuts on v0.
static constexpr double kUdca_rt_origin
DCA rel. to origin: upper bound [cm].
static constexpr int kBdecay_vtx_x
Decay vertex x-coordinate: number of bins.
static constexpr double kLchi2ndf_topo
chi2/NDF topology: lower bound
ROOT::Math::XYZVector Vector3_t
static constexpr double kLopening_angle
opening angle: lower bound [radians]
static constexpr double kLp
abs. momentum : lower bound [GeV/c]
static constexpr int kBchi2ndf_topo
chi2/NDF topology: number of bins
static constexpr double kLdca_rt_pv
DCA rel. to prim. vertex: lower bound [cm].
static constexpr double kUbeta
beta: upper bound [c]
void FillV0Candidates(const KFParticle &v0cand)
Fills v0 distributions.
static constexpr double kUdecay_vtx_z
Decay vertex z-coordinate: upper bound [cm].
static constexpr double kLmass
Invariant mass: lower bound [GeV/c2].
static constexpr int kBdca_daughters
DCA between daughters: number of bins.
static constexpr double kLdca_daughters
DCA between daughters: lower bound [cm].
static constexpr int kBdecay_length
Decay length: number of bins.
ROOT::Math::XYZTVector XVector4_t
static constexpr double kUdca_rt_pv
DCA rel. to prim. vertex: upper bound [cm].
RefHistograms fhRefDaughtersBefore
Daughter particle distribution before cuts on v0.
typename V0FinderTask::Cutter_t Cutter_t
V0FinderQa & operator=(V0FinderQa &&)=delete
static constexpr double kLbeta
beta: lower bound [c]
RefHistogramsV0 fhRefV0After
V0 distributions after cuts.
RefHistograms fhRefSecondaryUnused
Secondary particles, which were not attached to any v0.
RefHistograms fhRefTracksAfter
Track distributions after track selection.
static constexpr double kLdecay_vtx_x
Decay vertex x-coordinate: lower bound [cm].
RefHistogramsV0 fhRefV0Before
V0 distributions before cuts.
static constexpr double kUchi2ndf_topo
chi2/NDF topology: upper bound
static constexpr double kUdecay_length
Decay length: upper bound [cm].
V0FinderQa(V0FinderQa &&)=delete
static constexpr int kBmass
Invariant mass: number of bins.
void Refit(const XVector4_t &aX, const XVector4_t &bX, XVector4_t &mX, PVector4_t &aP, PVector4_t &bP, PVector4_t &mP)
Refits 4-momenta of daughters.
static constexpr double kUdca_daughters
DCA between daughters: upper bound [cm].
static constexpr int kBdecay_vtx_z
Decay vertex z-coordinate: number of bins.
static constexpr double kUpt
transverse momentum : upper bound [GeV/c]
static constexpr double kLchi2ndf_geo
chi2/NDF geometry: lower bound
~V0FinderQa()=default
Destructor.
static constexpr double kUdecay_vtx_x
Decay vertex x-coordinate: upper bound [cm].
RefHistogramsV0 fhRefMeAfter
Mixed-event distributions after cuts.
RefHistogramsV0 fhRefMeBefore
Mixed-event distributions before cuts.
ROOT::Math::PxPyPzEVector PVector4_t
TClonesArray * fpBrRecoEvents
static constexpr int kBp
abs. momentum : number of bins
std::shared_ptr< const Cutter_t > fpCutter
bool fbDataBranchesInitialized
static constexpr double kUopening_angle
opening angle: upper bound [radians]
static constexpr int kBchi2ndf_geo
chi2/NDF geometry: number of bins
TClonesArray * fpBrGlobalTracks
static constexpr int kBpt
transverse momentum : number of bins
RefHistograms fhRefSecondaryStored
Stored secondary particles.
A class to find V0 candidates in mCBM.
V0FinderCutter< EV0Type::Lambda > Cutter_t
A collection of reference histograms for a particle (specific or all)
TH1D * dca_rt_origin
DCA r.t. origin.
TH1D * pt
transverse momentum
TH1D * p
absolute value of momentum
A collection of reference histograms for V0 candidates.
TH2D * decay_vtx_xy
x-, y-coordinate of V0 decay vertex
TH1D * chi2ndf_geo
Chi2/NDF geo (w.r.t. origin)
TH1D * mass
Invariant mass distribution.
TH1D * opening_angle_kf
Opening angle of daughters (using KFParticle objects)
TH1D * decay_length
Decay length.
TH1D * dca_rt_pv
DCA r.t. primary vertex.
TH1D * decay_vtx_z
z-coordinate of V0 decay vertex
TH1D * dca_daughters
DCA between daughters.
TH1D * chi2ndf_topo
Chi2/NDF topology.
TH1D * opening_angle
Opening angle of daughters.
A collection of reference histograms for different analysis stage.
Extra information on KFParticle, required by the V0 analysis.