#include <RecoHI/HiJetAlgos/plugins/HiPuRhoProducer.cc>
Public Types | |
using | ClusterSequencePtr = std::shared_ptr< fastjet::ClusterSequence > |
using | JetDefPtr = std::shared_ptr< fastjet::JetDefinition > |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Public Member Functions | |
virtual void | calculateOrphanInput (std::vector< fastjet::PseudoJet > &orphanInput) |
virtual void | calculatePedestal (std::vector< fastjet::PseudoJet > const &coll) |
HiPuRhoProducer (const edm::ParameterSet &) | |
virtual void | putRho (edm::Event &iEvent, const edm::EventSetup &iSetup) |
virtual void | setupGeometryMap (edm::Event &iEvent, const edm::EventSetup &iSetup) |
virtual void | subtractPedestal (std::vector< fastjet::PseudoJet > &coll) |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Types | |
typedef std::pair< double, double > | EtaPhi |
Private Member Functions | |
virtual void | inputTowers () |
void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
const edm::ESGetToken< CaloGeometry, CaloGeometryRecord > | caloGeometryToken_ |
const edm::EDGetTokenT< CaloTowerCollection > | caloTowerToken_ |
const bool | dropZeroTowers_ |
std::map< int, double > | emean_ |
std::map< int, double > | esigma_ |
std::vector< double > | etaEdgeHi_ |
std::vector< double > | etaEdgeLow_ |
std::vector< double > | etaEdges_ |
std::map< int, std::array< double, 4 > > | eTop4_ |
ClusterSequencePtr | fjClusterSeq_ |
std::vector< fastjet::PseudoJet > | fjInputs_ |
JetDefPtr | fjJetDefinition_ |
std::vector< fastjet::PseudoJet > | fjJets_ |
std::vector< fastjet::PseudoJet > | fjOriginalInputs_ |
CaloGeometry const * | geo_ = nullptr |
std::map< int, int > | geomtowers_ |
int | ietamax_ |
int | ietamin_ |
const int | initialValue_ = -99 |
std::vector< const CaloTower * > | inputs_ |
const int | medianWindowWidth_ |
const double | minimumTowersFraction_ |
const double | nSigmaPU_ |
std::vector< int > | nTow_ |
std::map< int, int > | ntowersWithJets_ |
bool | postOrphan_ = false |
const double | puPtMin_ |
const double | radiusPU_ |
std::vector< double > | rho_ |
std::vector< double > | rhoExtra_ |
std::vector< double > | rhoM_ |
const double | rParam_ |
bool | setInitialValue_ |
std::vector< EtaPhiTower > | towermap_ |
std::vector< double > | towExcludeEta_ |
std::vector< double > | towExcludePhi_ |
std::vector< double > | towExcludePt_ |
const double | towSigmaCut_ |
std::array< float, nEtaTow_ > | vmean0_ |
std::array< float, nEtaTow_ > | vmean1_ |
std::array< int, nEtaTow_ > | vngeom_ |
std::array< int, nEtaTow_ > | vntow_ |
std::array< float, nEtaTow_ > | vrho0_ |
std::array< float, nEtaTow_ > | vrho1_ |
std::array< float, nEtaTow_ > | vrms0_ |
std::array< float, nEtaTow_ > | vrms1_ |
Static Private Attributes | |
static constexpr int | nEtaTow_ = 82 |
Description: Producer to dump Pu-jet style rho into event content Implementation: Just see MultipleAlgoIterator - re-implenting for use in CS jet with sigma subtraction and zeroing
Definition at line 68 of file HiPuRhoProducer.cc.
using HiPuRhoProducer::ClusterSequencePtr = std::shared_ptr<fastjet::ClusterSequence> |
Definition at line 72 of file HiPuRhoProducer.cc.
|
private |
Definition at line 144 of file HiPuRhoProducer.cc.
using HiPuRhoProducer::JetDefPtr = std::shared_ptr<fastjet::JetDefinition> |
Definition at line 73 of file HiPuRhoProducer.cc.
|
explicit |
Definition at line 148 of file HiPuRhoProducer.cc.
|
virtual |
Definition at line 449 of file HiPuRhoProducer.cc.
References reco::deltaR2(), reco::LeafCandidate::energy(), reco::LeafCandidate::eta(), spr::find(), fjInputs_, fjJets_, fjOriginalInputs_, geomtowers_, CaloTower::ieta(), input, inputs_, CaloTower::iphi(), LogDebug, minimumTowersFraction_, ntowersWithJets_, reco::LeafCandidate::phi(), postOrphan_, reco::LeafCandidate::pt(), puPtMin_, reco::LeafCandidate::px(), reco::LeafCandidate::py(), reco::LeafCandidate::pz(), radiusPU_, towermap_, towExcludeEta_, towExcludePhi_, and towExcludePt_.
Referenced by produce().
|
virtual |
Definition at line 273 of file HiPuRhoProducer.cc.
References funct::abs(), StorageManager_cfg::e1, emean_, esigma_, CaloTower::et(), hi::etaedge, etaEdgeHi_, etaEdgeLow_, photons_cff::etaWidth, eTop4_, geomtowers_, submitPVValidationJobs::gt, mps_fire::i, CaloTower::ieta(), ietamax_, ietamin_, initialValue_, inputs_, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, LogDebug, M_PI, SiStripPI::min, minimumTowersFraction_, nEtaTow_, nSigmaPU_, nt, nTow_, ntowersWithJets_, postOrphan_, rho_, rhoExtra_, rhoM_, setInitialValue_, Validation_hcalonly_cfi::sign, findQualityFiles::size, mathSSE::sqrt(), towSigmaCut_, vmean0_, vmean1_, vngeom_, vntow_, vrho0_, vrho1_, vrms0_, and vrms1_.
Referenced by produce().
|
static |
Definition at line 561 of file HiPuRhoProducer.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and ProducerED_cfi::InputTag.
|
privatevirtual |
Definition at line 219 of file HiPuRhoProducer.cc.
References geometryDiff::epsilon, fjInputs_, input, inputs_, and edm::isNotFinite().
Referenced by produce().
|
overrideprivate |
Definition at line 172 of file HiPuRhoProducer.cc.
References calculateOrphanInput(), calculatePedestal(), caloTowerToken_, etaEdgeHi_, etaEdgeLow_, etaEdges_, fjClusterSeq_, fjInputs_, fjJetDefinition_, fjJets_, fjOriginalInputs_, mps_fire::i, ietamax_, ietamin_, iEvent, input, inputs_, inputTowers(), nTow_, ntowersWithJets_, puPtMin_, putRho(), rho_, rhoExtra_, rhoM_, rParam_, setInitialValue_, setupGeometryMap(), subtractPedestal(), towExcludeEta_, towExcludePhi_, and towExcludePt_.
|
virtual |
Definition at line 500 of file HiPuRhoProducer.cc.
References etaEdgeHi_, etaEdgeLow_, mps_fire::i, iEvent, medianWindowWidth_, eostools::move(), nTow_, eventshapeDQM_cfi::order, rho_, rhoExtra_, rhoM_, findQualityFiles::size, jetUpdater_cfi::sort, towExcludeEta_, towExcludePhi_, and towExcludePt_.
Referenced by produce().
|
virtual |
Definition at line 234 of file HiPuRhoProducer.cc.
References caloGeometryToken_, PV3DBase< T, PVType, FrameType >::eta(), geo_, geomtowers_, edm::EventSetup::getData(), CaloGeometry::getPosition(), CaloGeometry::getValidDetIds(), submitPVValidationJobs::gt, DetId::Hcal, HcalDetId::ieta(), ietamax_, ietamin_, HcalDetId::iphi(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, LogDebug, nEtaTow_, PV3DBase< T, PVType, FrameType >::phi(), towermap_, and vngeom_.
Referenced by produce().
|
virtual |
Definition at line 420 of file HiPuRhoProducer.cc.
References dropZeroTowers_, emean_, esigma_, CaloTower::et(), CaloTower::ieta(), inputs_, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, and LogDebug.
Referenced by produce().
|
private |
Definition at line 100 of file HiPuRhoProducer.cc.
Referenced by setupGeometryMap().
|
private |
Definition at line 99 of file HiPuRhoProducer.cc.
Referenced by produce().
|
private |
Definition at line 91 of file HiPuRhoProducer.cc.
Referenced by subtractPedestal().
|
private |
Definition at line 141 of file HiPuRhoProducer.cc.
Referenced by calculatePedestal(), and subtractPedestal().
|
private |
Definition at line 140 of file HiPuRhoProducer.cc.
Referenced by calculatePedestal(), and subtractPedestal().
|
private |
Definition at line 114 of file HiPuRhoProducer.cc.
Referenced by calculatePedestal(), produce(), and putRho().
|
private |
Definition at line 113 of file HiPuRhoProducer.cc.
Referenced by calculatePedestal(), produce(), and putRho().
|
private |
Definition at line 115 of file HiPuRhoProducer.cc.
Referenced by produce().
|
private |
Definition at line 142 of file HiPuRhoProducer.cc.
Referenced by calculatePedestal().
|
private |
Definition at line 127 of file HiPuRhoProducer.cc.
Referenced by produce().
|
private |
Definition at line 130 of file HiPuRhoProducer.cc.
Referenced by calculateOrphanInput(), inputTowers(), and produce().
|
private |
Definition at line 128 of file HiPuRhoProducer.cc.
Referenced by produce().
|
private |
Definition at line 131 of file HiPuRhoProducer.cc.
Referenced by calculateOrphanInput(), and produce().
|
private |
Definition at line 132 of file HiPuRhoProducer.cc.
Referenced by calculateOrphanInput(), and produce().
|
private |
Definition at line 134 of file HiPuRhoProducer.cc.
Referenced by setupGeometryMap().
|
private |
Definition at line 139 of file HiPuRhoProducer.cc.
Referenced by calculateOrphanInput(), calculatePedestal(), and setupGeometryMap().
|
private |
Definition at line 136 of file HiPuRhoProducer.cc.
Referenced by calculatePedestal(), produce(), and setupGeometryMap().
|
private |
Definition at line 137 of file HiPuRhoProducer.cc.
Referenced by calculatePedestal(), produce(), and setupGeometryMap().
|
private |
Definition at line 101 of file HiPuRhoProducer.cc.
Referenced by calculatePedestal().
|
private |
Definition at line 126 of file HiPuRhoProducer.cc.
Referenced by calculateOrphanInput(), calculatePedestal(), inputTowers(), produce(), and subtractPedestal().
|
private |
Definition at line 92 of file HiPuRhoProducer.cc.
Referenced by putRho().
|
private |
Definition at line 93 of file HiPuRhoProducer.cc.
Referenced by calculateOrphanInput(), and calculatePedestal().
|
staticprivate |
Definition at line 102 of file HiPuRhoProducer.cc.
Referenced by calculatePedestal(), and setupGeometryMap().
|
private |
Definition at line 94 of file HiPuRhoProducer.cc.
Referenced by calculatePedestal().
|
private |
Definition at line 120 of file HiPuRhoProducer.cc.
Referenced by calculatePedestal(), produce(), and putRho().
|
private |
Definition at line 138 of file HiPuRhoProducer.cc.
Referenced by calculateOrphanInput(), calculatePedestal(), and produce().
|
private |
Definition at line 88 of file HiPuRhoProducer.cc.
Referenced by calculateOrphanInput(), and calculatePedestal().
|
private |
Definition at line 95 of file HiPuRhoProducer.cc.
Referenced by calculateOrphanInput(), and produce().
|
private |
Definition at line 96 of file HiPuRhoProducer.cc.
Referenced by calculateOrphanInput().
|
private |
Definition at line 117 of file HiPuRhoProducer.cc.
Referenced by calculatePedestal(), produce(), and putRho().
|
private |
Definition at line 118 of file HiPuRhoProducer.cc.
Referenced by calculatePedestal(), produce(), and putRho().
|
private |
Definition at line 119 of file HiPuRhoProducer.cc.
Referenced by calculatePedestal(), produce(), and putRho().
|
private |
Definition at line 97 of file HiPuRhoProducer.cc.
Referenced by produce().
|
private |
Definition at line 89 of file HiPuRhoProducer.cc.
Referenced by calculatePedestal(), and produce().
|
private |
Definition at line 145 of file HiPuRhoProducer.cc.
Referenced by calculateOrphanInput(), and setupGeometryMap().
|
private |
Definition at line 124 of file HiPuRhoProducer.cc.
Referenced by calculateOrphanInput(), produce(), and putRho().
|
private |
Definition at line 123 of file HiPuRhoProducer.cc.
Referenced by calculateOrphanInput(), produce(), and putRho().
|
private |
Definition at line 122 of file HiPuRhoProducer.cc.
Referenced by calculateOrphanInput(), produce(), and putRho().
|
private |
Definition at line 98 of file HiPuRhoProducer.cc.
Referenced by calculatePedestal().
|
private |
Definition at line 106 of file HiPuRhoProducer.cc.
Referenced by calculatePedestal().
|
private |
Definition at line 109 of file HiPuRhoProducer.cc.
Referenced by calculatePedestal().
|
private |
Definition at line 104 of file HiPuRhoProducer.cc.
Referenced by calculatePedestal(), and setupGeometryMap().
|
private |
Definition at line 105 of file HiPuRhoProducer.cc.
Referenced by calculatePedestal().
|
private |
Definition at line 108 of file HiPuRhoProducer.cc.
Referenced by calculatePedestal().
|
private |
Definition at line 111 of file HiPuRhoProducer.cc.
Referenced by calculatePedestal().
|
private |
Definition at line 107 of file HiPuRhoProducer.cc.
Referenced by calculatePedestal().
|
private |
Definition at line 110 of file HiPuRhoProducer.cc.
Referenced by calculatePedestal().