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 CTPPSGeometry &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 CTPPSGeometry &tot_rp_geom) |
void | multiplyByDiagonalInPlace (TMatrixD &mt, const TVectorD &diag) |
A matrix multiplication shorthand. More... | |
RPDetCoordinateAlgebraObjs | prepareReconstAlgebraData (unsigned int det_id, const CTPPSGeometry &tot_rp_geom) |
Build the reconstruction data. More... | |
Static Private Member Functions | |
static TVector3 | convert3vector (const CTPPSGeometry::Vector &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 31 of file TotemRPLocalTrackFitterAlgorithm.h.
TotemRPLocalTrackFitterAlgorithm::TotemRPLocalTrackFitterAlgorithm | ( | const edm::ParameterSet & | conf | ) |
Definition at line 22 of file TotemRPLocalTrackFitterAlgorithm.cc.
|
inlinestaticprivate |
Definition at line 73 of file TotemRPLocalTrackFitterAlgorithm.h.
bool TotemRPLocalTrackFitterAlgorithm::fitTrack | ( | const edm::DetSetVector< TotemRPRecHit > & | hits, |
double | z_0, | ||
const CTPPSGeometry & | tot_geom, | ||
TotemRPLocalTrack & | fitted_track | ||
) |
performs the track fit, returns true if successful
Definition at line 63 of file TotemRPLocalTrackFitterAlgorithm.cc.
References a, TotemRPLocalTrack::addHit(), TotemRPLocalTrackFitterAlgorithm::RPDetCoordinateAlgebraObjs::available_, TotemRPLocalTrackFitterAlgorithm::RPDetCoordinateAlgebraObjs::centre_of_det_global_position_, MillePedeFileConverter_cfg::e, h, data-class-funcs::H, hfClusterShapes_cfi::hits, 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::trackPoint(), TotemRPLocalTrack::trackPointInterpolationCovariance(), mitigatedMETSequence_cff::U, cms::cuda::V, and trigObjTnPSource_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 50 of file TotemRPLocalTrackFitterAlgorithm.cc.
|
private |
A matrix multiplication shorthand.
Definition at line 164 of file TotemRPLocalTrackFitterAlgorithm.cc.
References mps_fire::i, dqmiolumiharvest::j, and TtSemiLepEvtBuilder_cfi::mt.
|
private |
Build the reconstruction data.
Definition at line 31 of file TotemRPLocalTrackFitterAlgorithm.cc.
References TotemRPLocalTrackFitterAlgorithm::RPDetCoordinateAlgebraObjs::available_, TotemRPLocalTrackFitterAlgorithm::RPDetCoordinateAlgebraObjs::centre_of_det_global_position_, CTPPSGeometry::localToGlobalDirection(), TotemRPLocalTrackFitterAlgorithm::RPDetCoordinateAlgebraObjs::readout_direction_, TotemRPLocalTrackFitterAlgorithm::RPDetCoordinateAlgebraObjs::rec_u_0_, CTPPSGeometry::sensorTranslation(), and findQualityFiles::v.
void TotemRPLocalTrackFitterAlgorithm::reset | ( | void | ) |
Resets the reconstruction-data cache.
Definition at line 26 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 59 of file TotemRPLocalTrackFitterAlgorithm.h.
|
private |
Definition at line 61 of file TotemRPLocalTrackFitterAlgorithm.h.