CMS 3D CMS Logo

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

#include <HPSPFTauProducer.h>

Inheritance diagram for HPSPFTauProducer:
edm::stream::EDProducer<>

Public Member Functions

 HPSPFTauProducer (const edm::ParameterSet &cfg)
 
 ~HPSPFTauProducer () override=default
 
- 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 EDProduceroperator= (const EDProducer &)=delete
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 

Private Member Functions

void produce (edm::Event &evt, const edm::EventSetup &es) override
 

Private Attributes

bool applyPreselection_
 
bool debug_
 
double deltaR2Cleaning_
 
double deltaRCleaning_
 
std::vector< L1HPSPFTauQualityCutisolationQualityCutsDzCutDisabled_
 
const double isPFTauPt_ = 1.
 
double maxChargedIso_
 
double maxChargedRelIso_
 
double maxLeadChargedPFCandDz_
 
double maxLeadChargedPFCandEta_
 
double maxPFTauEta_
 
double maxSeedChargedPFCandDz_
 
double maxSeedChargedPFCandEta_
 
double maxSeedJetEta_
 
double minLeadChargedPFCandPt_
 
double minPFTauPt_
 
double minSeedChargedPFCandPt_
 
double minSeedJetPt_
 
std::string moduleLabel_
 
std::vector< L1HPSPFTauQualityCutsignalQualityCutsDzCutDisabled_
 
edm::InputTag srcL1Jets_
 
edm::InputTag srcL1PFCands_
 
edm::InputTag srcL1Vertices_
 
L1HPSPFTauBuilder tauBuilder_
 
edm::EDGetTokenT< std::vector< reco::CaloJet > > tokenL1Jets_
 
edm::EDGetTokenT< l1t::PFCandidateCollectiontokenL1PFCands_
 
edm::EDGetTokenT< std::vector< l1t::TkPrimaryVertex > > tokenL1Vertices_
 
bool useChargedPFCandSeeds_
 
bool useJetSeeds_
 

Additional Inherited Members

- 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
 

Detailed Description

Definition at line 22 of file HPSPFTauProducer.h.

Constructor & Destructor Documentation

◆ HPSPFTauProducer()

HPSPFTauProducer::HPSPFTauProducer ( const edm::ParameterSet cfg)
explicit

Definition at line 5 of file HPSPFTauProducer.cc.

6  : moduleLabel_(cfg.getParameter<std::string>("@module_label")),
8  useChargedPFCandSeeds_(cfg.getParameter<bool>("useChargedPFCandSeeds")),
9  minSeedChargedPFCandPt_(cfg.getParameter<double>("minSeedChargedPFCandPt")),
10  maxSeedChargedPFCandEta_(cfg.getParameter<double>("maxSeedChargedPFCandEta")),
11  maxSeedChargedPFCandDz_(cfg.getParameter<double>("maxSeedChargedPFCandDz")),
12  useJetSeeds_(cfg.getParameter<bool>("useJetSeeds")),
13  minSeedJetPt_(cfg.getParameter<double>("minSeedJetPt")),
14  maxSeedJetEta_(cfg.getParameter<double>("maxSeedJetEta")),
15  minPFTauPt_(cfg.getParameter<double>("minPFTauPt")),
16  maxPFTauEta_(cfg.getParameter<double>("maxPFTauEta")),
17  minLeadChargedPFCandPt_(cfg.getParameter<double>("minLeadChargedPFCandPt")),
18  maxLeadChargedPFCandEta_(cfg.getParameter<double>("maxLeadChargedPFCandEta")),
19  maxLeadChargedPFCandDz_(cfg.getParameter<double>("maxLeadChargedPFCandDz")),
20  maxChargedIso_(cfg.getParameter<double>("maxChargedIso")),
21  maxChargedRelIso_(cfg.getParameter<double>("maxChargedRelIso")),
22  deltaRCleaning_(cfg.getParameter<double>("deltaRCleaning")),
23  applyPreselection_(cfg.getParameter<bool>("applyPreselection")),
24  debug_(cfg.getUntrackedParameter<bool>("debug", false)) {
25  srcL1PFCands_ = cfg.getParameter<edm::InputTag>("srcL1PFCands");
26  tokenL1PFCands_ = consumes<l1t::PFCandidateCollection>(srcL1PFCands_);
27  srcL1Jets_ = cfg.getParameter<edm::InputTag>("srcL1Jets");
28  if (useJetSeeds_) {
29  tokenL1Jets_ = consumes<std::vector<reco::CaloJet>>(srcL1Jets_);
30  }
31  srcL1Vertices_ = cfg.getParameter<edm::InputTag>("srcL1Vertices");
32  if (!srcL1Vertices_.label().empty()) {
33  tokenL1Vertices_ = consumes<std::vector<l1t::TkPrimaryVertex>>(srcL1Vertices_);
34  }
36 
37  edm::ParameterSet cfg_signalQualityCuts = cfg.getParameter<edm::ParameterSet>("signalQualityCuts");
38  signalQualityCutsDzCutDisabled_ = readL1PFTauQualityCuts(cfg_signalQualityCuts, "disabled");
39  edm::ParameterSet cfg_isolationQualityCuts = cfg.getParameter<edm::ParameterSet>("isolationQualityCuts");
40  isolationQualityCutsDzCutDisabled_ = readL1PFTauQualityCuts(cfg_isolationQualityCuts, "disabled");
41 
42  produces<l1t::HPSPFTauCollection>();
43 }

References looper::cfg, deltaR2Cleaning_, deltaRCleaning_, isolationQualityCutsDzCutDisabled_, edm::InputTag::label(), readL1PFTauQualityCuts(), signalQualityCutsDzCutDisabled_, srcL1Jets_, srcL1PFCands_, srcL1Vertices_, tokenL1Jets_, tokenL1PFCands_, tokenL1Vertices_, and useJetSeeds_.

◆ ~HPSPFTauProducer()

HPSPFTauProducer::~HPSPFTauProducer ( )
overridedefault

Member Function Documentation

◆ fillDescriptions()

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

Definition at line 181 of file HPSPFTauProducer.cc.

181  {
182  // HPSPFTauProducerPF
184  desc.add<bool>("useJetSeeds", true);
185  desc.add<double>("minPFTauPt", 20.0);
186  desc.add<double>("minSignalConeSize", 0.05);
187  {
189  {
191  psd1.add<double>("minPt", 0.0);
192  psd0.add<edm::ParameterSetDescription>("neutralHadron", psd1);
193  }
194  {
196  psd1.add<double>("maxDz", 0.4);
197  psd1.add<double>("minPt", 0.0);
198  psd0.add<edm::ParameterSetDescription>("muon", psd1);
199  }
200  {
202  psd1.add<double>("maxDz", 0.4);
203  psd1.add<double>("minPt", 0.0);
204  psd0.add<edm::ParameterSetDescription>("electron", psd1);
205  }
206  {
208  psd1.add<double>("minPt", 0.0);
209  psd0.add<edm::ParameterSetDescription>("photon", psd1);
210  }
211  {
213  psd1.add<double>("maxDz", 0.4);
214  psd1.add<double>("minPt", 0.0);
215  psd0.add<edm::ParameterSetDescription>("chargedHadron", psd1);
216  }
217  desc.add<edm::ParameterSetDescription>("isolationQualityCuts", psd0);
218  }
219  desc.add<double>("stripSizePhi", 0.2);
220  desc.add<double>("minSeedJetPt", 30.0);
221  desc.add<double>("maxChargedRelIso", 1.0);
222  desc.add<double>("minSeedChargedPFCandPt", 5.0);
223  desc.add<edm::InputTag>("srcL1PFCands", edm::InputTag("l1pfCandidates", "PF"));
224  desc.add<double>("stripSizeEta", 0.05);
225  desc.add<double>("maxLeadChargedPFCandEta", 2.4);
226  desc.add<double>("deltaRCleaning", 0.4);
227  desc.add<bool>("useStrips", true);
228  desc.add<double>("maxSeedChargedPFCandDz", 1000.0);
229  desc.add<double>("minLeadChargedPFCandPt", 1.0);
230  desc.add<double>("maxSeedChargedPFCandEta", 2.4);
231  desc.add<bool>("applyPreselection", false);
232  desc.add<double>("isolationConeSize", 0.4);
233  desc.add<edm::InputTag>("srcL1Vertices", edm::InputTag("L1TkPrimaryVertex"));
234  desc.add<double>("maxChargedIso", 1000.0);
235  {
237  {
239  psd1.add<double>("minPt", 0.0);
240  psd0.add<edm::ParameterSetDescription>("neutralHadron", psd1);
241  }
242  {
244  psd1.add<double>("maxDz", 0.4);
245  psd1.add<double>("minPt", 0.0);
246  psd0.add<edm::ParameterSetDescription>("muon", psd1);
247  }
248  {
250  psd1.add<double>("maxDz", 0.4);
251  psd1.add<double>("minPt", 0.0);
252  psd0.add<edm::ParameterSetDescription>("electron", psd1);
253  }
254  {
256  psd1.add<double>("minPt", 0.0);
257  psd0.add<edm::ParameterSetDescription>("photon", psd1);
258  }
259  {
261  psd1.add<double>("maxDz", 0.4);
262  psd1.add<double>("minPt", 0.0);
263  psd0.add<edm::ParameterSetDescription>("chargedHadron", psd1);
264  }
265  desc.add<edm::ParameterSetDescription>("signalQualityCuts", psd0);
266  }
267  desc.add<bool>("useChargedPFCandSeeds", true);
268  desc.add<double>("maxLeadChargedPFCandDz", 1000.0);
269  desc.add<double>("maxSeedJetEta", 2.4);
270  desc.add<std::string>("signalConeSize", "2.8/max(1., pt)");
271  desc.add<edm::InputTag>("srcL1Jets",
272  edm::InputTag("Phase1L1TJetProducer", "UncalibratedPhase1L1TJetFromPfCandidates"));
273  desc.addUntracked<bool>("debug", false);
274  desc.add<double>("maxPFTauEta", 2.4);
275  desc.add<double>("maxSignalConeSize", 0.1);
276  descriptions.addWithDefaultLabel(desc);
277 }

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

◆ produce()

void HPSPFTauProducer::produce ( edm::Event evt,
const edm::EventSetup es 
)
overrideprivate

Definition at line 55 of file HPSPFTauProducer.cc.

55  {
56  std::unique_ptr<l1t::HPSPFTauCollection> l1PFTauCollectionCleaned(new l1t::HPSPFTauCollection());
57 
59  evt.getByToken(tokenL1PFCands_, l1PFCands);
60 
62  float primaryVertex_z = 0.;
63  if (!srcL1Vertices_.label().empty()) {
66  if (!vertices->empty()) {
68  primaryVertex_z = primaryVertex->zvertex();
69  }
70  }
71 
72  // build collection of selected PFCandidates
73  std::vector<l1t::PFCandidateRef> selectedL1PFCandsSignalQualityCuts;
74  std::vector<l1t::PFCandidateRef> selectedL1PFCandsSignalOrIsolationQualityCuts;
75  size_t numL1PFCands = l1PFCands->size();
76  for (size_t idxL1PFCand = 0; idxL1PFCand < numL1PFCands; ++idxL1PFCand) {
77  l1t::PFCandidateRef l1PFCand(l1PFCands, idxL1PFCand);
78  bool passesSignalQualityCuts = isSelected(signalQualityCutsDzCutDisabled_, *l1PFCand, primaryVertex_z);
79  bool passesIsolationQualityCuts = isSelected(isolationQualityCutsDzCutDisabled_, *l1PFCand, primaryVertex_z);
80  if (passesSignalQualityCuts) {
81  selectedL1PFCandsSignalQualityCuts.push_back(l1PFCand);
82  }
83  if (passesSignalQualityCuts || passesIsolationQualityCuts) {
84  selectedL1PFCandsSignalOrIsolationQualityCuts.push_back(l1PFCand);
85  }
86  }
87 
88  // sort PFCandidate collection by decreasing pT
89  std::sort(selectedL1PFCandsSignalQualityCuts.begin(), selectedL1PFCandsSignalQualityCuts.end(), isHigherPt_pfCandRef);
90  std::sort(selectedL1PFCandsSignalOrIsolationQualityCuts.begin(),
91  selectedL1PFCandsSignalOrIsolationQualityCuts.end(),
92  isHigherPt_pfCandRef);
93 
94  l1t::HPSPFTauCollection l1PFTauCollectionUncleaned;
95 
97  for (const auto& l1PFCand : selectedL1PFCandsSignalQualityCuts) {
98  if (l1PFCand->charge() != 0 && l1PFCand->pt() > minSeedChargedPFCandPt_ &&
99  std::fabs(l1PFCand->eta()) < maxSeedChargedPFCandEta_) {
100  bool isFromPrimaryVertex = false;
101  if (primaryVertex.get()) {
102  l1t::PFTrackRef l1PFTrack = l1PFCand->pfTrack();
103  double dz = std::fabs(l1PFTrack->vertex().z() - primaryVertex_z);
104  if (dz < maxSeedChargedPFCandDz_) {
105  isFromPrimaryVertex = true;
106  }
107  } else {
108  isFromPrimaryVertex = true;
109  }
110  if (isFromPrimaryVertex) {
111  tauBuilder_.reset();
112  tauBuilder_.setL1PFCandProductID(l1PFCands.id());
114  tauBuilder_.setL1PFTauSeed(l1PFCand);
115  tauBuilder_.addL1PFCandidates(selectedL1PFCandsSignalOrIsolationQualityCuts);
118  if (l1PFTau.pt() > isPFTauPt_)
119  l1PFTauCollectionUncleaned.push_back(l1PFTau);
120  }
121  }
122  }
123  }
124 
125  if (useJetSeeds_) {
127  evt.getByToken(tokenL1Jets_, l1Jets);
128 
129  size_t numL1Jets = l1Jets->size();
130  for (size_t idxL1Jet = 0; idxL1Jet < numL1Jets; ++idxL1Jet) {
131  reco::CaloJetRef l1Jet(l1Jets, idxL1Jet);
132  if (l1Jet->pt() > minSeedJetPt_ && std::fabs(l1Jet->eta()) < maxSeedJetEta_) {
133  tauBuilder_.reset();
134  tauBuilder_.setL1PFCandProductID(l1PFCands.id());
136  //tauBuilder_.setL1PFTauSeed(l1Jet);
137  tauBuilder_.setL1PFTauSeed(l1Jet, selectedL1PFCandsSignalQualityCuts);
138  tauBuilder_.addL1PFCandidates(selectedL1PFCandsSignalOrIsolationQualityCuts);
141  if (l1PFTau.pt() > isPFTauPt_)
142  l1PFTauCollectionUncleaned.push_back(l1PFTau);
143  }
144  }
145  }
146 
147  // sort PFTau candidate collection by decreasing pT
148  std::sort(l1PFTauCollectionUncleaned.begin(), l1PFTauCollectionUncleaned.end(), isHigherPt_pfTau);
149 
150  for (const auto& l1PFTau : l1PFTauCollectionUncleaned) {
151  if (applyPreselection_ &&
152  !(l1PFTau.pt() > minPFTauPt_ && std::fabs(l1PFTau.eta()) < maxPFTauEta_ &&
153  l1PFTau.leadChargedPFCand().isNonnull() && l1PFTau.leadChargedPFCand()->pt() > minLeadChargedPFCandPt_ &&
154  std::fabs(l1PFTau.leadChargedPFCand()->eta()) < maxLeadChargedPFCandEta_ &&
155  (srcL1Vertices_.label().empty() ||
156  (primaryVertex.isNonnull() && l1PFTau.leadChargedPFCand()->pfTrack().isNonnull() &&
157  std::fabs(l1PFTau.leadChargedPFCand()->pfTrack()->vertex().z() - primaryVertex->zvertex()) <
159  l1PFTau.sumChargedIso() < maxChargedIso_ && l1PFTau.sumChargedIso() < maxChargedRelIso_ * l1PFTau.pt()))
160  continue;
161 
162  bool isOverlap = false;
163  for (const auto& l1PFTau2 : *l1PFTauCollectionCleaned) {
164  double deltaEta = l1PFTau.eta() - l1PFTau2.eta();
165  double deltaPhi = l1PFTau.phi() - l1PFTau2.phi();
167  isOverlap = true;
168  }
169  }
170  if (!isOverlap) {
171  l1PFTauCollectionCleaned->push_back(l1PFTau);
172  }
173  }
174 
175  evt.put(std::move(l1PFTauCollectionCleaned));
176 }

References L1HPSPFTauBuilder::addL1PFCandidates(), applyPreselection_, L1HPSPFTauBuilder::buildL1PFTau(), spr::deltaEta, SiPixelRawToDigiRegional_cfi::deltaPhi, deltaR2Cleaning_, PVValHelper::dz, reco::LeafCandidate::eta(), edm::Event::getByToken(), L1HPSPFTauBuilder::getL1PFTau(), edm::HandleBase::id(), isolationQualityCutsDzCutDisabled_, isPFTauPt_, isSelected(), triggerObjects_cff::l1Jet, edm::InputTag::label(), maxChargedIso_, maxChargedRelIso_, maxLeadChargedPFCandDz_, maxLeadChargedPFCandEta_, maxPFTauEta_, maxSeedChargedPFCandDz_, maxSeedChargedPFCandEta_, maxSeedJetEta_, minLeadChargedPFCandPt_, minPFTauPt_, minSeedChargedPFCandPt_, minSeedJetPt_, eostools::move(), reco::LeafCandidate::phi(), BeamMonitor_cff::primaryVertex, reco::LeafCandidate::pt(), edm::Event::put(), L1HPSPFTauBuilder::reset(), L1HPSPFTauBuilder::setL1PFCandProductID(), L1HPSPFTauBuilder::setL1PFTauSeed(), L1HPSPFTauBuilder::setVertex(), signalQualityCutsDzCutDisabled_, jetUpdater_cfi::sort, srcL1Vertices_, tauBuilder_, tokenL1Jets_, tokenL1PFCands_, tokenL1Vertices_, useChargedPFCandSeeds_, useJetSeeds_, and AlignmentTracksFromVertexSelector_cfi::vertices.

Member Data Documentation

◆ applyPreselection_

bool HPSPFTauProducer::applyPreselection_
private

Definition at line 66 of file HPSPFTauProducer.h.

Referenced by produce().

◆ debug_

bool HPSPFTauProducer::debug_
private

Definition at line 68 of file HPSPFTauProducer.h.

◆ deltaR2Cleaning_

double HPSPFTauProducer::deltaR2Cleaning_
private

Definition at line 64 of file HPSPFTauProducer.h.

Referenced by HPSPFTauProducer(), and produce().

◆ deltaRCleaning_

double HPSPFTauProducer::deltaRCleaning_
private

Definition at line 63 of file HPSPFTauProducer.h.

Referenced by HPSPFTauProducer().

◆ isolationQualityCutsDzCutDisabled_

std::vector<L1HPSPFTauQualityCut> HPSPFTauProducer::isolationQualityCutsDzCutDisabled_
private

Definition at line 44 of file HPSPFTauProducer.h.

Referenced by HPSPFTauProducer(), and produce().

◆ isPFTauPt_

const double HPSPFTauProducer::isPFTauPt_ = 1.
private

Definition at line 69 of file HPSPFTauProducer.h.

Referenced by produce().

◆ maxChargedIso_

double HPSPFTauProducer::maxChargedIso_
private

Definition at line 60 of file HPSPFTauProducer.h.

Referenced by produce().

◆ maxChargedRelIso_

double HPSPFTauProducer::maxChargedRelIso_
private

Definition at line 61 of file HPSPFTauProducer.h.

Referenced by produce().

◆ maxLeadChargedPFCandDz_

double HPSPFTauProducer::maxLeadChargedPFCandDz_
private

Definition at line 59 of file HPSPFTauProducer.h.

Referenced by produce().

◆ maxLeadChargedPFCandEta_

double HPSPFTauProducer::maxLeadChargedPFCandEta_
private

Definition at line 58 of file HPSPFTauProducer.h.

Referenced by produce().

◆ maxPFTauEta_

double HPSPFTauProducer::maxPFTauEta_
private

Definition at line 56 of file HPSPFTauProducer.h.

Referenced by produce().

◆ maxSeedChargedPFCandDz_

double HPSPFTauProducer::maxSeedChargedPFCandDz_
private

Definition at line 49 of file HPSPFTauProducer.h.

Referenced by produce().

◆ maxSeedChargedPFCandEta_

double HPSPFTauProducer::maxSeedChargedPFCandEta_
private

Definition at line 48 of file HPSPFTauProducer.h.

Referenced by produce().

◆ maxSeedJetEta_

double HPSPFTauProducer::maxSeedJetEta_
private

Definition at line 53 of file HPSPFTauProducer.h.

Referenced by produce().

◆ minLeadChargedPFCandPt_

double HPSPFTauProducer::minLeadChargedPFCandPt_
private

Definition at line 57 of file HPSPFTauProducer.h.

Referenced by produce().

◆ minPFTauPt_

double HPSPFTauProducer::minPFTauPt_
private

Definition at line 55 of file HPSPFTauProducer.h.

Referenced by produce().

◆ minSeedChargedPFCandPt_

double HPSPFTauProducer::minSeedChargedPFCandPt_
private

Definition at line 47 of file HPSPFTauProducer.h.

Referenced by produce().

◆ minSeedJetPt_

double HPSPFTauProducer::minSeedJetPt_
private

Definition at line 52 of file HPSPFTauProducer.h.

Referenced by produce().

◆ moduleLabel_

std::string HPSPFTauProducer::moduleLabel_
private

◆ signalQualityCutsDzCutDisabled_

std::vector<L1HPSPFTauQualityCut> HPSPFTauProducer::signalQualityCutsDzCutDisabled_
private

Definition at line 43 of file HPSPFTauProducer.h.

Referenced by HPSPFTauProducer(), and produce().

◆ srcL1Jets_

edm::InputTag HPSPFTauProducer::srcL1Jets_
private

Definition at line 38 of file HPSPFTauProducer.h.

Referenced by HPSPFTauProducer().

◆ srcL1PFCands_

edm::InputTag HPSPFTauProducer::srcL1PFCands_
private

Definition at line 36 of file HPSPFTauProducer.h.

Referenced by HPSPFTauProducer().

◆ srcL1Vertices_

edm::InputTag HPSPFTauProducer::srcL1Vertices_
private

Definition at line 40 of file HPSPFTauProducer.h.

Referenced by HPSPFTauProducer(), and produce().

◆ tauBuilder_

L1HPSPFTauBuilder HPSPFTauProducer::tauBuilder_
private

Definition at line 34 of file HPSPFTauProducer.h.

Referenced by produce().

◆ tokenL1Jets_

edm::EDGetTokenT<std::vector<reco::CaloJet> > HPSPFTauProducer::tokenL1Jets_
private

Definition at line 39 of file HPSPFTauProducer.h.

Referenced by HPSPFTauProducer(), and produce().

◆ tokenL1PFCands_

edm::EDGetTokenT<l1t::PFCandidateCollection> HPSPFTauProducer::tokenL1PFCands_
private

Definition at line 37 of file HPSPFTauProducer.h.

Referenced by HPSPFTauProducer(), and produce().

◆ tokenL1Vertices_

edm::EDGetTokenT<std::vector<l1t::TkPrimaryVertex> > HPSPFTauProducer::tokenL1Vertices_
private

Definition at line 41 of file HPSPFTauProducer.h.

Referenced by HPSPFTauProducer(), and produce().

◆ useChargedPFCandSeeds_

bool HPSPFTauProducer::useChargedPFCandSeeds_
private

Definition at line 46 of file HPSPFTauProducer.h.

Referenced by produce().

◆ useJetSeeds_

bool HPSPFTauProducer::useJetSeeds_
private

Definition at line 51 of file HPSPFTauProducer.h.

Referenced by HPSPFTauProducer(), and produce().

L1HPSPFTauBuilder::setVertex
void setVertex(const l1t::TkPrimaryVertexRef &primaryVertex)
Definition: L1HPSPFTauBuilder.cc:90
edm::ParameterSetDescription::add
ParameterDescriptionBase * add(U const &iLabel, T const &value)
Definition: ParameterSetDescription.h:95
HPSPFTauProducer::minPFTauPt_
double minPFTauPt_
Definition: HPSPFTauProducer.h:55
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89301
HPSPFTauProducer::maxSeedChargedPFCandDz_
double maxSeedChargedPFCandDz_
Definition: HPSPFTauProducer.h:49
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
isSelected
bool isSelected(const std::vector< L1HPSPFTauQualityCut > &qualityCuts, const l1t::PFCandidate &pfCand, float_t primaryVertexZ)
Definition: L1HPSPFTauQualityCut.cc:90
L1HPSPFTauBuilder::addL1PFCandidates
void addL1PFCandidates(const std::vector< l1t::PFCandidateRef > &l1PFCands)
Definition: L1HPSPFTauBuilder.cc:183
reco::LeafCandidate::pt
double pt() const final
transverse momentum
Definition: LeafCandidate.h:146
HPSPFTauProducer::applyPreselection_
bool applyPreselection_
Definition: HPSPFTauProducer.h:66
edm::Handle
Definition: AssociativeIterator.h:50
AlignmentTracksFromVertexSelector_cfi.vertices
vertices
Definition: AlignmentTracksFromVertexSelector_cfi.py:5
HPSPFTauProducer::maxChargedIso_
double maxChargedIso_
Definition: HPSPFTauProducer.h:60
HPSPFTauProducer::maxSeedJetEta_
double maxSeedJetEta_
Definition: HPSPFTauProducer.h:53
edm::Ref< TkPrimaryVertexCollection >
HPSPFTauProducer::isolationQualityCutsDzCutDisabled_
std::vector< L1HPSPFTauQualityCut > isolationQualityCutsDzCutDisabled_
Definition: HPSPFTauProducer.h:44
BeamMonitor_cff.primaryVertex
primaryVertex
hltOfflineBeamSpot for HLTMON
Definition: BeamMonitor_cff.py:7
edm::InputTag::label
std::string const & label() const
Definition: InputTag.h:36
HPSPFTauProducer::tokenL1Jets_
edm::EDGetTokenT< std::vector< reco::CaloJet > > tokenL1Jets_
Definition: HPSPFTauProducer.h:39
HPSPFTauProducer::maxLeadChargedPFCandDz_
double maxLeadChargedPFCandDz_
Definition: HPSPFTauProducer.h:59
HPSPFTauProducer::srcL1PFCands_
edm::InputTag srcL1PFCands_
Definition: HPSPFTauProducer.h:36
spr::deltaEta
static const double deltaEta
Definition: CaloConstants.h:8
SiPixelRawToDigiRegional_cfi.deltaPhi
deltaPhi
Definition: SiPixelRawToDigiRegional_cfi.py:9
HPSPFTauProducer::signalQualityCutsDzCutDisabled_
std::vector< L1HPSPFTauQualityCut > signalQualityCutsDzCutDisabled_
Definition: HPSPFTauProducer.h:43
HPSPFTauProducer::deltaRCleaning_
double deltaRCleaning_
Definition: HPSPFTauProducer.h:63
L1HPSPFTauBuilder::setL1PFTauSeed
void setL1PFTauSeed(const l1t::PFCandidateRef &l1PFCandSeed)
Definition: L1HPSPFTauBuilder.cc:92
l1t::TkPrimaryVertexRef
edm::Ref< TkPrimaryVertexCollection > TkPrimaryVertexRef
Definition: TkPrimaryVertex.h:31
HPSPFTauProducer::tokenL1PFCands_
edm::EDGetTokenT< l1t::PFCandidateCollection > tokenL1PFCands_
Definition: HPSPFTauProducer.h:37
edm::Event::getByToken
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:539
triggerObjects_cff.l1Jet
l1Jet
Definition: triggerObjects_cff.py:23
HPSPFTauProducer::isPFTauPt_
const double isPFTauPt_
Definition: HPSPFTauProducer.h:69
HPSPFTauProducer::minSeedJetPt_
double minSeedJetPt_
Definition: HPSPFTauProducer.h:52
HPSPFTauProducer::maxPFTauEta_
double maxPFTauEta_
Definition: HPSPFTauProducer.h:56
HPSPFTauProducer::tokenL1Vertices_
edm::EDGetTokenT< std::vector< l1t::TkPrimaryVertex > > tokenL1Vertices_
Definition: HPSPFTauProducer.h:41
L1HPSPFTauBuilder::reset
void reset()
Definition: L1HPSPFTauBuilder.cc:40
edm::ParameterSet
Definition: ParameterSet.h:47
HPSPFTauProducer::srcL1Vertices_
edm::InputTag srcL1Vertices_
Definition: HPSPFTauProducer.h:40
jetUpdater_cfi.sort
sort
Definition: jetUpdater_cfi.py:29
HPSPFTauProducer::maxLeadChargedPFCandEta_
double maxLeadChargedPFCandEta_
Definition: HPSPFTauProducer.h:58
l1t::HPSPFTau
Definition: HPSPFTau.h:14
edm::Event::put
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:133
HPSPFTauProducer::useJetSeeds_
bool useJetSeeds_
Definition: HPSPFTauProducer.h:51
HPSPFTauProducer::deltaR2Cleaning_
double deltaR2Cleaning_
Definition: HPSPFTauProducer.h:64
HPSPFTauProducer::maxChargedRelIso_
double maxChargedRelIso_
Definition: HPSPFTauProducer.h:61
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
readL1PFTauQualityCuts
std::vector< L1HPSPFTauQualityCut > readL1PFTauQualityCuts(const edm::ParameterSet &cfg, const std::string &dzCut, bool debug=false)
Definition: L1HPSPFTauQualityCut.cc:78
looper.cfg
cfg
Definition: looper.py:296
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
l1t::HPSPFTauCollection
std::vector< HPSPFTau > HPSPFTauCollection
Definition: HPSPFTauFwd.h:7
eostools.move
def move(src, dest)
Definition: eostools.py:511
HPSPFTauProducer::debug_
bool debug_
Definition: HPSPFTauProducer.h:68
PVValHelper::dz
Definition: PVValidationHelpers.h:51
HPSPFTauProducer::tauBuilder_
L1HPSPFTauBuilder tauBuilder_
Definition: HPSPFTauProducer.h:34
HPSPFTauProducer::maxSeedChargedPFCandEta_
double maxSeedChargedPFCandEta_
Definition: HPSPFTauProducer.h:48
HPSPFTauProducer::useChargedPFCandSeeds_
bool useChargedPFCandSeeds_
Definition: HPSPFTauProducer.h:46
HPSPFTauProducer::minLeadChargedPFCandPt_
double minLeadChargedPFCandPt_
Definition: HPSPFTauProducer.h:57
L1HPSPFTauBuilder::buildL1PFTau
void buildL1PFTau()
Definition: L1HPSPFTauBuilder.cc:339
HPSPFTauProducer::srcL1Jets_
edm::InputTag srcL1Jets_
Definition: HPSPFTauProducer.h:38
edm::HandleBase::id
ProductID id() const
Definition: HandleBase.cc:29
L1HPSPFTauBuilder::getL1PFTau
l1t::HPSPFTau getL1PFTau() const
Definition: L1HPSPFTauBuilder.h:28
edm::InputTag
Definition: InputTag.h:15
edm::ConfigurationDescriptions::addWithDefaultLabel
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:87
L1HPSPFTauBuilder::setL1PFCandProductID
void setL1PFCandProductID(const edm::ProductID &l1PFCandProductID)
Definition: L1HPSPFTauBuilder.cc:86
HPSPFTauProducer::moduleLabel_
std::string moduleLabel_
Definition: HPSPFTauProducer.h:32
HPSPFTauProducer::minSeedChargedPFCandPt_
double minSeedChargedPFCandPt_
Definition: HPSPFTauProducer.h:47