CMS 3D CMS Logo

List of all members | Public Member Functions
JetPartonNamespace::UserPartonMixture Class Reference

Public Member Functions

virtual double mixt (double et, double eta)
 
 UserPartonMixture ()
 
virtual ~UserPartonMixture ()
 

Detailed Description

Definition at line 14 of file JetPartonCorrector.cc.

Constructor & Destructor Documentation

◆ UserPartonMixture()

JetPartonNamespace::UserPartonMixture::UserPartonMixture ( )
inline

Definition at line 16 of file JetPartonCorrector.cc.

16 {}

◆ ~UserPartonMixture()

virtual JetPartonNamespace::UserPartonMixture::~UserPartonMixture ( )
inlinevirtual

Definition at line 17 of file JetPartonCorrector.cc.

17 {}

Member Function Documentation

◆ mixt()

virtual double JetPartonNamespace::UserPartonMixture::mixt ( double  et,
double  eta 
)
inlinevirtual

Definition at line 18 of file JetPartonCorrector.cc.

References EgHLTOffHistBins_cfi::et, PVValHelper::eta, JetChargeProducer_cfi::exp, and f.

Referenced by JetPartonNamespace::ParametrizationJetParton::value().

18  {
19  // The mixture of quark and gluons corresponds to QCD jets.
20  double f = 0.2 + et / 1000. * (1. + .13 * exp(eta));
21  return f;
22  }
double f[11][100]