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 32 of file TotemRPLocalTrackFitterAlgorithm.h.
TotemRPLocalTrackFitterAlgorithm::TotemRPLocalTrackFitterAlgorithm | ( | const edm::ParameterSet & | conf | ) |
Definition at line 23 of file TotemRPLocalTrackFitterAlgorithm.cc.
|
inlinestaticprivate |
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 64 of file TotemRPLocalTrackFitterAlgorithm.cc.
References a, TotemRPLocalTrack::addHit(), TotemRPLocalTrackFitterAlgorithm::RPDetCoordinateAlgebraObjs::available_, TotemRPLocalTrackFitterAlgorithm::RPDetCoordinateAlgebraObjs::centre_of_det_global_position_, hcalRecHitTable_cff::detId, 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 51 of file TotemRPLocalTrackFitterAlgorithm.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it.
|
private |
A matrix multiplication shorthand.
Definition at line 165 of file TotemRPLocalTrackFitterAlgorithm.cc.
References mps_fire::i, dqmiolumiharvest::j, and TtSemiLepEvtBuilder_cfi::mt.
|
private |
Build the reconstruction data.
Definition at line 32 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 27 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 54 of file TotemRPLocalTrackFitterAlgorithm.h.
|
private |
Definition at line 56 of file TotemRPLocalTrackFitterAlgorithm.h.