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 44 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 83 of file PFRecoTauChargedHadronFromPFCandidatePlugin.cc.

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

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 112 of file PFRecoTauChargedHadronFromPFCandidatePlugin.cc.

112 { 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 161 of file PFRecoTauChargedHadronFromPFCandidatePlugin.cc.

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

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 78 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 56 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:76
reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::dRmergeNeutralHadronWrtNeutralHadron_
double dRmergeNeutralHadronWrtNeutralHadron_
Definition: PFRecoTauChargedHadronFromPFCandidatePlugin.cc:63
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:68
reco::tau::RecoTauNamedPlugin::name
const std::string & name() const
Definition: RecoTauPluginsCommon.cc:10
convertSQLitetoXML_cfg.output
output
Definition: convertSQLitetoXML_cfg.py:72
muons2muons_cfi.chargedHadron
chargedHadron
Definition: muons2muons_cfi.py:26
edm::LogPrint
Log< level::Warning, true > LogPrint
Definition: MessageLogger.h:130
reco::tau::atECALEntrance
math::XYZPointF atECALEntrance(const reco::Candidate *part, double bField)
Definition: RecoTauCommonUtilities.cc:109
reco::PFRecoTauChargedHadron::kUndefined
Definition: PFRecoTauChargedHadron.h:29
reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::minMergeGammaEt_
double minMergeGammaEt_
Definition: PFRecoTauChargedHadronFromPFCandidatePlugin.cc:75
reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::minMergeNeutralHadronEt_
double minMergeNeutralHadronEt_
Definition: PFRecoTauChargedHadronFromPFCandidatePlugin.cc:74
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:165
reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::bField_
double bField_
Definition: PFRecoTauChargedHadronFromPFCandidatePlugin.cc:78
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:87
edm::ESHandle< MagneticField >
reco::tau::RecoTauQualityCuts::setPV
void setPV(const reco::VertexRef &vtx)
Update the primary vertex.
Definition: RecoTauQualityCuts.h:47
reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::qcuts_
RecoTauQualityCuts * qcuts_
Definition: PFRecoTauChargedHadronFromPFCandidatePlugin.cc:58
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:65
reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::dRmergeNeutralHadronWrtElectron_
double dRmergeNeutralHadronWrtElectron_
Definition: PFRecoTauChargedHadronFromPFCandidatePlugin.cc:64
reco::tau::RecoTauQualityCuts::filterCandRefs
Coll filterCandRefs(const Coll &refcoll, bool invert=false) const
Filter a ref vector of Candidates.
Definition: RecoTauQualityCuts.h:86
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:47
reco::PFCandidate::gsfTrackRef
reco::GsfTrackRef gsfTrackRef() const
Definition: PFCandidate.cc:440
reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::dRmergePhotonWrtOther_
double dRmergePhotonWrtOther_
Definition: PFRecoTauChargedHadronFromPFCandidatePlugin.cc:71
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:69
cand
Definition: decayParser.h:32
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:66
CandPtrs
std::vector< reco::CandidatePtr > CandPtrs
Definition: RecoTauCommonUtilities.cc:13
reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::maxUnmatchedBlockElementsNeutralHadron_
int maxUnmatchedBlockElementsNeutralHadron_
Definition: PFRecoTauChargedHadronFromPFCandidatePlugin.cc:67
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:56
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:72
reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::dRmergePhotonWrtElectron_
double dRmergePhotonWrtElectron_
Definition: PFRecoTauChargedHadronFromPFCandidatePlugin.cc:70
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:60
reco::PFCandidate
Particle reconstructed by the particle flow algorithm.
Definition: PFCandidate.h:41
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::verbosity_
int verbosity_
Definition: PFRecoTauChargedHadronFromPFCandidatePlugin.cc:80
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:62
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
reco::tau::PFRecoTauChargedHadronFromPFCandidatePlugin::maxUnmatchedBlockElementsPhoton_
int maxUnmatchedBlockElementsPhoton_
Definition: PFRecoTauChargedHadronFromPFCandidatePlugin.cc:73