LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
trkmkr::KalmanFilterFitTrackMaker Class Reference

Concrete implementation of a tool to fit tracks with TrackKalmanFitter. More...

Inheritance diagram for trkmkr::KalmanFilterFitTrackMaker:
trkmkr::TrackMaker

Classes

struct  Config
 
struct  Options
 

Public Types

using Parameters = art::ToolConfigTable< Config >
 

Public Member Functions

 KalmanFilterFitTrackMaker (Parameters const &p)
 Constructor from Parameters. More...
 
void initEvent (const art::Event &e) override
 initialize event: get collection of recob::MCSFitResult More...
 
bool makeTrackImpl (const detinfo::DetectorPropertiesData &detProp, const recob::TrackTrajectory &traj, const int tkID, const std::vector< art::Ptr< recob::Hit >> &inHits, const recob::tracking::SMatrixSym55 &covVtx, const recob::tracking::SMatrixSym55 &covEnd, recob::Track &outTrack, std::vector< art::Ptr< recob::Hit >> &outHits, OptionalOutputs &optionals) const
 function that actually calls the fitter More...
 
bool makeTrack (const detinfo::DetectorPropertiesData &detProp, const recob::TrackTrajectory &traj, const int tkID, const std::vector< art::Ptr< recob::Hit >> &inHits, recob::Track &outTrack, std::vector< art::Ptr< recob::Hit >> &outHits, OptionalOutputs &optionals) const override
 
int getParticleID (const recob::TrackTrajectory &traj, const int tkID) const
 set the particle ID hypothesis More...
 
double getMomentum (const recob::TrackTrajectory &traj, const int pid, const bool isFlip, const int tkID) const
 set the initial momentum estimate More...
 
bool isFlipDirection (const recob::TrackTrajectory &traj, const int tkID) const
 decide whether to flip the direction or not More...
 
void restoreInputPoints (const recob::TrackTrajectory &traj, const std::vector< art::Ptr< recob::Hit >> &inHits, recob::Track &outTrack, std::vector< art::Ptr< recob::Hit >> &outHits, OptionalOutputs &optionals) const
 
bool makeTrack (const detinfo::DetectorPropertiesData &detProp, const art::Ptr< recob::TrackTrajectory > ttraj, const std::vector< art::Ptr< recob::Hit >> &inHits, recob::Track &outTrack, std::vector< art::Ptr< recob::Hit >> &outHits, OptionalOutputs &optionals) const
 makeTrack functions with art::Ptr<recob::TrackTrajectory>; calls the purely virtual version with const recob::TrackTrajectory reference as argument. More...
 
bool makeTrack (const detinfo::DetectorPropertiesData &detProp, const art::Ptr< recob::Track > track, const std::vector< art::Ptr< recob::Hit >> &inHits, recob::Track &outTrack, std::vector< art::Ptr< recob::Hit >> &outHits, OptionalOutputs &optionals) const
 

Private Attributes

Parameters p_
 
const trkf::TrackStatePropagator prop
 
const trkf::TrackKalmanFitter kalmanFitter
 
const trkf::TrajectoryMCSFitter mcsfitter
 
double mom_def_
 
bool momFromMCSColl_
 
art::InputTag mcsInputTag_
 
bool momFromCombAndPid_
 
art::InputTag contInputTag_
 
bool pidFromColl_
 
art::InputTag pidInputTag_
 
double mom_len_cut_
 
int pid_def_
 
bool alwaysFlip_
 
bool dirFromVec_
 
recob::tracking::Vector_t dirVec
 
const std::vector< recob::MCSFitResult > * mcs = nullptr
 
const std::vector< anab::CosmicTag > * cont = nullptr
 
const std::vector< anab::ParticleID > * pid = nullptr
 
trkf::TrackMomentumCalculator tmc
 

Detailed Description

Concrete implementation of a tool to fit tracks with TrackKalmanFitter.

Concrete implementation of a tool to fit tracks with trkf::TrackKalmanFitter; inherits from abstract class TrackMaker. It prepares the input needed by the fitter (momentum, particleId, direction), and returns a track with all outputs filled. If the flag keepInputTrajectoryPoints is set to true, the tracjetory points from the input track are copied into the output, so that only the covariance matrices, the chi2 and the ndof in the output track are resulting from the fit.

For configuration options see KalmanFilterFitTrackMaker::Options and KalmanFilterFitTrackMaker::Config.

Author
G. Cerati (FNAL, MicroBooNE)
Date
2017
Version
1.0

Definition at line 47 of file KalmanFilterFitTrackMaker_tool.cc.

Member Typedef Documentation

Constructor & Destructor Documentation

trkmkr::KalmanFilterFitTrackMaker::KalmanFilterFitTrackMaker ( Parameters const &  p)
inlineexplicit

Constructor from Parameters.

Definition at line 128 of file KalmanFilterFitTrackMaker_tool.cc.

References alwaysFlip_, contInputTag_, d, dirFromVec_, trkmkr::KalmanFilterFitTrackMaker::Options::dirVec, kalmanFitter, trkmkr::KalmanFilterFitTrackMaker::Options::keepInputTrajectoryPoints, mcsfitter, mcsInputTag_, mom_def_, mom_len_cut_, momFromCombAndPid_, momFromMCSColl_, p_, pid_def_, pidFromColl_, pidInputTag_, and prop.

129  : p_(p)
130  , prop{p_().propagator}
131  , kalmanFitter{&prop, p_().fitter}
132  , mcsfitter{p_().mcsfit}
133  , mom_def_{p_().options().defaultMomInGeV()}
134  , momFromMCSColl_{p_().options().momFromMCSCollection()}
135  , momFromCombAndPid_{p_().options().momFromCombAndPid()}
136  , pidFromColl_{p_().options().pidFromCollection()}
137  , mom_len_cut_{p_().options().pidFromLengthCut()}
138  , pid_def_{p_().options().defaultPdgId()}
139  , alwaysFlip_{p_().options().alwaysInvertDir()}
140  , dirFromVec_{p_().options().dirFromVec()}
141  {
142  if (momFromMCSColl_) { mcsInputTag_ = p_().options().mcsInputTag(); }
143  if (momFromCombAndPid_) { contInputTag_ = p_().options().contInputTag(); }
144  if (pidFromColl_) { pidInputTag_ = p_().options().pidInputTag(); }
145  if (dirFromVec_) {
146  auto d = p_().options().dirVec();
147  dirVec = recob::tracking::Vector_t{d[0], d[1], d[2]};
148  }
149  //
150  if (p_().options().keepInputTrajectoryPoints() &&
151  (p_().fitter().sortHitsByPlane() || p_().fitter().sortOutputHitsMinLength() ||
152  p_().fitter().skipNegProp())) {
153  throw cet::exception("KalmanFilterFitTrackMaker")
154  << "Incompatible configuration parameters: keepInputTrajectoryPoints "
155  "needs the following fitter options all set to false: "
156  "sortHitsByPlane, sortOutputHitsMinLength, skipNegProp."
157  << "\n";
158  }
160  throw cet::exception("KalmanFilterFitTrackMaker")
161  << "Incompatible configuration parameters: momFromMCSCollection and "
162  "momFromCombAndPid cannot be both true at the same time."
163  << "\n";
164  }
165  if (pidFromColl_ && mom_len_cut_ > 0) {
166  throw cet::exception("KalmanFilterFitTrackMaker")
167  << "Incompatible configuration parameters: pidFromCollection and "
168  "pidFromLengthCut cannot be respectively true and >0. at the same "
169  "time."
170  << "\n";
171  }
172  if (alwaysFlip_ && dirFromVec_) {
173  throw cet::exception("KalmanFilterFitTrackMaker")
174  << "Incompatible configuration parameters: alwaysInvertDir and "
175  "dirFromVec cannot be both true at the same time."
176  << "\n";
177  }
178  //
179  }
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< Coord_t >, ROOT::Math::GlobalCoordinateSystemTag > Vector_t
Type for representation of momenta in 3D space. See recob::tracking::Coord_t for more details on the ...
Definition: TrackingTypes.h:31
Float_t d
Definition: plot.C:235
cet::coded_exception< error, detail::translate > exception
Definition: exception.h:33

Member Function Documentation

double trkmkr::KalmanFilterFitTrackMaker::getMomentum ( const recob::TrackTrajectory traj,
const int  pid,
const bool  isFlip,
const int  tkID 
) const

set the initial momentum estimate

Definition at line 301 of file KalmanFilterFitTrackMaker_tool.cc.

References cont, trkf::TrajectoryMCSFitter::fitMcs(), trkf::TrackMomentumCalculator::GetTrackMomentum(), anab::kNotTagged, recob::TrackTrajectory::Length(), mcs, mcsfitter, mom_def_, momFromCombAndPid_, momFromMCSColl_, pid, recob::TrackTrajectory::StartMomentum(), and tmc.

Referenced by makeTrack(), and makeTrackImpl().

305 {
306  double mom = (mom_def_ > 0 ? mom_def_ : traj.StartMomentum());
307  if (momFromMCSColl_) {
308  double mcsmom = (isFlip ? mcs->at(tkID).bwdMomentum() : mcs->at(tkID).fwdMomentum());
309  // make sure the mcs fit converged
310  if (mcsmom > 0.01 && mcsmom < 7.) mom = mcsmom;
311  }
312  if (momFromCombAndPid_) {
313  bool isContained = cont->at(tkID).CosmicType() == anab::kNotTagged;
314  // for now momentum from range implemented only for muons and protons
315  // so treat pions as muons (~MIPs) and kaons as protons
316  int pidtmp = pid;
317  if (pidtmp == 211 || pidtmp == 13)
318  pidtmp = 13;
319  else
320  pidtmp = 2212;
321  mom = tmc.GetTrackMomentum(traj.Length(), pidtmp);
322  if (isContained == false) {
323  auto mcsresult = mcsfitter.fitMcs(traj, pid);
324  double mcsmom = (isFlip ? mcsresult.bwdMomentum() : mcsresult.fwdMomentum());
325  // make sure the mcs fit converged, also the mcsmom should not be less
326  // than the range!
327  if (mcsmom > 0.01 && mcsmom < 7. && mcsmom > mom) mom = mcsmom;
328  }
329  }
330  return mom;
331 }
recob::MCSFitResult fitMcs(const recob::TrackTrajectory &traj) const
const std::vector< anab::CosmicTag > * cont
const std::vector< recob::MCSFitResult > * mcs
double Length(size_t startAt=0) const
Returns the approximate length of the trajectory.
const std::vector< anab::ParticleID > * pid
double StartMomentum() const
double GetTrackMomentum(double trkrange, int pdg) const
int trkmkr::KalmanFilterFitTrackMaker::getParticleID ( const recob::TrackTrajectory traj,
const int  tkID 
) const

set the particle ID hypothesis

Definition at line 333 of file KalmanFilterFitTrackMaker_tool.cc.

References recob::TrackTrajectory::Length(), mom_len_cut_, pid_def_, and pidFromColl_.

Referenced by makeTrack(), and makeTrackImpl().

335 {
336  if (pidFromColl_) {
337  return -1; //pid->at(tkID).Pdg();
338  }
339  if (mom_len_cut_ > 0.) { return (traj.Length() < mom_len_cut_ ? 2212 : 13); }
340  return pid_def_;
341 }
double Length(size_t startAt=0) const
Returns the approximate length of the trajectory.
void trkmkr::KalmanFilterFitTrackMaker::initEvent ( const art::Event e)
inlineoverridevirtual

initialize event: get collection of recob::MCSFitResult

Reimplemented from trkmkr::TrackMaker.

Definition at line 182 of file KalmanFilterFitTrackMaker_tool.cc.

References cont, contInputTag_, art::ProductRetriever::getValidHandle(), makeTrackImpl(), mcs, mcsInputTag_, momFromCombAndPid_, momFromMCSColl_, pidFromColl_, pidInputTag_, and lar::dump::vector().

183  {
184  if (momFromMCSColl_)
185  mcs = e.getValidHandle<std::vector<recob::MCSFitResult>>(mcsInputTag_).product();
186  if (momFromCombAndPid_) {
187  cont = e.getValidHandle<std::vector<anab::CosmicTag>>(contInputTag_).product();
188  }
189  if (pidFromColl_) {
190  pid = e.getValidHandle<std::vector<anab::ParticleID>>(pidInputTag_).product();
191  }
192  }
const std::vector< anab::CosmicTag > * cont
const std::vector< recob::MCSFitResult > * mcs
ValidHandle< PROD > getValidHandle(InputTag const &tag) const
bool trkmkr::KalmanFilterFitTrackMaker::isFlipDirection ( const recob::TrackTrajectory traj,
const int  tkID 
) const

decide whether to flip the direction or not

Definition at line 343 of file KalmanFilterFitTrackMaker_tool.cc.

References alwaysFlip_, dirFromVec_, trkmkr::KalmanFilterFitTrackMaker::Options::dirVec, and recob::TrackTrajectory::VertexDirection().

Referenced by makeTrack(), and makeTrackImpl().

345 {
346  if (alwaysFlip_) { return true; }
347  else if (dirFromVec_) {
348  auto tdir = traj.VertexDirection();
349  if (tdir.Dot(dirVec) < 0.) return true;
350  }
351  return false;
352 }
Vector_t VertexDirection() const
Returns the direction of the trajectory at the first point.
bool trkmkr::TrackMaker::makeTrack ( const detinfo::DetectorPropertiesData detProp,
const art::Ptr< recob::TrackTrajectory ttraj,
const std::vector< art::Ptr< recob::Hit >> &  inHits,
recob::Track outTrack,
std::vector< art::Ptr< recob::Hit >> &  outHits,
OptionalOutputs optionals 
) const
inlineinherited

makeTrack functions with art::Ptr<recob::TrackTrajectory>; calls the purely virtual version with const recob::TrackTrajectory reference as argument.

Definition at line 207 of file TrackMaker.h.

References art::Ptr< T >::key(), track, recob::Track::Trajectory(), and lar::dump::vector().

213  {
214  return makeTrack(detProp, *ttraj, ttraj.key(), inHits, outTrack, outHits, optionals);
215  }
bool makeTrack(const detinfo::DetectorPropertiesData &detProp, const art::Ptr< recob::TrackTrajectory > ttraj, const std::vector< art::Ptr< recob::Hit >> &inHits, recob::Track &outTrack, std::vector< art::Ptr< recob::Hit >> &outHits, OptionalOutputs &optionals) const
makeTrack functions with art::Ptr<recob::TrackTrajectory>; calls the purely virtual version with cons...
Definition: TrackMaker.h:207
key_type key() const noexcept
Definition: Ptr.h:166
bool trkmkr::KalmanFilterFitTrackMaker::makeTrack ( const detinfo::DetectorPropertiesData detProp,
const recob::TrackTrajectory traj,
const int  tkID,
const std::vector< art::Ptr< recob::Hit >> &  inHits,
recob::Track outTrack,
std::vector< art::Ptr< recob::Hit >> &  outHits,
OptionalOutputs optionals 
) const
inlineoverridevirtual

override of TrackMaker purely virtual function with recob::TrackTrajectory as argument

Implements trkmkr::TrackMaker.

Definition at line 207 of file KalmanFilterFitTrackMaker_tool.cc.

References getMomentum(), getParticleID(), isFlipDirection(), makeTrackImpl(), restoreInputPoints(), and lar::dump::vector().

214  {
215  return makeTrackImpl(detProp,
216  traj,
217  tkID,
218  inHits,
221  outTrack,
222  outHits,
223  optionals);
224  }
recob::tracking::SMatrixSym55 SMatrixSym55
Definition: TrackState.h:15
bool makeTrackImpl(const detinfo::DetectorPropertiesData &detProp, const recob::TrackTrajectory &traj, const int tkID, const std::vector< art::Ptr< recob::Hit >> &inHits, const recob::tracking::SMatrixSym55 &covVtx, const recob::tracking::SMatrixSym55 &covEnd, recob::Track &outTrack, std::vector< art::Ptr< recob::Hit >> &outHits, OptionalOutputs &optionals) const
function that actually calls the fitter
bool trkmkr::TrackMaker::makeTrack ( const detinfo::DetectorPropertiesData detProp,
const art::Ptr< recob::Track track,
const std::vector< art::Ptr< recob::Hit >> &  inHits,
recob::Track outTrack,
std::vector< art::Ptr< recob::Hit >> &  outHits,
OptionalOutputs optionals 
) const
inlineinherited

makeTrack functions with recob::Track as argument; calls the version with recob::TrackTrajectory.

Definition at line 230 of file TrackMaker.h.

236  {
237  return makeTrack(
238  detProp, track->Trajectory(), track.key(), inHits, outTrack, outHits, optionals);
239  }
const recob::TrackTrajectory & Trajectory() const
Access to the stored recob::TrackTrajectory.
Definition: Track.h:132
bool makeTrack(const detinfo::DetectorPropertiesData &detProp, const art::Ptr< recob::TrackTrajectory > ttraj, const std::vector< art::Ptr< recob::Hit >> &inHits, recob::Track &outTrack, std::vector< art::Ptr< recob::Hit >> &outHits, OptionalOutputs &optionals) const
makeTrack functions with art::Ptr<recob::TrackTrajectory>; calls the purely virtual version with cons...
Definition: TrackMaker.h:207
key_type key() const noexcept
Definition: Ptr.h:166
bool trkmkr::KalmanFilterFitTrackMaker::makeTrackImpl ( const detinfo::DetectorPropertiesData detProp,
const recob::TrackTrajectory traj,
const int  tkID,
const std::vector< art::Ptr< recob::Hit >> &  inHits,
const recob::tracking::SMatrixSym55 covVtx,
const recob::tracking::SMatrixSym55 covEnd,
recob::Track outTrack,
std::vector< art::Ptr< recob::Hit >> &  outHits,
OptionalOutputs optionals 
) const

function that actually calls the fitter

Definition at line 268 of file KalmanFilterFitTrackMaker_tool.cc.

References trkf::TrackKalmanFitter::fitTrack(), getMomentum(), getParticleID(), isFlipDirection(), kalmanFitter, trkmkr::KalmanFilterFitTrackMaker::Options::keepInputTrajectoryPoints, p_, and restoreInputPoints().

Referenced by initEvent(), and makeTrack().

278 {
279  const int pid = getParticleID(traj, tkID);
280  const bool flipDirection = isFlipDirection(traj, tkID);
281  const double mom = getMomentum(traj, pid, flipDirection, tkID); // what about mom uncertainty?
282  bool fitok = kalmanFitter.fitTrack(detProp,
283  traj,
284  tkID,
285  covVtx,
286  covEnd,
287  inHits,
288  mom,
289  pid,
290  flipDirection,
291  outTrack,
292  outHits,
293  optionals);
294  if (!fitok) return false;
295  if (p_().options().keepInputTrajectoryPoints()) {
296  restoreInputPoints(traj, inHits, outTrack, outHits, optionals);
297  }
298  return true;
299 }
int getParticleID(const recob::TrackTrajectory &traj, const int tkID) const
set the particle ID hypothesis
bool fitTrack(detinfo::DetectorPropertiesData const &detProp, const recob::TrackTrajectory &traj, int tkID, const SMatrixSym55 &covVtx, const SMatrixSym55 &covEnd, const std::vector< art::Ptr< recob::Hit >> &hits, const double pval, const int pdgid, const bool flipDirection, recob::Track &outTrack, std::vector< art::Ptr< recob::Hit >> &outHits, trkmkr::OptionalOutputs &optionals) const
Fit track starting from TrackTrajectory.
void restoreInputPoints(const recob::TrackTrajectory &traj, const std::vector< art::Ptr< recob::Hit >> &inHits, recob::Track &outTrack, std::vector< art::Ptr< recob::Hit >> &outHits, OptionalOutputs &optionals) const
double getMomentum(const recob::TrackTrajectory &traj, const int pid, const bool isFlip, const int tkID) const
set the initial momentum estimate
bool isFlipDirection(const recob::TrackTrajectory &traj, const int tkID) const
decide whether to flip the direction or not
void trkmkr::KalmanFilterFitTrackMaker::restoreInputPoints ( const recob::TrackTrajectory traj,
const std::vector< art::Ptr< recob::Hit >> &  inHits,
recob::Track outTrack,
std::vector< art::Ptr< recob::Hit >> &  outHits,
OptionalOutputs optionals 
) const

restore the TrajectoryPoints in the Track to be the same as those in the input TrackTrajectory (but keep covariance matrices and chi2 from fit).

Definition at line 354 of file KalmanFilterFitTrackMaker_tool.cc.

References recob::Track::Chi2(), recob::Track::Covariances(), DEFINE_ART_CLASS_TOOL, recob::Track::FlagsAtPoint(), recob::TrajectoryPointFlags::fromHit(), recob::Trajectory::HasMomentum(), recob::Track::ID(), trkmkr::OptionalOutputs::isTrackFitInfosInit(), recob::TrackTrajectory::LocationAtPoint(), recob::TrajectoryPointFlags::mask(), recob::TrackTrajectory::MomentumVectorAtPoint(), recob::TrajectoryPointFlagTraits::NoPoint, recob::Track::NumberTrajectoryPoints(), recob::Track::ParticleId(), and util::flags::BitMask< Storage >::unset().

Referenced by makeTrack(), and makeTrackImpl().

360 {
361  if (optionals.isTrackFitInfosInit()) {
362  throw cet::exception("KalmanFilterFitTrackMaker")
363  << "Option keepInputTrajectoryPoints not compatible with "
364  "doTrackFitHitInfo, please set doTrackFitHitInfo to false in the "
365  "track producer.\n";
366  }
367  const auto np = outTrack.NumberTrajectoryPoints();
369  outHits, optionals, outTrack.ID(), outTrack.ParticleId(), traj.HasMomentum());
370  //
371  std::vector<unsigned int> flagsmap(np, -1);
372  for (unsigned int i = 0; i < np; ++i)
373  flagsmap[outTrack.FlagsAtPoint(i).fromHit()] = i;
374  //
375  for (unsigned int p = 0; p < np; ++p) {
376  auto mask = outTrack.FlagsAtPoint(flagsmap[p]).mask();
379  tcbk.addPoint(traj.LocationAtPoint(p),
380  traj.MomentumVectorAtPoint(p),
381  inHits[p],
383  0);
384  }
385  auto covs = outTrack.Covariances();
386  tcbk.setTotChi2(outTrack.Chi2());
387  outTrack = tcbk.finalizeTrack(std::move(covs.first), std::move(covs.second));
388  //
389 }
static constexpr Flag_t NoPoint
The trajectory point is not defined.
int ParticleId() const
Access to various track properties.
Definition: Track.h:211
float Chi2() const
Access to various track properties.
Definition: Track.h:208
size_t NumberTrajectoryPoints() const
Various functions related to the presence and the number of (valid) points.
Definition: Track.h:136
constexpr Mask_t const & mask() const
Returns the entire set of bits as a bit mask.
std::pair< SMatrixSym55, SMatrixSym55 > Covariances() const
Access to position, momentum or covariance at the start and end of the track.
Definition: Track.h:199
constexpr HitIndex_t fromHit() const
T LocationAtPoint(unsigned int p) const
Position at point p. Use e.g. as:
int ID() const
Definition: Track.h:244
void unset(Flag first, OtherFlags...others)
Unsets all specified flags.
Definition: BitMask.h:754
bool HasMomentum() const
Returns whether information about the momentum is available.
Definition: Trajectory.h:387
Helper class to aid the creation of a recob::Track, keeping data vectors in sync. ...
PointFlags_t const & FlagsAtPoint(size_t i) const
Access to i-th TrajectoryPoint or its Flags.
Definition: Track.h:152
T MomentumVectorAtPoint(unsigned int p) const
Momentum vector at point p. Use e.g. as:
Set of flags pertaining a point of the track.
cet::coded_exception< error, detail::translate > exception
Definition: exception.h:33

Member Data Documentation

bool trkmkr::KalmanFilterFitTrackMaker::alwaysFlip_
private
const std::vector<anab::CosmicTag>* trkmkr::KalmanFilterFitTrackMaker::cont = nullptr
private

Definition at line 262 of file KalmanFilterFitTrackMaker_tool.cc.

Referenced by getMomentum(), and initEvent().

art::InputTag trkmkr::KalmanFilterFitTrackMaker::contInputTag_
private

Definition at line 253 of file KalmanFilterFitTrackMaker_tool.cc.

Referenced by initEvent(), and KalmanFilterFitTrackMaker().

bool trkmkr::KalmanFilterFitTrackMaker::dirFromVec_
private
recob::tracking::Vector_t trkmkr::KalmanFilterFitTrackMaker::dirVec
private

Definition at line 260 of file KalmanFilterFitTrackMaker_tool.cc.

const trkf::TrackKalmanFitter trkmkr::KalmanFilterFitTrackMaker::kalmanFitter
private

Definition at line 247 of file KalmanFilterFitTrackMaker_tool.cc.

Referenced by KalmanFilterFitTrackMaker(), and makeTrackImpl().

const std::vector<recob::MCSFitResult>* trkmkr::KalmanFilterFitTrackMaker::mcs = nullptr
private

Definition at line 261 of file KalmanFilterFitTrackMaker_tool.cc.

Referenced by getMomentum(), and initEvent().

const trkf::TrajectoryMCSFitter trkmkr::KalmanFilterFitTrackMaker::mcsfitter
private

Definition at line 248 of file KalmanFilterFitTrackMaker_tool.cc.

Referenced by getMomentum(), and KalmanFilterFitTrackMaker().

art::InputTag trkmkr::KalmanFilterFitTrackMaker::mcsInputTag_
private

Definition at line 251 of file KalmanFilterFitTrackMaker_tool.cc.

Referenced by initEvent(), and KalmanFilterFitTrackMaker().

double trkmkr::KalmanFilterFitTrackMaker::mom_def_
private

Definition at line 249 of file KalmanFilterFitTrackMaker_tool.cc.

Referenced by getMomentum(), and KalmanFilterFitTrackMaker().

double trkmkr::KalmanFilterFitTrackMaker::mom_len_cut_
private

Definition at line 256 of file KalmanFilterFitTrackMaker_tool.cc.

Referenced by getParticleID(), and KalmanFilterFitTrackMaker().

bool trkmkr::KalmanFilterFitTrackMaker::momFromCombAndPid_
private
bool trkmkr::KalmanFilterFitTrackMaker::momFromMCSColl_
private
Parameters trkmkr::KalmanFilterFitTrackMaker::p_
private

Definition at line 245 of file KalmanFilterFitTrackMaker_tool.cc.

Referenced by KalmanFilterFitTrackMaker(), and makeTrackImpl().

const std::vector<anab::ParticleID>* trkmkr::KalmanFilterFitTrackMaker::pid = nullptr
private

Definition at line 263 of file KalmanFilterFitTrackMaker_tool.cc.

Referenced by getMomentum().

int trkmkr::KalmanFilterFitTrackMaker::pid_def_
private

Definition at line 257 of file KalmanFilterFitTrackMaker_tool.cc.

Referenced by getParticleID(), and KalmanFilterFitTrackMaker().

bool trkmkr::KalmanFilterFitTrackMaker::pidFromColl_
private
art::InputTag trkmkr::KalmanFilterFitTrackMaker::pidInputTag_
private

Definition at line 255 of file KalmanFilterFitTrackMaker_tool.cc.

Referenced by initEvent(), and KalmanFilterFitTrackMaker().

const trkf::TrackStatePropagator trkmkr::KalmanFilterFitTrackMaker::prop
private

Definition at line 246 of file KalmanFilterFitTrackMaker_tool.cc.

Referenced by KalmanFilterFitTrackMaker().

trkf::TrackMomentumCalculator trkmkr::KalmanFilterFitTrackMaker::tmc
private

Definition at line 264 of file KalmanFilterFitTrackMaker_tool.cc.

Referenced by getMomentum().


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