LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "InteractGeneral.h"
Public Member Functions | |
InteractGeneral (double tcut) | |
Constructor. More... | |
virtual | ~InteractGeneral () |
Destructor. More... | |
Interactor * | clone () const |
Clone method. More... | |
virtual bool | noise (const KTrack &trk, double s, TrackError &noise_matrix) const |
Calculate noise matrix. More... | |
double | getTcut () const |
Private Attributes | |
InteractPlane | fInteract |
Plane interactor. More... | |
PropAny | fProp |
Propagator. More... | |
Definition at line 24 of file InteractGeneral.h.
trkf::InteractGeneral::InteractGeneral | ( | double | tcut | ) |
Constructor.
Constructor.
Arguments:
tcut - Maximum delta ray energy.
Definition at line 24 of file InteractGeneral.cxx.
Referenced by clone().
|
virtual |
|
inlinevirtual |
Clone method.
Implements trkf::Interactor.
Definition at line 37 of file InteractGeneral.h.
References InteractGeneral(), noise(), and s.
|
inlineinherited |
Definition at line 39 of file Interactor.h.
References trkf::Interactor::clone(), trkf::Interactor::fTcut, trkf::Interactor::noise(), and s.
Referenced by trkf::InteractPlane::noise().
|
virtual |
Calculate noise matrix.
Calculate noise matrix.
Arguments:
trk - Original track. s - Path distance. noise_matrix - Resultant noise matrix.
Returns: True if success.
Currently calculate noise from multiple scattering only.
Note about multiple scattering calculation:
We make a zero distance propagation to a plane surface (SurfXYZPlane) that is normal to the track direction. Then calculate the noise matrix on that surface and transform back to the original surface.
Implements trkf::Interactor.
Definition at line 53 of file InteractGeneral.cxx.
References fInteract, fProp, trkf::KTrack::getMomentum(), trkf::KTrack::getPosition(), trkf::invert(), trkf::InteractPlane::noise(), trkf::PropAny::short_vec_prop(), and trkf::Propagator::UNKNOWN.
Referenced by clone().
|
private |
|
private |