#include <EcalTPGScale.h>
Public Member Functions | |
EcalTPGScale () | |
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) |
void | setEventSetup (const edm::EventSetup &evtSetup) |
~EcalTPGScale () | |
Private Attributes | |
const edm::EventSetup * | setup_ |
Definition at line 8 of file EcalTPGScale.h.
EcalTPGScale::EcalTPGScale | ( | ) |
Definition at line 12 of file EcalTPGScale.cc.
EcalTPGScale::~EcalTPGScale | ( | ) |
Definition at line 14 of file EcalTPGScale.cc.
unsigned int EcalTPGScale::getLinearizedTPG | ( | unsigned int | ADC, |
const EcalTrigTowerDetId & | towerId | ||
) |
Definition at line 47 of file EcalTPGScale.cc.
References edm::EventSetup::get(), edm::eventsetup::EventSetupRecordImplementation< T >::get(), get, EcalTPGGroups::getMap(), mps_fire::i, edm::ESHandle< T >::product(), setup_, and ecaldqm::towerId().
Referenced by testEcalTPGScale::analyze(), and getTPGInGeV().
unsigned int EcalTPGScale::getTPGInADC | ( | double | energy, |
const EcalTrigTowerDetId & | towerId | ||
) |
Definition at line 75 of file EcalTPGScale.cc.
References DetId::Ecal, EcalBarrel, EcalEndcap, HCALHighEnergyHPDFilter_cfi::energy, edm::EventSetup::get(), edm::eventsetup::EventSetupRecordImplementation< T >::get(), get, EcalTPGGroups::getMap(), EcalTPGPhysicsConst::getMap(), createfilelist::int, B2GTnPMonitor_cfi::item, edm::ESHandle< T >::product(), DetId::rawId(), setup_, and ecaldqm::towerId().
Referenced by testEcalTPGScale::analyze().
double EcalTPGScale::getTPGInGeV | ( | const EcalTriggerPrimitiveDigi & | tpDigi | ) |
Definition at line 18 of file EcalTPGScale.cc.
References EcalTriggerPrimitiveDigi::compressedEt(), EcalTriggerPrimitiveDigi::id(), and ecaldqm::towerId().
Referenced by testEcalTPGScale::analyze(), L1CaloInputScalesGenerator::analyze(), L1CaloInputScaleTester::analyze(), EcalTrigPrimAnalyzer::analyze(), L1RCTSaveInput::analyze(), L1RCTLutWriter::analyze(), EcalRecHitWorkerRecover::estimateEnergy(), EcalRecHitWorkerRecover::run(), and EcalDeadCellTriggerPrimitiveFilter::setEvtTPstatus().
double EcalTPGScale::getTPGInGeV | ( | unsigned int | ADC, |
const EcalTrigTowerDetId & | towerId | ||
) |
Definition at line 24 of file EcalTPGScale.cc.
References DetId::Ecal, EcalBarrel, EcalEndcap, edm::EventSetup::get(), get, getLinearizedTPG(), EcalTPGPhysicsConst::getMap(), B2GTnPMonitor_cfi::item, edm::ESHandle< T >::product(), DetId::rawId(), setup_, and ecaldqm::towerId().
void EcalTPGScale::setEventSetup | ( | const edm::EventSetup & | evtSetup | ) |
Definition at line 16 of file EcalTPGScale.cc.
References setup_.
Referenced by testEcalTPGScale::analyze(), EcalEBTrigPrimAnalyzer::analyze(), L1CaloInputScalesGenerator::analyze(), L1CaloInputScaleTester::analyze(), EcalTrigPrimAnalyzer::analyze(), L1RCTSaveInput::analyze(), L1RCTLutWriter::analyze(), EcalDeadCellTriggerPrimitiveFilter::filter(), and EcalRecHitWorkerRecover::set().
|
private |
Definition at line 22 of file EcalTPGScale.h.
Referenced by getLinearizedTPG(), getTPGInADC(), getTPGInGeV(), setEventSetup(), and upgradeWorkflowComponents.UpgradeWorkflow::setup().