#include <EcalTPGScale.h>
Public Member Functions | |
EcalTPGScale () | |
virtual double | et_bin_high (const EcalTrigTowerDetId &id, const EcalTriggerPrimitiveSample &s) const =0 |
virtual double | et_bin_low (const EcalTrigTowerDetId &id, const EcalTriggerPrimitiveSample &s) const =0 |
smallest ET value which would resolve into this sample More... | |
virtual double | et_RCT (const EcalTrigTowerDetId &id, const EcalTriggerPrimitiveSample &s) const =0 |
nominal ET value of this sample/code as to be used in RCT LUT creation More... | |
unsigned int | getLinearizedTPG (unsigned int ADC, const EcalTrigTowerDetId &towerId) |
unsigned int | getTPGInADC (double energy, const EcalTrigTowerDetId &towerId) |
double | getTPGInGeV (const EcalTriggerPrimitiveDigi &tpDigi) |
double | getTPGInGeV (unsigned int ADC, const EcalTrigTowerDetId &towerId) |
virtual void | releaseSetup () const |
Release any objects obtained from the EventSetup. More... | |
void | setEventSetup (const edm::EventSetup &evtSetup) |
virtual void | setup (const edm::EventSetup &es) const |
Get any needed information from the event setup. More... | |
~EcalTPGScale () | |
virtual | ~EcalTPGScale ()=default |
Private Attributes | |
const edm::EventSetup * | setup_ |
To be stored in the CaloTPGRecord
Definition at line 8 of file EcalTPGScale.h.
EcalTPGScale::EcalTPGScale | ( | ) |
Definition at line 13 of file EcalTPGScale.cc.
EcalTPGScale::~EcalTPGScale | ( | ) |
Definition at line 16 of file EcalTPGScale.cc.
|
virtualdefault |
|
pure virtual |
smallest ET value which would not resolve into sample (too big)
|
pure virtual |
smallest ET value which would resolve into this sample
|
pure virtual |
nominal ET value of this sample/code as to be used in RCT LUT creation
unsigned int EcalTPGScale::getLinearizedTPG | ( | unsigned int | ADC, |
const EcalTrigTowerDetId & | towerId | ||
) |
Definition at line 54 of file EcalTPGScale.cc.
References edm::EventSetup::get(), edm::eventsetup::EventSetupRecord::get(), EcalTPGGroups::getMap(), mps_fire::i, lumiPlot::lut, edm::ESHandle< T >::product(), DetId::rawId(), and setup_.
Referenced by testEcalTPGScale::analyze(), and getTPGInGeV().
unsigned int EcalTPGScale::getTPGInADC | ( | double | energy, |
const EcalTrigTowerDetId & | towerId | ||
) |
Definition at line 82 of file EcalTPGScale.cc.
References DetId::Ecal, EcalBarrel, EcalEndcap, EcalTPGPhysicsConst::Item::EtSat, edm::EventSetup::get(), edm::eventsetup::EventSetupRecord::get(), EcalTPGGroups::getMap(), EcalTPGPhysicsConst::getMap(), createfilelist::int, lumiPlot::lut, edm::ESHandle< T >::product(), DetId::rawId(), setup_, and EcalTrigTowerDetId::subDet().
Referenced by testEcalTPGScale::analyze().
double EcalTPGScale::getTPGInGeV | ( | const EcalTriggerPrimitiveDigi & | tpDigi | ) |
Definition at line 24 of file EcalTPGScale.cc.
References EcalTriggerPrimitiveDigi::compressedEt(), EcalTriggerPrimitiveDigi::id(), and DataFormats::L1THGCal::towerId.
Referenced by testEcalTPGScale::analyze(), L1CaloInputScalesGenerator::analyze(), L1CaloInputScaleTester::analyze(), L1RCTSaveInput::analyze(), EcalTrigPrimAnalyzer::analyze(), L1RCTLutWriter::analyze(), EcalRecHitWorkerRecover::estimateEnergy(), EcalRecHitWorkerRecover::run(), and EcalDeadCellTriggerPrimitiveFilter::setEvtTPstatus().
double EcalTPGScale::getTPGInGeV | ( | unsigned int | ADC, |
const EcalTrigTowerDetId & | towerId | ||
) |
Definition at line 31 of file EcalTPGScale.cc.
References DetId::Ecal, EcalBarrel, EcalEndcap, EcalTPGPhysicsConst::Item::EtSat, edm::EventSetup::get(), getLinearizedTPG(), EcalTPGPhysicsConst::getMap(), edm::ESHandle< T >::product(), DetId::rawId(), setup_, and EcalTrigTowerDetId::subDet().
|
inlinevirtual |
Release any objects obtained from the EventSetup.
Definition at line 33 of file EcalTPGScale.h.
void EcalTPGScale::setEventSetup | ( | const edm::EventSetup & | evtSetup | ) |
Definition at line 19 of file EcalTPGScale.cc.
References setup_.
Referenced by testEcalTPGScale::analyze(), EcalEBTrigPrimAnalyzer::analyze(), L1CaloInputScalesGenerator::analyze(), L1CaloInputScaleTester::analyze(), L1RCTSaveInput::analyze(), EcalTrigPrimAnalyzer::analyze(), L1RCTLutWriter::analyze(), EcalDeadCellTriggerPrimitiveFilter::envSet(), EcalDeadCellDeltaRFilter::envSet(), and EcalRecHitWorkerRecover::set().
|
inlinevirtual |
Get any needed information from the event setup.
Definition at line 31 of file EcalTPGScale.h.
Referenced by o2olib.O2OTool::execute().
|
private |
Definition at line 23 of file EcalTPGScale.h.
Referenced by getLinearizedTPG(), getTPGInADC(), getTPGInGeV(), and setEventSetup().