Belle II Software development
|
Class to identify a filter type used by sectorFriends. More...
#include <FilterID.h>
Public Member Functions | |
FilterID () | |
Constructor. | |
~FilterID () | |
Destructor. | |
Static Public Member Functions | |
static filterTypes | getFilterType (const std::string &filterString) |
converts existing string with name of filter type into suitable enum value. | |
static filterTypes | getFilterType (int filterInt) |
converts existing int with filter type-compativble value into suitable enum value. | |
static std::string | getFilterString (filterTypes filterType) |
converts existing enum value into suitable string with name of filter type. | |
static std::string | getFilterString (int filterType) |
converts int value into suitable string with name of filter type (if int value is equal to values of enum). | |
static std::string | getTypeName (filterTypes filterType) |
returns name of given type, needed for compatibility with other modules | |
static filterTypes | getTypeEnum (const std::string &filterString) |
returns type of given name, needed for compatibility with other modules. | |
Static Public Attributes | |
static const std::string | nameDistance3D = "distance3D" |
string name of filter d3D | |
static const std::string | nameDistanceXY = "distanceXY" |
string name of filter dXY | |
static const std::string | nameDistanceZ = "distanceZ" |
string name of filter dZ | |
static const std::string | nameSlopeRZ = "slopeRZ" |
string name of filter slopeRZ | |
static const std::string | nameNormedDistance3D = "normedDistance3D" |
string name of filter nd3D | |
static const std::string | nameAnglesHighOccupancy3D = "HioCangles3D" |
string name of filter a3D high occupancy | |
static const std::string | nameAnglesHighOccupancyXY = "HioCanglesXY" |
string name of filter aXY high occupancy | |
static const std::string | nameAnglesHighOccupancyRZ = "HioCanglesRZ" |
string name of filter aRZ high occupancy | |
static const std::string | nameDistanceHighOccupancy2IP = "HioCdistance2IP" |
string name of filter d2IP high occupancy | |
static const std::string | nameDeltaSlopeHighOccupancyRZ = "HioCdeltaSlopeRZ" |
string name of filter dslopeRZ high occupancy | |
static const std::string | namePTHighOccupancy = "HioCpT" |
string name of filter pT high occupancy | |
static const std::string | nameHelixParameterHighOccupancyFit = "HioChelixFit" |
string name of filter hFit high occupancy | |
static const std::string | nameAngles3D = "angles3D" |
string name of filter a3D | |
static const std::string | nameAnglesRZ = "anglesRZ" |
string name of filter aRZ | |
static const std::string | nameAnglesXY = "anglesXY" |
string name of filter aXY | |
static const std::string | nameDeltaSlopeRZ = "deltaSlopeRZ" |
string name of filter dslopeRZ | |
static const std::string | namePT = "pT" |
string name of filter pT | |
static const std::string | nameDistance2IP = "distance2IP" |
string name of filter d2IP | |
static const std::string | nameHelixParameterFit = "helixParameterFit" |
string name of filter helix Parameter Fit | |
static const std::string | nameDeltaSOverZ = "deltaSOverZ" |
string name deltaSOverZ Filter | |
static const std::string | nameDeltaSlopeZOverS = "deltaSlopeZOverS" |
string name deltaSlopeZOverS Filter | |
static const std::string | nameDeltapTHighOccupancy = "HioCdeltaPt" |
string name of filter dPt high occupancy | |
static const std::string | nameDeltaDistanceHighOccupancy2IP = "HioCdeltaDistance2IP" |
string name of filter dd2IP high occupancy | |
static const std::string | nameDeltapT = "deltaPt" |
string name of filter dPt | |
static const std::string | nameDeltaDistance2IP = "deltaDistance2IP" |
string name of filter dd2IP | |
static const std::string | nameNbFinderLost = "NbFinderLost" |
string name Nb Finder filter | |
static const std::string | nameCellularAutomaton = "CellularAutomaton" |
string name CA filter | |
static const std::string | nameZiggZaggXY = "ZiggZaggXY" |
string name ZiggZaggXY filter | |
static const std::string | nameZiggZaggXYWithSigma = "ZiggZaggXYWithSigma" |
string name ZiggZaggXYWithSigma filter | |
static const std::string | nameZiggZaggRZ = "ZiggZaggRZ" |
string name ZiggZaggRZ filter | |
static const std::string | nameCirclefit = "Circlefit" |
string name Circlefit filter | |
static const std::string | nameHelixfit = "Helixfit" |
string name Helix Fit filter | |
static const std::string | nameSimpleLineFit3D = "SimpleLineFit3D" |
string name SimpleLineFit3D filter | |
static const std::string | nameHopfield = "Hopfield" |
string name Hopfield filter | |
static const std::string | nameGreedy = "Greedy" |
string name Greedy filter | |
static const std::string | nameTcDuel = "TcDuel" |
string name TC Duel filter | |
static const std::string | nameTcFinderCurr = "TcFinderCurr" |
string name TC Finder Curr filter | |
static const std::string | nameCalcQIbyKalman = "CalcQIbyKalman" |
string name CalcQIbyKalman filter | |
static const std::string | nameOverlapping = "Overlapping" |
string name Overlapping filter | |
static const std::string | nameSilentTcc = "SilentTcc" |
WARNING FIXME TODO some things are missing here (calcQIbyLineFit) and similar stuff. | |
static const std::string | nameSilentHitFinder = "SilentHitFinder" |
string name Silent Kill Hit Finder filter | |
static const std::string | nameSilentSegFinder = "SilentSegFinder" |
string name Silent Kill Seg Finder filter | |
static const std::string | nameAlwaysTrue2Hit = "alwaysTrue2Hit" |
string name of a filter which will always say yes | |
static const std::string | nameAlwaysFalse2Hit = "alwaysFalse2Hit" |
string name of a filter which will always say no | |
static const std::string | nameAlwaysTrue3Hit = "alwaysTrue3Hit" |
string name of a filter which will always say yes | |
static const std::string | nameAlwaysFalse3Hit = "alwaysFalse3Hit" |
string name of a filter which will always say no | |
static const std::string | nameAlwaysTrue4Hit = "alwaysTrue4Hit" |
string name of a filter which will always say yes | |
static const std::string | nameAlwaysFalse4Hit = "alwaysFalse4Hit" |
string name of a filter which will always say no | |
static const std::string | nameRandom2Hit = "random2Hit" |
string name of a filter which will say yes or no by random choice | |
static const std::string | nameRandom3Hit = "random3Hit" |
string name of a filter which will say yes or no by random choice | |
static const std::string | nameRandom4Hit = "random4Hit" |
string name of a filter which will say yes or no by random choice | |
static const std::string | nameOverHighestAllowedLayer = "overHighestAllowedLayer" |
string name of OverHighestAllowedLayer Filter | |
static const std::string | nameOutOfSectorRange = "outOfSectorRange" |
string name out of sector range filter | |
static const boost::array< std::string, numFilters > | nameVector |
array storing all the strings where the enums can be used to access their position | |
static const boost::array< FilterID::filterTypes, FilterID::numFilters > | enumVector |
array storing all the enums where ints can be used to access their position (this is needed since enums can be converted to int but not otherwise) | |
Class to identify a filter type used by sectorFriends.
is a simple converter to convert the enum used to access the filter-values (cutoffs) into readable values it contains enum values for speed optimized access of filter-data and strings for human-readable output
Definition at line 28 of file FilterID.h.
enum filterTypes |
filterTyoes contains enums assigning unique values for each filter type allowing fast filter type recognition
Enumerator | |
---|---|
distance3D | string name of filter d3D |
distanceXY | string name of filter dXY |
distanceZ | string name of filter dZ |
slopeRZ | string name of filter slopeRZ |
normedDistance3D | string name of filter nd3D |
anglesHighOccupancy3D | string name of filter a3D high occupancy |
anglesHighOccupancyXY | string name of filter aXY high occupancy |
anglesHighOccupancyRZ | string name of filter aRZ high occupancy |
distanceHighOccupancy2IP | string name of filter d2IP high occupancy |
deltaSlopeHighOccupancyRZ | string name of filter dslopeRZ high occupancy |
pTHighOccupancy | string name of filter pT high occupancy |
helixParameterHighOccupancyFit | string name of filter hFit high occupancy |
angles3D | string name of filter a3D |
anglesRZ | string name of filter aRZ |
anglesXY | string name of filter aXY |
deltaSlopeRZ | string name of filter dslopeRZ |
pT | string name of filter pT |
distance2IP | string name of filter d2IP |
helixParameterFit | string name of filter helix Parameter Fit |
deltaSOverZ | deltaSOverZ Filter |
deltaSlopeZOverS | deltaSlopeZOverS Filter |
deltapTHighOccupancy | string name of filter dPt high occupancy |
deltaDistanceHighOccupancy2IP | string name of filter dd2IP high occupancy |
deltapT | string name of filter dPt |
deltaDistance2IP | string name of filter dd2IP |
nbFinderLost | Nb Finder filter. |
cellularAutomaton | CA filter. |
ziggZaggXY | ziggZaggXY filter |
ziggZaggXYWithSigma | ziggZaggXYWithSigma filter |
ziggZaggRZ | ziggZaggRZ filter |
circlefit | circlefit filter |
helixfit | Helix Fit filter. |
simpleLineFit3D | simpleLineFit3D filter |
hopfield | Hopfield filter. |
greedy | Greedy filter. |
tcDuel | TC Duel filter. |
tcFinderCurr | TC Finder Curr filter. |
calcQIbyKalman | calcQIbyKalman filter |
overlapping | overlapping filter |
silentTcc | Silent Kill TCC filter. |
silentHitFinder | Silent Kill HitFinder filter. |
silentSegFinder | Silent Kill SefFinder filter. |
alwaysTrue2Hit | a filter with this ID will always say True |
alwaysFalse2Hit | a filter with this ID will always say False |
alwaysTrue3Hit | a filter with this ID will always say True |
alwaysFalse3Hit | a filter with this ID will always say False |
alwaysTrue4Hit | a filter with this ID will always say True |
alwaysFalse4Hit | a filter with this ID will always say False |
random2Hit | a filter with this ID will say yes or no by random choice |
random3Hit | a filter with this ID will say yes or no by random choice |
random4Hit | a filter with this ID will say yes or no by random choice |
overHighestAllowedLayer | OverHighestAllowedLayer Filter. |
outOfSectorRange | out of sector range filter |
numFilters | knows number of filters existing. If a member returns this value, the input-value was wrong |
Definition at line 31 of file FilterID.h.
|
inline |
|
inline |
|
inlinestatic |
converts existing enum value into suitable string with name of filter type.
Definition at line 231 of file FilterID.h.
|
static |
converts int value into suitable string with name of filter type (if int value is equal to values of enum).
Definition at line 423 of file FilterID.cc.
|
static |
converts existing string with name of filter type into suitable enum value.
Definition at line 287 of file FilterID.cc.
|
static |
converts existing int with filter type-compativble value into suitable enum value.
Definition at line 412 of file FilterID.cc.
|
inlinestatic |
returns type of given name, needed for compatibility with other modules.
Definition at line 240 of file FilterID.h.
|
static |
returns name of given type, needed for compatibility with other modules
for given FilterID the corresponding std::string-name will be returned.
For invalid types, UnknownType will be passed
TODO
Definition at line 434 of file FilterID.cc.
|
static |
array storing all the enums where ints can be used to access their position (this is needed since enums can be converted to int but not otherwise)
Definition at line 216 of file FilterID.h.
|
static |
string name of a filter which will always say no
Definition at line 196 of file FilterID.h.
|
static |
string name of a filter which will always say no
Definition at line 198 of file FilterID.h.
|
static |
string name of a filter which will always say no
Definition at line 200 of file FilterID.h.
|
static |
string name of a filter which will always say yes
Definition at line 195 of file FilterID.h.
|
static |
string name of a filter which will always say yes
Definition at line 197 of file FilterID.h.
|
static |
string name of a filter which will always say yes
Definition at line 199 of file FilterID.h.
|
static |
string name of filter a3D
Definition at line 143 of file FilterID.h.
|
static |
string name of filter a3D high occupancy
Definition at line 133 of file FilterID.h.
|
static |
string name of filter aRZ high occupancy
Definition at line 135 of file FilterID.h.
|
static |
string name of filter aXY high occupancy
Definition at line 134 of file FilterID.h.
|
static |
string name of filter aRZ
Definition at line 144 of file FilterID.h.
|
static |
string name of filter aXY
Definition at line 145 of file FilterID.h.
|
static |
string name CalcQIbyKalman filter
Definition at line 183 of file FilterID.h.
|
static |
string name CA filter
Definition at line 166 of file FilterID.h.
|
static |
string name Circlefit filter
Definition at line 173 of file FilterID.h.
|
static |
string name of filter dd2IP
Definition at line 161 of file FilterID.h.
|
static |
string name of filter dd2IP high occupancy
Definition at line 156 of file FilterID.h.
|
static |
string name of filter dPt
Definition at line 160 of file FilterID.h.
|
static |
string name of filter dPt high occupancy
Definition at line 155 of file FilterID.h.
|
static |
string name of filter dslopeRZ high occupancy
Definition at line 137 of file FilterID.h.
|
static |
string name of filter dslopeRZ
Definition at line 146 of file FilterID.h.
|
static |
string name deltaSlopeZOverS Filter
Definition at line 151 of file FilterID.h.
|
static |
string name deltaSOverZ Filter
Definition at line 150 of file FilterID.h.
|
static |
string name of filter d2IP
Definition at line 148 of file FilterID.h.
|
static |
string name of filter d3D
Definition at line 125 of file FilterID.h.
|
static |
string name of filter d2IP high occupancy
Definition at line 136 of file FilterID.h.
|
static |
string name of filter dXY
Definition at line 126 of file FilterID.h.
|
static |
string name of filter dZ
Definition at line 127 of file FilterID.h.
|
static |
string name Greedy filter
Definition at line 180 of file FilterID.h.
|
static |
string name Helix Fit filter
Definition at line 174 of file FilterID.h.
|
static |
string name of filter helix Parameter Fit
Definition at line 149 of file FilterID.h.
|
static |
string name of filter hFit high occupancy
Definition at line 139 of file FilterID.h.
|
static |
string name Hopfield filter
Definition at line 179 of file FilterID.h.
|
static |
string name Nb Finder filter
Definition at line 165 of file FilterID.h.
|
static |
string name of filter nd3D
Definition at line 129 of file FilterID.h.
|
static |
string name out of sector range filter
Definition at line 208 of file FilterID.h.
|
static |
string name of OverHighestAllowedLayer Filter
Definition at line 207 of file FilterID.h.
|
static |
string name Overlapping filter
Definition at line 184 of file FilterID.h.
|
static |
string name of filter pT
Definition at line 147 of file FilterID.h.
|
static |
string name of filter pT high occupancy
Definition at line 138 of file FilterID.h.
|
static |
string name of a filter which will say yes or no by random choice
Definition at line 201 of file FilterID.h.
|
static |
string name of a filter which will say yes or no by random choice
Definition at line 202 of file FilterID.h.
|
static |
string name of a filter which will say yes or no by random choice
Definition at line 203 of file FilterID.h.
|
static |
string name Silent Kill Hit Finder filter
Definition at line 190 of file FilterID.h.
|
static |
string name Silent Kill Seg Finder filter
Definition at line 191 of file FilterID.h.
|
static |
WARNING FIXME TODO some things are missing here (calcQIbyLineFit) and similar stuff.
string name Silent Kill TCC filter
Definition at line 189 of file FilterID.h.
|
static |
string name SimpleLineFit3D filter
Definition at line 175 of file FilterID.h.
|
static |
string name of filter slopeRZ
Definition at line 128 of file FilterID.h.
|
static |
string name TC Duel filter
Definition at line 181 of file FilterID.h.
|
static |
string name TC Finder Curr filter
Definition at line 182 of file FilterID.h.
|
static |
array storing all the strings where the enums can be used to access their position
Definition at line 213 of file FilterID.h.
|
static |
string name ZiggZaggRZ filter
Definition at line 172 of file FilterID.h.
|
static |
string name ZiggZaggXY filter
Definition at line 170 of file FilterID.h.
|
static |
string name ZiggZaggXYWithSigma filter
Definition at line 171 of file FilterID.h.