 |
Belle II Software
release-05-02-19
|
12 #include <tracking/trackFindingCDC/varsets/VarSet.h>
13 #include <tracking/trackFindingCDC/varsets/VarNames.h>
20 namespace TrackFindingCDC {
25 static char const*
const truthTrackTruthVarNames[] = {
26 "track_is_fake_truth",
31 struct TruthTrackVarNames :
public VarNames<CDCTrack> {
34 static const size_t nVars = size(truthTrackTruthVarNames);
37 static constexpr
char const*
getName(
int iName)
39 return truthTrackTruthVarNames[iName];
Class representing a sequence of three dimensional reconstructed hits.
static constexpr char const * getName(int iName)
Getter for the name at the given index.
VarSet< TruthTrackVarNames > Super
Type of the base class.
void initialize() final
Require the Monte Carlo truth information at initialisation.
Class to compute floating point variables from a track which can be recorded as a flat TNtuple or ser...
static const size_t nVars
Number of variables to be generated.
Abstract base class for different kinds of events.
bool extract(const CDCTrack *track) override
Generate and assign the contained variables.
void beginEvent() final
Prepare the Monte Carlo truth information at start of the event.
Generic class that generates some named float values from a given object.