10 #ifndef RecoCTPPS_TotemRPLocal_TotemRPLocalTrackFitterAlgorithm
11 #define RecoCTPPS_TotemRPLocal_TotemRPLocalTrackFitterAlgorithm
25 #include <unordered_map>
53 std::unordered_map<unsigned int, RPDetCoordinateAlgebraObjs>
det_data_map_;
69 return TVector3(v.x(),v.y(),v.z()) ;
void multiplyByDiagonalInPlace(TMatrixD &mt, const TVectorD &diag)
A matrix multiplication shorthand.
TVector3 centre_of_det_global_position_
void reset()
Resets the reconstruction-data cache.
std::unordered_map< unsigned int, RPDetCoordinateAlgebraObjs > det_data_map_
A cache of reconstruction data. Must be reset every time the geometry chagnges.
TVector2 readout_direction_
non paralell projection and rot_cor included
A track fit through a single RP.
bool available_
if det should be included in the reconstruction
RPDetCoordinateAlgebraObjs prepareReconstAlgebraData(unsigned int det_id, const TotemRPGeometry &tot_rp_geom)
Build the reconstruction data.
double rec_u_0_
in mm, position of det. centre projected on readout direction
TotemRPLocalTrackFitterAlgorithm(const edm::ParameterSet &conf)
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
Algorithm for fitting tracks through a single RP.
The manager class for TOTEM RP geometry.
Geometrical and topological information on RP silicon detector. Uses coordinate a frame with origin i...
static TVector3 convert3vector(const CLHEP::Hep3Vector &v)
RPDetCoordinateAlgebraObjs * getDetAlgebraData(unsigned int det_id, const TotemRPGeometry &tot_rp_geom)