CMS 3D CMS Logo

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

#include <CondFormats/L1TObjects/interface/L1RCTParameters.h>

Public Member Functions

unsigned short calcCard (unsigned short rct_iphi, unsigned short absIeta) const
 
unsigned short calcCrate (unsigned short rct_iphi, short ieta) const
 
unsigned short calcIAbsEta (unsigned short iCrate, unsigned short iCard, unsigned short iTower) const
 
short calcIEta (unsigned short iCrate, unsigned short iCard, unsigned short iTower) const
 
unsigned short calcIPhi (unsigned short iCrate, unsigned short iCard, unsigned short iTower) const
 
unsigned short calcTower (unsigned short rct_iphi, unsigned short absIeta) const
 
double eActivityCut () const
 
const std::vector< double > & eGammaECalScaleFactors () const
 
const std::vector< double > & eGammaHCalScaleFactors () const
 
double eGammaLSB () const
 
float EGammaTPGSum (const float &ecal, const float &hcal, const unsigned &iAbsEta) const
 
unsigned eicIsolationThreshold () const
 
double eMaxForFGCut () const
 
double eMaxForHoECut () const
 
double eMinForFGCut () const
 
double eMinForHoECut () const
 
double hActivityCut () const
 
double hMinForHoECut () const
 
double hOeCut () const
 
const std::vector< double > & jetMETECalScaleFactors () const
 
const std::vector< double > & jetMETHCalScaleFactors () const
 
double jetMETLSB () const
 
float JetMETTPGSum (const float &ecal, const float &hcal, const unsigned &iAbsEta) const
 
unsigned jscQuietThresholdBarrel () const
 
unsigned jscQuietThresholdEndcap () const
 
 L1RCTParameters ()
 
 L1RCTParameters (double eGammaLSB, double jetMETLSB, double eMinForFGCut, double eMaxForFGCut, double hOeCut, double eMinForHoECut, double eMaxForHoECut, double hMinForHoECut, double eActivityCut, double hActivityCut, unsigned eicIsolationThreshold, unsigned jscQuietThresholdBarrel, unsigned jscQuietThresholdEndcap, bool noiseVetoHB, bool noiseVetoHEplus, bool noiseVetoHEminus, bool useLindsey, const std::vector< double > &eGammaECalScaleFactors, const std::vector< double > &eGammaHCalScaleFactors, const std::vector< double > &jetMETECalScaleFactors, const std::vector< double > &jetMETHCalScaleFactors, const std::vector< double > &ecal_calib, const std::vector< double > &hcal_calib, const std::vector< double > &hcal_high_calib, const std::vector< double > &cross_terms, const std::vector< double > &lowHoverE_smear, const std::vector< double > &highHoverE_smear)
 
bool noiseVetoHB () const
 
bool noiseVetoHEminus () const
 
bool noiseVetoHEplus () const
 
void print (std::ostream &s) const
 
 ~L1RCTParameters ()
 

Private Member Functions

float correctedTPGSum (const float &ecal, const float &hcal, const unsigned &index) const
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

std::vector< std::vector
< double > > 
cross_terms_
 
double eActivityCut_
 
std::vector< std::vector
< double > > 
ecal_calib_
 
std::vector< double > eGammaECalScaleFactors_
 
std::vector< double > eGammaHCalScaleFactors_
 
double eGammaLSB_
 
unsigned eicIsolationThreshold_
 
double eMaxForFGCut_
 
double eMaxForHoECut_
 
double eMinForFGCut_
 
double eMinForHoECut_
 
double hActivityCut_
 
std::vector< std::vector
< double > > 
hcal_calib_
 
std::vector< std::vector
< double > > 
hcal_high_calib_
 
double hMinForHoECut_
 
double hOeCut_
 
std::vector< double > HoverE_smear_high_
 
std::vector< double > HoverE_smear_low_
 
std::vector< double > jetMETECalScaleFactors_
 
std::vector< double > jetMETHCalScaleFactors_
 
double jetMETLSB_
 
unsigned jscQuietThresholdBarrel_
 
unsigned jscQuietThresholdEndcap_
 
bool noiseVetoHB_
 
bool noiseVetoHEminus_
 
bool noiseVetoHEplus_
 
bool useCorrections_
 

Friends

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

Detailed Description

Description: Class to contain parameters which define RCT Lookup Tables

Usage: <usage>

Definition at line 28 of file L1RCTParameters.h.

Constructor & Destructor Documentation

L1RCTParameters::L1RCTParameters ( )
inline

Definition at line 33 of file L1RCTParameters.h.

L1RCTParameters::L1RCTParameters ( double  eGammaLSB,
double  jetMETLSB,
double  eMinForFGCut,
double  eMaxForFGCut,
double  hOeCut,
double  eMinForHoECut,
double  eMaxForHoECut,
double  hMinForHoECut,
double  eActivityCut,
double  hActivityCut,
unsigned  eicIsolationThreshold,
unsigned  jscQuietThresholdBarrel,
unsigned  jscQuietThresholdEndcap,
bool  noiseVetoHB,
bool  noiseVetoHEplus,
bool  noiseVetoHEminus,
bool  useLindsey,
const std::vector< double > &  eGammaECalScaleFactors,
const std::vector< double > &  eGammaHCalScaleFactors,
const std::vector< double > &  jetMETECalScaleFactors,
const std::vector< double > &  jetMETHCalScaleFactors,
const std::vector< double > &  ecal_calib,
const std::vector< double > &  hcal_calib,
const std::vector< double > &  hcal_high_calib,
const std::vector< double > &  cross_terms,
const std::vector< double > &  lowHoverE_smear,
const std::vector< double > &  highHoverE_smear 
)

Definition at line 17 of file L1RCTParameters.cc.

L1RCTParameters::~L1RCTParameters ( )
inline

Definition at line 65 of file L1RCTParameters.h.

Member Function Documentation

unsigned short L1RCTParameters::calcCard ( unsigned short  rct_iphi,
unsigned short  absIeta 
) const

Definition at line 97 of file L1RCTParameters.cc.

unsigned short L1RCTParameters::calcCrate ( unsigned short  rct_iphi,
short  ieta 
) const

Definition at line 86 of file L1RCTParameters.cc.

unsigned short L1RCTParameters::calcIAbsEta ( unsigned short  iCrate,
unsigned short  iCard,
unsigned short  iTower 
) const

Definition at line 182 of file L1RCTParameters.cc.

short L1RCTParameters::calcIEta ( unsigned short  iCrate,
unsigned short  iCard,
unsigned short  iTower 
) const

Definition at line 149 of file L1RCTParameters.cc.

unsigned short L1RCTParameters::calcIPhi ( unsigned short  iCrate,
unsigned short  iCard,
unsigned short  iTower 
) const

Definition at line 160 of file L1RCTParameters.cc.

unsigned short L1RCTParameters::calcTower ( unsigned short  rct_iphi,
unsigned short  absIeta 
) const

Definition at line 114 of file L1RCTParameters.cc.

float L1RCTParameters::correctedTPGSum ( const float &  ecal,
const float &  hcal,
const unsigned &  index 
) const
private

Definition at line 298 of file L1RCTParameters.cc.

double L1RCTParameters::eActivityCut ( ) const
inline

Definition at line 77 of file L1RCTParameters.h.

const std::vector<double>& L1RCTParameters::eGammaECalScaleFactors ( ) const
inline

Definition at line 85 of file L1RCTParameters.h.

const std::vector<double>& L1RCTParameters::eGammaHCalScaleFactors ( ) const
inline

Definition at line 86 of file L1RCTParameters.h.

double L1RCTParameters::eGammaLSB ( ) const
inline

Definition at line 69 of file L1RCTParameters.h.

float L1RCTParameters::EGammaTPGSum ( const float &  ecal,
const float &  hcal,
const unsigned &  iAbsEta 
) const

Definition at line 253 of file L1RCTParameters.cc.

unsigned L1RCTParameters::eicIsolationThreshold ( ) const
inline

Definition at line 79 of file L1RCTParameters.h.

double L1RCTParameters::eMaxForFGCut ( ) const
inline

Definition at line 72 of file L1RCTParameters.h.

double L1RCTParameters::eMaxForHoECut ( ) const
inline

Definition at line 75 of file L1RCTParameters.h.

double L1RCTParameters::eMinForFGCut ( ) const
inline

Definition at line 71 of file L1RCTParameters.h.

double L1RCTParameters::eMinForHoECut ( ) const
inline

Definition at line 74 of file L1RCTParameters.h.

double L1RCTParameters::hActivityCut ( ) const
inline

Definition at line 78 of file L1RCTParameters.h.

double L1RCTParameters::hMinForHoECut ( ) const
inline

Definition at line 76 of file L1RCTParameters.h.

double L1RCTParameters::hOeCut ( ) const
inline

Definition at line 73 of file L1RCTParameters.h.

const std::vector<double>& L1RCTParameters::jetMETECalScaleFactors ( ) const
inline

Definition at line 87 of file L1RCTParameters.h.

const std::vector<double>& L1RCTParameters::jetMETHCalScaleFactors ( ) const
inline

Definition at line 88 of file L1RCTParameters.h.

double L1RCTParameters::jetMETLSB ( ) const
inline

Definition at line 70 of file L1RCTParameters.h.

float L1RCTParameters::JetMETTPGSum ( const float &  ecal,
const float &  hcal,
const unsigned &  iAbsEta 
) const

Definition at line 202 of file L1RCTParameters.cc.

unsigned L1RCTParameters::jscQuietThresholdBarrel ( ) const
inline

Definition at line 80 of file L1RCTParameters.h.

unsigned L1RCTParameters::jscQuietThresholdEndcap ( ) const
inline

Definition at line 81 of file L1RCTParameters.h.

bool L1RCTParameters::noiseVetoHB ( ) const
inline

Definition at line 82 of file L1RCTParameters.h.

bool L1RCTParameters::noiseVetoHEminus ( ) const
inline

Definition at line 84 of file L1RCTParameters.h.

bool L1RCTParameters::noiseVetoHEplus ( ) const
inline

Definition at line 83 of file L1RCTParameters.h.

void L1RCTParameters::print ( std::ostream &  s) const

Definition at line 349 of file L1RCTParameters.cc.

template<class Archive >
void L1RCTParameters::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 226 of file L1RCTParameters.h.

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

Definition at line 226 of file L1RCTParameters.h.

Member Data Documentation

std::vector<std::vector<double> > L1RCTParameters::cross_terms_
private

Definition at line 217 of file L1RCTParameters.h.

double L1RCTParameters::eActivityCut_
private

Definition at line 148 of file L1RCTParameters.h.

std::vector<std::vector<double> > L1RCTParameters::ecal_calib_
private

Definition at line 214 of file L1RCTParameters.h.

std::vector<double> L1RCTParameters::eGammaECalScaleFactors_
private

Definition at line 196 of file L1RCTParameters.h.

std::vector<double> L1RCTParameters::eGammaHCalScaleFactors_
private

Definition at line 197 of file L1RCTParameters.h.

double L1RCTParameters::eGammaLSB_
private

Definition at line 114 of file L1RCTParameters.h.

unsigned L1RCTParameters::eicIsolationThreshold_
private

Definition at line 161 of file L1RCTParameters.h.

double L1RCTParameters::eMaxForFGCut_
private

Definition at line 126 of file L1RCTParameters.h.

double L1RCTParameters::eMaxForHoECut_
private

Definition at line 138 of file L1RCTParameters.h.

double L1RCTParameters::eMinForFGCut_
private

Definition at line 122 of file L1RCTParameters.h.

double L1RCTParameters::eMinForHoECut_
private

Definition at line 134 of file L1RCTParameters.h.

double L1RCTParameters::hActivityCut_
private

Definition at line 154 of file L1RCTParameters.h.

std::vector<std::vector<double> > L1RCTParameters::hcal_calib_
private

Definition at line 215 of file L1RCTParameters.h.

std::vector<std::vector<double> > L1RCTParameters::hcal_high_calib_
private

Definition at line 216 of file L1RCTParameters.h.

double L1RCTParameters::hMinForHoECut_
private

Definition at line 142 of file L1RCTParameters.h.

double L1RCTParameters::hOeCut_
private

Definition at line 130 of file L1RCTParameters.h.

std::vector<double> L1RCTParameters::HoverE_smear_high_
private

Definition at line 222 of file L1RCTParameters.h.

std::vector<double> L1RCTParameters::HoverE_smear_low_
private

Definition at line 221 of file L1RCTParameters.h.

std::vector<double> L1RCTParameters::jetMETECalScaleFactors_
private

Definition at line 203 of file L1RCTParameters.h.

std::vector<double> L1RCTParameters::jetMETHCalScaleFactors_
private

Definition at line 204 of file L1RCTParameters.h.

double L1RCTParameters::jetMETLSB_
private

Definition at line 118 of file L1RCTParameters.h.

unsigned L1RCTParameters::jscQuietThresholdBarrel_
private

Definition at line 166 of file L1RCTParameters.h.

unsigned L1RCTParameters::jscQuietThresholdEndcap_
private

Definition at line 171 of file L1RCTParameters.h.

bool L1RCTParameters::noiseVetoHB_
private

Definition at line 177 of file L1RCTParameters.h.

bool L1RCTParameters::noiseVetoHEminus_
private

Definition at line 187 of file L1RCTParameters.h.

bool L1RCTParameters::noiseVetoHEplus_
private

Definition at line 182 of file L1RCTParameters.h.

bool L1RCTParameters::useCorrections_
private

Definition at line 190 of file L1RCTParameters.h.