#include <EcalTPGScale.h>
Classes | |
struct | Tokens |
Public Member Functions | |
EcalTPGScale (Tokens const &, const edm::EventSetup &evtSetup) | |
unsigned int | getLinearizedTPG (unsigned int ADC, const EcalTrigTowerDetId &towerId) const |
unsigned int | getTPGInADC (double energy, const EcalTrigTowerDetId &towerId) const |
double | getTPGInGeV (const EcalTriggerPrimitiveDigi &tpDigi) const |
double | getTPGInGeV (unsigned int ADC, const EcalTrigTowerDetId &towerId) const |
Private Attributes | |
EcalTPGLutIdMap const & | lut_ |
EcalTPGLutGroup const & | lutGrp_ |
EcalTPGPhysicsConst const & | phys_ |
Definition at line 16 of file EcalTPGScale.h.
EcalTPGScale::EcalTPGScale | ( | Tokens const & | tokens, |
const edm::EventSetup & | evtSetup | ||
) |
Definition at line 10 of file EcalTPGScale.cc.
unsigned int EcalTPGScale::getLinearizedTPG | ( | unsigned int | ADC, |
const EcalTrigTowerDetId & | towerId | ||
) | const |
Definition at line 44 of file EcalTPGScale.cc.
References EcalTPGLutIdMap::getMap(), EcalTPGGroups::getMap(), mps_fire::i, lut_, lutGrp_, and ecaldqm::towerId().
Referenced by testEcalTPGScale::analyze(), and getTPGInGeV().
unsigned int EcalTPGScale::getTPGInADC | ( | double | energy, |
const EcalTrigTowerDetId & | towerId | ||
) | const |
Definition at line 67 of file EcalTPGScale.cc.
References DetId::Ecal, EcalBarrel, EcalEndcap, hcalRecHitTable_cff::energy, EcalTPGLutIdMap::getMap(), EcalTPGGroups::getMap(), EcalTPGPhysicsConst::getMap(), createfilelist::int, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, B2GTnPMonitor_cfi::item, lut_, lutGrp_, phys_, DetId::rawId(), and ecaldqm::towerId().
Referenced by testEcalTPGScale::analyze().
double EcalTPGScale::getTPGInGeV | ( | const EcalTriggerPrimitiveDigi & | tpDigi | ) | const |
Definition at line 17 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 | ||
) | const |
Definition at line 23 of file EcalTPGScale.cc.
References DetId::Ecal, EcalBarrel, EcalEndcap, getLinearizedTPG(), EcalTPGPhysicsConst::getMap(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, B2GTnPMonitor_cfi::item, phys_, DetId::rawId(), and ecaldqm::towerId().
|
private |
Definition at line 36 of file EcalTPGScale.h.
Referenced by getLinearizedTPG(), and getTPGInADC().
|
private |
Definition at line 35 of file EcalTPGScale.h.
Referenced by getLinearizedTPG(), and getTPGInADC().
|
private |
Definition at line 34 of file EcalTPGScale.h.
Referenced by getTPGInADC(), and getTPGInGeV().