#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 13 of file EcalTPGScale.cc.
EcalTPGScale::~EcalTPGScale | ( | ) |
Definition at line 16 of file EcalTPGScale.cc.
unsigned int EcalTPGScale::getLinearizedTPG | ( | unsigned int | ADC, |
const EcalTrigTowerDetId & | towerId | ||
) |
Definition at line 54 of file EcalTPGScale.cc.
References edm::EventSetup::get(), edm::eventsetup::EventSetupRecordImplementation< T >::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::EventSetupRecordImplementation< T >::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(), 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 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().
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(), EcalTrigPrimAnalyzer::analyze(), L1RCTSaveInput::analyze(), L1RCTLutWriter::analyze(), EcalDeadCellTriggerPrimitiveFilter::filter(), and EcalRecHitWorkerRecover::set().
|
private |
Definition at line 23 of file EcalTPGScale.h.
Referenced by getLinearizedTPG(), getTPGInADC(), getTPGInGeV(), and setEventSetup().