CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | Friends
L1GctJetFinderParams Class Reference

#include <L1GctJetFinderParams.h>

Public Member Functions

uint16_t correctedEtGct (const double correctedEt) const
 Convert the corrected Et value to a linear Et for Ht summing. More...
 
double correctedEtGeV (const double et, const unsigned eta, const bool tauVeto) const
 Eta takes a value from 0-10, corresponding to jet regions running from eta=0.0 to eta=5.0. More...
 
unsigned getCenForJetEtaBoundary () const
 
unsigned getCenJetEtSeedGct () const
 
double getCenJetEtSeedGeV () const
 
bool getConvertToEnergy () const
 
unsigned getCorrType () const
 Access to jet Et calibration parameters. More...
 
unsigned getForJetEtSeedGct () const
 
double getForJetEtSeedGeV () const
 
unsigned getHtJetEtThresholdGct () const
 
double getHtJetEtThresholdGeV () const
 
double getHtLsbGeV () const
 
const std::vector< std::vector
< double > > & 
getJetCorrCoeffs () const
 
unsigned getMHtJetEtThresholdGct () const
 
double getMHtJetEtThresholdGeV () const
 
double getRgnEtLsbGeV () const
 
const std::vector< std::vector
< double > > & 
getTauCorrCoeffs () const
 
unsigned getTauIsoEtThresholdGct () const
 
double getTauIsoEtThresholdGeV () const
 
unsigned getTauJetEtSeedGct () const
 
double getTauJetEtSeedGeV () const
 
 L1GctJetFinderParams ()
 
 L1GctJetFinderParams (double rgnEtLsb, double htLsb, double cJetSeed, double fJetSeed, double tJetSeed, double tauIsoEtThresh, double htJetEtThresh, double mhtJetEtThresh, unsigned etaBoundary, unsigned corrType, const std::vector< std::vector< double > > &jetCorrCoeffs, const std::vector< std::vector< double > > &tauCorrCoeffs, bool convertToEnergy, const std::vector< double > &energyConvCoeffs)
 
void setHtSumParams (const double htLsb, const double htJetEtThresh, const double mhtJetEtThresh)
 
void setJetEtCalibrationParams (const unsigned corrType, const std::vector< std::vector< double > > &jetCorrCoeffs, const std::vector< std::vector< double > > &tauCorrCoeffs)
 
void setJetEtConvertToEnergyOff ()
 
void setJetEtConvertToEnergyOn (const std::vector< double > &energyConvCoeffs)
 
void setParams (const double rgnEtLsb, const double htLsb, const double cJetSeed, const double fJetSeed, const double tJetSeed, const double tauIsoEtThresh, const double htJetEtThresh, const double mhtJetEtThresh, const unsigned etaBoundary, const unsigned corrType, const std::vector< std::vector< double > > &jetCorrCoeffs, const std::vector< std::vector< double > > &tauCorrCoeffs)
 
void setRegionEtLsb (const double rgnEtLsb)
 
void setSlidingWindowParams (const double cJetSeed, const double fJetSeed, const double tJetSeed, const unsigned etaBoundary)
 
void setTauAlgorithmParams (const double tauIsoEtThresh)
 
 ~L1GctJetFinderParams ()
 

Static Public Attributes

static const unsigned N_CENTRAL_ETA_VALUES = 7
 Number of eta bins used in correction. More...
 
static const unsigned NUMBER_ETA_VALUES = 11
 Number of eta bins used in correction. More...
 

Private Member Functions

double correctionFunction (const double Et, const std::vector< double > &coeffs) const
 
double findCorrectedEt (const double Et, const std::vector< double > &coeffs) const
 
double orcaStyleCorrect (const double Et, const std::vector< double > &coeffs) const
 
double pfCorrect (const double Et, const std::vector< double > &coeffs) const
 
double piecewiseCubicCorrect (const double Et, const std::vector< double > &coeffs) const
 
double powerSeriesCorrect (const double Et, const std::vector< double > &coeffs) const
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 
double simpleCorrect (const double Et, const std::vector< double > &coeffs) const
 

Private Attributes

unsigned cenForJetEtaBoundary_
 
double cenJetEtSeed_
 
bool convertToEnergy_
 
unsigned corrType_
 
std::vector< double > energyConversionCoeffs_
 
double forJetEtSeed_
 
double htJetEtThreshold_
 
double htLsb_
 
std::vector< std::vector
< double > > 
jetCorrCoeffs_
 
double mhtJetEtThreshold_
 
double rgnEtLsb_
 
std::vector< std::vector
< double > > 
tauCorrCoeffs_
 
double tauIsoEtThreshold_
 
double tauJetEtSeed_
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Definition at line 10 of file L1GctJetFinderParams.h.

Constructor & Destructor Documentation

L1GctJetFinderParams::L1GctJetFinderParams ( )

Definition at line 17 of file L1GctJetFinderParams.cc.

L1GctJetFinderParams::L1GctJetFinderParams ( double  rgnEtLsb,
double  htLsb,
double  cJetSeed,
double  fJetSeed,
double  tJetSeed,
double  tauIsoEtThresh,
double  htJetEtThresh,
double  mhtJetEtThresh,
unsigned  etaBoundary,
unsigned  corrType,
const std::vector< std::vector< double > > &  jetCorrCoeffs,
const std::vector< std::vector< double > > &  tauCorrCoeffs,
bool  convertToEnergy,
const std::vector< double > &  energyConvCoeffs 
)

Definition at line 34 of file L1GctJetFinderParams.cc.

L1GctJetFinderParams::~L1GctJetFinderParams ( )

Definition at line 102 of file L1GctJetFinderParams.cc.

Member Function Documentation

uint16_t L1GctJetFinderParams::correctedEtGct ( const double  correctedEt) const

Convert the corrected Et value to a linear Et for Ht summing.

Convert the corrected Et value to an integer Et for Ht summing.

Definition at line 209 of file L1GctJetFinderParams.cc.

double L1GctJetFinderParams::correctedEtGeV ( const double  et,
const unsigned  eta,
const bool  tauVeto 
) const

Eta takes a value from 0-10, corresponding to jet regions running from eta=0.0 to eta=5.0.

Definition at line 185 of file L1GctJetFinderParams.cc.

Referenced by L1GctJetEtCalibrationLut::value().

double L1GctJetFinderParams::correctionFunction ( const double  Et,
const std::vector< double > &  coeffs 
) const
private

Definition at line 226 of file L1GctJetFinderParams.cc.

double L1GctJetFinderParams::findCorrectedEt ( const double  Et,
const std::vector< double > &  coeffs 
) const
private
unsigned L1GctJetFinderParams::getCenForJetEtaBoundary ( ) const
inline

Definition at line 45 of file L1GctJetFinderParams.h.

References cenForJetEtaBoundary_.

45 { return cenForJetEtaBoundary_; }
unsigned L1GctJetFinderParams::getCenJetEtSeedGct ( ) const
inline

Definition at line 49 of file L1GctJetFinderParams.h.

References cenJetEtSeed_, and rgnEtLsb_.

49 { return static_cast<unsigned>(cenJetEtSeed_/rgnEtLsb_); }
double L1GctJetFinderParams::getCenJetEtSeedGeV ( ) const
inline

Definition at line 39 of file L1GctJetFinderParams.h.

References cenJetEtSeed_.

39 { return cenJetEtSeed_; }
bool L1GctJetFinderParams::getConvertToEnergy ( ) const
inline

Definition at line 46 of file L1GctJetFinderParams.h.

References convertToEnergy_.

unsigned L1GctJetFinderParams::getCorrType ( ) const
inline

Access to jet Et calibration parameters.

Definition at line 92 of file L1GctJetFinderParams.h.

References corrType_.

92 { return corrType_; }
unsigned L1GctJetFinderParams::getForJetEtSeedGct ( ) const
inline

Definition at line 50 of file L1GctJetFinderParams.h.

References forJetEtSeed_, and rgnEtLsb_.

50 { return static_cast<unsigned>(forJetEtSeed_/rgnEtLsb_); }
double L1GctJetFinderParams::getForJetEtSeedGeV ( ) const
inline

Definition at line 40 of file L1GctJetFinderParams.h.

References forJetEtSeed_.

40 { return forJetEtSeed_; }
unsigned L1GctJetFinderParams::getHtJetEtThresholdGct ( ) const
inline

Definition at line 53 of file L1GctJetFinderParams.h.

References htJetEtThreshold_, and htLsb_.

53 { return static_cast<unsigned>(htJetEtThreshold_/htLsb_); }
double L1GctJetFinderParams::getHtJetEtThresholdGeV ( ) const
inline

Definition at line 43 of file L1GctJetFinderParams.h.

References htJetEtThreshold_.

43 { return htJetEtThreshold_; }
double L1GctJetFinderParams::getHtLsbGeV ( ) const
inline

Definition at line 38 of file L1GctJetFinderParams.h.

References htLsb_.

38 { return htLsb_; }
const std::vector< std::vector<double> >& L1GctJetFinderParams::getJetCorrCoeffs ( ) const
inline

Definition at line 93 of file L1GctJetFinderParams.h.

References jetCorrCoeffs_.

93 { return jetCorrCoeffs_; }
std::vector< std::vector< double > > jetCorrCoeffs_
unsigned L1GctJetFinderParams::getMHtJetEtThresholdGct ( ) const
inline

Definition at line 54 of file L1GctJetFinderParams.h.

References htLsb_, and mhtJetEtThreshold_.

54 { return static_cast<unsigned>(mhtJetEtThreshold_/htLsb_); }
double L1GctJetFinderParams::getMHtJetEtThresholdGeV ( ) const
inline

Definition at line 44 of file L1GctJetFinderParams.h.

References mhtJetEtThreshold_.

44 { return mhtJetEtThreshold_; }
double L1GctJetFinderParams::getRgnEtLsbGeV ( ) const
inline

Definition at line 37 of file L1GctJetFinderParams.h.

References rgnEtLsb_.

37 { return rgnEtLsb_; }
const std::vector< std::vector<double> >& L1GctJetFinderParams::getTauCorrCoeffs ( ) const
inline

Definition at line 94 of file L1GctJetFinderParams.h.

References tauCorrCoeffs_.

94 { return tauCorrCoeffs_; }
std::vector< std::vector< double > > tauCorrCoeffs_
unsigned L1GctJetFinderParams::getTauIsoEtThresholdGct ( ) const
inline

Definition at line 52 of file L1GctJetFinderParams.h.

References rgnEtLsb_, and tauIsoEtThreshold_.

52 { return static_cast<unsigned>(tauIsoEtThreshold_/rgnEtLsb_); }
double L1GctJetFinderParams::getTauIsoEtThresholdGeV ( ) const
inline

Definition at line 42 of file L1GctJetFinderParams.h.

References tauIsoEtThreshold_.

42 { return tauIsoEtThreshold_; }
unsigned L1GctJetFinderParams::getTauJetEtSeedGct ( ) const
inline

Definition at line 51 of file L1GctJetFinderParams.h.

References rgnEtLsb_, and tauJetEtSeed_.

51 { return static_cast<unsigned>(tauJetEtSeed_/rgnEtLsb_); }
double L1GctJetFinderParams::getTauJetEtSeedGeV ( ) const
inline

Definition at line 41 of file L1GctJetFinderParams.h.

References tauJetEtSeed_.

41 { return tauJetEtSeed_; }
double L1GctJetFinderParams::orcaStyleCorrect ( const double  Et,
const std::vector< double > &  coeffs 
) const
private

Definition at line 264 of file L1GctJetFinderParams.cc.

double L1GctJetFinderParams::pfCorrect ( const double  Et,
const std::vector< double > &  coeffs 
) const
private

Definition at line 329 of file L1GctJetFinderParams.cc.

double L1GctJetFinderParams::piecewiseCubicCorrect ( const double  Et,
const std::vector< double > &  coeffs 
) const
private

Definition at line 298 of file L1GctJetFinderParams.cc.

double L1GctJetFinderParams::powerSeriesCorrect ( const double  Et,
const std::vector< double > &  coeffs 
) const
private

Definition at line 255 of file L1GctJetFinderParams.cc.

template<class Archive >
void L1GctJetFinderParams::serialize ( Archive &  ar,
const unsigned int  version 
)
private
void L1GctJetFinderParams::setHtSumParams ( const double  htLsb,
const double  htJetEtThresh,
const double  mhtJetEtThresh 
)

Definition at line 146 of file L1GctJetFinderParams.cc.

void L1GctJetFinderParams::setJetEtCalibrationParams ( const unsigned  corrType,
const std::vector< std::vector< double > > &  jetCorrCoeffs,
const std::vector< std::vector< double > > &  tauCorrCoeffs 
)

Definition at line 125 of file L1GctJetFinderParams.cc.

void L1GctJetFinderParams::setJetEtConvertToEnergyOff ( )

Definition at line 140 of file L1GctJetFinderParams.cc.

void L1GctJetFinderParams::setJetEtConvertToEnergyOn ( const std::vector< double > &  energyConvCoeffs)

Definition at line 134 of file L1GctJetFinderParams.cc.

void L1GctJetFinderParams::setParams ( const double  rgnEtLsb,
const double  htLsb,
const double  cJetSeed,
const double  fJetSeed,
const double  tJetSeed,
const double  tauIsoEtThresh,
const double  htJetEtThresh,
const double  mhtJetEtThresh,
const unsigned  etaBoundary,
const unsigned  corrType,
const std::vector< std::vector< double > > &  jetCorrCoeffs,
const std::vector< std::vector< double > > &  tauCorrCoeffs 
)

Definition at line 160 of file L1GctJetFinderParams.cc.

void L1GctJetFinderParams::setRegionEtLsb ( const double  rgnEtLsb)

Definition at line 109 of file L1GctJetFinderParams.cc.

void L1GctJetFinderParams::setSlidingWindowParams ( const double  cJetSeed,
const double  fJetSeed,
const double  tJetSeed,
const unsigned  etaBoundary 
)

Definition at line 114 of file L1GctJetFinderParams.cc.

void L1GctJetFinderParams::setTauAlgorithmParams ( const double  tauIsoEtThresh)

Definition at line 155 of file L1GctJetFinderParams.cc.

double L1GctJetFinderParams::simpleCorrect ( const double  Et,
const std::vector< double > &  coeffs 
) const
private

Definition at line 286 of file L1GctJetFinderParams.cc.

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 134 of file L1GctJetFinderParams.h.

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 134 of file L1GctJetFinderParams.h.

Member Data Documentation

unsigned L1GctJetFinderParams::cenForJetEtaBoundary_
private

Definition at line 122 of file L1GctJetFinderParams.h.

Referenced by getCenForJetEtaBoundary().

double L1GctJetFinderParams::cenJetEtSeed_
private

Definition at line 116 of file L1GctJetFinderParams.h.

Referenced by getCenJetEtSeedGct(), and getCenJetEtSeedGeV().

bool L1GctJetFinderParams::convertToEnergy_
private

Definition at line 130 of file L1GctJetFinderParams.h.

Referenced by getConvertToEnergy().

unsigned L1GctJetFinderParams::corrType_
private

Definition at line 125 of file L1GctJetFinderParams.h.

Referenced by getCorrType().

std::vector<double> L1GctJetFinderParams::energyConversionCoeffs_
private

Definition at line 131 of file L1GctJetFinderParams.h.

double L1GctJetFinderParams::forJetEtSeed_
private

Definition at line 117 of file L1GctJetFinderParams.h.

Referenced by getForJetEtSeedGct(), and getForJetEtSeedGeV().

double L1GctJetFinderParams::htJetEtThreshold_
private

Definition at line 120 of file L1GctJetFinderParams.h.

Referenced by getHtJetEtThresholdGct(), and getHtJetEtThresholdGeV().

double L1GctJetFinderParams::htLsb_
private
std::vector< std::vector<double> > L1GctJetFinderParams::jetCorrCoeffs_
private

Definition at line 126 of file L1GctJetFinderParams.h.

Referenced by getJetCorrCoeffs().

double L1GctJetFinderParams::mhtJetEtThreshold_
private

Definition at line 121 of file L1GctJetFinderParams.h.

Referenced by getMHtJetEtThresholdGct(), and getMHtJetEtThresholdGeV().

const unsigned L1GctJetFinderParams::N_CENTRAL_ETA_VALUES = 7
static

Number of eta bins used in correction.

Definition at line 15 of file L1GctJetFinderParams.h.

const unsigned L1GctJetFinderParams::NUMBER_ETA_VALUES = 11
static

Number of eta bins used in correction.

Definition at line 14 of file L1GctJetFinderParams.h.

double L1GctJetFinderParams::rgnEtLsb_
private
std::vector< std::vector<double> > L1GctJetFinderParams::tauCorrCoeffs_
private

Definition at line 127 of file L1GctJetFinderParams.h.

Referenced by getTauCorrCoeffs().

double L1GctJetFinderParams::tauIsoEtThreshold_
private

Definition at line 119 of file L1GctJetFinderParams.h.

Referenced by getTauIsoEtThresholdGct(), and getTauIsoEtThresholdGeV().

double L1GctJetFinderParams::tauJetEtSeed_
private

Definition at line 118 of file L1GctJetFinderParams.h.

Referenced by getTauJetEtSeedGct(), and getTauJetEtSeedGeV().