Algorithm for fitting tracks through a single RP. More...
#include <TotemRPLocalTrackFitterAlgorithm.h>
Classes | |
struct | RPDetCoordinateAlgebraObjs |
Public Member Functions | |
bool | fitTrack (const edm::DetSetVector< TotemRPRecHit > &hits, double z_0, const TotemRPGeometry &tot_geom, TotemRPLocalTrack &fitted_track) |
performs the track fit, returns true if successful More... | |
void | reset () |
Resets the reconstruction-data cache. More... | |
TotemRPLocalTrackFitterAlgorithm (const edm::ParameterSet &conf) | |
Private Member Functions | |
RPDetCoordinateAlgebraObjs * | getDetAlgebraData (unsigned int det_id, const TotemRPGeometry &tot_rp_geom) |
void | multiplyByDiagonalInPlace (TMatrixD &mt, const TVectorD &diag) |
A matrix multiplication shorthand. More... | |
RPDetCoordinateAlgebraObjs | prepareReconstAlgebraData (unsigned int det_id, const TotemRPGeometry &tot_rp_geom) |
Build the reconstruction data. More... | |
Static Private Member Functions | |
static TVector3 | convert3vector (const CLHEP::Hep3Vector &v) |
Private Attributes | |
std::unordered_map< unsigned int, RPDetCoordinateAlgebraObjs > | det_data_map_ |
A cache of reconstruction data. Must be reset every time the geometry chagnges. More... | |
RPTopology | rp_topology_ |
Algorithm for fitting tracks through a single RP.
Definition at line 32 of file TotemRPLocalTrackFitterAlgorithm.h.
TotemRPLocalTrackFitterAlgorithm::TotemRPLocalTrackFitterAlgorithm | ( | const edm::ParameterSet & | conf | ) |
Definition at line 23 of file TotemRPLocalTrackFitterAlgorithm.cc.
|
inlinestaticprivate |
Definition at line 67 of file TotemRPLocalTrackFitterAlgorithm.h.
bool TotemRPLocalTrackFitterAlgorithm::fitTrack | ( | const edm::DetSetVector< TotemRPRecHit > & | hits, |
double | z_0, | ||
const TotemRPGeometry & | tot_geom, | ||
TotemRPLocalTrack & | fitted_track | ||
) |
performs the track fit, returns true if successful
Definition at line 79 of file TotemRPLocalTrackFitterAlgorithm.cc.
References a, TotemRPLocalTrack::addHit(), TotemRPLocalTrackFitterAlgorithm::RPDetCoordinateAlgebraObjs::available_, TotemRPLocalTrackFitterAlgorithm::RPDetCoordinateAlgebraObjs::centre_of_det_global_position_, MillePedeFileConverter_cfg::e, TotemRPLocalTrack::getTrackPoint(), h, class-composition::H, mps_fire::i, JetComb::kMult, TotemRPLocalTrackFitterAlgorithm::RPDetCoordinateAlgebraObjs::readout_direction_, TotemRPLocalTrackFitterAlgorithm::RPDetCoordinateAlgebraObjs::rec_u_0_, TotemRPLocalTrack::setChiSquared(), TotemRPLocalTrack::setCovarianceMatrix(), TotemRPLocalTrack::setParameterVector(), TotemRPLocalTrack::setValid(), TotemRPLocalTrack::setZ0(), mathSSE::sqrt(), TotemRPLocalTrack::trackPointInterpolationCovariance(), mitigatedMETSequence_cff::U, and JetChargeProducer_cfi::var.
Referenced by TotemRPLocalTrackFitter::produce().
|
private |
Returns the reconstruction data for the chosen detector from the cache DetReconstructionDataMap. If it is not yet in the cache, calls PrepareReconstAlgebraData to make it.
Definition at line 65 of file TotemRPLocalTrackFitterAlgorithm.cc.
|
private |
A matrix multiplication shorthand.
Definition at line 187 of file TotemRPLocalTrackFitterAlgorithm.cc.
References mps_fire::i.
|
private |
Build the reconstruction data.
Definition at line 38 of file TotemRPLocalTrackFitterAlgorithm.cc.
References TotemRPLocalTrackFitterAlgorithm::RPDetCoordinateAlgebraObjs::available_, TotemRPLocalTrackFitterAlgorithm::RPDetCoordinateAlgebraObjs::centre_of_det_global_position_, TotemRPGeometry::GetDetTranslation(), TotemRPGeometry::LocalToGlobalDirection(), TotemRPLocalTrackFitterAlgorithm::RPDetCoordinateAlgebraObjs::readout_direction_, TotemRPLocalTrackFitterAlgorithm::RPDetCoordinateAlgebraObjs::rec_u_0_, and findQualityFiles::v.
void TotemRPLocalTrackFitterAlgorithm::reset | ( | void | ) |
Resets the reconstruction-data cache.
Definition at line 30 of file TotemRPLocalTrackFitterAlgorithm.cc.
Referenced by TotemRPLocalTrackFitter::produce().
|
private |
A cache of reconstruction data. Must be reset every time the geometry chagnges.
Definition at line 53 of file TotemRPLocalTrackFitterAlgorithm.h.
|
private |
Definition at line 55 of file TotemRPLocalTrackFitterAlgorithm.h.