Public Types | Public Attributes | List of all members
trkf::TrackKalmanFitter::Config Struct Reference

#include <TrackKalmanFitter.h>

Public Types

using Name = fhicl::Name
 
using Comment = fhicl::Comment
 

Public Attributes

fhicl::Atom< booluseRMS
 
fhicl::Atom< boolsortHitsByPlane
 
fhicl::Atom< boolsortHitsByWire
 
fhicl::Atom< boolsortOutputHitsMinLength
 
fhicl::Atom< boolskipNegProp
 
fhicl::Atom< boolcleanZigzag
 
fhicl::Atom< boolrejectHighMultHits
 
fhicl::Atom< boolrejectHitsNegativeGOF
 
fhicl::Atom< float > hitErr2ScaleFact
 
fhicl::Atom< booltryNoSkipWhenFails
 
fhicl::Atom< booltryBothDirs
 
fhicl::Atom< boolpickBestHitOnWire
 
fhicl::Atom< float > maxResidue
 
fhicl::Atom< float > maxResidueFirstHit
 
fhicl::Atom< float > maxChi2
 
fhicl::Atom< float > maxDist
 
fhicl::Atom< float > negDistTolerance
 
fhicl::Atom< int > dumpLevel
 

Detailed Description

Definition at line 53 of file TrackKalmanFitter.h.

Member Typedef Documentation

Definition at line 55 of file TrackKalmanFitter.h.

Definition at line 54 of file TrackKalmanFitter.h.

Member Data Documentation

fhicl::Atom<bool> trkf::TrackKalmanFitter::Config::cleanZigzag
Initial value:
{
Name("cleanZigzag"),
Comment("Flag to decide whether hits with a zigzag pattern should be iteratively removed. "
"Zigzag identified as negative dot product of segments connecting a point to the "
"points before and after it."),
false}

Definition at line 84 of file TrackKalmanFitter.h.

fhicl::Atom<int> trkf::TrackKalmanFitter::Config::dumpLevel
Initial value:
{
Name("dumpLevel"),
Comment("0 for no debug printouts, 1 for moderate, 2 for maximum."),
0}

Definition at line 140 of file TrackKalmanFitter.h.

fhicl::Atom<float> trkf::TrackKalmanFitter::Config::hitErr2ScaleFact
Initial value:
{Name("hitErr2ScaleFact"),
Comment("Scale the hit error squared by this factor."),
1.0}

Definition at line 98 of file TrackKalmanFitter.h.

fhicl::Atom<float> trkf::TrackKalmanFitter::Config::maxChi2
Initial value:
{Name("maxChi2"),
Comment("Reject hits with chi2 > maxChi2. If negative, it is set "
"to std::numeric_limits<float>::max()."),
-1.}

Definition at line 126 of file TrackKalmanFitter.h.

fhicl::Atom<float> trkf::TrackKalmanFitter::Config::maxDist
Initial value:
{
Name("maxDist"),
Comment("Reject hits with propagation distance > maxDist [cm]. If negative, it is set to "
"std::numeric_limits<float>::max()."),
-1.}

Definition at line 130 of file TrackKalmanFitter.h.

fhicl::Atom<float> trkf::TrackKalmanFitter::Config::maxResidue
Initial value:
{
Name("maxResidue"),
Comment("Reject hits with residue > maxResidue [cm]. If negative, it is set to "
"std::numeric_limits<float>::max()."),
-1.}

Definition at line 116 of file TrackKalmanFitter.h.

fhicl::Atom<float> trkf::TrackKalmanFitter::Config::maxResidueFirstHit
Initial value:
{
Name("maxResidueFirstHit"),
Comment("Reject firt hit if has residue > maxResidueFirstHit [cm]. If negative, it is set "
"to std::numeric_limits<float>::max()."),
-1.}

Definition at line 121 of file TrackKalmanFitter.h.

fhicl::Atom<float> trkf::TrackKalmanFitter::Config::negDistTolerance
Initial value:
{
Name("negDistTolerance"),
Comment("Tolerance for negative propagation distance to avoid hit rejection (so this is "
"expected to be a small negative number)."),
0.}

Definition at line 135 of file TrackKalmanFitter.h.

fhicl::Atom<bool> trkf::TrackKalmanFitter::Config::pickBestHitOnWire
Initial value:
{
Name("pickBestHitOnWire"),
Comment("If there is >1 consecutive hit on the same wire, choose the one with best chi2 "
"and exclude the others."),
false}

Definition at line 111 of file TrackKalmanFitter.h.

fhicl::Atom<bool> trkf::TrackKalmanFitter::Config::rejectHighMultHits
Initial value:
{
Name("rejectHighMultHits"),
Comment("Flag to rejects hits with recob::Hit::Multiplicity()>1."),
false}

Definition at line 90 of file TrackKalmanFitter.h.

fhicl::Atom<bool> trkf::TrackKalmanFitter::Config::rejectHitsNegativeGOF
Initial value:
{
Name("rejectHitsNegativeGOF"),
Comment("Flag to rejects hits with recob::Hit::GoodnessOfFit<0."),
true}

Definition at line 94 of file TrackKalmanFitter.h.

fhicl::Atom<bool> trkf::TrackKalmanFitter::Config::skipNegProp
Initial value:
{
Name("skipNegProp"),
"Flag to decide whether, during the forward fit, the hits corresponding to a negative "
"propagation distance should be dropped. Also, if sortOutputHitsMinLength is true, "
"during sorting hits at a negative distance with respect to the previous are rejected."),
true}

Definition at line 77 of file TrackKalmanFitter.h.

fhicl::Atom<bool> trkf::TrackKalmanFitter::Config::sortHitsByPlane
Initial value:
{
Name("sortHitsByPlane"),
Comment("Flag to sort hits along the forward fit. The hit order in each plane is preserved "
"(unless sortHitsByWire is true), the next hit to process in 3D is chosen as the "
"one with shorter 3D propagation distance among the next hit in all planes."),
true}

Definition at line 60 of file TrackKalmanFitter.h.

fhicl::Atom<bool> trkf::TrackKalmanFitter::Config::sortHitsByWire
Initial value:
{
Name("sortHitsByWire"),
Comment("Set to true if, instead of keeping the hit sorting in each plane from the pattern "
"recognition stage, the hits need to be sorted by wire number. Ignored if "
"sortHitsByPlane = false."),
false}

Definition at line 66 of file TrackKalmanFitter.h.

fhicl::Atom<bool> trkf::TrackKalmanFitter::Config::sortOutputHitsMinLength
Initial value:
{
Name("sortOutputHitsMinLength"),
Comment("Flag to decide whether the hits are sorted before creating the output track in "
"order to avoid tracks with huge length."),
true}

Definition at line 72 of file TrackKalmanFitter.h.

fhicl::Atom<bool> trkf::TrackKalmanFitter::Config::tryBothDirs
Initial value:
{
Name("tryBothDirs"),
Comment("Try fit in both with default and reversed direction, choose the track with "
"highest score=CountValidPoints/(Length*Chi2PerNdof)."),
false}

Definition at line 106 of file TrackKalmanFitter.h.

fhicl::Atom<bool> trkf::TrackKalmanFitter::Config::tryNoSkipWhenFails
Initial value:
{
Name("tryNoSkipWhenFails"),
Comment("In case skipNegProp is true and the track fit fails, make a second attempt to fit "
"the track with skipNegProp=false in order to attempt to avoid losing efficiency."),
true}

Definition at line 101 of file TrackKalmanFitter.h.

fhicl::Atom<bool> trkf::TrackKalmanFitter::Config::useRMS
Initial value:
{Name("useRMSError"),
Comment("Flag to replace the default hit error "
"recob::Hit::SigmaPeakTime() with recob::Hit::RMS()."),
true}

Definition at line 56 of file TrackKalmanFitter.h.


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