Belle II Software development
NamedFloatTuple Class Referenceabstract

An abstract tuple of float value where each value has an associated name. More...

#include <NamedFloatTuple.h>

Inheritance diagram for NamedFloatTuple:
FixedSizeNamedFloatTuple< CDCPathBasicVarNames > FixedSizeNamedFloatTuple< CDCPathTruthVarNames > FixedSizeNamedFloatTuple< CDCStateBasicVarNames > FixedSizeNamedFloatTuple< CDCStateTruthVarNames > FixedSizeNamedFloatTuple< CDCfromEclPathTruthVarNames > FixedSizeNamedFloatTuple< CDCfromEclStateTruthVarNames > FixedSizeNamedFloatTuple< PXDResultTruthVarNames > FixedSizeNamedFloatTuple< PXDResultVarNames > FixedSizeNamedFloatTuple< PXDStateBasicVarNames > FixedSizeNamedFloatTuple< PXDStateTruthVarNames > FixedSizeNamedFloatTuple< RelationSVDResultVarNames > FixedSizeNamedFloatTuple< SVDResultTruthVarNames > FixedSizeNamedFloatTuple< SVDResultVarNames > FixedSizeNamedFloatTuple< SVDStateBasicVarNames > FixedSizeNamedFloatTuple< SVDStateTruthVarNames > FixedSizeNamedFloatTuple< SVDStateVarNames > FixedSizeNamedFloatTuple< AdvancedSegmentVarNames > FixedSizeNamedFloatTuple< BasicAxialSegmentPairVarNames > FixedSizeNamedFloatTuple< BasicClusterVarNames > FixedSizeNamedFloatTuple< BasicFacetRelationVarNames > FixedSizeNamedFloatTuple< BasicFacetVarNames > FixedSizeNamedFloatTuple< BasicSegmentPairRelationVarNames > FixedSizeNamedFloatTuple< BasicSegmentPairVarNames > FixedSizeNamedFloatTuple< BasicSegmentRelationVarNames > FixedSizeNamedFloatTuple< BasicSegmentVarNames > FixedSizeNamedFloatTuple< BasicTrackRelationVarNames > FixedSizeNamedFloatTuple< BasicTrackVarSetNames > FixedSizeNamedFloatTuple< BendFacetRelationVarNames > FixedSizeNamedFloatTuple< BendFacetVarNames > FixedSizeNamedFloatTuple< BestMatchedTruthVarNames > FixedSizeNamedFloatTuple< BkgTruthClusterVarNames > FixedSizeNamedFloatTuple< CDCWireHitVarNames > FixedSizeNamedFloatTuple< FilterVarNames< AFilter > > FixedSizeNamedFloatTuple< FitAxialSegmentPairVarNames > FixedSizeNamedFloatTuple< FitFacetRelationVarNames > FixedSizeNamedFloatTuple< FitFacetVarNames > FixedSizeNamedFloatTuple< FitSegmentPairRelationVarNames > FixedSizeNamedFloatTuple< FitSegmentPairVarNames > FixedSizeNamedFloatTuple< FitSegmentRelationVarNames > FixedSizeNamedFloatTuple< FitTrackRelationVarNames > FixedSizeNamedFloatTuple< FitlessAxialSegmentPairVarNames > FixedSizeNamedFloatTuple< FitlessFacetVarNames > FixedSizeNamedFloatTuple< FitlessSegmentPairVarNames > FixedSizeNamedFloatTuple< FitlessSegmentRelationVarNames > FixedSizeNamedFloatTuple< HitGapAxialSegmentPairVarNames > FixedSizeNamedFloatTuple< HitGapSegmentPairVarNames > FixedSizeNamedFloatTuple< HitGapSegmentRelationVarNames > FixedSizeNamedFloatTuple< HitGapTrackRelationVarNames > FixedSizeNamedFloatTuple< SegmentTrackTruthVarNames > FixedSizeNamedFloatTuple< SegmentTrackVarNames > FixedSizeNamedFloatTuple< StereoHitTruthVarNames > FixedSizeNamedFloatTuple< StereoHitVarNames > FixedSizeNamedFloatTuple< TrailSegmentPairVarNames > FixedSizeNamedFloatTuple< TruthAxialSegmentPairVarNames > FixedSizeNamedFloatTuple< TruthSegmentPairRelationVarNames > FixedSizeNamedFloatTuple< TruthSegmentPairVarNames > FixedSizeNamedFloatTuple< TruthSegmentVarNames > FixedSizeNamedFloatTuple< TruthTrackVarNames > FixedSizeNamedFloatTuple< AVarNames > FixedSizeNamedFloatTuple< ANames >

Public Member Functions

virtual ~NamedFloatTuple ()
 Marking the destructor virtual since we are using virtual functions.
 
virtual size_t size () const =0
 Getter for the number of parts.
 
virtual int getNameIndex (const char *name) const =0
 Getter for the index from a name.
 
virtual std::string getName (int iValue) const =0
 Getter for the ith name.
 
virtual void set (int iValue, Float_t value)=0
 Setter for the value of the ith part.
 
void set (const char *const name, Float_t value)
 Setter for the value with the given name.
 
virtual Float_t get (int iValue) const =0
 Getter for the value of the ith part.
 
Float_t get (const char *const name) const
 Getter for the value with the given name.
 
virtual MayBePtr< Float_t > find (std::string name)
 Getter for a pointer to the value with the given name.
 
virtual Float_t & operator[] (int iValue)=0
 Reference getter for the value of the ith part.
 
Float_t & operator[] (const char *const name)
 Reference getter for the value with the given name.
 
std::map< std::string, Float_t > getNamedValues (std::string prefix="") const
 Getter for a map of all name and value pairs in this tuple.
 
std::vector< Named< Float_t * > > getNamedVariables (std::string prefix="")
 Getter for named references to the variables in this tuple.
 

Detailed Description

An abstract tuple of float value where each value has an associated name.

Definition at line 27 of file NamedFloatTuple.h.

Member Function Documentation

◆ find()

virtual MayBePtr< Float_t > find ( std::string  name)
inlinevirtual

Getter for a pointer to the value with the given name.

Return nullptr if not found.

Definition at line 71 of file NamedFloatTuple.h.

72 {
73 size_t nameindex = getNameIndex(name.c_str());
74 return (nameindex < size()) ? &(operator[](nameindex)) : nullptr;
75 }
virtual int getNameIndex(const char *name) const =0
Getter for the index from a name.
virtual Float_t & operator[](int iValue)=0
Reference getter for the value of the ith part.
virtual size_t size() const =0
Getter for the number of parts.

◆ get() [1/2]

Float_t get ( const char *const  name) const
inline

Getter for the value with the given name.

Definition at line 62 of file NamedFloatTuple.h.

63 {
64 return get(getNameIndex(name));
65 }
virtual Float_t get(int iValue) const =0
Getter for the value of the ith part.

◆ get() [2/2]

virtual Float_t get ( int  iValue) const
pure virtual

Getter for the value of the ith part.

Implemented in FixedSizeNamedFloatTuple< ANames >, FixedSizeNamedFloatTuple< CDCPathBasicVarNames >, FixedSizeNamedFloatTuple< CDCPathTruthVarNames >, FixedSizeNamedFloatTuple< CDCStateBasicVarNames >, FixedSizeNamedFloatTuple< CDCStateTruthVarNames >, FixedSizeNamedFloatTuple< CDCfromEclPathTruthVarNames >, FixedSizeNamedFloatTuple< CDCfromEclStateTruthVarNames >, FixedSizeNamedFloatTuple< PXDResultTruthVarNames >, FixedSizeNamedFloatTuple< PXDResultVarNames >, FixedSizeNamedFloatTuple< PXDStateBasicVarNames >, FixedSizeNamedFloatTuple< PXDStateTruthVarNames >, FixedSizeNamedFloatTuple< RelationSVDResultVarNames >, FixedSizeNamedFloatTuple< SVDResultTruthVarNames >, FixedSizeNamedFloatTuple< SVDResultVarNames >, FixedSizeNamedFloatTuple< SVDStateBasicVarNames >, FixedSizeNamedFloatTuple< SVDStateTruthVarNames >, FixedSizeNamedFloatTuple< SVDStateVarNames >, FixedSizeNamedFloatTuple< AdvancedSegmentVarNames >, FixedSizeNamedFloatTuple< BasicAxialSegmentPairVarNames >, FixedSizeNamedFloatTuple< BasicClusterVarNames >, FixedSizeNamedFloatTuple< BasicFacetRelationVarNames >, FixedSizeNamedFloatTuple< BasicFacetVarNames >, FixedSizeNamedFloatTuple< BasicSegmentPairRelationVarNames >, FixedSizeNamedFloatTuple< BasicSegmentPairVarNames >, FixedSizeNamedFloatTuple< BasicSegmentRelationVarNames >, FixedSizeNamedFloatTuple< BasicSegmentVarNames >, FixedSizeNamedFloatTuple< BasicTrackRelationVarNames >, FixedSizeNamedFloatTuple< BasicTrackVarSetNames >, FixedSizeNamedFloatTuple< BendFacetRelationVarNames >, FixedSizeNamedFloatTuple< BendFacetVarNames >, FixedSizeNamedFloatTuple< BestMatchedTruthVarNames >, FixedSizeNamedFloatTuple< BkgTruthClusterVarNames >, FixedSizeNamedFloatTuple< CDCWireHitVarNames >, FixedSizeNamedFloatTuple< FilterVarNames< AFilter > >, FixedSizeNamedFloatTuple< FitAxialSegmentPairVarNames >, FixedSizeNamedFloatTuple< FitFacetRelationVarNames >, FixedSizeNamedFloatTuple< FitFacetVarNames >, FixedSizeNamedFloatTuple< FitSegmentPairRelationVarNames >, FixedSizeNamedFloatTuple< FitSegmentPairVarNames >, FixedSizeNamedFloatTuple< FitSegmentRelationVarNames >, FixedSizeNamedFloatTuple< FitTrackRelationVarNames >, FixedSizeNamedFloatTuple< FitlessAxialSegmentPairVarNames >, FixedSizeNamedFloatTuple< FitlessFacetVarNames >, FixedSizeNamedFloatTuple< FitlessSegmentPairVarNames >, FixedSizeNamedFloatTuple< FitlessSegmentRelationVarNames >, FixedSizeNamedFloatTuple< HitGapAxialSegmentPairVarNames >, FixedSizeNamedFloatTuple< HitGapSegmentPairVarNames >, FixedSizeNamedFloatTuple< HitGapSegmentRelationVarNames >, FixedSizeNamedFloatTuple< HitGapTrackRelationVarNames >, FixedSizeNamedFloatTuple< SegmentTrackTruthVarNames >, FixedSizeNamedFloatTuple< SegmentTrackVarNames >, FixedSizeNamedFloatTuple< StereoHitTruthVarNames >, FixedSizeNamedFloatTuple< StereoHitVarNames >, FixedSizeNamedFloatTuple< TrailSegmentPairVarNames >, FixedSizeNamedFloatTuple< TruthAxialSegmentPairVarNames >, FixedSizeNamedFloatTuple< TruthSegmentPairRelationVarNames >, FixedSizeNamedFloatTuple< TruthSegmentPairVarNames >, FixedSizeNamedFloatTuple< TruthSegmentVarNames >, FixedSizeNamedFloatTuple< TruthTrackVarNames >, and FixedSizeNamedFloatTuple< AVarNames >.

◆ getName()

virtual std::string getName ( int  iValue) const
pure virtual

Getter for the ith name.

Implemented in FixedSizeNamedFloatTuple< ANames >, FixedSizeNamedFloatTuple< CDCPathBasicVarNames >, FixedSizeNamedFloatTuple< CDCPathTruthVarNames >, FixedSizeNamedFloatTuple< CDCStateBasicVarNames >, FixedSizeNamedFloatTuple< CDCStateTruthVarNames >, FixedSizeNamedFloatTuple< CDCfromEclPathTruthVarNames >, FixedSizeNamedFloatTuple< CDCfromEclStateTruthVarNames >, FixedSizeNamedFloatTuple< PXDResultTruthVarNames >, FixedSizeNamedFloatTuple< PXDResultVarNames >, FixedSizeNamedFloatTuple< PXDStateBasicVarNames >, FixedSizeNamedFloatTuple< PXDStateTruthVarNames >, FixedSizeNamedFloatTuple< RelationSVDResultVarNames >, FixedSizeNamedFloatTuple< SVDResultTruthVarNames >, FixedSizeNamedFloatTuple< SVDResultVarNames >, FixedSizeNamedFloatTuple< SVDStateBasicVarNames >, FixedSizeNamedFloatTuple< SVDStateTruthVarNames >, FixedSizeNamedFloatTuple< SVDStateVarNames >, FixedSizeNamedFloatTuple< AdvancedSegmentVarNames >, FixedSizeNamedFloatTuple< BasicAxialSegmentPairVarNames >, FixedSizeNamedFloatTuple< BasicClusterVarNames >, FixedSizeNamedFloatTuple< BasicFacetRelationVarNames >, FixedSizeNamedFloatTuple< BasicFacetVarNames >, FixedSizeNamedFloatTuple< BasicSegmentPairRelationVarNames >, FixedSizeNamedFloatTuple< BasicSegmentPairVarNames >, FixedSizeNamedFloatTuple< BasicSegmentRelationVarNames >, FixedSizeNamedFloatTuple< BasicSegmentVarNames >, FixedSizeNamedFloatTuple< BasicTrackRelationVarNames >, FixedSizeNamedFloatTuple< BasicTrackVarSetNames >, FixedSizeNamedFloatTuple< BendFacetRelationVarNames >, FixedSizeNamedFloatTuple< BendFacetVarNames >, FixedSizeNamedFloatTuple< BestMatchedTruthVarNames >, FixedSizeNamedFloatTuple< BkgTruthClusterVarNames >, FixedSizeNamedFloatTuple< CDCWireHitVarNames >, FixedSizeNamedFloatTuple< FilterVarNames< AFilter > >, FixedSizeNamedFloatTuple< FitAxialSegmentPairVarNames >, FixedSizeNamedFloatTuple< FitFacetRelationVarNames >, FixedSizeNamedFloatTuple< FitFacetVarNames >, FixedSizeNamedFloatTuple< FitSegmentPairRelationVarNames >, FixedSizeNamedFloatTuple< FitSegmentPairVarNames >, FixedSizeNamedFloatTuple< FitSegmentRelationVarNames >, FixedSizeNamedFloatTuple< FitTrackRelationVarNames >, FixedSizeNamedFloatTuple< FitlessAxialSegmentPairVarNames >, FixedSizeNamedFloatTuple< FitlessFacetVarNames >, FixedSizeNamedFloatTuple< FitlessSegmentPairVarNames >, FixedSizeNamedFloatTuple< FitlessSegmentRelationVarNames >, FixedSizeNamedFloatTuple< HitGapAxialSegmentPairVarNames >, FixedSizeNamedFloatTuple< HitGapSegmentPairVarNames >, FixedSizeNamedFloatTuple< HitGapSegmentRelationVarNames >, FixedSizeNamedFloatTuple< HitGapTrackRelationVarNames >, FixedSizeNamedFloatTuple< SegmentTrackTruthVarNames >, FixedSizeNamedFloatTuple< SegmentTrackVarNames >, FixedSizeNamedFloatTuple< StereoHitTruthVarNames >, FixedSizeNamedFloatTuple< StereoHitVarNames >, FixedSizeNamedFloatTuple< TrailSegmentPairVarNames >, FixedSizeNamedFloatTuple< TruthAxialSegmentPairVarNames >, FixedSizeNamedFloatTuple< TruthSegmentPairRelationVarNames >, FixedSizeNamedFloatTuple< TruthSegmentPairVarNames >, FixedSizeNamedFloatTuple< TruthSegmentVarNames >, FixedSizeNamedFloatTuple< TruthTrackVarNames >, and FixedSizeNamedFloatTuple< AVarNames >.

◆ getNamedValues()

std::map< std::string, Float_t > getNamedValues ( std::string  prefix = "") const

Getter for a map of all name and value pairs in this tuple.

Definition at line 15 of file NamedFloatTuple.cc.

16{
17 std::map<std::string, Float_t> namedValues;
18 size_t nVars = size();
19
20 for (size_t iVar = 0; iVar < nVars; ++iVar) {
21 std::string name = prefix + getName(iVar);
22 Float_t value = get(iVar);
23 namedValues[name] = value;
24 }
25
26 return namedValues;
27}
virtual std::string getName(int iValue) const =0
Getter for the ith name.

◆ getNamedVariables()

std::vector< Named< Float_t * > > getNamedVariables ( std::string  prefix = "")

Getter for named references to the variables in this tuple.

Definition at line 29 of file NamedFloatTuple.cc.

30{
31 std::vector<Named<Float_t*> > namedVariables;
32 int nVars = size();
33 namedVariables.reserve(nVars);
34
35 for (int iVar = 0; iVar < nVars; ++iVar) {
36 std::string name = prefix + getName(iVar);
37 Float_t& value = operator[](iVar);
38 namedVariables.emplace_back(name, &value);
39 }
40
41 return namedVariables;
42}

◆ getNameIndex()

virtual int getNameIndex ( const char *  name) const
pure virtual

Getter for the index from a name.

Looks through the associated names and returns the right index if found. Returns size() (one after the last element) if not found.

Parameters
nameName of the sought part
Returns
Index of the name, nParts if not found.

Implemented in FixedSizeNamedFloatTuple< ANames >, FixedSizeNamedFloatTuple< CDCPathBasicVarNames >, FixedSizeNamedFloatTuple< CDCPathTruthVarNames >, FixedSizeNamedFloatTuple< CDCStateBasicVarNames >, FixedSizeNamedFloatTuple< CDCStateTruthVarNames >, FixedSizeNamedFloatTuple< CDCfromEclPathTruthVarNames >, FixedSizeNamedFloatTuple< CDCfromEclStateTruthVarNames >, FixedSizeNamedFloatTuple< PXDResultTruthVarNames >, FixedSizeNamedFloatTuple< PXDResultVarNames >, FixedSizeNamedFloatTuple< PXDStateBasicVarNames >, FixedSizeNamedFloatTuple< PXDStateTruthVarNames >, FixedSizeNamedFloatTuple< RelationSVDResultVarNames >, FixedSizeNamedFloatTuple< SVDResultTruthVarNames >, FixedSizeNamedFloatTuple< SVDResultVarNames >, FixedSizeNamedFloatTuple< SVDStateBasicVarNames >, FixedSizeNamedFloatTuple< SVDStateTruthVarNames >, FixedSizeNamedFloatTuple< SVDStateVarNames >, FixedSizeNamedFloatTuple< AdvancedSegmentVarNames >, FixedSizeNamedFloatTuple< BasicAxialSegmentPairVarNames >, FixedSizeNamedFloatTuple< BasicClusterVarNames >, FixedSizeNamedFloatTuple< BasicFacetRelationVarNames >, FixedSizeNamedFloatTuple< BasicFacetVarNames >, FixedSizeNamedFloatTuple< BasicSegmentPairRelationVarNames >, FixedSizeNamedFloatTuple< BasicSegmentPairVarNames >, FixedSizeNamedFloatTuple< BasicSegmentRelationVarNames >, FixedSizeNamedFloatTuple< BasicSegmentVarNames >, FixedSizeNamedFloatTuple< BasicTrackRelationVarNames >, FixedSizeNamedFloatTuple< BasicTrackVarSetNames >, FixedSizeNamedFloatTuple< BendFacetRelationVarNames >, FixedSizeNamedFloatTuple< BendFacetVarNames >, FixedSizeNamedFloatTuple< BestMatchedTruthVarNames >, FixedSizeNamedFloatTuple< BkgTruthClusterVarNames >, FixedSizeNamedFloatTuple< CDCWireHitVarNames >, FixedSizeNamedFloatTuple< FilterVarNames< AFilter > >, FixedSizeNamedFloatTuple< FitAxialSegmentPairVarNames >, FixedSizeNamedFloatTuple< FitFacetRelationVarNames >, FixedSizeNamedFloatTuple< FitFacetVarNames >, FixedSizeNamedFloatTuple< FitSegmentPairRelationVarNames >, FixedSizeNamedFloatTuple< FitSegmentPairVarNames >, FixedSizeNamedFloatTuple< FitSegmentRelationVarNames >, FixedSizeNamedFloatTuple< FitTrackRelationVarNames >, FixedSizeNamedFloatTuple< FitlessAxialSegmentPairVarNames >, FixedSizeNamedFloatTuple< FitlessFacetVarNames >, FixedSizeNamedFloatTuple< FitlessSegmentPairVarNames >, FixedSizeNamedFloatTuple< FitlessSegmentRelationVarNames >, FixedSizeNamedFloatTuple< HitGapAxialSegmentPairVarNames >, FixedSizeNamedFloatTuple< HitGapSegmentPairVarNames >, FixedSizeNamedFloatTuple< HitGapSegmentRelationVarNames >, FixedSizeNamedFloatTuple< HitGapTrackRelationVarNames >, FixedSizeNamedFloatTuple< SegmentTrackTruthVarNames >, FixedSizeNamedFloatTuple< SegmentTrackVarNames >, FixedSizeNamedFloatTuple< StereoHitTruthVarNames >, FixedSizeNamedFloatTuple< StereoHitVarNames >, FixedSizeNamedFloatTuple< TrailSegmentPairVarNames >, FixedSizeNamedFloatTuple< TruthAxialSegmentPairVarNames >, FixedSizeNamedFloatTuple< TruthSegmentPairRelationVarNames >, FixedSizeNamedFloatTuple< TruthSegmentPairVarNames >, FixedSizeNamedFloatTuple< TruthSegmentVarNames >, FixedSizeNamedFloatTuple< TruthTrackVarNames >, and FixedSizeNamedFloatTuple< AVarNames >.

◆ operator[]() [1/2]

Float_t & operator[] ( const char *const  name)
inline

Reference getter for the value with the given name.

Definition at line 81 of file NamedFloatTuple.h.

82 {
83 return operator[](getNameIndex(name));
84 }

◆ operator[]() [2/2]

virtual Float_t & operator[] ( int  iValue)
pure virtual

Reference getter for the value of the ith part.

Implemented in FixedSizeNamedFloatTuple< ANames >, FixedSizeNamedFloatTuple< CDCPathBasicVarNames >, FixedSizeNamedFloatTuple< CDCPathTruthVarNames >, FixedSizeNamedFloatTuple< CDCStateBasicVarNames >, FixedSizeNamedFloatTuple< CDCStateTruthVarNames >, FixedSizeNamedFloatTuple< CDCfromEclPathTruthVarNames >, FixedSizeNamedFloatTuple< CDCfromEclStateTruthVarNames >, FixedSizeNamedFloatTuple< PXDResultTruthVarNames >, FixedSizeNamedFloatTuple< PXDResultVarNames >, FixedSizeNamedFloatTuple< PXDStateBasicVarNames >, FixedSizeNamedFloatTuple< PXDStateTruthVarNames >, FixedSizeNamedFloatTuple< RelationSVDResultVarNames >, FixedSizeNamedFloatTuple< SVDResultTruthVarNames >, FixedSizeNamedFloatTuple< SVDResultVarNames >, FixedSizeNamedFloatTuple< SVDStateBasicVarNames >, FixedSizeNamedFloatTuple< SVDStateTruthVarNames >, FixedSizeNamedFloatTuple< SVDStateVarNames >, FixedSizeNamedFloatTuple< AdvancedSegmentVarNames >, FixedSizeNamedFloatTuple< BasicAxialSegmentPairVarNames >, FixedSizeNamedFloatTuple< BasicClusterVarNames >, FixedSizeNamedFloatTuple< BasicFacetRelationVarNames >, FixedSizeNamedFloatTuple< BasicFacetVarNames >, FixedSizeNamedFloatTuple< BasicSegmentPairRelationVarNames >, FixedSizeNamedFloatTuple< BasicSegmentPairVarNames >, FixedSizeNamedFloatTuple< BasicSegmentRelationVarNames >, FixedSizeNamedFloatTuple< BasicSegmentVarNames >, FixedSizeNamedFloatTuple< BasicTrackRelationVarNames >, FixedSizeNamedFloatTuple< BasicTrackVarSetNames >, FixedSizeNamedFloatTuple< BendFacetRelationVarNames >, FixedSizeNamedFloatTuple< BendFacetVarNames >, FixedSizeNamedFloatTuple< BestMatchedTruthVarNames >, FixedSizeNamedFloatTuple< BkgTruthClusterVarNames >, FixedSizeNamedFloatTuple< CDCWireHitVarNames >, FixedSizeNamedFloatTuple< FilterVarNames< AFilter > >, FixedSizeNamedFloatTuple< FitAxialSegmentPairVarNames >, FixedSizeNamedFloatTuple< FitFacetRelationVarNames >, FixedSizeNamedFloatTuple< FitFacetVarNames >, FixedSizeNamedFloatTuple< FitSegmentPairRelationVarNames >, FixedSizeNamedFloatTuple< FitSegmentPairVarNames >, FixedSizeNamedFloatTuple< FitSegmentRelationVarNames >, FixedSizeNamedFloatTuple< FitTrackRelationVarNames >, FixedSizeNamedFloatTuple< FitlessAxialSegmentPairVarNames >, FixedSizeNamedFloatTuple< FitlessFacetVarNames >, FixedSizeNamedFloatTuple< FitlessSegmentPairVarNames >, FixedSizeNamedFloatTuple< FitlessSegmentRelationVarNames >, FixedSizeNamedFloatTuple< HitGapAxialSegmentPairVarNames >, FixedSizeNamedFloatTuple< HitGapSegmentPairVarNames >, FixedSizeNamedFloatTuple< HitGapSegmentRelationVarNames >, FixedSizeNamedFloatTuple< HitGapTrackRelationVarNames >, FixedSizeNamedFloatTuple< SegmentTrackTruthVarNames >, FixedSizeNamedFloatTuple< SegmentTrackVarNames >, FixedSizeNamedFloatTuple< StereoHitTruthVarNames >, FixedSizeNamedFloatTuple< StereoHitVarNames >, FixedSizeNamedFloatTuple< TrailSegmentPairVarNames >, FixedSizeNamedFloatTuple< TruthAxialSegmentPairVarNames >, FixedSizeNamedFloatTuple< TruthSegmentPairRelationVarNames >, FixedSizeNamedFloatTuple< TruthSegmentPairVarNames >, FixedSizeNamedFloatTuple< TruthSegmentVarNames >, FixedSizeNamedFloatTuple< TruthTrackVarNames >, and FixedSizeNamedFloatTuple< AVarNames >.

◆ set() [1/2]

void set ( const char *const  name,
Float_t  value 
)
inline

Setter for the value with the given name.

Definition at line 53 of file NamedFloatTuple.h.

54 {
55 set(getNameIndex(name), value);
56 }
virtual void set(int iValue, Float_t value)=0
Setter for the value of the ith part.

◆ set() [2/2]

virtual void set ( int  iValue,
Float_t  value 
)
pure virtual

Setter for the value of the ith part.

Implemented in FixedSizeNamedFloatTuple< ANames >, FixedSizeNamedFloatTuple< CDCPathBasicVarNames >, FixedSizeNamedFloatTuple< CDCPathTruthVarNames >, FixedSizeNamedFloatTuple< CDCStateBasicVarNames >, FixedSizeNamedFloatTuple< CDCStateTruthVarNames >, FixedSizeNamedFloatTuple< CDCfromEclPathTruthVarNames >, FixedSizeNamedFloatTuple< CDCfromEclStateTruthVarNames >, FixedSizeNamedFloatTuple< PXDResultTruthVarNames >, FixedSizeNamedFloatTuple< PXDResultVarNames >, FixedSizeNamedFloatTuple< PXDStateBasicVarNames >, FixedSizeNamedFloatTuple< PXDStateTruthVarNames >, FixedSizeNamedFloatTuple< RelationSVDResultVarNames >, FixedSizeNamedFloatTuple< SVDResultTruthVarNames >, FixedSizeNamedFloatTuple< SVDResultVarNames >, FixedSizeNamedFloatTuple< SVDStateBasicVarNames >, FixedSizeNamedFloatTuple< SVDStateTruthVarNames >, FixedSizeNamedFloatTuple< SVDStateVarNames >, FixedSizeNamedFloatTuple< AdvancedSegmentVarNames >, FixedSizeNamedFloatTuple< BasicAxialSegmentPairVarNames >, FixedSizeNamedFloatTuple< BasicClusterVarNames >, FixedSizeNamedFloatTuple< BasicFacetRelationVarNames >, FixedSizeNamedFloatTuple< BasicFacetVarNames >, FixedSizeNamedFloatTuple< BasicSegmentPairRelationVarNames >, FixedSizeNamedFloatTuple< BasicSegmentPairVarNames >, FixedSizeNamedFloatTuple< BasicSegmentRelationVarNames >, FixedSizeNamedFloatTuple< BasicSegmentVarNames >, FixedSizeNamedFloatTuple< BasicTrackRelationVarNames >, FixedSizeNamedFloatTuple< BasicTrackVarSetNames >, FixedSizeNamedFloatTuple< BendFacetRelationVarNames >, FixedSizeNamedFloatTuple< BendFacetVarNames >, FixedSizeNamedFloatTuple< BestMatchedTruthVarNames >, FixedSizeNamedFloatTuple< BkgTruthClusterVarNames >, FixedSizeNamedFloatTuple< CDCWireHitVarNames >, FixedSizeNamedFloatTuple< FilterVarNames< AFilter > >, FixedSizeNamedFloatTuple< FitAxialSegmentPairVarNames >, FixedSizeNamedFloatTuple< FitFacetRelationVarNames >, FixedSizeNamedFloatTuple< FitFacetVarNames >, FixedSizeNamedFloatTuple< FitSegmentPairRelationVarNames >, FixedSizeNamedFloatTuple< FitSegmentPairVarNames >, FixedSizeNamedFloatTuple< FitSegmentRelationVarNames >, FixedSizeNamedFloatTuple< FitTrackRelationVarNames >, FixedSizeNamedFloatTuple< FitlessAxialSegmentPairVarNames >, FixedSizeNamedFloatTuple< FitlessFacetVarNames >, FixedSizeNamedFloatTuple< FitlessSegmentPairVarNames >, FixedSizeNamedFloatTuple< FitlessSegmentRelationVarNames >, FixedSizeNamedFloatTuple< HitGapAxialSegmentPairVarNames >, FixedSizeNamedFloatTuple< HitGapSegmentPairVarNames >, FixedSizeNamedFloatTuple< HitGapSegmentRelationVarNames >, FixedSizeNamedFloatTuple< HitGapTrackRelationVarNames >, FixedSizeNamedFloatTuple< SegmentTrackTruthVarNames >, FixedSizeNamedFloatTuple< SegmentTrackVarNames >, FixedSizeNamedFloatTuple< StereoHitTruthVarNames >, FixedSizeNamedFloatTuple< StereoHitVarNames >, FixedSizeNamedFloatTuple< TrailSegmentPairVarNames >, FixedSizeNamedFloatTuple< TruthAxialSegmentPairVarNames >, FixedSizeNamedFloatTuple< TruthSegmentPairRelationVarNames >, FixedSizeNamedFloatTuple< TruthSegmentPairVarNames >, FixedSizeNamedFloatTuple< TruthSegmentVarNames >, FixedSizeNamedFloatTuple< TruthTrackVarNames >, and FixedSizeNamedFloatTuple< AVarNames >.

◆ size()

virtual size_t size ( ) const
pure virtual

Getter for the number of parts.

Implemented in FixedSizeNamedFloatTuple< ANames >, FixedSizeNamedFloatTuple< CDCPathBasicVarNames >, FixedSizeNamedFloatTuple< CDCPathTruthVarNames >, FixedSizeNamedFloatTuple< CDCStateBasicVarNames >, FixedSizeNamedFloatTuple< CDCStateTruthVarNames >, FixedSizeNamedFloatTuple< CDCfromEclPathTruthVarNames >, FixedSizeNamedFloatTuple< CDCfromEclStateTruthVarNames >, FixedSizeNamedFloatTuple< PXDResultTruthVarNames >, FixedSizeNamedFloatTuple< PXDResultVarNames >, FixedSizeNamedFloatTuple< PXDStateBasicVarNames >, FixedSizeNamedFloatTuple< PXDStateTruthVarNames >, FixedSizeNamedFloatTuple< RelationSVDResultVarNames >, FixedSizeNamedFloatTuple< SVDResultTruthVarNames >, FixedSizeNamedFloatTuple< SVDResultVarNames >, FixedSizeNamedFloatTuple< SVDStateBasicVarNames >, FixedSizeNamedFloatTuple< SVDStateTruthVarNames >, FixedSizeNamedFloatTuple< SVDStateVarNames >, FixedSizeNamedFloatTuple< AdvancedSegmentVarNames >, FixedSizeNamedFloatTuple< BasicAxialSegmentPairVarNames >, FixedSizeNamedFloatTuple< BasicClusterVarNames >, FixedSizeNamedFloatTuple< BasicFacetRelationVarNames >, FixedSizeNamedFloatTuple< BasicFacetVarNames >, FixedSizeNamedFloatTuple< BasicSegmentPairRelationVarNames >, FixedSizeNamedFloatTuple< BasicSegmentPairVarNames >, FixedSizeNamedFloatTuple< BasicSegmentRelationVarNames >, FixedSizeNamedFloatTuple< BasicSegmentVarNames >, FixedSizeNamedFloatTuple< BasicTrackRelationVarNames >, FixedSizeNamedFloatTuple< BasicTrackVarSetNames >, FixedSizeNamedFloatTuple< BendFacetRelationVarNames >, FixedSizeNamedFloatTuple< BendFacetVarNames >, FixedSizeNamedFloatTuple< BestMatchedTruthVarNames >, FixedSizeNamedFloatTuple< BkgTruthClusterVarNames >, FixedSizeNamedFloatTuple< CDCWireHitVarNames >, FixedSizeNamedFloatTuple< FilterVarNames< AFilter > >, FixedSizeNamedFloatTuple< FitAxialSegmentPairVarNames >, FixedSizeNamedFloatTuple< FitFacetRelationVarNames >, FixedSizeNamedFloatTuple< FitFacetVarNames >, FixedSizeNamedFloatTuple< FitSegmentPairRelationVarNames >, FixedSizeNamedFloatTuple< FitSegmentPairVarNames >, FixedSizeNamedFloatTuple< FitSegmentRelationVarNames >, FixedSizeNamedFloatTuple< FitTrackRelationVarNames >, FixedSizeNamedFloatTuple< FitlessAxialSegmentPairVarNames >, FixedSizeNamedFloatTuple< FitlessFacetVarNames >, FixedSizeNamedFloatTuple< FitlessSegmentPairVarNames >, FixedSizeNamedFloatTuple< FitlessSegmentRelationVarNames >, FixedSizeNamedFloatTuple< HitGapAxialSegmentPairVarNames >, FixedSizeNamedFloatTuple< HitGapSegmentPairVarNames >, FixedSizeNamedFloatTuple< HitGapSegmentRelationVarNames >, FixedSizeNamedFloatTuple< HitGapTrackRelationVarNames >, FixedSizeNamedFloatTuple< SegmentTrackTruthVarNames >, FixedSizeNamedFloatTuple< SegmentTrackVarNames >, FixedSizeNamedFloatTuple< StereoHitTruthVarNames >, FixedSizeNamedFloatTuple< StereoHitVarNames >, FixedSizeNamedFloatTuple< TrailSegmentPairVarNames >, FixedSizeNamedFloatTuple< TruthAxialSegmentPairVarNames >, FixedSizeNamedFloatTuple< TruthSegmentPairRelationVarNames >, FixedSizeNamedFloatTuple< TruthSegmentPairVarNames >, FixedSizeNamedFloatTuple< TruthSegmentVarNames >, FixedSizeNamedFloatTuple< TruthTrackVarNames >, and FixedSizeNamedFloatTuple< AVarNames >.


The documentation for this class was generated from the following files: