#include <HCALResponse.h>
Public Member Functions | |
void | correctHF (double e, int type) |
vec1 & | getCorrHFem () |
vec1 & | getCorrHFhad () |
double | getHCALEnergyResponse (double e, int hit, RandomEngineAndDistribution const *) |
double | getMIPfraction (double energy, double eta) |
HCALResponse (const edm::ParameterSet &pset) | |
double | responseHCAL (int _mip, double energy, double eta, int partype, RandomEngineAndDistribution const *) |
~HCALResponse () | |
Private Member Functions | |
double | cballShootNoNegative (double mu, double sigma, double aL, double nL, double aR, double nR, RandomEngineAndDistribution const *) |
double | gaussShootNoNegative (double e, double sigma, RandomEngineAndDistribution const *) |
int | getDet (int ieta) |
double | interEM (double e, int ie, int ieta, RandomEngineAndDistribution const *) |
double | interHD (int mip, double e, int ie, int ieta, int det, RandomEngineAndDistribution const *) |
double | interMU (double e, int ie, int ieta, RandomEngineAndDistribution const *) |
double | PoissonShootNoNegative (double e, double sigma, RandomEngineAndDistribution const *) |
Private Attributes | |
int | barrelMUeta |
DoubleCrystalBallGenerator | cball |
vec1 | corrHFem |
vec2 | corrHFgEm |
vec2 | corrHFgHad |
vec1 | corrHFhad |
vec2 | corrHFhEm |
vec2 | corrHFhHad |
bool | debug |
vec1 | eGridEM |
vec1 | eGridHD [4] |
vec1 | eGridMU |
int | endcapMUeta |
vec1 | energyHF |
double | eResponseCoefficient |
double | eResponseExponent |
double | eResponsePlateau [3] |
double | eResponseScale [3] |
vec1 | etaGridMU |
double | etaStep |
int | HDeta [4] |
int | maxEMe |
int | maxEMeta |
int | maxEne |
int | maxEta |
int | maxHDe [4] |
int | maxHDetas [3] |
int | maxMUbin |
int | maxMUe |
int | maxMUeta |
vec2 | meanEM |
vec3 | mipfraction |
double | muStep |
int | nPar |
vec5 | parameters |
std::vector< std::string > | parNames |
vec3 | PoissonParameters |
double | respFactorEM |
vec3 | responseMU |
double | RespPar [3][2][3] |
vec2 | sigmaEM |
bool | usemip |
Definition at line 29 of file HCALResponse.h.
HCALResponse::HCALResponse | ( | const edm::ParameterSet & | pset | ) |
Definition at line 18 of file HCALResponse.cc.
References funct::abs(), HcalResponse_cfi::barrelMUeta, HcalResponse_cfi::corrHFgEm, HcalResponse_cfi::corrHFgHad, HcalResponse_cfi::corrHFhEm, HcalResponse_cfi::corrHFhHad, ztail::d, debug, HcalResponse_cfi::eGridEM, HcalResponse_cfi::eGridMU, HcalResponse_cfi::endcapMUeta, HcalResponse_cfi::energyHF, HcalResponse_cfi::eResponseCoefficient, HcalResponse_cfi::eResponseExponent, HcalResponse_cfi::etaGridMU, HcalResponse_cfi::etaStep, HLT_2024v13_cff::fraction, HCAL, mps_fire::i, dqmiolumiharvest::j, dqmdumpme::k, visualization-live-secondInstance_cfg::m, HcalResponse_cfi::maxEMe, HcalResponse_cfi::maxEne, razorScouting_cff::maxEta, HcalResponse_cfi::maxMUbin, HcalResponse_cfi::maxMUe, HcalResponse_cfi::maxMUeta, HcalResponse_cfi::meanEM, HcalResponse_cfi::muStep, HcalResponse_cfi::nPar, AlCaHLTBitMon_ParallelJobs::p, HcalResponse_cfi::parNames, unpackData-CaloStage2::pname, muonDTDigis_cfi::pset, HcalResponse_cfi::respFactorEM, HcalResponse_cfi::sigmaEM, AlCaHLTBitMon_QueryRunRegistry::string, createJobs::tmp, HcalResponse_cfi::usemip, and VFCAL.
|
inline |
Definition at line 32 of file HCALResponse.h.
|
private |
Definition at line 614 of file HCALResponse.cc.
References amptDefaultParameters_cff::mu, and MillePedeFileConverter_cfg::out.
void HCALResponse::correctHF | ( | double | e, |
int | type | ||
) |
Definition at line 634 of file HCALResponse.cc.
References funct::abs(), HcalResponse_cfi::corrHFgEm, HcalResponse_cfi::corrHFgHad, HcalResponse_cfi::corrHFhEm, HcalResponse_cfi::corrHFhHad, HcalResponse_cfi::energyHF, mps_fire::i, HcalResponse_cfi::maxEne, and razorScouting_cff::maxEta.
Referenced by CalorimetryManager::HDShowerSimulation(), and CalorimetryManager::reconstructTrack().
|
private |
Definition at line 602 of file HCALResponse.cc.
References MillePedeFileConverter_cfg::e, RandomEngineAndDistribution::gaussShoot(), and MillePedeFileConverter_cfg::out.
|
inline |
Definition at line 47 of file HCALResponse.h.
References corrHFem.
Referenced by CalorimetryManager::updateHCAL().
|
inline |
Definition at line 48 of file HCALResponse.h.
References corrHFhad.
Referenced by CalorimetryManager::updateHCAL().
|
private |
double HCALResponse::getHCALEnergyResponse | ( | double | e, |
int | hit, | ||
RandomEngineAndDistribution const * | random | ||
) |
Definition at line 563 of file HCALResponse.cc.
References HltBtagPostValidation_cff::c, MillePedeFileConverter_cfg::e, HcalResponse_cfi::eResponseCoefficient, HcalResponse_cfi::eResponseExponent, JetChargeProducer_cfi::exp, hcforward, dqm-mbProfile::log, dqmiodumpmetadata::n, AlCaHLTBitMon_ParallelJobs::p, L1TObjectsTimingClient_cff::resolution, testHGCalSimSingleMuonPt100_cfg::rndm, alignCSCRings::s, mathSSE::sqrt(), and VFCAL.
Referenced by CalorimetryManager::HDShowerSimulation(), and CalorimetryManager::reconstructHCAL().
double HCALResponse::getMIPfraction | ( | double | energy, |
double | eta | ||
) |
Definition at line 247 of file HCALResponse.cc.
References funct::abs(), hcalRecHitTable_cff::energy, PVValHelper::eta, HcalResponse_cfi::etaStep, mps_fire::i, hcalRecHitTable_cff::ieta, SiStripPI::mean, testProducerWithPsetDescEmpty_cfi::y1, and testProducerWithPsetDescEmpty_cfi::y2.
Referenced by CalorimetryManager::HDShowerSimulation().
|
private |
Definition at line 525 of file HCALResponse.cc.
References debug, MillePedeFileConverter_cfg::e, HcalResponse_cfi::eGridEM, hcalRecHitTable_cff::ieta, SiStripPI::mean, HcalResponse_cfi::meanEM, testHGCalSimSingleMuonPt100_cfg::rndm, HcalResponse_cfi::sigmaEM, testProducerWithPsetDescEmpty_cfi::y1, and testProducerWithPsetDescEmpty_cfi::y2.
|
private |
Definition at line 449 of file HCALResponse.cc.
References MillePedeFileConverter_cfg::e, RandomEngineAndDistribution::flatShoot(), hcalRecHitTable_cff::ieta, SiStripPI::mean, HcalResponse_cfi::nPar, AlCaHLTBitMon_ParallelJobs::p, RandomEngineAndDistribution::poissonShoot(), createJobs::tmp, testProducerWithPsetDescEmpty_cfi::y1, and testProducerWithPsetDescEmpty_cfi::y2.
|
private |
Definition at line 404 of file HCALResponse.cc.
References debug, MillePedeFileConverter_cfg::e, HcalResponse_cfi::eGridMU, RandomEngineAndDistribution::flatShoot(), mps_fire::i, hcalRecHitTable_cff::ieta, HcalResponse_cfi::maxMUbin, SiStripPI::mean, HcalResponse_cfi::muStep, x, testProducerWithPsetDescEmpty_cfi::y1, and testProducerWithPsetDescEmpty_cfi::y2.
|
private |
Definition at line 625 of file HCALResponse.cc.
References MillePedeFileConverter_cfg::e, MillePedeFileConverter_cfg::out, and RandomEngineAndDistribution::poissonShoot().
double HCALResponse::responseHCAL | ( | int | _mip, |
double | energy, | ||
double | eta, | ||
int | partype, | ||
RandomEngineAndDistribution const * | random | ||
) |
Definition at line 280 of file HCALResponse.cc.
References funct::abs(), debug, HcalResponse_cfi::eGridEM, HcalResponse_cfi::eGridMU, hcalRecHitTable_cff::energy, PVValHelper::eta, HcalResponse_cfi::etaGridMU, HcalResponse_cfi::etaStep, mps_fire::i, hcalRecHitTable_cff::ieta, HcalResponse_cfi::maxEMe, HcalResponse_cfi::maxMUe, HcalResponse_cfi::maxMUeta, SiStripPI::mean, and HcalResponse_cfi::usemip.
Referenced by CalorimetryManager::HDShowerSimulation(), and CalorimetryManager::reconstructHCAL().
|
private |
Definition at line 87 of file HCALResponse.h.
|
private |
Definition at line 116 of file HCALResponse.h.
|
private |
Definition at line 123 of file HCALResponse.h.
Referenced by getCorrHFem().
|
private |
Definition at line 121 of file HCALResponse.h.
|
private |
Definition at line 121 of file HCALResponse.h.
|
private |
Definition at line 123 of file HCALResponse.h.
Referenced by getCorrHFhad().
|
private |
Definition at line 122 of file HCALResponse.h.
|
private |
Definition at line 122 of file HCALResponse.h.
|
private |
Definition at line 67 of file HCALResponse.h.
Referenced by rrapi.RRApi::dprint(), pkg.AbstractPkg::generate(), rrapi.RRApi::get(), pkg.AbstractPkg::get_kwds(), runTauIdMVA.TauIDEmbedder::load_againstElectronMVA6(), runTauIdMVA.TauIDEmbedder::loadMVA_WPs_run2_2017(), and pkg.AbstractPkg::write().
|
private |
Definition at line 95 of file HCALResponse.h.
|
private |
Definition at line 94 of file HCALResponse.h.
|
private |
Definition at line 96 of file HCALResponse.h.
|
private |
Definition at line 87 of file HCALResponse.h.
|
private |
Definition at line 120 of file HCALResponse.h.
|
private |
Definition at line 79 of file HCALResponse.h.
|
private |
Definition at line 78 of file HCALResponse.h.
|
private |
Definition at line 77 of file HCALResponse.h.
|
private |
Definition at line 76 of file HCALResponse.h.
|
private |
Definition at line 97 of file HCALResponse.h.
|
private |
Definition at line 85 of file HCALResponse.h.
|
private |
Definition at line 87 of file HCALResponse.h.
|
private |
Definition at line 82 of file HCALResponse.h.
|
private |
Definition at line 82 of file HCALResponse.h.
|
private |
Definition at line 119 of file HCALResponse.h.
|
private |
Definition at line 119 of file HCALResponse.h.
|
private |
Definition at line 83 of file HCALResponse.h.
|
private |
Definition at line 87 of file HCALResponse.h.
|
private |
Definition at line 82 of file HCALResponse.h.
|
private |
Definition at line 82 of file HCALResponse.h.
|
private |
Definition at line 82 of file HCALResponse.h.
|
private |
Definition at line 107 of file HCALResponse.h.
|
private |
Definition at line 112 of file HCALResponse.h.
|
private |
Definition at line 89 of file HCALResponse.h.
|
private |
Definition at line 101 of file HCALResponse.h.
|
private |
Definition at line 103 of file HCALResponse.h.
|
private |
Definition at line 102 of file HCALResponse.h.
|
private |
Definition at line 113 of file HCALResponse.h.
|
private |
Definition at line 91 of file HCALResponse.h.
|
private |
Definition at line 111 of file HCALResponse.h.
|
private |
Definition at line 73 of file HCALResponse.h.
|
private |
Definition at line 107 of file HCALResponse.h.
|
private |
Definition at line 67 of file HCALResponse.h.