5 switch ( identifier ) {
9 default:
std::cout <<
"Error: wrong identifier = " << identifier << std::endl;
exit(1);
15 switch ( identifier ) {
19 default:
std::cout <<
"Error: wrong identifier = " << identifier << std::endl;
exit(1);
25 switch ( identifier ) {
34 default:
std::cout <<
"Error: undefined smear type = " << identifier << std::endl;
exit(1);
break;
40 switch ( identifier ) {
46 default:
std::cout <<
"Error: undefined resolution type = " << identifier << std::endl;
exit(1);
break;
52 switch ( identifier ) {
58 default:
std::cout <<
"Error: undefined resolution type = " << identifier << std::endl;
exit(1);
break;
64 switch ( identifier ) {
65 case ( 0 ):
std::cout <<
"Error: background function type " << identifier <<
" not defined" << std::endl;
exit(1);
break;
77 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.
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.
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.