 |
Belle II Software
release-05-02-19
|
12 #include <tracking/trackFindingCDC/varsets/VarSet.h>
13 #include <tracking/trackFindingCDC/varsets/VarNames.h>
15 #include <tracking/trackFindingCDC/mclookup/CDCMCManager.h>
17 #include <tracking/trackFindingCDC/filters/segmentTrack/BaseSegmentTrackFilter.h>
24 namespace TrackFindingCDC {
28 static char const*
const segmentTrackTruthVarNames[] = {
29 "belongs_to_same_track_truth",
30 "segment_is_fake_truth",
31 "segment_purity_truth",
37 struct SegmentTrackTruthVarNames :
public VarNames<BaseSegmentTrackFilter::Object> {
40 static const size_t nVars = size(segmentTrackTruthVarNames);
43 static constexpr
char const*
getName(
int iName)
45 return segmentTrackTruthVarNames[iName];
void initialize() override
Receive and dispatch signal before the start of the event processing.
void requireTruthInformation()
Require the mc information store arrays.
bool extract(const BaseSegmentTrackFilter::Object *testPair) final
Generate and assign the contained variables.
void fill()
Fill Monte Carlo look up maps from the DataStore.
Abstract base class for different kinds of events.
static CDCMCManager & getInstance()
Getter for the singletone instance.
void initialize() override
Receive signal before the start of the event processing.
Class to compute floating point variables from a segment to track match which can be recorded as a fl...
void beginEvent() override
Receive and dispatch signal for the start of a new event.
static const size_t nVars
Number of variables to be generated.
void beginEvent() override
Receive signal for the start of a new event.
Generic class that generates some named float values from a given object.
static constexpr char const * getName(int iName)
Getter for the name at the given index.
AObject Object
Type of the object to be analysed.