#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 |
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_ |
Description: Class to contain parameters which define RCT Lookup Tables
Usage: <usage>
Definition at line 26 of file L1RCTParameters.h.
|
inline |
Definition at line 31 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.
References cross_terms_, ecal_calib_, hcal_calib_, hcal_high_calib_, and i.
|
inline |
Definition at line 63 of file L1RCTParameters.h.
unsigned short L1RCTParameters::calcCard | ( | unsigned short | rct_iphi, |
unsigned short | absIeta | ||
) | const |
Definition at line 96 of file L1RCTParameters.cc.
Referenced by L1RCT::digiInput().
unsigned short L1RCTParameters::calcCrate | ( | unsigned short | rct_iphi, |
short | ieta | ||
) | const |
Definition at line 85 of file L1RCTParameters.cc.
References funct::abs().
Referenced by L1RCT::digiInput(), and L1RCTLutWriter::writeRcLutFile().
unsigned short L1RCTParameters::calcIAbsEta | ( | unsigned short | iCrate, |
unsigned short | iCard, | ||
unsigned short | iTower | ||
) | const |
short L1RCTParameters::calcIEta | ( | unsigned short | iCrate, |
unsigned short | iCard, | ||
unsigned short | iTower | ||
) | const |
Definition at line 148 of file L1RCTParameters.cc.
References calcIAbsEta().
Referenced by L1RCTLookupTables::lookup(), and RctInputTextToDigi::produce().
unsigned short L1RCTParameters::calcIPhi | ( | unsigned short | iCrate, |
unsigned short | iCard, | ||
unsigned short | iTower | ||
) | const |
Definition at line 159 of file L1RCTParameters.cc.
Referenced by L1RCTLookupTables::lookup(), and RctInputTextToDigi::produce().
unsigned short L1RCTParameters::calcTower | ( | unsigned short | rct_iphi, |
unsigned short | absIeta | ||
) | const |
Definition at line 113 of file L1RCTParameters.cc.
Referenced by L1RCT::digiInput(), and L1RCTLutWriter::writeRcLutFile().
|
private |
Definition at line 239 of file L1RCTParameters.cc.
References trackerHits::c, cross_terms_, alignCSCRings::e, patCandidatesForDimuonsSequences_cff::ecal, ecal_calib_, h, AnalysisDataFormats_SUSYBSMObjects::hc, patCandidatesForDimuonsSequences_cff::hcal, hcal_calib_, hcal_high_calib_, HoverE_smear_high_, HoverE_smear_low_, getHLTprescales::index, and funct::pow().
Referenced by EGammaTPGSum(), and JetMETTPGSum().
|
inline |
Definition at line 75 of file L1RCTParameters.h.
References eActivityCut_.
Referenced by L1RCTLookupTables::activityBit().
|
inline |
Definition at line 83 of file L1RCTParameters.h.
References eGammaECalScaleFactors_.
Referenced by L1RCTLookupTables::lookup().
|
inline |
Definition at line 84 of file L1RCTParameters.h.
References eGammaHCalScaleFactors_.
Referenced by L1RCTLookupTables::lookup().
|
inline |
Definition at line 67 of file L1RCTParameters.h.
References eGammaLSB_.
Referenced by L1RCTLookupTables::convertEcal(), and L1RCTLookupTables::eGammaETCode().
float L1RCTParameters::EGammaTPGSum | ( | const float & | ecal, |
const float & | hcal, | ||
const unsigned & | iAbsEta | ||
) | const |
Definition at line 221 of file L1RCTParameters.cc.
References correctedTPGSum(), eGammaECalScaleFactors_, eGammaHCalScaleFactors_, query::result, and useCorrections_.
Referenced by L1RCTLookupTables::eGammaETCode().
|
inline |
Definition at line 77 of file L1RCTParameters.h.
References eicIsolationThreshold_.
Referenced by L1RCTLutWriter::analyze(), and L1RCTElectronIsolationCard::calcElectronCandidates().
|
inline |
Definition at line 70 of file L1RCTParameters.h.
References eMaxForFGCut_.
Referenced by L1RCTLookupTables::hOeFGVetoBit().
|
inline |
Definition at line 73 of file L1RCTParameters.h.
References eMaxForHoECut_.
Referenced by L1RCTLookupTables::activityBit(), and L1RCTLookupTables::hOeFGVetoBit().
|
inline |
Definition at line 69 of file L1RCTParameters.h.
References eMinForFGCut_.
Referenced by L1RCTLookupTables::hOeFGVetoBit().
|
inline |
Definition at line 72 of file L1RCTParameters.h.
References eMinForHoECut_.
Referenced by L1RCTLookupTables::activityBit(), and L1RCTLookupTables::hOeFGVetoBit().
|
inline |
Definition at line 76 of file L1RCTParameters.h.
References hActivityCut_.
Referenced by L1RCTLookupTables::activityBit().
|
inline |
Definition at line 74 of file L1RCTParameters.h.
References hMinForHoECut_.
Referenced by L1RCTLookupTables::hOeFGVetoBit().
|
inline |
Definition at line 71 of file L1RCTParameters.h.
References hOeCut_.
Referenced by L1RCTLookupTables::activityBit(), and L1RCTLookupTables::hOeFGVetoBit().
|
inline |
Definition at line 85 of file L1RCTParameters.h.
References jetMETECalScaleFactors_.
Referenced by L1RCTLookupTables::lookup().
|
inline |
Definition at line 86 of file L1RCTParameters.h.
References jetMETHCalScaleFactors_.
Referenced by L1RCTLookupTables::lookup().
|
inline |
Definition at line 68 of file L1RCTParameters.h.
References jetMETLSB_.
Referenced by L1RCTLookupTables::convertHcal(), L1RCTLookupTables::jetMETETCode(), and L1RCTLookupTables::lookup().
float L1RCTParameters::JetMETTPGSum | ( | const float & | ecal, |
const float & | hcal, | ||
const unsigned & | iAbsEta | ||
) | const |
Definition at line 201 of file L1RCTParameters.cc.
References correctedTPGSum(), eGammaECalScaleFactors_, jetMETECalScaleFactors_, jetMETHCalScaleFactors_, query::result, and useCorrections_.
Referenced by L1RCTLookupTables::jetMETETCode().
|
inline |
Definition at line 78 of file L1RCTParameters.h.
References jscQuietThresholdBarrel_.
Referenced by L1RCTLutWriter::analyze(), and L1RCTJetSummaryCard::fillQuietBits().
|
inline |
Definition at line 79 of file L1RCTParameters.h.
References jscQuietThresholdEndcap_.
Referenced by L1RCTLutWriter::analyze(), and L1RCTJetSummaryCard::fillQuietBits().
|
inline |
Definition at line 80 of file L1RCTParameters.h.
References noiseVetoHB_.
Referenced by L1RCTLookupTables::lookup().
|
inline |
Definition at line 82 of file L1RCTParameters.h.
References noiseVetoHEminus_.
Referenced by L1RCTLookupTables::lookup().
|
inline |
Definition at line 81 of file L1RCTParameters.h.
References noiseVetoHEplus_.
Referenced by L1RCTLookupTables::lookup().
void L1RCTParameters::print | ( | std::ostream & | s | ) | const |
Definition at line 290 of file L1RCTParameters.cc.
References cross_terms_, eActivityCut_, ecal_calib_, eGammaECalScaleFactors_, eGammaHCalScaleFactors_, eGammaLSB_, eicIsolationThreshold_, eMaxForFGCut_, eMaxForHoECut_, eMinForFGCut_, eMinForHoECut_, end, hActivityCut_, hcal_calib_, hcal_high_calib_, hMinForHoECut_, hOeCut_, HoverE_smear_high_, HoverE_smear_low_, i, j, jetMETECalScaleFactors_, jetMETHCalScaleFactors_, jetMETLSB_, jscQuietThresholdBarrel_, jscQuietThresholdEndcap_, noiseVetoHB_, noiseVetoHEminus_, noiseVetoHEplus_, and useCorrections_.
|
private |
Definition at line 215 of file L1RCTParameters.h.
Referenced by correctedTPGSum(), L1RCTParameters(), and print().
|
private |
Definition at line 146 of file L1RCTParameters.h.
Referenced by eActivityCut(), and print().
|
private |
Definition at line 212 of file L1RCTParameters.h.
Referenced by correctedTPGSum(), L1RCTParameters(), and print().
|
private |
Definition at line 194 of file L1RCTParameters.h.
Referenced by eGammaECalScaleFactors(), EGammaTPGSum(), JetMETTPGSum(), and print().
|
private |
Definition at line 195 of file L1RCTParameters.h.
Referenced by eGammaHCalScaleFactors(), EGammaTPGSum(), and print().
|
private |
Definition at line 112 of file L1RCTParameters.h.
Referenced by eGammaLSB(), and print().
|
private |
Definition at line 159 of file L1RCTParameters.h.
Referenced by eicIsolationThreshold(), and print().
|
private |
Definition at line 124 of file L1RCTParameters.h.
Referenced by eMaxForFGCut(), and print().
|
private |
Definition at line 136 of file L1RCTParameters.h.
Referenced by eMaxForHoECut(), and print().
|
private |
Definition at line 120 of file L1RCTParameters.h.
Referenced by eMinForFGCut(), and print().
|
private |
Definition at line 132 of file L1RCTParameters.h.
Referenced by eMinForHoECut(), and print().
|
private |
Definition at line 152 of file L1RCTParameters.h.
Referenced by hActivityCut(), and print().
|
private |
Definition at line 213 of file L1RCTParameters.h.
Referenced by correctedTPGSum(), L1RCTParameters(), and print().
|
private |
Definition at line 214 of file L1RCTParameters.h.
Referenced by correctedTPGSum(), L1RCTParameters(), and print().
|
private |
Definition at line 140 of file L1RCTParameters.h.
Referenced by hMinForHoECut(), and print().
|
private |
Definition at line 128 of file L1RCTParameters.h.
|
private |
Definition at line 220 of file L1RCTParameters.h.
Referenced by correctedTPGSum(), and print().
|
private |
Definition at line 219 of file L1RCTParameters.h.
Referenced by correctedTPGSum(), and print().
|
private |
Definition at line 201 of file L1RCTParameters.h.
Referenced by jetMETECalScaleFactors(), JetMETTPGSum(), and print().
|
private |
Definition at line 202 of file L1RCTParameters.h.
Referenced by jetMETHCalScaleFactors(), JetMETTPGSum(), and print().
|
private |
Definition at line 116 of file L1RCTParameters.h.
Referenced by jetMETLSB(), and print().
|
private |
Definition at line 164 of file L1RCTParameters.h.
Referenced by jscQuietThresholdBarrel(), and print().
|
private |
Definition at line 169 of file L1RCTParameters.h.
Referenced by jscQuietThresholdEndcap(), and print().
|
private |
Definition at line 175 of file L1RCTParameters.h.
Referenced by noiseVetoHB(), and print().
|
private |
Definition at line 185 of file L1RCTParameters.h.
Referenced by noiseVetoHEminus(), and print().
|
private |
Definition at line 180 of file L1RCTParameters.h.
Referenced by noiseVetoHEplus(), and print().
|
private |
Definition at line 188 of file L1RCTParameters.h.
Referenced by EGammaTPGSum(), JetMETTPGSum(), and print().