CMS 3D CMS Logo

Namespaces | Classes | Functions
heppy Namespace Reference

TAKEN FROM http://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/CMSSW/ElectroWeakAnalysis/Utilities/src/PdfWeightProducer.cc?&view=markup. More...

Namespaces

 mt2w_bisect
 

Classes

struct  AlphaT
 
struct  Apc
 
class  BTagSF
 
class  CMGMuonCleanerBySegmentsAlgo
 
class  Davismt2
 
class  EGammaMvaEleEstimatorFWLite
 
class  FSRWeightAlgo
 
class  Hemisphere
 
class  IsolationComputer
 
struct  JetUtils
 
class  Megajet
 
class  MuScleFitCorrector
 
struct  ParSet
 
class  PdfWeightProducerTool
 
class  ReclusterJets
 
class  resolutionFunction45
 
class  resolutionFunction46
 
class  resolutionFunction57
 
class  resolutionFunctionBase
 
class  RochCor
 
class  RochCor2012
 
class  scaleFunction50
 
class  scaleFunctionBase
 
class  TriggerBitChecker
 

Functions

resolutionFunctionBase< double * > * resolutionFunctionService (const int identifier)
 Service to build the resolution functor corresponding to the passed identifier. More...
 
scaleFunctionBase< double * > * scaleFunctionService (const int identifier)
 Service to build the scale functor corresponding to the passed identifier. More...
 

Detailed Description

TAKEN FROM http://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/CMSSW/ElectroWeakAnalysis/Utilities/src/PdfWeightProducer.cc?&view=markup.

The Megajet class implements the algorithm to combine jets in hemispheres as defined in CMS SUSY searches

MuScleFitCorrector class Author M. De Mattia - 18/11/2008 Author S. Casasso - 25/10/2012 Author E. Migliore - 25/10/2012 This is used to have a common set of functions for the specialized templates to use. The constructor receives the name identifying the parameters for the correction function. It reads the parameters from a txt file in data/.

Scale function classes Author M. De Mattia - 18/11/2008 Author S. Casasso - 25/10/2012 Author E. Migliore - 25/10/2012 Used to define parameters inside the functions.

Function Documentation

◆ resolutionFunctionService()

resolutionFunctionBase<double*>* heppy::resolutionFunctionService ( const int  identifier)

Service to build the resolution functor corresponding to the passed identifier.

Definition at line 320 of file MuScleFitCorrector_Functions.h.

References gather_cfg::cout, beamvalidation::exit(), and RPCCPPFLinkMapPopConAnalyzer_cfi::identifier.

Referenced by ErrorsAnalyzer::fillHistograms(), ErrorsPropagationAnalyzer::fillHistograms(), MuScleFit::MuScleFit(), ResolutionFunction::readParameters(), heppy::MuScleFitCorrector::readParameters(), ResolutionAnalyzer::ResolutionAnalyzer(), and ResolutionFunction::ResolutionFunction().

320  {
321  switch (identifier) {
322  case (45):
323  return (new resolutionFunction45<double*>);
324  break;
325  case (46):
326  return (new resolutionFunction46<double*>);
327  break;
328  case (57):
329  return (new resolutionFunction57<double*>);
330  break;
331  default:
332  std::cout << "resolutionFunctService error: wrong identifier = " << identifier << std::endl;
333  exit(1);
334  }
335  }
def exit(msg="")

◆ scaleFunctionService()

scaleFunctionBase<double*>* heppy::scaleFunctionService ( const int  identifier)

Service to build the scale functor corresponding to the passed identifier.

Definition at line 308 of file MuScleFitCorrector_Functions.h.

References gather_cfg::cout, beamvalidation::exit(), and RPCCPPFLinkMapPopConAnalyzer_cfi::identifier.

Referenced by MomentumScaleCorrector::MomentumScaleCorrector(), MuScleFit::MuScleFit(), MomentumScaleCorrector::readParameters(), and heppy::MuScleFitCorrector::readParameters().

308  {
309  switch (identifier) {
310  case (50):
311  return (new scaleFunction50<double*>);
312  break;
313  default:
314  std::cout << "scaleFunctionService error: wrong identifier = " << identifier << std::endl;
315  exit(1);
316  }
317  }
def exit(msg="")