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
5 changes: 4 additions & 1 deletion PWGLF/DataModel/LFStrangenessTables.h
Original file line numberDiff line numberDiff line change
Expand Up@@ -12,6 +12,7 @@
#define PWGLF_DATAMODEL_LFSTRANGENESSTABLES_H_

#include <cmath>
#include <vector>
#include "Framework/AnalysisDataModel.h"
#include "Common/Core/RecoDecay.h"
#include "CommonConstants/PhysicsConstants.h"
Expand DownExpand Up@@ -390,8 +391,10 @@ DECLARE_SOA_DYNAMIC_COLUMN(PositivePhi, positivephi, //! positive daughter phi

DECLARE_SOA_DYNAMIC_COLUMN(IsStandardV0, isStandardV0, //! is standard V0
[](uint8_t V0Type) -> bool { return V0Type & (1 << 0); });
DECLARE_SOA_DYNAMIC_COLUMN(IsPhotonTPConly, isPhotonTPConly, //! is photon V0
DECLARE_SOA_DYNAMIC_COLUMN(IsPhotonTPConly, isPhotonTPConly, //! is tpc-only photon V0
[](uint8_t V0Type) -> bool { return V0Type & (1 << 1); });
DECLARE_SOA_DYNAMIC_COLUMN(IsCollinear, isCollinear, //! is collinear V0
[](uint8_t V0Type) -> bool { return V0Type & (1 << 2); });
} // namespace v0data

DECLARE_SOA_TABLE(V0Indices, "AOD", "V0INDEX", //! index table when using AO2Ds
Expand Down
2 changes: 2 additions & 0 deletions PWGLF/TableProducer/lambdakzerobuilder.cxx
Original file line numberDiff line numberDiff line change
Expand Up@@ -136,6 +136,7 @@ struct lambdakzeroBuilder {
Configurable<double> d_bz_input{"d_bz", -999, "bz field, -999 is automatic"};
Configurable<bool> d_UseAbsDCA{"d_UseAbsDCA", true, "Use Abs DCAs"};
Configurable<bool> d_UseWeightedPCA{"d_UseWeightedPCA", false, "Vertices use cov matrices"};
Configurable<bool> d_UseCollinearFit{"d_UseCollinearFit", false, "Fit V0s via the collinear Method in DCAFitter"};
Configurable<float> d_maxDZIni{"d_maxDZIni", 1e9, "Dont consider a seed (circles intersection) if Z distance exceeds this"};
Configurable<float> d_maxDXYIni{"d_maxDXYIni", 4, "Dont consider a seed (circles intersection) if XY distance exceeds this"};
Configurable<int> useMatCorrType{"useMatCorrType", 2, "0: none, 1: TGeo, 2: LUT"};
Expand DownExpand Up@@ -664,6 +665,7 @@ struct lambdakzeroBuilder {
//---/---/---/
// Move close to minima
int nCand = 0;
fitter.setCollinear(d_UseCollinearFit || V0.isCollinearV0());
try {
nCand = fitter.process(lPositiveTrack, lNegativeTrack);
} catch (...) {
Expand Down