CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
L1ECALPrefiringWeightProducer Class Reference

#include <ProdTutorial/L1ECALPrefiringWeightProducer/plugins/L1ECALPrefiringWeightProducer.cc>

Inheritance diagram for L1ECALPrefiringWeightProducer:
edm::global::EDProducer<> edm::global::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 L1ECALPrefiringWeightProducer (const edm::ParameterSet &)
 
 ~L1ECALPrefiringWeightProducer () override
 
- Public Member Functions inherited from edm::global::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
 
EDProduceroperator= (const EDProducer &)=delete
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
bool wantsStreamLuminosityBlocks () const final
 
bool wantsStreamRuns () const final
 
- Public Member Functions inherited from edm::global::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
std::vector< bool > const & recordProvenanceList () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
TypeLabelList const & typeLabelList () const
 used by the fwk to register the list of products of this module More...
 
 ~ProducerBase () noexcept(false) override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from edm::global::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Private Member Functions

double getPrefiringRate (double eta, double pt, TH2F *h_prefmap, fluctuations fluctuation) const
 
void produce (edm::StreamID, edm::Event &, const edm::EventSetup &) const override
 

Private Attributes

std::string dataera_
 
TH2F * h_prefmap_jet
 
TH2F * h_prefmap_photon
 
double jetMaxMuonFraction_
 
edm::EDGetTokenT< std::vector< pat::Jet > > jets_token_
 
edm::EDGetTokenT< std::vector< pat::Photon > > photons_token_
 
double prefiringRateSystUnc_
 
bool skipwarnings_
 
bool useEMpt_
 

Additional Inherited Members

- Public Types inherited from edm::global::EDProducerBase
typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > >
 
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Protected Member Functions inherited from edm::ProducerBase
template<class ProductType >
BranchAliasSetterT< ProductType > produces ()
 declare what type of product will make and with which optional label More...
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces ()
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces ()
 
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<BranchType B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<Transition B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<class ProductType >
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Detailed Description

Description: [one line class summary]

Implementation: [Notes on implementation]

Definition at line 38 of file L1ECALPrefiringWeightProducer.cc.

Constructor & Destructor Documentation

◆ L1ECALPrefiringWeightProducer()

L1ECALPrefiringWeightProducer::L1ECALPrefiringWeightProducer ( const edm::ParameterSet iConfig)
explicit

Definition at line 62 of file L1ECALPrefiringWeightProducer.cc.

62  {
63  photons_token_ = consumes<std::vector<pat::Photon> >(iConfig.getParameter<edm::InputTag>("ThePhotons"));
64  jets_token_ = consumes<std::vector<pat::Jet> >(iConfig.getParameter<edm::InputTag>("TheJets"));
65 
66  dataera_ = iConfig.getParameter<std::string>("DataEra");
67  useEMpt_ = iConfig.getParameter<bool>("UseJetEMPt");
68  prefiringRateSystUnc_ = iConfig.getParameter<double>("PrefiringRateSystematicUncty");
69  jetMaxMuonFraction_ = iConfig.getParameter<double>("JetMaxMuonFraction");
70  skipwarnings_ = iConfig.getParameter<bool>("SkipWarnings");
71 
72  TFile* file_prefiringmaps_;
73  std::string fname = iConfig.getParameter<std::string>("L1Maps");
74  edm::FileInPath mapsfilepath("PhysicsTools/PatUtils/data/" + fname);
75  file_prefiringmaps_ = new TFile(mapsfilepath.fullPath().c_str(), "read");
76  if (file_prefiringmaps_ == nullptr && !skipwarnings_)
77  std::cout << "File with maps not found. All prefiring weights set to 0. " << std::endl;
78 
79  TString mapphotonfullname = "L1prefiring_photonptvseta_" + dataera_;
80  if (!file_prefiringmaps_->Get(mapphotonfullname) && !skipwarnings_)
81  std::cout << "Photon map not found. All photons prefiring weights set to 0. " << std::endl;
82  h_prefmap_photon = (TH2F*)file_prefiringmaps_->Get(mapphotonfullname);
83 
84  TString mapjetfullname = (useEMpt_) ? "L1prefiring_jetemptvseta_" + dataera_ : "L1prefiring_jetptvseta_" + dataera_;
85  if (!file_prefiringmaps_->Get(mapjetfullname) && !skipwarnings_)
86  std::cout << "Jet map not found. All jets prefiring weights set to 0. " << std::endl;
87  h_prefmap_jet = (TH2F*)file_prefiringmaps_->Get(mapjetfullname);
88  file_prefiringmaps_->Close();
89  delete file_prefiringmaps_;
90  produces<double>("nonPrefiringProb").setBranchAlias("nonPrefiringProb");
91  produces<double>("nonPrefiringProbUp").setBranchAlias("nonPrefiringProbUp");
92  produces<double>("nonPrefiringProbDown").setBranchAlias("nonPrefiringProbDown");
93 }

References gather_cfg::cout, dataera_, alignmentValidation::fname, edm::ParameterSet::getParameter(), h_prefmap_jet, h_prefmap_photon, jetMaxMuonFraction_, jets_token_, photons_token_, prefiringRateSystUnc_, skipwarnings_, AlCaHLTBitMon_QueryRunRegistry::string, and useEMpt_.

◆ ~L1ECALPrefiringWeightProducer()

L1ECALPrefiringWeightProducer::~L1ECALPrefiringWeightProducer ( )
override

Definition at line 95 of file L1ECALPrefiringWeightProducer.cc.

95  {
96  delete h_prefmap_photon;
97  delete h_prefmap_jet;
98 }

References h_prefmap_jet, and h_prefmap_photon.

Member Function Documentation

◆ fillDescriptions()

void L1ECALPrefiringWeightProducer::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 216 of file L1ECALPrefiringWeightProducer.cc.

216  {
218 
219  desc.add<edm::InputTag>("ThePhotons", edm::InputTag("slimmedPhotons"));
220  desc.add<edm::InputTag>("TheJets", edm::InputTag("slimmedJets"));
221  desc.add<std::string>("L1Maps", "L1PrefiringMaps.root");
222  desc.add<std::string>("DataEra", "2017BtoF");
223  desc.add<bool>("UseJetEMPt", false);
224  desc.add<double>("PrefiringRateSystematicUncty", 0.2);
225  desc.add<double>("JetMaxMuonFraction", 0.5);
226  desc.add<bool>("SkipWarnings", true);
227  descriptions.add("l1ECALPrefiringWeightProducer", desc);
228 }

References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, HLT_FULL_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ getPrefiringRate()

double L1ECALPrefiringWeightProducer::getPrefiringRate ( double  eta,
double  pt,
TH2F *  h_prefmap,
fluctuations  fluctuation 
) const
private

Definition at line 188 of file L1ECALPrefiringWeightProducer.cc.

191  {
192  if (h_prefmap == nullptr && !skipwarnings_)
193  std::cout << "Prefiring map not found, setting prefiring rate to 0 " << std::endl;
194  if (h_prefmap == nullptr)
195  return 0.;
196  //Check pt is not above map overflow
197  int nbinsy = h_prefmap->GetNbinsY();
198  double maxy = h_prefmap->GetYaxis()->GetBinLowEdge(nbinsy + 1);
199  if (pt >= maxy)
200  pt = maxy - 0.01;
201  int thebin = h_prefmap->FindBin(eta, pt);
202 
203  double prefrate = h_prefmap->GetBinContent(thebin);
204 
205  double statuncty = h_prefmap->GetBinError(thebin);
206  double systuncty = prefiringRateSystUnc_ * prefrate;
207 
208  if (fluctuation == up)
209  prefrate = std::min(1., prefrate + sqrt(pow(statuncty, 2) + pow(systuncty, 2)));
210  if (fluctuation == down)
211  prefrate = std::max(0., prefrate - sqrt(pow(statuncty, 2) + pow(systuncty, 2)));
212  return prefrate;
213 }

References gather_cfg::cout, down, PVValHelper::eta, SiStripPI::max, min(), funct::pow(), prefiringRateSystUnc_, DiDispStaMuonMonitor_cfi::pt, skipwarnings_, mathSSE::sqrt(), and up.

Referenced by produce().

◆ produce()

void L1ECALPrefiringWeightProducer::produce ( edm::StreamID  ,
edm::Event iEvent,
const edm::EventSetup iSetup 
) const
overrideprivatevirtual

Implements edm::global::EDProducerBase.

Definition at line 100 of file L1ECALPrefiringWeightProducer.cc.

100  {
101  using namespace edm;
102 
103  //Photons
105  iEvent.getByToken(photons_token_, thePhotons);
106 
107  //Jets
109  iEvent.getByToken(jets_token_, theJets);
110 
111  //Probability for the event NOT to prefire, computed with the prefiring maps per object.
112  //Up and down values correspond to the resulting value when shifting up/down all prefiring rates in prefiring maps.
113  double nonPrefiringProba[3] = {1., 1., 1.}; //0: central, 1: up, 2: down
114 
115  for (const auto fluct : {fluctuations::central, fluctuations::up, fluctuations::down}) {
116  for (const auto& photon : *thePhotons) {
117  double pt_gam = photon.pt();
118  double eta_gam = photon.eta();
119  if (pt_gam < 20.)
120  continue;
121  if (fabs(eta_gam) < 2.)
122  continue;
123  if (fabs(eta_gam) > 3.)
124  continue;
125  double prefiringprob_gam = getPrefiringRate(eta_gam, pt_gam, h_prefmap_photon, fluct);
126  nonPrefiringProba[fluct] *= (1. - prefiringprob_gam);
127  }
128 
129  //Now applying the prefiring maps to jets in the affected regions.
130  for (const auto& jet : *theJets) {
131  double pt_jet = jet.pt();
132  double eta_jet = jet.eta();
133  double phi_jet = jet.phi();
134  if (pt_jet < 20.)
135  continue;
136  if (fabs(eta_jet) < 2.)
137  continue;
138  if (fabs(eta_jet) > 3.)
139  continue;
140  if (jetMaxMuonFraction_ > 0 && jet.muonEnergyFraction() > jetMaxMuonFraction_)
141  continue;
142  //Loop over photons to remove overlap
143  double nonprefiringprobfromoverlappingphotons = 1.;
144  for (const auto& photon : *thePhotons) {
145  double pt_gam = photon.pt();
146  double eta_gam = photon.eta();
147  double phi_gam = photon.phi();
148  if (pt_gam < 20.)
149  continue;
150  if (fabs(eta_gam) < 2.)
151  continue;
152  if (fabs(eta_gam) > 3.)
153  continue;
154  double dR = reco::deltaR(eta_jet, phi_jet, eta_gam, phi_gam);
155  if (dR > 0.4)
156  continue;
157  double prefiringprob_gam = getPrefiringRate(eta_gam, pt_gam, h_prefmap_photon, fluct);
158  nonprefiringprobfromoverlappingphotons *= (1. - prefiringprob_gam);
159  }
160  //useEMpt =true if one wants to use maps parametrized vs Jet EM pt instead of pt.
161  if (useEMpt_)
162  pt_jet *= (jet.neutralEmEnergyFraction() + jet.chargedEmEnergyFraction());
163  double nonprefiringprobfromoverlappingjet = 1. - getPrefiringRate(eta_jet, pt_jet, h_prefmap_jet, fluct);
164 
165  if (nonprefiringprobfromoverlappingphotons == 1.) {
166  nonPrefiringProba[fluct] *= nonprefiringprobfromoverlappingjet;
167  }
168  //If overlapping photons have a non prefiring rate larger than the jet, then replace these weights by the jet one
169  else if (nonprefiringprobfromoverlappingphotons > nonprefiringprobfromoverlappingjet) {
170  if (nonprefiringprobfromoverlappingphotons != 0.) {
171  nonPrefiringProba[fluct] *= nonprefiringprobfromoverlappingjet / nonprefiringprobfromoverlappingphotons;
172  } else {
173  nonPrefiringProba[fluct] = 0.;
174  }
175  }
176  //Last case: if overlapping photons have a non prefiring rate smaller than the jet, don't consider the jet in the event weight, and do nothing.
177  }
178  }
179 
180  auto nonPrefiringProb = std::make_unique<double>(nonPrefiringProba[0]);
181  auto nonPrefiringProbUp = std::make_unique<double>(nonPrefiringProba[1]);
182  auto nonPrefiringProbDown = std::make_unique<double>(nonPrefiringProba[2]);
183  iEvent.put(std::move(nonPrefiringProb), "nonPrefiringProb");
184  iEvent.put(std::move(nonPrefiringProbUp), "nonPrefiringProbUp");
185  iEvent.put(std::move(nonPrefiringProbDown), "nonPrefiringProbDown");
186 }

References central, reco::deltaR(), down, HGC3DClusterGenMatchSelector_cfi::dR, getPrefiringRate(), h_prefmap_jet, h_prefmap_photon, iEvent, metsig::jet, jetMaxMuonFraction_, jets_token_, eostools::move(), muons2muons_cfi::photon, photons_token_, up, and useEMpt_.

Member Data Documentation

◆ dataera_

std::string L1ECALPrefiringWeightProducer::dataera_
private

Definition at line 55 of file L1ECALPrefiringWeightProducer.cc.

Referenced by L1ECALPrefiringWeightProducer().

◆ h_prefmap_jet

TH2F* L1ECALPrefiringWeightProducer::h_prefmap_jet
private

◆ h_prefmap_photon

TH2F* L1ECALPrefiringWeightProducer::h_prefmap_photon
private

◆ jetMaxMuonFraction_

double L1ECALPrefiringWeightProducer::jetMaxMuonFraction_
private

Definition at line 58 of file L1ECALPrefiringWeightProducer.cc.

Referenced by L1ECALPrefiringWeightProducer(), and produce().

◆ jets_token_

edm::EDGetTokenT<std::vector<pat::Jet> > L1ECALPrefiringWeightProducer::jets_token_
private

Definition at line 51 of file L1ECALPrefiringWeightProducer.cc.

Referenced by L1ECALPrefiringWeightProducer(), and produce().

◆ photons_token_

edm::EDGetTokenT<std::vector<pat::Photon> > L1ECALPrefiringWeightProducer::photons_token_
private

Definition at line 50 of file L1ECALPrefiringWeightProducer.cc.

Referenced by L1ECALPrefiringWeightProducer(), and produce().

◆ prefiringRateSystUnc_

double L1ECALPrefiringWeightProducer::prefiringRateSystUnc_
private

◆ skipwarnings_

bool L1ECALPrefiringWeightProducer::skipwarnings_
private

◆ useEMpt_

bool L1ECALPrefiringWeightProducer::useEMpt_
private

Definition at line 56 of file L1ECALPrefiringWeightProducer.cc.

Referenced by L1ECALPrefiringWeightProducer(), and produce().

L1ECALPrefiringWeightProducer::photons_token_
edm::EDGetTokenT< std::vector< pat::Photon > > photons_token_
Definition: L1ECALPrefiringWeightProducer.cc:50
L1ECALPrefiringWeightProducer::dataera_
std::string dataera_
Definition: L1ECALPrefiringWeightProducer.cc:55
muons2muons_cfi.photon
photon
Definition: muons2muons_cfi.py:28
L1ECALPrefiringWeightProducer::skipwarnings_
bool skipwarnings_
Definition: L1ECALPrefiringWeightProducer.cc:59
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
L1ECALPrefiringWeightProducer::getPrefiringRate
double getPrefiringRate(double eta, double pt, TH2F *h_prefmap, fluctuations fluctuation) const
Definition: L1ECALPrefiringWeightProducer.cc:188
min
T min(T a, T b)
Definition: MathUtil.h:58
edm
HLT enums.
Definition: AlignableModifier.h:19
gather_cfg.cout
cout
Definition: gather_cfg.py:144
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89285
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
central
Definition: L1ECALPrefiringWeightProducer.cc:36
edm::Handle
Definition: AssociativeIterator.h:50
edm::FileInPath
Definition: FileInPath.h:64
L1ECALPrefiringWeightProducer::useEMpt_
bool useEMpt_
Definition: L1ECALPrefiringWeightProducer.cc:56
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
PVValHelper::eta
Definition: PVValidationHelpers.h:70
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
L1ECALPrefiringWeightProducer::h_prefmap_jet
TH2F * h_prefmap_jet
Definition: L1ECALPrefiringWeightProducer.cc:54
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
L1ECALPrefiringWeightProducer::h_prefmap_photon
TH2F * h_prefmap_photon
Definition: L1ECALPrefiringWeightProducer.cc:53
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
iEvent
int iEvent
Definition: GenABIO.cc:224
down
Definition: L1ECALPrefiringWeightProducer.cc:36
L1ECALPrefiringWeightProducer::jets_token_
edm::EDGetTokenT< std::vector< pat::Jet > > jets_token_
Definition: L1ECALPrefiringWeightProducer.cc:51
alignmentValidation.fname
string fname
main script
Definition: alignmentValidation.py:959
L1ECALPrefiringWeightProducer::jetMaxMuonFraction_
double jetMaxMuonFraction_
Definition: L1ECALPrefiringWeightProducer.cc:58
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
eostools.move
def move(src, dest)
Definition: eostools.py:511
metsig::jet
Definition: SignAlgoResolutions.h:47
reco::deltaR
constexpr auto deltaR(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
Definition: deltaR.h:30
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
up
Definition: L1ECALPrefiringWeightProducer.cc:36
funct::pow
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29
HGC3DClusterGenMatchSelector_cfi.dR
dR
Definition: HGC3DClusterGenMatchSelector_cfi.py:7
edm::InputTag
Definition: InputTag.h:15
L1ECALPrefiringWeightProducer::prefiringRateSystUnc_
double prefiringRateSystUnc_
Definition: L1ECALPrefiringWeightProducer.cc:57