delphi-edm4hep
DELPHI SDST/FDST -> EDM4hep converter
Loading...
Searching...
No Matches
delphi_edm4hep::btag::check Namespace Reference

Enumerations

enum  TrackTagIndex : std::size_t {
  kTrProb = 0 , kTrProbZ , kTrChi2Vd , kTrChi2Tr ,
  kTrMomentum , kTrNVdp , kTrNVdpz , kTrNLay ,
  kTrNLayz , kTrIsrt , kTrAttached , kTrIjet ,
  kTrIthr , kTrPhivSign , kTrPhivDist , kTrRpdt ,
  kTrDistj , kTrErrtj , kTrInsv , kTrIst ,
  kTrIjsv , kTrIlund , kTrCount
}

Functions

bool isSelectedPayloadName (std::string_view name, std::string_view source)
bool isFinite (float value)
bool isFinite (double value)
bool isPositiveFinite (float value)
bool isNonnegativeFinite (float value)
bool isSensiblePrimaryVertexNdf (int value)
bool isValidUsedForTag (std::int32_t value)
bool isValidAttachedFlag (std::int32_t value)
bool isValidJetIndex (std::int32_t value)
bool isValidHemisphere (std::int32_t value)
bool isValidInsv (std::int32_t value)
bool isValidTrackStatus (std::int32_t value)
bool isUnitSign (float value)
bool isConsistentPlaceholder (float phivDist, float distj)
bool isValidSignedCount (std::int32_t value, std::int32_t maximum)

Variables

constexpr int kPrimaryVertexAlgorithmType = 3
constexpr int kMaxTracks = 100
constexpr int kMaxPrimaryVertexNdf = 2 * kMaxTracks
constexpr std::int32_t kMaxVdHits = 6
constexpr std::int32_t kMaxVdLayers = 3
constexpr std::int32_t kMaxJets = 10
constexpr std::int32_t kMaxSvHypotheses = 20
constexpr std::int32_t kMaxInsv = kMaxSvHypotheses + 100

Enumeration Type Documentation

◆ TrackTagIndex

Slot layout of the AABTAG_TrackTag parameters VectorMember.

Every slot here that refers to the primary vertex means AABTAG's own, emitted as AABTAG_PrimaryVertex, not PV_PrimaryVertex.

EDM4hep types parameters as a bare float vector, so slot meanings and units are convention: declared once here, appended in this order by Btag.cpp, read by name by delphi_btag_check, with kTrCount keeping the two in step. Slots [0..10] come from AABTGS / AASIGN, [11..21] from AAJETS / AASCND / AAJESV; the DELPHI mnemonic locates each in aabtagxx.car. Unmarked slots are dimensionless.

Collection
AABTAG_TrackTag
Enumerator
kTrProb 

TRPR lifetime probability

kTrProbZ 

TRPRZ the same, using z

kTrChi2Vd 

CHI2VD chi2 of the VD hits on the track

kTrChi2Tr 

CHI2TR track-to-vertex chi2; NaN unless kTrAttached

kTrMomentum 

PMOM track momentum, GeV

kTrNVdp 

NVDP VD hits

kTrNVdpz 

NVDPZ of which carry z

kTrNLay 

NLAY VD layers touched

kTrNLayz 

NLAYZ of which carry z

kTrIsrt 

ISRT 0 if the track was not used by the tag

kTrAttached 

1 if AABTAG attached the track to its primary vertex

kTrIjet 

IJET AABTAG_CombinedTagRow row, 1-based

kTrIthr 

ITHR thrust hemisphere (1 or 2)

kTrPhivSign 

sign of PHIV, exactly +1 or -1; the sign of the impact parameter, valid on every row

kTrPhivDist 

PHIV as a length: signed distance along the jet axis from AABTAG's primary vertex to the track's point of closest approach to that axis, mm; NaN on exactly the rows where kTrDistj is NaN, where AASGNT left only a sign

kTrRpdt 

RPDT track rapidity with respect to its jet

kTrDistj 

DISTJ 3-D track-jet distance, mm; NaN if not computed

kTrErrtj 

ERRTJ error on kTrDistj, mm; NaN on the same rows

kTrInsv 

INSV SV hypothesis using the track (+100 flags)

kTrIst 

IST track-quality code (AASTRK / AASLCT / AAIMPC)

kTrIjsv 

IJSV jet after the SV redefinition

kTrIlund 

ILUND index into LUTHRU's JETSET record, which is not shipped: only != 0 is meaningful, saying the track entered the thrust and oblateness calculation

kTrCount 

number of slots; the expected parameters size

Definition at line 39 of file BtagCheckDomains.h.

Function Documentation

◆ isConsistentPlaceholder()

bool delphi_edm4hep::btag::check::isConsistentPlaceholder ( float phivDist,
float distj )
inline

Definition at line 137 of file BtagCheckDomains.h.

◆ isFinite() [1/2]

bool delphi_edm4hep::btag::check::isFinite ( double value)
inline

Definition at line 79 of file BtagCheckDomains.h.

◆ isFinite() [2/2]

bool delphi_edm4hep::btag::check::isFinite ( float value)
inline

Definition at line 78 of file BtagCheckDomains.h.

◆ isNonnegativeFinite()

bool delphi_edm4hep::btag::check::isNonnegativeFinite ( float value)
inline

Definition at line 85 of file BtagCheckDomains.h.

◆ isPositiveFinite()

bool delphi_edm4hep::btag::check::isPositiveFinite ( float value)
inline

Definition at line 81 of file BtagCheckDomains.h.

◆ isSelectedPayloadName()

bool delphi_edm4hep::btag::check::isSelectedPayloadName ( std::string_view name,
std::string_view source )
inline

Definition at line 71 of file BtagCheckDomains.h.

◆ isSensiblePrimaryVertexNdf()

bool delphi_edm4hep::btag::check::isSensiblePrimaryVertexNdf ( int value)
inline

Definition at line 89 of file BtagCheckDomains.h.

◆ isUnitSign()

bool delphi_edm4hep::btag::check::isUnitSign ( float value)
inline

Definition at line 132 of file BtagCheckDomains.h.

◆ isValidAttachedFlag()

bool delphi_edm4hep::btag::check::isValidAttachedFlag ( std::int32_t value)
inline

Definition at line 97 of file BtagCheckDomains.h.

◆ isValidHemisphere()

bool delphi_edm4hep::btag::check::isValidHemisphere ( std::int32_t value)
inline

Definition at line 107 of file BtagCheckDomains.h.

◆ isValidInsv()

bool delphi_edm4hep::btag::check::isValidInsv ( std::int32_t value)
inline

Definition at line 112 of file BtagCheckDomains.h.

◆ isValidJetIndex()

bool delphi_edm4hep::btag::check::isValidJetIndex ( std::int32_t value)
inline

Definition at line 102 of file BtagCheckDomains.h.

◆ isValidSignedCount()

bool delphi_edm4hep::btag::check::isValidSignedCount ( std::int32_t value,
std::int32_t maximum )
inline

Definition at line 143 of file BtagCheckDomains.h.

◆ isValidTrackStatus()

bool delphi_edm4hep::btag::check::isValidTrackStatus ( std::int32_t value)
inline

Definition at line 121 of file BtagCheckDomains.h.

◆ isValidUsedForTag()

bool delphi_edm4hep::btag::check::isValidUsedForTag ( std::int32_t value)
inline

Definition at line 95 of file BtagCheckDomains.h.

Variable Documentation

◆ kMaxInsv

std::int32_t delphi_edm4hep::btag::check::kMaxInsv = kMaxSvHypotheses + 100
inlineconstexpr

Definition at line 24 of file BtagCheckDomains.h.

◆ kMaxJets

std::int32_t delphi_edm4hep::btag::check::kMaxJets = 10
inlineconstexpr

Definition at line 22 of file BtagCheckDomains.h.

◆ kMaxPrimaryVertexNdf

int delphi_edm4hep::btag::check::kMaxPrimaryVertexNdf = 2 * kMaxTracks
inlineconstexpr

Definition at line 17 of file BtagCheckDomains.h.

◆ kMaxSvHypotheses

std::int32_t delphi_edm4hep::btag::check::kMaxSvHypotheses = 20
inlineconstexpr

Definition at line 23 of file BtagCheckDomains.h.

◆ kMaxTracks

int delphi_edm4hep::btag::check::kMaxTracks = 100
inlineconstexpr

Definition at line 16 of file BtagCheckDomains.h.

◆ kMaxVdHits

std::int32_t delphi_edm4hep::btag::check::kMaxVdHits = 6
inlineconstexpr

Definition at line 18 of file BtagCheckDomains.h.

◆ kMaxVdLayers

std::int32_t delphi_edm4hep::btag::check::kMaxVdLayers = 3
inlineconstexpr

Definition at line 19 of file BtagCheckDomains.h.

◆ kPrimaryVertexAlgorithmType

int delphi_edm4hep::btag::check::kPrimaryVertexAlgorithmType = 3
inlineconstexpr

Definition at line 15 of file BtagCheckDomains.h.