LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
trkf::TrackKalmanFitter::Config Struct Reference

#include "TrackKalmanFitter.h"

Public Types

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

Public Attributes

fhicl::Atom< bool > useRMS
 
fhicl::Atom< bool > sortHitsByPlane
 
fhicl::Atom< bool > sortHitsByWire
 
fhicl::Atom< bool > sortOutputHitsMinLength
 
fhicl::Atom< bool > skipNegProp
 
fhicl::Atom< bool > cleanZigzag
 
fhicl::Atom< bool > rejectHighMultHits
 
fhicl::Atom< bool > rejectHitsNegativeGOF
 
fhicl::Atom< float > hitErr2ScaleFact
 
fhicl::Atom< bool > tryNoSkipWhenFails
 
fhicl::Atom< bool > tryBothDirs
 
fhicl::Atom< bool > pickBestHitOnWire
 
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 59 of file TrackKalmanFitter.h.

Member Typedef Documentation

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 90 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 146 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 104 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 132 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 136 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 122 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 127 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 141 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 117 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 96 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 100 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 83 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 66 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 72 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 78 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 112 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 107 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 62 of file TrackKalmanFitter.h.


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