22#include "GaudiKernel/GaudiException.h"
51 using elParams = std::pair<egammaParameters::ParamDef, double>;
54 std::vector<elParams>::const_iterator p =
m_parameters.begin();
57 if ( (*p).first == key ) {
72 using elParams = std::pair<egammaParameters::ParamDef, double>;
74 std::vector<elParams>::iterator p =
m_parameters.begin();
77 if ( (*p).first == key )
break;
88 throw GaudiException(
"parameter not saved",
"EMBremFit::set_parameter(...)", StatusCode::FAILURE);
98 using elParams = std::pair<egammaParameters::ParamDef, int>;
104 if ( (*p).first == key ){
115 using elParams = std::pair<egammaParameters::ParamDef, int>;
120 if ( (*p).first == key )
break;
131 throw GaudiException(
"parameter not saved",
"EMBremFit::set_parameter(...)", StatusCode::FAILURE);
150 std::cout <<
" " << std::endl;
An interface for getting the name of a class as a string.
Provide an interface for finding inheritance information at run time.
#define SG_ADD_BASE(D, B)
Add a new base class B to class D.
static std::string name()
Return the name of class T as a string.
EMBremFit is made by EMBremsstrahlungBuilder.
int bremNR() const
number of R hits included in the EMBremFit
int linkIndex() const
Index of track this EMBremFit belongs to.
float bremZ0() const
the z value at the point of closest approach after EMBremFit
float bremD0() const
transverse impact parameter (distance of closest approach) after EMBremFit
virtual bool hasParameter(egammaParameters::ParamDef) const
virtual bool hasIntParameter(egammaParameters::ParamDef) const
checks if the parameter is integer
int bremErrorFlag() const
Flag to tell why the EMBremFit was not called.
float bremDzDr() const
1/tan(theta) of the track after EMBremFit
float bremInvpTerr() const
error associated to 1/pT by EMBremFit
void BremClusterRadius(float)
int bremNZ() const
number of Z hits included in the EMBremFit
virtual const std::string & className() const
float bremX() const
EMBremFit track impact in 2nd.
virtual double parameter(egammaParameters::ParamDef) const
int bremNTRT() const
number of TRT hits included in the EMBremFit
void set_parameter(egammaParameters::ParamDef, double, bool overwrite=false)
general set method for parameters
std::vector< std::pair< egammaParameters::ParamDef, int > > m_parametersInt
std::vector< std::pair< egammaParameters::ParamDef, double > > m_parameters
float bremRadius() const
estimated brem radius from EMBremFit (mm) [x-y plane]
EMBremFit()
Default constructor.
virtual int intParameter(egammaParameters::ParamDef) const
float bremFitChi2() const
chi2 of EMBremFit
static const std::string s_className
int bremFitStatus() const
Minuit EMBremFit fit status.
void set_parameterInt(egammaParameters::ParamDef, int, bool overwrite=false)
float bremInvpT() const
1/pT estimate according to EMBremFit
float bremPhi0() const
azimuth angle of the momentum at the point of closest approach after EMBremFit
float bremClusterRadius() const
cluster radius (mm) [x-y plane] from EMBremFit (depth)
Base class for detailed egamma information.
egDetail()=default
Default constructor.
@ bremNTRT
number of TRT hits included in the EMBremFit
@ bremFitStatus
Minuit EMBremFit fit status.
@ bremNR
number of R hits included in the EMBremFit
@ bremRadius
estimated brem radius from EMBremFit (mm) [x-y plane]
@ bremErrorFlag
Flag to tell why the EMBremFit was not called.
@ bremD0
transverse impact parameter (distance of closest approach) after EMBremFit
@ bremInvpTerr
error associated to 1/pT by EMBremFit
@ bremDzDr
1/tan(theta) of the track after EMBremFit
@ bremZ0
the z value at the point of closest approach after EMBremFit
@ linkIndex
link index for multiple track and vertex matches
@ bremClusterRadius
cluster radius (mm) [x-y plane] from EMBremFit (depth)
@ bremNZ
number of Z hits included in the EMBremFit
@ bremInvpT
1/pT estimate according to EMBremFit
@ bremX
EMBremFit track impact in 2nd sampling - cluster distance (mm): Delta phi(EMBremFit track impact in 2...
@ bremFitChi2
chi2 of EMBremFit
@ bremPhi0
azimuth angle of the momentum at the point of closest approach after EMBremFit
const double EgParamUndefined