Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 11 additions & 7 deletions Tools/KFparticle/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

# Copyright 2019-2020 CERN and copyright holders of ALICE O2.
# See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
# All rights not expressly granted are reserved.
Expand All @@ -11,11 +10,16 @@
# or submit itself to any jurisdiction.

o2physics_add_dpl_workflow(qa-kfparticle
SOURCES qaKFParticle.cxx
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore O2::DCAFitter KFParticle::KFParticle
COMPONENT_NAME Analysis)
SOURCES qaKFParticle.cxx
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore O2::DCAFitter KFParticle::KFParticle
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(qa-kfparticle-lc
SOURCES qaKFParticleLc.cxx
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore O2::DCAFitter KFParticle::KFParticle
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(qa-kfeventtrack
SOURCES qaKFEventTrack.cxx
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore O2::DCAFitter KFParticle::KFParticle
COMPONENT_NAME Analysis)
SOURCES qaKFEventTrack.cxx
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore O2::DCAFitter KFParticle::KFParticle
COMPONENT_NAME Analysis)
4 changes: 2 additions & 2 deletions Tools/KFparticle/KFUtilities.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ KFPVertex createKFPVertexFromCollision(const T& collision)
kfpVertex.SetXYZ(collision.posX(), collision.posY(), collision.posZ());
kfpVertex.SetCovarianceMatrix(collision.covXX(), collision.covXY(), collision.covYY(), collision.covXZ(), collision.covYZ(), collision.covZZ());
kfpVertex.SetChi2(collision.chi2());
kfpVertex.SetNDF(2 * collision.multNTracksPV() - 3);
kfpVertex.SetNContributors(collision.multNTracksPV());
kfpVertex.SetNDF(2 * collision.numContrib() - 3);
kfpVertex.SetNContributors(collision.numContrib());
return kfpVertex;
}

Expand Down
320 changes: 169 additions & 151 deletions Tools/KFparticle/qaKFEventTrack.cxx

Large diffs are not rendered by default.

8 changes: 6 additions & 2 deletions Tools/KFparticle/qaKFEventTrack.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,11 @@ DECLARE_SOA_COLUMN(ETA, Eta, float);
DECLARE_SOA_COLUMN(PHI, Phi, float);
DECLARE_SOA_COLUMN(TPCSIGNAL, Tpcsignal, float);
DECLARE_SOA_COLUMN(RUNNUMBER, Runnumber, float);
DECLARE_SOA_COLUMN(TIMECOLL, TimeColl, double);
DECLARE_SOA_COLUMN(TIMECOLL, TimeColl, uint64_t);
DECLARE_SOA_COLUMN(TIMESTAMP, TimeStamp, double);
DECLARE_SOA_COLUMN(TIMEDIFF, TimeDiff, double);
DECLARE_SOA_COLUMN(BCID, BCid, int);
DECLARE_SOA_COLUMN(TFID, Tfid, int);
DECLARE_SOA_COLUMN(XPV, Xpv, float);
DECLARE_SOA_COLUMN(YPV, Ypv, float);
DECLARE_SOA_COLUMN(ZPV, Zpv, float);
Expand Down Expand Up @@ -94,7 +96,9 @@ DECLARE_SOA_TABLE(TreeCollisions, "AOD", "TREECOLLISIONS",
kfeventtrack::RUNNUMBER,
kfeventtrack::TIMECOLL,
kfeventtrack::TIMESTAMP,
kfeventtrack::TIMEDIFF);
kfeventtrack::TIMEDIFF,
kfeventtrack::BCID,
kfeventtrack::TFID);
} // namespace o2::aod

#endif // TOOLS_KFPARTICLE_QAKFEVENTTRACK_H_
651 changes: 274 additions & 377 deletions Tools/KFparticle/qaKFParticle.cxx

Large diffs are not rendered by default.

Loading