5 switch ( identifier ) {
34 default:
std::cout <<
"Error: wrong identifier = " << identifier << std::endl;
exit(1);
40 switch ( identifier ) {
69 default:
std::cout <<
"Error: wrong identifier = " << identifier << std::endl;
exit(1);
75 switch ( identifier ) {
84 default:
std::cout <<
"Error: undefined smear type = " << identifier << std::endl;
exit(1);
break;
90 switch ( identifier ) {
91 case ( 0 ):
std::cout <<
"Error: resolution function type " << identifier <<
" not defined" << std::endl;
exit(1);
break;
93 case ( 2 ):
std::cout <<
"Error: resolution function type " << identifier <<
" not defined" << std::endl;
exit(1);
break;
94 case ( 3 ):
std::cout <<
"Error: resolution function type " << identifier <<
" not defined" << std::endl;
exit(1);
break;
95 case ( 4 ):
std::cout <<
"Error: resolution function type " << identifier <<
" not defined" << std::endl;
exit(1);
break;
96 case ( 5 ):
std::cout <<
"Error: resolution function type " << identifier <<
" not defined" << std::endl;
exit(1);
break;
112 default:
std::cout <<
"Error: undefined resolution type = " << identifier << std::endl;
exit(1);
break;
118 switch ( identifier ) {
119 case ( 0 ):
std::cout <<
"Error: resolution function type " << identifier <<
" not defined" << std::endl;
exit(1);
break;
121 case ( 2 ):
std::cout <<
"Error: resolution function type " << identifier <<
" not defined" << std::endl;
exit(1);
break;
122 case ( 3 ):
std::cout <<
"Error: resolution function type " << identifier <<
" not defined" << std::endl;
exit(1);
break;
123 case ( 4 ):
std::cout <<
"Error: resolution function type " << identifier <<
" not defined" << std::endl;
exit(1);
break;
124 case ( 5 ):
std::cout <<
"Error: resolution function type " << identifier <<
" not defined" << std::endl;
exit(1);
break;
140 default:
std::cout <<
"Error: undefined resolution type = " << identifier << std::endl;
exit(1);
break;
146 switch ( identifier ) {
147 case ( 0 ):
std::cout <<
"Error: background function type " << identifier <<
" not defined" << std::endl;
exit(1);
break;
153 default:
std::cout <<
"Error: undefined background function type = " << identifier << std::endl;
exit(1);
break;
scaleFunctionBase< double * > * scaleFunctionService(const int identifier)
Service to build the scale functor corresponding to the passed identifier.
This is resolution function where sigmaPt/Pt is described by f(Pt) = a + b/pt + pt/(pt+c)and f(Eta) =...
resolutionFunctionBase< std::vector< double > > * resolutionFunctionVecService(const int identifier)
Service to build the resolution functor corresponding to the passed identifier when receiving a std::...
Exponential with eta dependence.
smearFunctionBase * smearFunctionService(const int identifier)
Service to build the smearing functor corresponding to the passed identifier.
scaleFunctionBase< std::vector< double > > * scaleFunctionVecService(const int identifier)
Service to build the scale functor corresponding to the passed identifier when receiving a std::vecto...
Linear with eta dependence.
This is resolution function where sigmaPt/Pt is described by f(Pt) = polynomial(4th grade) and f(Eta)...
resolutionFunctionBase< double * > * resolutionFunctionService(const int identifier)
Service to build the resolution functor corresponding to the passed identifier.
backgroundFunctionBase * backgroundFunctionService(const int identifier, const double &lowerLimit, const double &upperLimit)
Service to build the background functor corresponding to the passed identifier.