#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 |
Description: Class to contain parameters which define RCT Lookup Tables
Usage: <usage>
Definition at line 27 of file L1RCTParameters.h.
|
inline |
Definition at line 30 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_, mps_fire::i, and push_back().
|
inline |
Definition at line 61 of file L1RCTParameters.h.
unsigned short L1RCTParameters::calcCard | ( | unsigned short | rct_iphi, |
unsigned short | absIeta | ||
) | const |
unsigned short L1RCTParameters::calcCrate | ( | unsigned short | rct_iphi, |
short | ieta | ||
) | const |
Definition at line 83 of file L1RCTParameters.cc.
References funct::abs(), and LEDCalibrationChannels::ieta.
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 141 of file L1RCTParameters.cc.
References calcIAbsEta(), and l1tTowerCalibrationProducer_cfi::iEta.
Referenced by L1RCTLookupTables::lookup(), and RctInputTextToDigi::produce().
unsigned short L1RCTParameters::calcIPhi | ( | unsigned short | iCrate, |
unsigned short | iCard, | ||
unsigned short | iTower | ||
) | const |
Definition at line 152 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 109 of file L1RCTParameters.cc.
References LEDCalibrationChannels::iphi, and l1tHGCalTowerProducer_cfi::tower.
Referenced by L1RCT::digiInput(), and L1RCTLutWriter::writeRcLutFile().
|
private |
Definition at line 285 of file L1RCTParameters.cc.
References HltBtagPostValidation_cff::c, cross_terms_, MillePedeFileConverter_cfg::e, bsc_activity_cfg::ecal, ecal_calib_, h, hltEgammaHLTExtra_cfi::hcal, hcal_calib_, hcal_high_calib_, HoverE_smear_high_, HoverE_smear_low_, and funct::pow().
Referenced by EGammaTPGSum(), and JetMETTPGSum().
|
inline |
Definition at line 73 of file L1RCTParameters.h.
References eActivityCut_.
Referenced by L1RCTLookupTables::activityBit().
|
inline |
Definition at line 81 of file L1RCTParameters.h.
References eGammaECalScaleFactors_.
Referenced by L1RCTLookupTables::lookup().
|
inline |
Definition at line 82 of file L1RCTParameters.h.
References eGammaHCalScaleFactors_.
Referenced by L1RCTLookupTables::lookup().
|
inline |
Definition at line 65 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 240 of file L1RCTParameters.cc.
References correctedTPGSum(), eGammaECalScaleFactors_, eGammaHCalScaleFactors_, Exception, createfilelist::int, mps_fire::result, and useCorrections_.
Referenced by L1RCTLookupTables::eGammaETCode().
|
inline |
Definition at line 75 of file L1RCTParameters.h.
References eicIsolationThreshold_.
Referenced by L1RCTLutWriter::analyze(), and L1RCTElectronIsolationCard::calcElectronCandidates().
|
inline |
Definition at line 68 of file L1RCTParameters.h.
References eMaxForFGCut_.
Referenced by L1RCTLookupTables::hOeFGVetoBit().
|
inline |
Definition at line 71 of file L1RCTParameters.h.
References eMaxForHoECut_.
Referenced by L1RCTLookupTables::activityBit(), and L1RCTLookupTables::hOeFGVetoBit().
|
inline |
Definition at line 67 of file L1RCTParameters.h.
References eMinForFGCut_.
Referenced by L1RCTLookupTables::hOeFGVetoBit().
|
inline |
Definition at line 70 of file L1RCTParameters.h.
References eMinForHoECut_.
Referenced by L1RCTLookupTables::activityBit(), and L1RCTLookupTables::hOeFGVetoBit().
|
inline |
Definition at line 74 of file L1RCTParameters.h.
References hActivityCut_.
Referenced by L1RCTLookupTables::activityBit().
|
inline |
Definition at line 72 of file L1RCTParameters.h.
References hMinForHoECut_.
Referenced by L1RCTLookupTables::hOeFGVetoBit().
|
inline |
Definition at line 69 of file L1RCTParameters.h.
References hOeCut_.
Referenced by L1RCTLookupTables::activityBit(), and L1RCTLookupTables::hOeFGVetoBit().
|
inline |
Definition at line 83 of file L1RCTParameters.h.
References jetMETECalScaleFactors_.
Referenced by L1RCTLookupTables::lookup().
|
inline |
Definition at line 84 of file L1RCTParameters.h.
References jetMETHCalScaleFactors_.
Referenced by L1RCTLookupTables::lookup().
|
inline |
Definition at line 66 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 189 of file L1RCTParameters.cc.
References correctedTPGSum(), eGammaECalScaleFactors_, Exception, createfilelist::int, jetMETECalScaleFactors_, jetMETHCalScaleFactors_, mps_fire::result, and useCorrections_.
Referenced by L1RCTLookupTables::jetMETETCode().
|
inline |
Definition at line 76 of file L1RCTParameters.h.
References jscQuietThresholdBarrel_.
Referenced by L1RCTLutWriter::analyze(), and L1RCTJetSummaryCard::fillQuietBits().
|
inline |
Definition at line 77 of file L1RCTParameters.h.
References jscQuietThresholdEndcap_.
Referenced by L1RCTLutWriter::analyze(), and L1RCTJetSummaryCard::fillQuietBits().
|
inline |
Definition at line 78 of file L1RCTParameters.h.
References noiseVetoHB_.
Referenced by L1RCTLookupTables::lookup().
|
inline |
Definition at line 80 of file L1RCTParameters.h.
References noiseVetoHEminus_.
Referenced by L1RCTLookupTables::lookup().
|
inline |
Definition at line 79 of file L1RCTParameters.h.
References noiseVetoHEplus_.
Referenced by L1RCTLookupTables::lookup().
void L1RCTParameters::print | ( | std::ostream & | s | ) | const |
Definition at line 324 of file L1RCTParameters.cc.
References cross_terms_, eActivityCut_, ecal_calib_, eGammaECalScaleFactors_, eGammaHCalScaleFactors_, eGammaLSB_, eicIsolationThreshold_, eMaxForFGCut_, eMaxForHoECut_, eMinForFGCut_, eMinForHoECut_, mps_fire::end, hActivityCut_, hcal_calib_, hcal_high_calib_, hMinForHoECut_, hOeCut_, HoverE_smear_high_, HoverE_smear_low_, mps_fire::i, dqmiolumiharvest::j, jetMETECalScaleFactors_, jetMETHCalScaleFactors_, jetMETLSB_, jscQuietThresholdBarrel_, jscQuietThresholdEndcap_, noiseVetoHB_, noiseVetoHEminus_, noiseVetoHEplus_, alignCSCRings::s, and useCorrections_.
|
private |
|
friend |
Definition at line 218 of file L1RCTParameters.h.
|
friend |
Definition at line 218 of file L1RCTParameters.h.
|
private |
Definition at line 211 of file L1RCTParameters.h.
Referenced by correctedTPGSum(), L1RCTParameters(), and print().
|
private |
Definition at line 143 of file L1RCTParameters.h.
Referenced by eActivityCut(), and print().
|
private |
Definition at line 208 of file L1RCTParameters.h.
Referenced by correctedTPGSum(), L1RCTParameters(), and print().
|
private |
Definition at line 191 of file L1RCTParameters.h.
Referenced by eGammaECalScaleFactors(), EGammaTPGSum(), JetMETTPGSum(), and print().
|
private |
Definition at line 192 of file L1RCTParameters.h.
Referenced by eGammaHCalScaleFactors(), EGammaTPGSum(), and print().
|
private |
Definition at line 109 of file L1RCTParameters.h.
Referenced by eGammaLSB(), and print().
|
private |
Definition at line 156 of file L1RCTParameters.h.
Referenced by eicIsolationThreshold(), and print().
|
private |
Definition at line 121 of file L1RCTParameters.h.
Referenced by eMaxForFGCut(), and print().
|
private |
Definition at line 133 of file L1RCTParameters.h.
Referenced by eMaxForHoECut(), and print().
|
private |
Definition at line 117 of file L1RCTParameters.h.
Referenced by eMinForFGCut(), and print().
|
private |
Definition at line 129 of file L1RCTParameters.h.
Referenced by eMinForHoECut(), and print().
|
private |
Definition at line 149 of file L1RCTParameters.h.
Referenced by hActivityCut(), and print().
|
private |
Definition at line 209 of file L1RCTParameters.h.
Referenced by correctedTPGSum(), L1RCTParameters(), and print().
|
private |
Definition at line 210 of file L1RCTParameters.h.
Referenced by correctedTPGSum(), L1RCTParameters(), and print().
|
private |
Definition at line 137 of file L1RCTParameters.h.
Referenced by hMinForHoECut(), and print().
|
private |
Definition at line 125 of file L1RCTParameters.h.
|
private |
Definition at line 216 of file L1RCTParameters.h.
Referenced by correctedTPGSum(), and print().
|
private |
Definition at line 215 of file L1RCTParameters.h.
Referenced by correctedTPGSum(), and print().
|
private |
Definition at line 198 of file L1RCTParameters.h.
Referenced by jetMETECalScaleFactors(), JetMETTPGSum(), and print().
|
private |
Definition at line 199 of file L1RCTParameters.h.
Referenced by jetMETHCalScaleFactors(), JetMETTPGSum(), and print().
|
private |
Definition at line 113 of file L1RCTParameters.h.
Referenced by jetMETLSB(), and print().
|
private |
Definition at line 161 of file L1RCTParameters.h.
Referenced by jscQuietThresholdBarrel(), and print().
|
private |
Definition at line 166 of file L1RCTParameters.h.
Referenced by jscQuietThresholdEndcap(), and print().
|
private |
Definition at line 172 of file L1RCTParameters.h.
Referenced by noiseVetoHB(), and print().
|
private |
Definition at line 182 of file L1RCTParameters.h.
Referenced by noiseVetoHEminus(), and print().
|
private |
Definition at line 177 of file L1RCTParameters.h.
Referenced by noiseVetoHEplus(), and print().
|
private |
Definition at line 185 of file L1RCTParameters.h.
Referenced by EGammaTPGSum(), JetMETTPGSum(), and print().