CMS 3D CMS Logo

List of all members | Public Member Functions | Private Types | Private Member Functions | Private Attributes
pat::PATLostTracks Class Reference
Inheritance diagram for pat::PATLostTracks:
edm::global::EDProducer<> edm::global::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 PATLostTracks (const edm::ParameterSet &)
 
void produce (edm::StreamID, edm::Event &, const edm::EventSetup &) const override
 
 ~PATLostTracks () override
 
- Public Member Functions inherited from edm::global::EDProducer<>
 EDProducer ()=default
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () 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
 
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::vector< ModuleDescription const * > &modules, 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)
 

Private Types

enum  TrkStatus {
  TrkStatus::NOTUSED = 0, TrkStatus::PFCAND, TrkStatus::PFCANDNOTRKPROPS, TrkStatus::PFELECTRON,
  TrkStatus::PFPOSITRON, TrkStatus::VTX
}
 

Private Member Functions

void addPackedCandidate (std::vector< pat::PackedCandidate > &cands, const reco::TrackRef &trk, const reco::VertexRef &pvSlimmed, const reco::VertexRefProd &pvSlimmedColl, const reco::Vertex &pvOrig, const TrkStatus trkStatus, edm::Handle< reco::MuonCollection > muons) const
 
bool passTrkCuts (const reco::Track &tr) const
 

Private Attributes

const edm::EDGetTokenT< reco::PFCandidateCollectioncands_
 
const int covarianceSchema_
 
const int covarianceVersion_
 
const edm::EDGetTokenT< reco::VertexCompositeCandidateCollectionkshorts_
 
const edm::EDGetTokenT< reco::VertexCompositeCandidateCollectionlambdas_
 
const edm::EDGetTokenT< edm::Association< pat::PackedCandidateCollection > > map_
 
const double minHits_
 
const double minPixelHits_
 
const double minPt_
 
const double minPtToStoreProps_
 
const edm::EDGetTokenT< reco::MuonCollectionmuons_
 
StringCutObjectSelector< reco::Track, false > passThroughCut_
 
const edm::EDGetTokenT< reco::VertexCollectionpv_
 
const edm::EDGetTokenT< reco::VertexCollectionpvOrigs_
 
std::vector< reco::TrackBase::TrackQualityqualsToAutoAccept_
 
const edm::EDGetTokenT< reco::TrackCollectiontracks_
 
const edm::EDGetTokenT< reco::VertexCollectionvertices_
 

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
 
- Static Public Member Functions inherited from edm::global::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- 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>
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<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
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

Definition at line 39 of file PATLostTracks.cc.

Member Enumeration Documentation

◆ TrkStatus

enum pat::PATLostTracks::TrkStatus
strongprivate
Enumerator
NOTUSED 
PFCAND 
PFCANDNOTRKPROPS 
PFELECTRON 
PFPOSITRON 
VTX 

Definition at line 47 of file PATLostTracks.cc.

47 { NOTUSED = 0, PFCAND, PFCANDNOTRKPROPS, PFELECTRON, PFPOSITRON, VTX };

Constructor & Destructor Documentation

◆ PATLostTracks()

pat::PATLostTracks::PATLostTracks ( const edm::ParameterSet iConfig)
explicit

Definition at line 78 of file PATLostTracks.cc.

79  : cands_(consumes<reco::PFCandidateCollection>(iConfig.getParameter<edm::InputTag>("inputCandidates"))),
81  iConfig.getParameter<edm::InputTag>("packedPFCandidates"))),
82  tracks_(consumes<reco::TrackCollection>(iConfig.getParameter<edm::InputTag>("inputTracks"))),
83  vertices_(consumes<reco::VertexCollection>(iConfig.getParameter<edm::InputTag>("secondaryVertices"))),
84  kshorts_(consumes<reco::VertexCompositeCandidateCollection>(iConfig.getParameter<edm::InputTag>("kshorts"))),
85  lambdas_(consumes<reco::VertexCompositeCandidateCollection>(iConfig.getParameter<edm::InputTag>("lambdas"))),
86  pv_(consumes<reco::VertexCollection>(iConfig.getParameter<edm::InputTag>("primaryVertices"))),
87  pvOrigs_(consumes<reco::VertexCollection>(iConfig.getParameter<edm::InputTag>("originalVertices"))),
88  minPt_(iConfig.getParameter<double>("minPt")),
89  minHits_(iConfig.getParameter<uint32_t>("minHits")),
90  minPixelHits_(iConfig.getParameter<uint32_t>("minPixelHits")),
91  minPtToStoreProps_(iConfig.getParameter<double>("minPtToStoreProps")),
92  covarianceVersion_(iConfig.getParameter<int>("covarianceVersion")),
93  covarianceSchema_(iConfig.getParameter<int>("covarianceSchema")),
94  muons_(consumes<reco::MuonCollection>(iConfig.getParameter<edm::InputTag>("muons"))),
95  passThroughCut_(iConfig.getParameter<std::string>("passThroughCut")) {
96  std::vector<std::string> trkQuals(iConfig.getParameter<std::vector<std::string>>("qualsToAutoAccept"));
98  trkQuals.begin(), trkQuals.end(), std::back_inserter(qualsToAutoAccept_), reco::TrackBase::qualityByName);
99 
101  qualsToAutoAccept_.end()) {
102  std::ostringstream msg;
103  msg << " PATLostTracks has a quality requirement which resolves to undefQuality. This usually means a typo and is "
104  "therefore treated a config error\nquality requirements:\n ";
105  for (const auto& trkQual : trkQuals)
106  msg << trkQual << " ";
107  throw cms::Exception("Configuration") << msg.str();
108  }
109 
110  produces<std::vector<reco::Track>>();
111  produces<std::vector<pat::PackedCandidate>>();
112  produces<std::vector<pat::PackedCandidate>>("eleTracks");
113  produces<edm::Association<pat::PackedCandidateCollection>>();
114 }

References Exception, spr::find(), edm::ParameterSet::getParameter(), mps_check::msg, reco::TrackBase::qualityByName(), qualsToAutoAccept_, HcalDetIdTransform::transform(), and reco::TrackBase::undefQuality.

◆ ~PATLostTracks()

pat::PATLostTracks::~PATLostTracks ( )
override

Definition at line 116 of file PATLostTracks.cc.

116 {}

Member Function Documentation

◆ addPackedCandidate()

void pat::PATLostTracks::addPackedCandidate ( std::vector< pat::PackedCandidate > &  cands,
const reco::TrackRef trk,
const reco::VertexRef pvSlimmed,
const reco::VertexRefProd pvSlimmedColl,
const reco::Vertex pvOrig,
const TrkStatus  trkStatus,
edm::Handle< reco::MuonCollection muons 
) const
private

Definition at line 231 of file PATLostTracks.cc.

237  {
238  const float mass = 0.13957018;
239 
240  int id = 211 * trk->charge();
241  if (trkStatus == TrkStatus::PFELECTRON)
242  id = 11;
243  else if (trkStatus == TrkStatus::PFPOSITRON)
244  id = -11;
245 
246  // assign the proper pdgId for tracks that are reconstructed as a muon
247  for (auto& mu : *muons) {
248  if (reco::TrackRef(mu.innerTrack()) == trk) {
249  id = -13 * trk->charge();
250  break;
251  }
252  }
253 
254  reco::Candidate::PolarLorentzVector p4(trk->pt(), trk->eta(), trk->phi(), mass);
255  cands.emplace_back(
256  pat::PackedCandidate(p4, trk->vertex(), trk->pt(), trk->eta(), trk->phi(), id, pvSlimmedColl, pvSlimmed.key()));
257 
258  if (trk->quality(reco::TrackBase::highPurity))
259  cands.back().setTrackHighPurity(true);
260  else
261  cands.back().setTrackHighPurity(false);
262 
263  if (trk->pt() > minPtToStoreProps_ || trkStatus == TrkStatus::VTX)
264  cands.back().setTrackProperties(*trk, covarianceSchema_, covarianceVersion_);
265  if (pvOrig.trackWeight(trk) > 0.5) {
266  cands.back().setAssociationQuality(pat::PackedCandidate::UsedInFitTight);
267  }
268 }

References HLT_2018_cff::cands, reco::TrackBase::highPurity, triggerObjects_cff::id, edm::Ref< C, T, F >::key(), EgHLTOffHistBins_cfi::mass, amptDefaultParameters_cff::mu, PDWG_BPHSkim_cff::muons, p4, reco::Vertex::trackWeight(), and pat::PackedCandidate::UsedInFitTight.

◆ passTrkCuts()

bool pat::PATLostTracks::passTrkCuts ( const reco::Track tr) const
private

Definition at line 223 of file PATLostTracks.cc.

223  {
224  const bool passTrkHits = tr.pt() > minPt_ && tr.numberOfValidHits() >= minHits_ &&
226  const bool passTrkQual = passesQuality(tr, qualsToAutoAccept_);
227 
228  return passTrkHits || passTrkQual || passThroughCut_(tr);
229 }

References reco::TrackBase::hitPattern(), reco::TrackBase::numberOfValidHits(), reco::HitPattern::numberOfValidPixelHits(), and reco::TrackBase::pt().

◆ produce()

void pat::PATLostTracks::produce ( edm::StreamID  ,
edm::Event iEvent,
const edm::EventSetup iSetup 
) const
overridevirtual

Implements edm::global::EDProducerBase.

Definition at line 118 of file PATLostTracks.cc.

118  {
120  iEvent.getByToken(cands_, cands);
121 
123  iEvent.getByToken(map_, pf2pc);
124 
126  iEvent.getByToken(tracks_, tracks);
127 
129  iEvent.getByToken(vertices_, vertices);
130 
132  iEvent.getByToken(muons_, muons);
133 
135  iEvent.getByToken(kshorts_, kshorts);
137  iEvent.getByToken(lambdas_, lambdas);
138 
140  iEvent.getByToken(pv_, pvs);
141  reco::VertexRef pv(pvs.id());
142  reco::VertexRefProd pvRefProd(pvs);
143  if (!pvs->empty()) {
144  pv = reco::VertexRef(pvs, 0);
145  }
147  iEvent.getByToken(pvOrigs_, pvOrigs);
148  const reco::Vertex& pvOrig = (*pvOrigs)[0];
149 
150  auto outPtrTrks = std::make_unique<std::vector<reco::Track>>();
151  auto outPtrTrksAsCands = std::make_unique<std::vector<pat::PackedCandidate>>();
152  auto outPtrEleTrksAsCands = std::make_unique<std::vector<pat::PackedCandidate>>();
153 
154  std::vector<TrkStatus> trkStatus(tracks->size(), TrkStatus::NOTUSED);
155  //Mark all tracks used in candidates
156  //check if packed candidates are storing the tracks by seeing if number of hits >0
157  //currently we dont use that information though
158  //electrons will never store their track (they store the GSF track)
159  for (unsigned int ic = 0, nc = cands->size(); ic < nc; ++ic) {
161  const reco::PFCandidate& cand = (*cands)[ic];
162  if (cand.charge() && cand.trackRef().isNonnull() && cand.trackRef().id() == tracks.id()) {
163  if (cand.pdgId() == 11)
164  trkStatus[cand.trackRef().key()] = TrkStatus::PFELECTRON;
165  else if (cand.pdgId() == -11)
166  trkStatus[cand.trackRef().key()] = TrkStatus::PFPOSITRON;
167  else if ((*pf2pc)[r]->numberOfHits() > 0)
168  trkStatus[cand.trackRef().key()] = TrkStatus::PFCAND;
169  else
170  trkStatus[cand.trackRef().key()] = TrkStatus::PFCANDNOTRKPROPS;
171  }
172  }
173 
174  //Mark all tracks used in secondary vertices
175  for (const auto& secVert : *vertices) {
176  for (auto trkIt = secVert.tracks_begin(); trkIt != secVert.tracks_end(); trkIt++) {
177  if (trkStatus[trkIt->key()] == TrkStatus::NOTUSED)
178  trkStatus[trkIt->key()] = TrkStatus::VTX;
179  }
180  }
181  for (const auto& v0 : *kshorts) {
182  for (size_t dIdx = 0; dIdx < v0.numberOfDaughters(); dIdx++) {
183  size_t key = (dynamic_cast<const reco::RecoChargedCandidate*>(v0.daughter(dIdx)))->track().key();
184  if (trkStatus[key] == TrkStatus::NOTUSED)
185  trkStatus[key] = TrkStatus::VTX;
186  }
187  }
188  for (const auto& v0 : *lambdas) {
189  for (size_t dIdx = 0; dIdx < v0.numberOfDaughters(); dIdx++) {
190  size_t key = (dynamic_cast<const reco::RecoChargedCandidate*>(v0.daughter(dIdx)))->track().key();
191  if (trkStatus[key] == TrkStatus::NOTUSED)
192  trkStatus[key] = TrkStatus::VTX;
193  }
194  }
195  std::vector<int> mapping(tracks->size(), -1);
196  int lostTrkIndx = 0;
197  for (unsigned int trkIndx = 0; trkIndx < tracks->size(); trkIndx++) {
198  reco::TrackRef trk(tracks, trkIndx);
199  if (trkStatus[trkIndx] == TrkStatus::VTX || (trkStatus[trkIndx] == TrkStatus::NOTUSED && passTrkCuts(*trk))) {
200  outPtrTrks->emplace_back(*trk);
201  addPackedCandidate(*outPtrTrksAsCands, trk, pv, pvRefProd, pvOrig, trkStatus[trkIndx], muons);
202 
203  //for creating the reco::Track -> pat::PackedCandidate map
204  //not done for the lostTrack:eleTracks collection
205  mapping[trkIndx] = lostTrkIndx;
206  lostTrkIndx++;
207  } else if ((trkStatus[trkIndx] == TrkStatus::PFELECTRON || trkStatus[trkIndx] == TrkStatus::PFPOSITRON) &&
208  passTrkCuts(*trk)) {
209  addPackedCandidate(*outPtrEleTrksAsCands, trk, pv, pvRefProd, pvOrig, trkStatus[trkIndx], muons);
210  }
211  }
212 
213  iEvent.put(std::move(outPtrTrks));
214  iEvent.put(std::move(outPtrEleTrksAsCands), "eleTracks");
216  auto tk2pc = std::make_unique<edm::Association<pat::PackedCandidateCollection>>(oh);
218  tk2pcFiller.insert(tracks, mapping.begin(), mapping.end());
219  tk2pcFiller.fill();
220  iEvent.put(std::move(tk2pc));
221 }

References HLT_2018_cff::cands, iEvent, crabWrapper::key, lostTracks_cfi::kshorts, lostTracks_cfi::lambdas, taus_updatedMVAIds_cff::mapping, eostools::move(), PDWG_BPHSkim_cff::muons, MetAnalyzer::pv(), FSQDQM_cfi::pvs, alignCSCRings::r, PDWG_EXOHSCP_cff::tracks, V0Monitor_cff::v0, and pwdgSkimBPark_cfi::vertices.

Member Data Documentation

◆ cands_

const edm::EDGetTokenT<reco::PFCandidateCollection> pat::PATLostTracks::cands_
private

Definition at line 58 of file PATLostTracks.cc.

◆ covarianceSchema_

const int pat::PATLostTracks::covarianceSchema_
private

Definition at line 71 of file PATLostTracks.cc.

◆ covarianceVersion_

const int pat::PATLostTracks::covarianceVersion_
private

Definition at line 70 of file PATLostTracks.cc.

◆ kshorts_

const edm::EDGetTokenT<reco::VertexCompositeCandidateCollection> pat::PATLostTracks::kshorts_
private

Definition at line 62 of file PATLostTracks.cc.

◆ lambdas_

const edm::EDGetTokenT<reco::VertexCompositeCandidateCollection> pat::PATLostTracks::lambdas_
private

Definition at line 63 of file PATLostTracks.cc.

◆ map_

const edm::EDGetTokenT<edm::Association<pat::PackedCandidateCollection> > pat::PATLostTracks::map_
private

Definition at line 59 of file PATLostTracks.cc.

◆ minHits_

const double pat::PATLostTracks::minHits_
private

Definition at line 67 of file PATLostTracks.cc.

◆ minPixelHits_

const double pat::PATLostTracks::minPixelHits_
private

Definition at line 68 of file PATLostTracks.cc.

◆ minPt_

const double pat::PATLostTracks::minPt_
private

Definition at line 66 of file PATLostTracks.cc.

◆ minPtToStoreProps_

const double pat::PATLostTracks::minPtToStoreProps_
private

Definition at line 69 of file PATLostTracks.cc.

◆ muons_

const edm::EDGetTokenT<reco::MuonCollection> pat::PATLostTracks::muons_
private

Definition at line 73 of file PATLostTracks.cc.

◆ passThroughCut_

StringCutObjectSelector<reco::Track, false> pat::PATLostTracks::passThroughCut_
private

Definition at line 74 of file PATLostTracks.cc.

◆ pv_

const edm::EDGetTokenT<reco::VertexCollection> pat::PATLostTracks::pv_
private

Definition at line 64 of file PATLostTracks.cc.

◆ pvOrigs_

const edm::EDGetTokenT<reco::VertexCollection> pat::PATLostTracks::pvOrigs_
private

Definition at line 65 of file PATLostTracks.cc.

◆ qualsToAutoAccept_

std::vector<reco::TrackBase::TrackQuality> pat::PATLostTracks::qualsToAutoAccept_
private

Definition at line 72 of file PATLostTracks.cc.

Referenced by PATLostTracks().

◆ tracks_

const edm::EDGetTokenT<reco::TrackCollection> pat::PATLostTracks::tracks_
private

Definition at line 60 of file PATLostTracks.cc.

◆ vertices_

const edm::EDGetTokenT<reco::VertexCollection> pat::PATLostTracks::vertices_
private

Definition at line 61 of file PATLostTracks.cc.

edm::RefProd< VertexCollection >
PDWG_BPHSkim_cff.muons
muons
Definition: PDWG_BPHSkim_cff.py:47
PDWG_EXOHSCP_cff.tracks
tracks
Definition: PDWG_EXOHSCP_cff.py:28
V0Monitor_cff.v0
v0
Definition: V0Monitor_cff.py:7
edm::Association::Filler
Definition: Association.h:78
pat::PATLostTracks::TrkStatus::PFCAND
pat::PATLostTracks::minPtToStoreProps_
const double minPtToStoreProps_
Definition: PATLostTracks.cc:69
pat::PATLostTracks::tracks_
const edm::EDGetTokenT< reco::TrackCollection > tracks_
Definition: PATLostTracks.cc:60
amptDefaultParameters_cff.mu
mu
Definition: amptDefaultParameters_cff.py:16
pat::PATLostTracks::TrkStatus::PFPOSITRON
reco::TrackBase::undefQuality
Definition: TrackBase.h:151
reco::Candidate::PolarLorentzVector
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: Candidate.h:38
lostTracks_cfi.lambdas
lambdas
Definition: lostTracks_cfi.py:9
pat::PATLostTracks::pv_
const edm::EDGetTokenT< reco::VertexCollection > pv_
Definition: PATLostTracks.cc:64
pat::PATLostTracks::passThroughCut_
StringCutObjectSelector< reco::Track, false > passThroughCut_
Definition: PATLostTracks.cc:74
mps_check.msg
tuple msg
Definition: mps_check.py:285
pat::PATLostTracks::covarianceVersion_
const int covarianceVersion_
Definition: PATLostTracks.cc:70
spr::find
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
edm::Handle
Definition: AssociativeIterator.h:50
reco::TrackBase::numberOfValidHits
unsigned short numberOfValidHits() const
number of valid hits found
Definition: TrackBase.h:751
pat::PATLostTracks::minHits_
const double minHits_
Definition: PATLostTracks.cc:67
edm::Ref< TrackCollection >
reco::TrackBase::pt
double pt() const
track transverse momentum
Definition: TrackBase.h:608
pat::PATLostTracks::TrkStatus::VTX
pat::PATLostTracks::minPixelHits_
const double minPixelHits_
Definition: PATLostTracks.cc:68
HcalDetIdTransform::transform
unsigned transform(const HcalDetId &id, unsigned transformCode)
Definition: HcalDetIdTransform.cc:7
pat::PATLostTracks::minPt_
const double minPt_
Definition: PATLostTracks.cc:66
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
pat::PATLostTracks::muons_
const edm::EDGetTokenT< reco::MuonCollection > muons_
Definition: PATLostTracks.cc:73
pat::PackedCandidate
Definition: PackedCandidate.h:22
reco::VertexRef
edm::Ref< VertexCollection > VertexRef
persistent reference to a Vertex
Definition: VertexFwd.h:13
lostTracks_cfi.kshorts
kshorts
Definition: lostTracks_cfi.py:8
cand
Definition: decayParser.h:34
pat::PATLostTracks::qualsToAutoAccept_
std::vector< reco::TrackBase::TrackQuality > qualsToAutoAccept_
Definition: PATLostTracks.cc:72
MetAnalyzer.pv
def pv(vc)
Definition: MetAnalyzer.py:7
iEvent
int iEvent
Definition: GenABIO.cc:224
pat::PATLostTracks::pvOrigs_
const edm::EDGetTokenT< reco::VertexCollection > pvOrigs_
Definition: PATLostTracks.cc:65
p4
double p4[4]
Definition: TauolaWrapper.h:92
edm::Association
Definition: Association.h:18
FSQDQM_cfi.pvs
pvs
Definition: FSQDQM_cfi.py:12
pat::PATLostTracks::lambdas_
const edm::EDGetTokenT< reco::VertexCompositeCandidateCollection > lambdas_
Definition: PATLostTracks.cc:63
pat::PATLostTracks::addPackedCandidate
void addPackedCandidate(std::vector< pat::PackedCandidate > &cands, const reco::TrackRef &trk, const reco::VertexRef &pvSlimmed, const reco::VertexRefProd &pvSlimmedColl, const reco::Vertex &pvOrig, const TrkStatus trkStatus, edm::Handle< reco::MuonCollection > muons) const
Definition: PATLostTracks.cc:231
alignCSCRings.r
r
Definition: alignCSCRings.py:93
pat::PATLostTracks::TrkStatus::PFCANDNOTRKPROPS
reco::TrackBase::qualityByName
static TrackQuality qualityByName(const std::string &name)
Definition: TrackBase.cc:126
reco::Vertex::trackWeight
float trackWeight(const TREF &r) const
returns the weight with which a Track has contributed to the vertex-fit.
Definition: Vertex.h:85
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
pat::PATLostTracks::TrkStatus::NOTUSED
reco::TrackBase::hitPattern
const HitPattern & hitPattern() const
Access the hit pattern, indicating in which Tracker layers the track has hits.
Definition: TrackBase.h:489
pat::PATLostTracks::vertices_
const edm::EDGetTokenT< reco::VertexCollection > vertices_
Definition: PATLostTracks.cc:61
eostools.move
def move(src, dest)
Definition: eostools.py:511
edm::OrphanHandle
Definition: EDProductfwd.h:39
pat::PATLostTracks::TrkStatus::PFELECTRON
triggerObjects_cff.id
id
Definition: triggerObjects_cff.py:31
pat::PATLostTracks::kshorts_
const edm::EDGetTokenT< reco::VertexCompositeCandidateCollection > kshorts_
Definition: PATLostTracks.cc:62
pat::PATLostTracks::covarianceSchema_
const int covarianceSchema_
Definition: PATLostTracks.cc:71
Exception
Definition: hltDiff.cc:246
EgHLTOffHistBins_cfi.mass
mass
Definition: EgHLTOffHistBins_cfi.py:34
HLT_2018_cff.cands
cands
Definition: HLT_2018_cff.py:13762
reco::HitPattern::numberOfValidPixelHits
int numberOfValidPixelHits() const
Definition: HitPattern.h:800
reco::PFCandidate
Particle reconstructed by the particle flow algorithm.
Definition: PFCandidate.h:40
edm::Ref::key
key_type key() const
Accessor for product key.
Definition: Ref.h:250
edm::EDConsumerBase::consumes
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
Definition: EDConsumerBase.h:126
pat::PATLostTracks::cands_
const edm::EDGetTokenT< reco::PFCandidateCollection > cands_
Definition: PATLostTracks.cc:58
pat::PackedCandidate::UsedInFitTight
Definition: PackedCandidate.h:727
crabWrapper.key
key
Definition: crabWrapper.py:19
pat::PATLostTracks::passTrkCuts
bool passTrkCuts(const reco::Track &tr) const
Definition: PATLostTracks.cc:223
taus_updatedMVAIds_cff.mapping
mapping
Definition: taus_updatedMVAIds_cff.py:28
edm::InputTag
Definition: InputTag.h:15
reco::Vertex
Definition: Vertex.h:35
pat::PATLostTracks::map_
const edm::EDGetTokenT< edm::Association< pat::PackedCandidateCollection > > map_
Definition: PATLostTracks.cc:59
pwdgSkimBPark_cfi.vertices
vertices
Definition: pwdgSkimBPark_cfi.py:7
reco::TrackBase::highPurity
Definition: TrackBase.h:154