5 switch ( identifier ) {
48 default:
std::cout <<
"Error: wrong identifier = " << identifier << std::endl;
exit(1);
54 switch ( identifier ) {
97 default:
std::cout <<
"Error: wrong identifier = " << identifier << std::endl;
exit(1);
103 switch ( identifier ) {
112 default:
std::cout <<
"Error: undefined smear 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;
152 default:
std::cout <<
"Error: undefined resolution type = " << identifier << std::endl;
exit(1);
break;
158 switch ( identifier ) {
159 case ( 0 ):
std::cout <<
"Error: resolution function type " << identifier <<
" not defined" << std::endl;
exit(1);
break;
161 case ( 2 ):
std::cout <<
"Error: resolution function type " << identifier <<
" not defined" << std::endl;
exit(1);
break;
162 case ( 3 ):
std::cout <<
"Error: resolution function type " << identifier <<
" not defined" << std::endl;
exit(1);
break;
163 case ( 4 ):
std::cout <<
"Error: resolution function type " << identifier <<
" not defined" << std::endl;
exit(1);
break;
164 case ( 5 ):
std::cout <<
"Error: resolution function type " << identifier <<
" not defined" << std::endl;
exit(1);
break;
192 default:
std::cout <<
"Error: undefined resolution type = " << identifier << std::endl;
exit(1);
break;
198 switch ( identifier ) {
199 case ( 0 ):
std::cout <<
"Error: background function type " << identifier <<
" not defined" << std::endl;
exit(1);
break;
211 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.
Exponential binned in eta, much finer binning then type6.
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.
Exponential binned in eta (Z, Run2012C PromptReco-v1 + PromptReco-v2)
backgroundFunctionBase * backgroundFunctionService(const int identifier, const double &lowerLimit, const double &upperLimit)
Service to build the background functor corresponding to the passed identifier.
Exponential binned in eta.