hpstr
The Heavy Photon Search Toolkit for Reconstruction (hpstr) provides an interface to physics data from the HPS experiment saved in the LCIO format and converts it into an ROOT based format.
Loading...
Searching...
No Matches
VertexProcessor::TruthLinkClosure Struct Reference

Closure test of the truth-link chain, off by default. More...

Public Attributes

long n_events {0}
 events seen
long n_events_with_rel {0}
 events where mcPartRelLcio_ was present
long n_events_with_mcp {0}
 events where mcPartCollLcio_ was present
long n_raw_event {0}
 raw hits in rawHitCollLcio_, whole event
long n_raw_event_with_rel {0}
 ... having >=1 relation
long n_tracks {0}
 tracks converted
long n_trackerhits {0}
 tracker (cluster/3D) hits on those tracks
long n_raw {0}
 raw hits reached through those tracker hits
long n_raw_with_rel {0}
 ... having >=1 relation
long n_simhits {0}
 SimTrackerHits reached.
long n_simhits_null_mcp {0}
 ... whose getMCParticle() was null
long n_simhits_dangling {0}
 ... whose MCParticle id is absent from mcPartCollLcio_
long n_expected_entries {0}
 addMcpHit() calls the LCIO walk should produce
long n_stored_entries {0}
 entries actually on Track::getMcpHits()
long n_trk_no_entry {0}
 tracks with an empty mcp-hit list
long n_trk_dangling {0}
 tracks whose plurality id is not in the MCParticle coll
long n_trk_not_electron {0}
 tracks whose plurality id resolves to |PDG| != 11
long n_trk_electron {0}
 tracks that resolve to an e+-
long n_trk_plurality_differs {0}
 strip-level and layer-unique plurality disagree

Detailed Description

Closure test of the truth-link chain, off by default.

The chain that feeds PreselectAndCategorize2021's truth_ele_id is

tracker hit -> getRawHits() -> mcPartRelLcio_ -> SimTrackerHit -> getMCParticle()->id() -> Track::addMcpHit() -> plurality -> lookup in the hpstr MCParticle collection

and every stage can drop the link while looking identical downstream: hasTruthMatch() returns false whether the relation was missing, the MCParticle pointer was null, the id resolves to nothing in the stored MCParticle collection, or the plurality lands on a non-e+-. These counters separate those cases and check that what LCIO offered is exactly what ended up on the hpstr Track.

Definition at line 106 of file VertexProcessor.h.

Member Data Documentation

◆ n_events

long n_events {0}

events seen

Definition at line 107 of file VertexProcessor.h.

◆ n_events_with_mcp

long n_events_with_mcp {0}

events where mcPartCollLcio_ was present

Definition at line 109 of file VertexProcessor.h.

◆ n_events_with_rel

long n_events_with_rel {0}

events where mcPartRelLcio_ was present

Definition at line 108 of file VertexProcessor.h.

◆ n_expected_entries

long n_expected_entries {0}

addMcpHit() calls the LCIO walk should produce

Definition at line 122 of file VertexProcessor.h.

◆ n_raw

long n_raw {0}

raw hits reached through those tracker hits

Definition at line 116 of file VertexProcessor.h.

◆ n_raw_event

long n_raw_event {0}

raw hits in rawHitCollLcio_, whole event

Definition at line 111 of file VertexProcessor.h.

◆ n_raw_event_with_rel

long n_raw_event_with_rel {0}

... having >=1 relation

Definition at line 112 of file VertexProcessor.h.

◆ n_raw_with_rel

long n_raw_with_rel {0}

... having >=1 relation

Definition at line 117 of file VertexProcessor.h.

◆ n_simhits

long n_simhits {0}

SimTrackerHits reached.

Definition at line 118 of file VertexProcessor.h.

◆ n_simhits_dangling

long n_simhits_dangling {0}

... whose MCParticle id is absent from mcPartCollLcio_

Definition at line 120 of file VertexProcessor.h.

◆ n_simhits_null_mcp

long n_simhits_null_mcp {0}

... whose getMCParticle() was null

Definition at line 119 of file VertexProcessor.h.

◆ n_stored_entries

long n_stored_entries {0}

entries actually on Track::getMcpHits()

Definition at line 123 of file VertexProcessor.h.

◆ n_trackerhits

long n_trackerhits {0}

tracker (cluster/3D) hits on those tracks

Definition at line 115 of file VertexProcessor.h.

◆ n_tracks

long n_tracks {0}

tracks converted

Definition at line 114 of file VertexProcessor.h.

◆ n_trk_dangling

long n_trk_dangling {0}

tracks whose plurality id is not in the MCParticle coll

Definition at line 126 of file VertexProcessor.h.

◆ n_trk_electron

long n_trk_electron {0}

tracks that resolve to an e+-

Definition at line 128 of file VertexProcessor.h.

◆ n_trk_no_entry

long n_trk_no_entry {0}

tracks with an empty mcp-hit list

Definition at line 125 of file VertexProcessor.h.

◆ n_trk_not_electron

long n_trk_not_electron {0}

tracks whose plurality id resolves to |PDG| != 11

Definition at line 127 of file VertexProcessor.h.

◆ n_trk_plurality_differs

long n_trk_plurality_differs {0}

strip-level and layer-unique plurality disagree

Definition at line 129 of file VertexProcessor.h.


The documentation for this struct was generated from the following file: