![]() |
ATLAS Offline Software
|
Contains the fit result with addtional brem information EMTrackFit is made by EMTrkRefitter. More...
#include <EMTrackFit.h>
Public Member Functions | |
| EMTrackFit () | |
| Default constructor. | |
| virtual | ~EMTrackFit ()=default |
| Destructor. | |
| virtual const std::string & | className () const |
| virtual int | intParameter (egammaParameters::ParamDef) const |
| virtual double | parameter (egammaParameters::ParamDef) const |
| virtual bool | hasParameter (egammaParameters::ParamDef) const |
| virtual bool | hasIntParameter (egammaParameters::ParamDef) const |
| checks if the parameter is integer | |
| void | set_parameter (egammaParameters::ParamDef, double, bool overwrite=false) |
| general set method for parameters | |
| void | fillDetails (Trk::Track *track) |
| Fill the details of the object from a Trk::Track. | |
| const Trk::Perigee * | getMeasuredPerigee () const |
| returns the MeasuredPerigee from the stored egammaParameters | |
| double | track_perigee_d0 () const |
| transverse impact parameter (distance of closest approach) after Track Refit | |
| double | track_perigee_phi0 () const |
| azimuth angle of the momentum at the point of closest approach after Track Refit | |
| double | track_perigee_qOverP () const |
| 1/pT estimate according to Track Refit | |
| double | track_perigee_z0 () const |
| the z value at the point of closest approach after Track Refit | |
| double | track_perigee_theta () const |
| theta of the track after EMTrackFit | |
| double | track_perigee_Covd0d0 () const |
| Covariance matrix item ( \( \d_0,\d_0 \)) | |
| double | track_perigee_Covd0z0 () const |
| Covariance matrix item ( \( \d_0,\z_0 \)) | |
| double | track_perigee_Covd0phi () const |
| Covariance matrix item ( \( \d_0,\phi_0 \)) | |
| double | track_perigee_Covd0theta () const |
| Covariance matrix item (d0,theta) | |
| double | track_perigee_Covd0qOverP () const |
| Covariance matrix item (d0,q/p) | |
| double | track_perigee_Covz0z0 () const |
| Covariance matrix item (z0,z0) | |
| double | track_perigee_Covz0phi () const |
| Covariance matrix item (z0,phi) | |
| double | track_perigee_Covz0theta () const |
| Covariance matrix item (z0,theta) | |
| double | track_perigee_Covz0qOverP () const |
| Covariance matrix item (z0,q/p) | |
| double | track_perigee_Covphiphi () const |
| Covariance matrix item (phi,phi) | |
| double | track_perigee_Covphitheta () const |
| Covariance matrix item (phi,theta) | |
| double | track_perigee_CovphiqOverP () const |
| Covariance matrix item (phi,q/P) | |
| double | track_perigee_Covthetatheta () const |
| Covariance matrix item (theta,theta) | |
| double | track_perigee_CovthetaqOverP () const |
| Covariance matrix item (theta,q/P) | |
| double | track_perigee_CovqOverPqOverP () const |
| Covariance matrix item (q/P,q/P) | |
| double | track_LastM_loc1 () const |
| Last Measurment Surface Local Position 1 after Track Refit. | |
| double | track_LastM_loc2 () const |
| Last Measurment Surface Local Position 2 after Track Refit. | |
| double | track_LastM_phi () const |
| Last Measurment Surface azimuth angle after Track Refit. | |
| double | track_LastM_theta () const |
| Last Measurment Surface theta after Track Refit. | |
| double | track_LastM_qOverP () const |
| Last Measurment Surface q/pT estimate according to Track Refit. | |
| int | bremTrackAuthor () const |
| Track Author enum as Defined in Track/Track.h. | |
| int | hasBrem () const |
| The Number of brems identified by the track fitter. | |
| double | bremRadius () const |
| estimated brem radius from EMTrackFit (mm) [x-y plane] (weighted average if more than one brem) | |
| double | bremRadiusErr () const |
| estimated brem radius uncertainty | |
| double | bremDeltaZ () const |
| Fraction of the measured perigee momentum retained after brem. | |
| double | bremDeltaZerr () const |
| Error on the fraction of the energy lost after the brem. | |
| double | bremMaterialTraversed () const |
| Amount of Material seen by the particle according to the track fitter (in X0) | |
| double | bremFitChi2 () const |
| Fit Chi2/nDoF. | |
| int | bremFitStatus () const |
| Bremfit Status 1 Reached Iteration Limit, 0 Converged, -1 recheached iteration limit, -2 other. | |
| int | linkIndex () const |
| Index of track this EMTrackFit is associated with. | |
| void | bremTrackAuthor (int) |
| Set Track Author enum as Defined in Track/Track.h. | |
| void | hasBrem (int) |
| The Number of brems identified by the track fitter. | |
| void | bremRadius (double) |
| estimated brem radius from EMTrackFit (mm) [x-y plane] (weighted average if more than one brem) | |
| void | bremRadiusErr (double) |
| estimated brem radius uncertainty | |
| void | bremDeltaZ (double) |
| Fraction of the measured perigee momentum lost. | |
| void | bremDeltaZerr (double) |
| Error on the Fraction of the measured perigee momentum lost. | |
| void | bremMaterialTraversed (double) |
| Set the amount of material seen by the particle according to the track fitter (in X0) | |
| void | track_perigee_d0 (double) |
| Set the transverse impact parameter (distance of closest approach) after Track Refit. | |
| void | track_perigee_phi0 (double) |
| Set the azimuth angle of the momentum at the point of closest approach after Track Refit. | |
| void | track_perigee_qOverP (double) |
| Set the 1/pT estimate according to Track Refit. | |
| void | track_perigee_z0 (double) |
| Set the the z value at the point of closest approach after Track Refit. | |
| void | track_perigee_theta (double) |
| Set the theta of the track after EMTrackFit. | |
| void | track_perigee_Covd0d0 (double) |
| Set the Covariance matrix item (d0,d0) | |
| void | track_perigee_Covd0z0 (double) |
| Set the Covariance matrix item (d0,z0) | |
| void | track_perigee_Covd0phi (double) |
| Set the Covariance matrix item (d0,phi) | |
| void | track_perigee_Covd0theta (double) |
| Set the Covariance matrix item (d0,theta) | |
| void | track_perigee_Covd0qOverP (double) |
| Set the Covariance matrix item (d0,q/p) | |
| void | track_perigee_Covz0z0 (double) |
| Set the Covariance matrix item (z0,z0) | |
| void | track_perigee_Covz0phi (double) |
| Set the Covariance matrix item (z0,phi) | |
| void | track_perigee_Covz0theta (double) |
| Set the Covariance matrix item (z0,theta) | |
| void | track_perigee_Covz0qOverP (double) |
| Set the Covariance matrix item (z0,q/p) | |
| void | track_perigee_Covphiphi (double) |
| Set the Covariance matrix item (phi,phi) | |
| void | track_perigee_Covphitheta (double) |
| Set the Covariance matrix item (phi,theta) | |
| void | track_perigee_CovphiqOverP (double) |
| Set the Covariance matrix item (phi,q/P) | |
| void | track_perigee_Covthetatheta (double) |
| Set the Covariance matrix item (theta,theta) | |
| void | track_perigee_CovthetaqOverP (double) |
| Set the Covariance matrix item (theta,q/P) | |
| void | track_perigee_CovqOverPqOverP (double) |
| Set the Covariance matrix item (q/P,q/P) | |
| void | track_LastM_loc1 (double) |
| Set the Last Measurment Surface Local Position 1 after Track Refit. | |
| void | track_LastM_loc2 (double) |
| Set the Last Measurment Surface Local Position 2 after Track Refit. | |
| void | track_LastM_phi (double) |
| Set the Last Measurment Surface azimuth angle after Track Refit. | |
| void | track_LastM_theta (double) |
| Set the Last Measurment Surface theta after Track Refit. | |
| void | track_LastM_qOverP (double) |
| Set the Last Measurment Surface q/pT estimate according to Track Refit. | |
| void | bremFitChi2 (double) |
| Set the Chi2/nDoF of the fit. | |
| void | bremFitStatus (int) |
| Set Bremfit Status 0 Converged, -1 recheached iteration limit, -2 other. | |
| void | set_linkIndex (int) |
| Index of track this EMTrackFit is associated with. | |
| virtual bool | boolParameter (egammaParameters::ParamDef) const |
| virtual bool | hasBoolParameter (egammaParameters::ParamDef) const |
Private Member Functions | |
| bool | fillPerigeeParamters (const Trk::Perigee *trackParameters) |
| Fill the perigree parameter details. | |
| bool | fillPerigeeErrors (const AmgSymMatrix(5) *) |
| Fill the perigree error details. | |
| void | fillBrems (Trk::Track *track) |
| Fill in brem information from a Trk::Track. | |
| void | fillLastMeasurement (Trk::Track *track) |
| Obtains the last measurment on the Track and fills details into the object. | |
| AmgSymMatrix (5) getErrorMatrix() const | |
| Returns the ErrorMatrix of the perigee of the associated track. | |
| void | set_parameterInt (egammaParameters::ParamDef, int, bool overwrite=false) |
Private Attributes | |
| std::vector< std::pair< egammaParameters::ParamDef, double > > | m_parameters |
| std::vector< std::pair< egammaParameters::ParamDef, int > > | m_parametersInt |
Static Private Attributes | |
| static const std::string | s_className = ClassName<EMTrackFit>::name() |
Contains the fit result with addtional brem information EMTrackFit is made by EMTrkRefitter.
It is responsible for bremsstrahlung recovery using inner detector track refitting. It re-calculates track pT accounting for energy of the photons emmitted in a hard bremsstrahlung.
Definition at line 34 of file EMTrackFit.h.
| EMTrackFit::EMTrackFit | ( | ) |
Default constructor.
Definition at line 41 of file EMTrackFit.cxx.
|
virtualdefault |
Destructor.
|
private |
Returns the ErrorMatrix of the perigee of the associated track.
If there is no associated track the error matrix will be 0
|
virtualinherited |
Reimplemented in EMConvert, and EMTrackMatch.
Definition at line 19 of file egDetail.cxx.
| double EMTrackFit::bremDeltaZ | ( | ) | const |
Fraction of the measured perigee momentum retained after brem.
Definition at line 465 of file EMTrackFit.cxx.
| void EMTrackFit::bremDeltaZ | ( | double | x | ) |
Fraction of the measured perigee momentum lost.
Definition at line 473 of file EMTrackFit.cxx.
| double EMTrackFit::bremDeltaZerr | ( | ) | const |
Error on the fraction of the energy lost after the brem.
Definition at line 466 of file EMTrackFit.cxx.
| void EMTrackFit::bremDeltaZerr | ( | double | x | ) |
Error on the Fraction of the measured perigee momentum lost.
Definition at line 474 of file EMTrackFit.cxx.
| double EMTrackFit::bremFitChi2 | ( | ) | const |
| void EMTrackFit::bremFitChi2 | ( | double | x | ) |
| int EMTrackFit::bremFitStatus | ( | ) | const |
Bremfit Status 1 Reached Iteration Limit, 0 Converged, -1 recheached iteration limit, -2 other.
Definition at line 480 of file EMTrackFit.cxx.
| void EMTrackFit::bremFitStatus | ( | int | x | ) |
Set Bremfit Status 0 Converged, -1 recheached iteration limit, -2 other.
Definition at line 481 of file EMTrackFit.cxx.
| double EMTrackFit::bremMaterialTraversed | ( | ) | const |
Amount of Material seen by the particle according to the track fitter (in X0)
Definition at line 467 of file EMTrackFit.cxx.
| void EMTrackFit::bremMaterialTraversed | ( | double | x | ) |
Set the amount of material seen by the particle according to the track fitter (in X0)
Definition at line 475 of file EMTrackFit.cxx.
| double EMTrackFit::bremRadius | ( | ) | const |
estimated brem radius from EMTrackFit (mm) [x-y plane] (weighted average if more than one brem)
Definition at line 463 of file EMTrackFit.cxx.
| void EMTrackFit::bremRadius | ( | double | x | ) |
estimated brem radius from EMTrackFit (mm) [x-y plane] (weighted average if more than one brem)
Definition at line 471 of file EMTrackFit.cxx.
| double EMTrackFit::bremRadiusErr | ( | ) | const |
estimated brem radius uncertainty
Definition at line 464 of file EMTrackFit.cxx.
| void EMTrackFit::bremRadiusErr | ( | double | x | ) |
| int EMTrackFit::bremTrackAuthor | ( | ) | const |
Track Author enum as Defined in Track/Track.h.
N.B. 50 for brem track fit
Definition at line 460 of file EMTrackFit.cxx.
| void EMTrackFit::bremTrackAuthor | ( | int | x | ) |
|
virtual |
|
private |
Fill in brem information from a Trk::Track.
Definition at line 161 of file EMTrackFit.cxx.
| void EMTrackFit::fillDetails | ( | Trk::Track * | track | ) |
Fill the details of the object from a Trk::Track.
Definition at line 148 of file EMTrackFit.cxx.
|
private |
Obtains the last measurment on the Track and fills details into the object.
DataVector< const Trk::TrackParameters >::const_reverse_iterator lastTrkParameters = track->trackParameters()->rbegin(); DataVector< const Trk::TrackParameters >::const_iterator firstTrkParameters = track->trackParameters()->begin();
if (!(*lastTrkParameters)) return; if (!(*firstTrkParameters)) return;
Check the position of the last surface const Trk::GlobalPosition& posOnSurf = (*lastTrkParameters)->position(); double finalRadius = posOnSurf.perp();
const Trk::GlobalPosition& firstposOnSurf = (*firstTrkParameters)->position(); double firstRadius = firstposOnSurf.perp();
Assuming if that the trejectry has been filled in some kind of order flip if (firstRadius > finalRadius){ trkPara = (*firstTrkParameters); } else { trkPara = (*lastTrkParameters); }
Definition at line 212 of file EMTrackFit.cxx.
|
private |
Fill the perigree error details.
Definition at line 282 of file EMTrackFit.cxx.
|
private |
Fill the perigree parameter details.
Definition at line 263 of file EMTrackFit.cxx.
| const Trk::Perigee * EMTrackFit::getMeasuredPerigee | ( | ) | const |
returns the MeasuredPerigee from the stored egammaParameters
|
virtualinherited |
Reimplemented in EMConvert, and EMTrackMatch.
Definition at line 34 of file egDetail.cxx.
| int EMTrackFit::hasBrem | ( | ) | const |
The Number of brems identified by the track fitter.
Definition at line 462 of file EMTrackFit.cxx.
| void EMTrackFit::hasBrem | ( | int | x | ) |
|
virtual |
checks if the parameter is integer
Reimplemented from egDetail.
|
virtual |
Reimplemented from egDetail.
|
virtual |
Reimplemented from egDetail.
Definition at line 105 of file EMTrackFit.cxx.
|
virtual |
Index of track this EMTrackFit is associated with.
Reimplemented from egDetail.
Definition at line 483 of file EMTrackFit.cxx.
|
virtual |
Reimplemented from egDetail.
Definition at line 53 of file EMTrackFit.cxx.
|
virtual |
Index of track this EMTrackFit is associated with.
Reimplemented from egDetail.
Definition at line 484 of file EMTrackFit.cxx.
| void EMTrackFit::set_parameter | ( | egammaParameters::ParamDef | key, |
| double | value, | ||
| bool | overwrite = false ) |
general set method for parameters
Definition at line 76 of file EMTrackFit.cxx.
|
private |
Definition at line 123 of file EMTrackFit.cxx.
| double EMTrackFit::track_LastM_loc1 | ( | ) | const |
| void EMTrackFit::track_LastM_loc1 | ( | double | x | ) |
Set the Last Measurment Surface Local Position 1 after Track Refit.
Definition at line 454 of file EMTrackFit.cxx.
| double EMTrackFit::track_LastM_loc2 | ( | ) | const |
| void EMTrackFit::track_LastM_loc2 | ( | double | x | ) |
Set the Last Measurment Surface Local Position 2 after Track Refit.
Definition at line 455 of file EMTrackFit.cxx.
| double EMTrackFit::track_LastM_phi | ( | ) | const |
| void EMTrackFit::track_LastM_phi | ( | double | x | ) |
Set the Last Measurment Surface azimuth angle after Track Refit.
Definition at line 456 of file EMTrackFit.cxx.
| double EMTrackFit::track_LastM_qOverP | ( | ) | const |
| void EMTrackFit::track_LastM_qOverP | ( | double | x | ) |
Set the Last Measurment Surface q/pT estimate according to Track Refit.
Definition at line 458 of file EMTrackFit.cxx.
| void EMTrackFit::track_LastM_theta | ( | double | x | ) |
Set the Last Measurment Surface theta after Track Refit.
Definition at line 457 of file EMTrackFit.cxx.
| double EMTrackFit::track_perigee_Covd0d0 | ( | ) | const |
Covariance matrix item ( \( \d_0,\d_0 \))
| void EMTrackFit::track_perigee_Covd0d0 | ( | double | x | ) |
Set the Covariance matrix item (d0,d0)
Definition at line 438 of file EMTrackFit.cxx.
| double EMTrackFit::track_perigee_Covd0phi | ( | ) | const |
Covariance matrix item ( \( \d_0,\phi_0 \))
| void EMTrackFit::track_perigee_Covd0phi | ( | double | x | ) |
Set the Covariance matrix item (d0,phi)
Definition at line 440 of file EMTrackFit.cxx.
| double EMTrackFit::track_perigee_Covd0qOverP | ( | ) | const |
Covariance matrix item (d0,q/p)
| void EMTrackFit::track_perigee_Covd0qOverP | ( | double | x | ) |
Set the Covariance matrix item (d0,q/p)
Definition at line 442 of file EMTrackFit.cxx.
| double EMTrackFit::track_perigee_Covd0theta | ( | ) | const |
Covariance matrix item (d0,theta)
| void EMTrackFit::track_perigee_Covd0theta | ( | double | x | ) |
Set the Covariance matrix item (d0,theta)
Definition at line 441 of file EMTrackFit.cxx.
| double EMTrackFit::track_perigee_Covd0z0 | ( | ) | const |
Covariance matrix item ( \( \d_0,\z_0 \))
| void EMTrackFit::track_perigee_Covd0z0 | ( | double | x | ) |
Set the Covariance matrix item (d0,z0)
Definition at line 439 of file EMTrackFit.cxx.
| double EMTrackFit::track_perigee_Covphiphi | ( | ) | const |
Covariance matrix item (phi,phi)
| void EMTrackFit::track_perigee_Covphiphi | ( | double | x | ) |
Set the Covariance matrix item (phi,phi)
Definition at line 447 of file EMTrackFit.cxx.
| double EMTrackFit::track_perigee_CovphiqOverP | ( | ) | const |
Covariance matrix item (phi,q/P)
| void EMTrackFit::track_perigee_CovphiqOverP | ( | double | x | ) |
Set the Covariance matrix item (phi,q/P)
Definition at line 449 of file EMTrackFit.cxx.
| double EMTrackFit::track_perigee_Covphitheta | ( | ) | const |
Covariance matrix item (phi,theta)
| void EMTrackFit::track_perigee_Covphitheta | ( | double | x | ) |
Set the Covariance matrix item (phi,theta)
Definition at line 448 of file EMTrackFit.cxx.
| double EMTrackFit::track_perigee_CovqOverPqOverP | ( | ) | const |
Covariance matrix item (q/P,q/P)
| void EMTrackFit::track_perigee_CovqOverPqOverP | ( | double | x | ) |
Set the Covariance matrix item (q/P,q/P)
Definition at line 452 of file EMTrackFit.cxx.
| double EMTrackFit::track_perigee_CovthetaqOverP | ( | ) | const |
Covariance matrix item (theta,q/P)
| void EMTrackFit::track_perigee_CovthetaqOverP | ( | double | x | ) |
Set the Covariance matrix item (theta,q/P)
Definition at line 451 of file EMTrackFit.cxx.
| double EMTrackFit::track_perigee_Covthetatheta | ( | ) | const |
Covariance matrix item (theta,theta)
| void EMTrackFit::track_perigee_Covthetatheta | ( | double | x | ) |
Set the Covariance matrix item (theta,theta)
Definition at line 450 of file EMTrackFit.cxx.
| double EMTrackFit::track_perigee_Covz0phi | ( | ) | const |
Covariance matrix item (z0,phi)
| void EMTrackFit::track_perigee_Covz0phi | ( | double | x | ) |
Set the Covariance matrix item (z0,phi)
Definition at line 444 of file EMTrackFit.cxx.
| double EMTrackFit::track_perigee_Covz0qOverP | ( | ) | const |
Covariance matrix item (z0,q/p)
| void EMTrackFit::track_perigee_Covz0qOverP | ( | double | x | ) |
Set the Covariance matrix item (z0,q/p)
Definition at line 446 of file EMTrackFit.cxx.
| double EMTrackFit::track_perigee_Covz0theta | ( | ) | const |
Covariance matrix item (z0,theta)
| void EMTrackFit::track_perigee_Covz0theta | ( | double | x | ) |
Set the Covariance matrix item (z0,theta)
Definition at line 445 of file EMTrackFit.cxx.
| double EMTrackFit::track_perigee_Covz0z0 | ( | ) | const |
Covariance matrix item (z0,z0)
| void EMTrackFit::track_perigee_Covz0z0 | ( | double | x | ) |
Set the Covariance matrix item (z0,z0)
Definition at line 443 of file EMTrackFit.cxx.
| double EMTrackFit::track_perigee_d0 | ( | ) | const |
transverse impact parameter (distance of closest approach) after Track Refit
| void EMTrackFit::track_perigee_d0 | ( | double | ) |
| double EMTrackFit::track_perigee_phi0 | ( | ) | const |
azimuth angle of the momentum at the point of closest approach after Track Refit
| void EMTrackFit::track_perigee_phi0 | ( | double | x | ) |
Set the azimuth angle of the momentum at the point of closest approach after Track Refit.
Definition at line 433 of file EMTrackFit.cxx.
| double EMTrackFit::track_perigee_qOverP | ( | ) | const |
1/pT estimate according to Track Refit
| void EMTrackFit::track_perigee_qOverP | ( | double | x | ) |
Set the 1/pT estimate according to Track Refit.
Definition at line 434 of file EMTrackFit.cxx.
| double EMTrackFit::track_perigee_theta | ( | ) | const |
theta of the track after EMTrackFit
| void EMTrackFit::track_perigee_theta | ( | double | x | ) |
Set the theta of the track after EMTrackFit.
Definition at line 436 of file EMTrackFit.cxx.
| double EMTrackFit::track_perigee_z0 | ( | ) | const |
the z value at the point of closest approach after Track Refit
| void EMTrackFit::track_perigee_z0 | ( | double | x | ) |
Set the the z value at the point of closest approach after Track Refit.
Definition at line 435 of file EMTrackFit.cxx.
|
private |
Definition at line 243 of file EMTrackFit.h.
|
private |
Definition at line 244 of file EMTrackFit.h.
|
staticprivate |
Definition at line 245 of file EMTrackFit.h.