CMS 3D CMS Logo

List of all members | Public Member Functions | Private Types | Private Attributes
reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin Class Reference
Inheritance diagram for reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin:
reco::tau::PFRecoTauChargedHadronBuilderPlugin reco::tau::RecoTauEventHolderPlugin reco::tau::RecoTauNamedPlugin

Public Member Functions

void beginEvent () override
 Hook called at the beginning of the event. More...
 
return_type operator() (const reco::Jet &) const override
 Build a collection of chargedHadrons from objects in the input jet. More...
 
 PFRecoTauChargedHadronFromPFCandidatePlugin (const edm::ParameterSet &, edm::ConsumesCollector &&iC)
 
 ~PFRecoTauChargedHadronFromPFCandidatePlugin () override
 
- Public Member Functions inherited from reco::tau::PFRecoTauChargedHadronBuilderPlugin
 PFRecoTauChargedHadronBuilderPlugin (const edm::ParameterSet &pset, edm::ConsumesCollector &&iC)
 
 ~PFRecoTauChargedHadronBuilderPlugin () override
 
- Public Member Functions inherited from reco::tau::RecoTauEventHolderPlugin
edm::Eventevt ()
 
const edm::Eventevt () const
 
const edm::EventSetupevtSetup () const
 
 RecoTauEventHolderPlugin (const edm::ParameterSet &pset)
 
void setup (edm::Event &, const edm::EventSetup &)
 
 ~RecoTauEventHolderPlugin () override
 
- Public Member Functions inherited from reco::tau::RecoTauNamedPlugin
const std::string & name () const
 
 RecoTauNamedPlugin (const edm::ParameterSet &pset)
 
virtual ~RecoTauNamedPlugin ()
 

Private Types

typedef std::vector< reco::CandidatePtrCandPtrs
 

Private Attributes

double bField_
 
double dRmergeNeutralHadronWrtChargedHadron_
 
double dRmergeNeutralHadronWrtElectron_
 
double dRmergeNeutralHadronWrtNeutralHadron_
 
double dRmergeNeutralHadronWrtOther_
 
double dRmergePhotonWrtChargedHadron_
 
double dRmergePhotonWrtElectron_
 
double dRmergePhotonWrtNeutralHadron_
 
double dRmergePhotonWrtOther_
 
std::vector< int > inputParticleIds_
 
int maxUnmatchedBlockElementsNeutralHadron_
 
int maxUnmatchedBlockElementsPhoton_
 
int minBlockElementMatchesNeutralHadron_
 
int minBlockElementMatchesPhoton_
 
double minMergeChargedHadronPt_
 
double minMergeGammaEt_
 
double minMergeNeutralHadronEt_
 
RecoTauQualityCutsqcuts_
 
int verbosity_
 
RecoTauVertexAssociator vertexAssociator_
 

Additional Inherited Members

- Public Types inherited from reco::tau::PFRecoTauChargedHadronBuilderPlugin
typedef boost::ptr_vector< PFRecoTauChargedHadronChargedHadronVector
 
typedef std::unique_ptr< ChargedHadronVectorreturn_type
 

Detailed Description

Definition at line 43 of file PFRecoTauChargedHadronFromPFCandidatePlugin.cc.

Member Typedef Documentation

◆ CandPtrs

Constructor & Destructor Documentation

◆ PFRecoTauChargedHadronFromPFCandidatePlugin()

reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::PFRecoTauChargedHadronFromPFCandidatePlugin ( const edm::ParameterSet pset,
edm::ConsumesCollector &&  iC 
)
explicit

Definition at line 82 of file PFRecoTauChargedHadronFromPFCandidatePlugin.cc.

85  vertexAssociator_(pset.getParameter<edm::ParameterSet>("qualityCuts"), std::move(iC)),
86  qcuts_(nullptr) {
87  edm::ParameterSet qcuts_pset = pset.getParameterSet("qualityCuts").getParameterSet("signalQualityCuts");
88  qcuts_ = new RecoTauQualityCuts(qcuts_pset);
89 
90  inputParticleIds_ = pset.getParameter<std::vector<int> >("chargedHadronCandidatesParticleIds");
91 
92  dRmergeNeutralHadronWrtChargedHadron_ = pset.getParameter<double>("dRmergeNeutralHadronWrtChargedHadron");
93  dRmergeNeutralHadronWrtNeutralHadron_ = pset.getParameter<double>("dRmergeNeutralHadronWrtNeutralHadron");
94  dRmergeNeutralHadronWrtElectron_ = pset.getParameter<double>("dRmergeNeutralHadronWrtElectron");
95  dRmergeNeutralHadronWrtOther_ = pset.getParameter<double>("dRmergeNeutralHadronWrtOther");
96  minBlockElementMatchesNeutralHadron_ = pset.getParameter<int>("minBlockElementMatchesNeutralHadron");
97  maxUnmatchedBlockElementsNeutralHadron_ = pset.getParameter<int>("maxUnmatchedBlockElementsNeutralHadron");
98  dRmergePhotonWrtChargedHadron_ = pset.getParameter<double>("dRmergePhotonWrtChargedHadron");
99  dRmergePhotonWrtNeutralHadron_ = pset.getParameter<double>("dRmergePhotonWrtNeutralHadron");
100  dRmergePhotonWrtElectron_ = pset.getParameter<double>("dRmergePhotonWrtElectron");
101  dRmergePhotonWrtOther_ = pset.getParameter<double>("dRmergePhotonWrtOther");
102  minBlockElementMatchesPhoton_ = pset.getParameter<int>("minBlockElementMatchesPhoton");
103  maxUnmatchedBlockElementsPhoton_ = pset.getParameter<int>("maxUnmatchedBlockElementsPhoton");
104  minMergeNeutralHadronEt_ = pset.getParameter<double>("minMergeNeutralHadronEt");
105  minMergeGammaEt_ = pset.getParameter<double>("minMergeGammaEt");
106  minMergeChargedHadronPt_ = pset.getParameter<double>("minMergeChargedHadronPt");
107 
108  verbosity_ = pset.getParameter<int>("verbosity");
109  }

References dRmergeNeutralHadronWrtChargedHadron_, dRmergeNeutralHadronWrtElectron_, dRmergeNeutralHadronWrtNeutralHadron_, dRmergeNeutralHadronWrtOther_, dRmergePhotonWrtChargedHadron_, dRmergePhotonWrtElectron_, dRmergePhotonWrtNeutralHadron_, dRmergePhotonWrtOther_, inputParticleIds_, maxUnmatchedBlockElementsNeutralHadron_, maxUnmatchedBlockElementsPhoton_, minBlockElementMatchesNeutralHadron_, minBlockElementMatchesPhoton_, minMergeChargedHadronPt_, minMergeGammaEt_, minMergeNeutralHadronEt_, muonDTDigis_cfi::pset, qcuts_, and verbosity_.

◆ ~PFRecoTauChargedHadronFromPFCandidatePlugin()

reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::~PFRecoTauChargedHadronFromPFCandidatePlugin ( )
override

Definition at line 111 of file PFRecoTauChargedHadronFromPFCandidatePlugin.cc.

111 { delete qcuts_; }

References qcuts_.

Member Function Documentation

◆ beginEvent()

void reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::beginEvent ( )
overridevirtual

◆ operator()()

PFRecoTauChargedHadronFromPFCandidatePlugin::return_type reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::operator() ( const reco::Jet ) const
overridevirtual

Build a collection of chargedHadrons from objects in the input jet.

Implements reco::tau::PFRecoTauChargedHadronBuilderPlugin.

Definition at line 160 of file PFRecoTauChargedHadronFromPFCandidatePlugin.cc.

161  {
162  if (verbosity_) {
163  edm::LogPrint("TauChHadronFromPF") << "<PFRecoTauChargedHadronFromPFCandidatePlugin::operator()>:";
164  edm::LogPrint("TauChHadronFromPF") << " pluginName = " << name();
165  }
166 
168 
169  // Get the candidates passing our quality cuts
172 
173  for (CandPtrs::iterator cand = candsVector.begin(); cand != candsVector.end(); ++cand) {
174  if (verbosity_) {
175  edm::LogPrint("TauChHadronFromPF")
176  << "processing PFCandidate: Pt = " << (*cand)->pt() << ", eta = " << (*cand)->eta()
177  << ", phi = " << (*cand)->phi() << " (pdgId = " << (*cand)->pdgId() << ", charge = " << (*cand)->charge()
178  << ")";
179  }
180 
182  if (std::abs((*cand)->charge()) > 0.5)
184  else
186  std::unique_ptr<PFRecoTauChargedHadron> chargedHadron(new PFRecoTauChargedHadron(**cand, algo));
187 
188  const reco::PFCandidate* pfCand = dynamic_cast<const reco::PFCandidate*>(&**cand);
189  if (pfCand) {
190  if (pfCand->trackRef().isNonnull())
191  chargedHadron->track_ = edm::refToPtr(pfCand->trackRef());
192  else if (pfCand->muonRef().isNonnull() && pfCand->muonRef()->innerTrack().isNonnull())
193  chargedHadron->track_ = edm::refToPtr(pfCand->muonRef()->innerTrack());
194  else if (pfCand->muonRef().isNonnull() && pfCand->muonRef()->globalTrack().isNonnull())
195  chargedHadron->track_ = edm::refToPtr(pfCand->muonRef()->globalTrack());
196  else if (pfCand->muonRef().isNonnull() && pfCand->muonRef()->outerTrack().isNonnull())
197  chargedHadron->track_ = edm::refToPtr(pfCand->muonRef()->outerTrack());
198  else if (pfCand->gsfTrackRef().isNonnull())
199  chargedHadron->track_ = edm::refToPtr(pfCand->gsfTrackRef());
200  } // TauReco@MiniAOD: Tracks only available dynamically, so no possiblity to save ref here; checked by code downstream
201 
202  chargedHadron->positionAtECALEntrance_ = atECALEntrance(&**cand, bField_);
203  chargedHadron->chargedPFCandidate_ = (*cand);
204  chargedHadron->addDaughter(*cand);
205 
206  int pdgId = std::abs(chargedHadron->chargedPFCandidate_->pdgId());
207 
209  for (const auto& jetConstituent : jet.daughterPtrVector()) {
210  // CV: take care of not double-counting energy in case "charged" PFCandidate is in fact a PFNeutralHadron
211  if (jetConstituent == chargedHadron->chargedPFCandidate_)
212  continue;
213 
214  int jetConstituentPdgId = std::abs(jetConstituent->pdgId());
215  if (!(jetConstituentPdgId == 130 || jetConstituentPdgId == 22))
216  continue;
217 
218  double dR = deltaR(atECALEntrance(jetConstituent.get(), bField_),
219  atECALEntrance(chargedHadron->chargedPFCandidate_.get(), bField_));
220  double dRmerge = -1.;
221  int minBlockElementMatches = 1000;
222  int maxUnmatchedBlockElements = 0;
223  double minMergeEt = 1.e+6;
224  if (jetConstituentPdgId == 130) {
225  if (pdgId == 211)
227  else if (pdgId == 130)
229  else if (pdgId == 11)
231  else
233  minBlockElementMatches = minBlockElementMatchesNeutralHadron_;
234  maxUnmatchedBlockElements = maxUnmatchedBlockElementsNeutralHadron_;
235  minMergeEt = minMergeNeutralHadronEt_;
236  } else if (jetConstituentPdgId == 22) {
237  if (pdgId == 211)
239  else if (pdgId == 130)
241  else if (pdgId == 11)
242  dRmerge = dRmergePhotonWrtElectron_;
243  else
244  dRmerge = dRmergePhotonWrtOther_;
245  minBlockElementMatches = minBlockElementMatchesPhoton_;
246  maxUnmatchedBlockElements = maxUnmatchedBlockElementsPhoton_;
247  minMergeEt = minMergeGammaEt_;
248  }
249 
250  if (jetConstituent->et() > minMergeEt) {
251  if (dR < dRmerge) {
252  chargedHadron->neutralPFCandidates_.push_back(jetConstituent);
253  chargedHadron->addDaughter(jetConstituent);
254  } else {
255  // TauReco@MiniAOD: No access to PF blocks at MiniAOD level, but the code below seems to have very minor impact
256  const reco::PFCandidate* pfJetConstituent =
257  dynamic_cast<const reco::PFCandidate*>(jetConstituent.get());
258  if (pfCand != nullptr && pfJetConstituent != nullptr) {
259  if (isMatchedByBlockElement(*pfJetConstituent,
260  *pfCand,
261  minBlockElementMatches,
262  minBlockElementMatches,
263  maxUnmatchedBlockElements)) {
264  chargedHadron->neutralPFCandidates_.push_back(jetConstituent);
265  chargedHadron->addDaughter(jetConstituent);
266  }
267  }
268  }
269  }
270  }
271  }
272 
274 
275  if (verbosity_) {
276  edm::LogPrint("TauChHadronFromPF") << *chargedHadron;
277  }
278  // Update the vertex
279  if (chargedHadron->daughterPtr(0).isNonnull())
280  chargedHadron->setVertex(chargedHadron->daughterPtr(0)->vertex());
281  output.push_back(std::move(chargedHadron));
282  }
283 
284  return output.release();
285  }

References funct::abs(), reco::tau::RecoTauVertexAssociator::associatedVertex(), reco::tau::atECALEntrance(), bField_, muons2muons_cfi::chargedHadron, reco::deltaR(), HGC3DClusterGenMatchSelector_cfi::dR, dRmergeNeutralHadronWrtChargedHadron_, dRmergeNeutralHadronWrtElectron_, dRmergeNeutralHadronWrtNeutralHadron_, dRmergeNeutralHadronWrtOther_, dRmergePhotonWrtChargedHadron_, dRmergePhotonWrtElectron_, dRmergePhotonWrtNeutralHadron_, dRmergePhotonWrtOther_, reco::tau::RecoTauQualityCuts::filterCandRefs(), reco::PFCandidate::gsfTrackRef(), inputParticleIds_, edm::Ref< C, T, F >::isNonnull(), metsig::jet, reco::PFRecoTauChargedHadron::kChargedPFCandidate, reco::PFRecoTauChargedHadron::kPFNeutralHadron, reco::PFRecoTauChargedHadron::kUndefined, maxUnmatchedBlockElementsNeutralHadron_, maxUnmatchedBlockElementsPhoton_, minBlockElementMatchesNeutralHadron_, minBlockElementMatchesPhoton_, minMergeChargedHadronPt_, minMergeGammaEt_, minMergeNeutralHadronEt_, eostools::move(), reco::PFCandidate::muonRef(), reco::tau::RecoTauNamedPlugin::name(), convertSQLitetoXML_cfg::output, EgammaValidation_cff::pdgId, reco::tau::pfCandidates(), qcuts_, edm::refToPtr(), reco::tau::setChargedHadronP4(), reco::tau::RecoTauQualityCuts::setPV(), reco::PFCandidate::trackRef(), verbosity_, and vertexAssociator_.

Member Data Documentation

◆ bField_

double reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::bField_
private

Definition at line 77 of file PFRecoTauChargedHadronFromPFCandidatePlugin.cc.

Referenced by beginEvent(), and operator()().

◆ dRmergeNeutralHadronWrtChargedHadron_

double reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::dRmergeNeutralHadronWrtChargedHadron_
private

◆ dRmergeNeutralHadronWrtElectron_

double reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::dRmergeNeutralHadronWrtElectron_
private

◆ dRmergeNeutralHadronWrtNeutralHadron_

double reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::dRmergeNeutralHadronWrtNeutralHadron_
private

◆ dRmergeNeutralHadronWrtOther_

double reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::dRmergeNeutralHadronWrtOther_
private

◆ dRmergePhotonWrtChargedHadron_

double reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::dRmergePhotonWrtChargedHadron_
private

◆ dRmergePhotonWrtElectron_

double reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::dRmergePhotonWrtElectron_
private

◆ dRmergePhotonWrtNeutralHadron_

double reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::dRmergePhotonWrtNeutralHadron_
private

◆ dRmergePhotonWrtOther_

double reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::dRmergePhotonWrtOther_
private

◆ inputParticleIds_

std::vector<int> reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::inputParticleIds_
private

◆ maxUnmatchedBlockElementsNeutralHadron_

int reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::maxUnmatchedBlockElementsNeutralHadron_
private

◆ maxUnmatchedBlockElementsPhoton_

int reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::maxUnmatchedBlockElementsPhoton_
private

◆ minBlockElementMatchesNeutralHadron_

int reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::minBlockElementMatchesNeutralHadron_
private

◆ minBlockElementMatchesPhoton_

int reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::minBlockElementMatchesPhoton_
private

◆ minMergeChargedHadronPt_

double reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::minMergeChargedHadronPt_
private

◆ minMergeGammaEt_

double reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::minMergeGammaEt_
private

◆ minMergeNeutralHadronEt_

double reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::minMergeNeutralHadronEt_
private

◆ qcuts_

RecoTauQualityCuts* reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::qcuts_
private

◆ verbosity_

int reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::verbosity_
private

◆ vertexAssociator_

RecoTauVertexAssociator reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::vertexAssociator_
private

Definition at line 55 of file PFRecoTauChargedHadronFromPFCandidatePlugin.cc.

Referenced by beginEvent(), and operator()().

reco::PFCandidate::trackRef
reco::TrackRef trackRef() const
Definition: PFCandidate.cc:408
reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::minMergeChargedHadronPt_
double minMergeChargedHadronPt_
Definition: PFRecoTauChargedHadronFromPFCandidatePlugin.cc:75
reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::dRmergeNeutralHadronWrtNeutralHadron_
double dRmergeNeutralHadronWrtNeutralHadron_
Definition: PFRecoTauChargedHadronFromPFCandidatePlugin.cc:62
reco::tau::RecoTauEventHolderPlugin::evt
const edm::Event * evt() const
Definition: RecoTauPluginsCommon.cc:16
MagneticField::inTesla
virtual GlobalVector inTesla(const GlobalPoint &gp) const =0
Field value ad specified global point, in Tesla.
reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::dRmergePhotonWrtChargedHadron_
double dRmergePhotonWrtChargedHadron_
Definition: PFRecoTauChargedHadronFromPFCandidatePlugin.cc:67
reco::tau::RecoTauNamedPlugin::name
const std::string & name() const
Definition: RecoTauPluginsCommon.cc:10
convertSQLitetoXML_cfg.output
output
Definition: convertSQLitetoXML_cfg.py:32
muons2muons_cfi.chargedHadron
chargedHadron
Definition: muons2muons_cfi.py:26
reco::tau::atECALEntrance
math::XYZPointF atECALEntrance(const reco::Candidate *part, double bField)
Definition: RecoTauCommonUtilities.cc:108
reco::PFRecoTauChargedHadron::kUndefined
Definition: PFRecoTauChargedHadron.h:29
reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::minMergeGammaEt_
double minMergeGammaEt_
Definition: PFRecoTauChargedHadronFromPFCandidatePlugin.cc:74
reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::minMergeNeutralHadronEt_
double minMergeNeutralHadronEt_
Definition: PFRecoTauChargedHadronFromPFCandidatePlugin.cc:73
PV3DBase::z
T z() const
Definition: PV3DBase.h:61
edm::refToPtr
Ptr< typename C::value_type > refToPtr(Ref< C, typename C::value_type, refhelper::FindUsingAdvance< C, typename C::value_type > > const &ref)
Definition: RefToPtr.h:18
IdealMagneticFieldRecord
Definition: IdealMagneticFieldRecord.h:11
cmsdt::algo
algo
Definition: constants.h:164
reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::bField_
double bField_
Definition: PFRecoTauChargedHadronFromPFCandidatePlugin.cc:77
reco::PFCandidate::muonRef
reco::MuonRef muonRef() const
Definition: PFCandidate.cc:421
reco::tau::setChargedHadronP4
void setChargedHadronP4(reco::PFRecoTauChargedHadron &chargedHadron, double scaleFactor_neutralPFCands=1.0)
Definition: pfRecoTauChargedHadronAuxFunctions.cc:31
edm::EventSetup::get
T get() const
Definition: EventSetup.h:73
edm::ESHandle< MagneticField >
reco::tau::RecoTauQualityCuts::setPV
void setPV(const reco::VertexRef &vtx)
Update the primary vertex.
Definition: RecoTauQualityCuts.h:46
reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::qcuts_
RecoTauQualityCuts * qcuts_
Definition: PFRecoTauChargedHadronFromPFCandidatePlugin.cc:57
GlobalPoint
Global3DPoint GlobalPoint
Definition: GlobalPoint.h:10
reco::tau::PFRecoTauChargedHadronBuilderPlugin::ChargedHadronVector
boost::ptr_vector< PFRecoTauChargedHadron > ChargedHadronVector
Definition: PFRecoTauChargedHadronPlugins.h:38
reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::dRmergeNeutralHadronWrtOther_
double dRmergeNeutralHadronWrtOther_
Definition: PFRecoTauChargedHadronFromPFCandidatePlugin.cc:64
reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::dRmergeNeutralHadronWrtElectron_
double dRmergeNeutralHadronWrtElectron_
Definition: PFRecoTauChargedHadronFromPFCandidatePlugin.cc:63
reco::tau::RecoTauQualityCuts::filterCandRefs
Coll filterCandRefs(const Coll &refcoll, bool invert=false) const
Filter a ref vector of Candidates.
Definition: RecoTauQualityCuts.h:85
reco::tau::RecoTauVertexAssociator::associatedVertex
reco::VertexRef associatedVertex(const Jet &jet) const
Definition: RecoTauVertexAssociator.cc:378
reco::PFRecoTauChargedHadron::PFRecoTauChargedHadronAlgorithm
PFRecoTauChargedHadronAlgorithm
Definition: PFRecoTauChargedHadron.h:27
edm::ParameterSet
Definition: ParameterSet.h:36
reco::PFCandidate::gsfTrackRef
reco::GsfTrackRef gsfTrackRef() const
Definition: PFCandidate.cc:440
reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::dRmergePhotonWrtOther_
double dRmergePhotonWrtOther_
Definition: PFRecoTauChargedHadronFromPFCandidatePlugin.cc:70
edm::Ref::isNonnull
bool isNonnull() const
Checks for non-null.
Definition: Ref.h:238
reco::PFRecoTauChargedHadron::kChargedPFCandidate
Definition: PFRecoTauChargedHadron.h:30
reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::dRmergePhotonWrtNeutralHadron_
double dRmergePhotonWrtNeutralHadron_
Definition: PFRecoTauChargedHadronFromPFCandidatePlugin.cc:68
cand
Definition: decayParser.h:34
reco::tau::PFRecoTauChargedHadronBuilderPlugin::PFRecoTauChargedHadronBuilderPlugin
PFRecoTauChargedHadronBuilderPlugin(const edm::ParameterSet &pset, edm::ConsumesCollector &&iC)
Definition: PFRecoTauChargedHadronPlugins.h:42
reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::minBlockElementMatchesNeutralHadron_
int minBlockElementMatchesNeutralHadron_
Definition: PFRecoTauChargedHadronFromPFCandidatePlugin.cc:65
CandPtrs
std::vector< reco::CandidatePtr > CandPtrs
Definition: RecoTauCommonUtilities.cc:13
edm::LogPrint
Definition: MessageLogger.h:342
reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::maxUnmatchedBlockElementsNeutralHadron_
int maxUnmatchedBlockElementsNeutralHadron_
Definition: PFRecoTauChargedHadronFromPFCandidatePlugin.cc:66
EgammaValidation_cff.pdgId
pdgId
Definition: EgammaValidation_cff.py:118
reco::tau::RecoTauVertexAssociator::setEvent
void setEvent(const edm::Event &evt)
Load the vertices from the event.
Definition: RecoTauVertexAssociator.cc:242
reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::vertexAssociator_
RecoTauVertexAssociator vertexAssociator_
Definition: PFRecoTauChargedHadronFromPFCandidatePlugin.cc:55
reco::get
T get(const Candidate &c)
Definition: component.h:60
eostools.move
def move(src, dest)
Definition: eostools.py:511
reco::PFRecoTauChargedHadron::kPFNeutralHadron
Definition: PFRecoTauChargedHadron.h:32
metsig::jet
Definition: SignAlgoResolutions.h:47
reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::minBlockElementMatchesPhoton_
int minBlockElementMatchesPhoton_
Definition: PFRecoTauChargedHadronFromPFCandidatePlugin.cc:71
reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::dRmergePhotonWrtElectron_
double dRmergePhotonWrtElectron_
Definition: PFRecoTauChargedHadronFromPFCandidatePlugin.cc:69
reco::deltaR
constexpr auto deltaR(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
Definition: deltaR.h:30
reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::inputParticleIds_
std::vector< int > inputParticleIds_
Definition: PFRecoTauChargedHadronFromPFCandidatePlugin.cc:59
reco::PFCandidate
Particle reconstructed by the particle flow algorithm.
Definition: PFCandidate.h:40
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::verbosity_
int verbosity_
Definition: PFRecoTauChargedHadronFromPFCandidatePlugin.cc:79
HGC3DClusterGenMatchSelector_cfi.dR
dR
Definition: HGC3DClusterGenMatchSelector_cfi.py:7
reco::tau::pfCandidates
std::vector< CandidatePtr > pfCandidates(const Jet &jet, int particleId, bool sort=true)
Definition: RecoTauCommonUtilities.cc:59
reco::tau::RecoTauEventHolderPlugin::evtSetup
const edm::EventSetup * evtSetup() const
Definition: RecoTauPluginsCommon.cc:18
reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::dRmergeNeutralHadronWrtChargedHadron_
double dRmergeNeutralHadronWrtChargedHadron_
Definition: PFRecoTauChargedHadronFromPFCandidatePlugin.cc:61
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::maxUnmatchedBlockElementsPhoton_
int maxUnmatchedBlockElementsPhoton_
Definition: PFRecoTauChargedHadronFromPFCandidatePlugin.cc:72