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 hasAbilityToProduceInLumis () const final
 
bool hasAbilityToProduceInRuns () 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
 
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)
 
 ~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 const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
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
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
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

bool allowMuonId_
 
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::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, 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)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Detailed Description

Definition at line 39 of file PATLostTracks.cc.

Member Enumeration Documentation

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

Definition at line 47 of file PATLostTracks.cc.

47  {
48  NOTUSED=0,
49  PFCAND,
50  PFCANDNOTRKPROPS,
51  PFELECTRON,
52  PFPOSITRON,
53  VTX
54  };

Constructor & Destructor Documentation

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

Definition at line 86 of file PATLostTracks.cc.

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

86  :
87  cands_(consumes<reco::PFCandidateCollection>(iConfig.getParameter<edm::InputTag>("inputCandidates"))),
89  tracks_(consumes<reco::TrackCollection>(iConfig.getParameter<edm::InputTag>("inputTracks"))),
90  vertices_(consumes<reco::VertexCollection>(iConfig.getParameter<edm::InputTag>("secondaryVertices"))),
91  kshorts_(consumes<reco::VertexCompositeCandidateCollection>(iConfig.getParameter<edm::InputTag>("kshorts"))),
92  lambdas_(consumes<reco::VertexCompositeCandidateCollection>(iConfig.getParameter<edm::InputTag>("lambdas"))),
93  pv_(consumes<reco::VertexCollection>(iConfig.getParameter<edm::InputTag>("primaryVertices"))),
94  pvOrigs_(consumes<reco::VertexCollection>(iConfig.getParameter<edm::InputTag>("originalVertices"))),
95  minPt_(iConfig.getParameter<double>("minPt")),
96  minHits_(iConfig.getParameter<uint32_t>("minHits")),
97  minPixelHits_(iConfig.getParameter<uint32_t>("minPixelHits")) ,
98  minPtToStoreProps_(iConfig.getParameter<double>("minPtToStoreProps")),
99  covarianceVersion_(iConfig.getParameter<int >("covarianceVersion")),
100  covarianceSchema_(iConfig.getParameter<int >("covarianceSchema")),
101  muons_(consumes<reco::MuonCollection>(iConfig.getParameter<edm::InputTag>("muons"))),
102  passThroughCut_(iConfig.getParameter<std::string>("passThroughCut")),
103  allowMuonId_(iConfig.getParameter<bool>("allowMuonId")){
104  std::vector<std::string> trkQuals(iConfig.getParameter<std::vector<std::string> >("qualsToAutoAccept"));
105  std::transform(trkQuals.begin(),trkQuals.end(),std::back_inserter(qualsToAutoAccept_),reco::TrackBase::qualityByName);
106 
108  std::ostringstream msg;
109  msg<<" PATLostTracks has a quality requirement which resolves to undefQuality. This usually means a typo and is therefore treated a config error\nquality requirements:\n ";
110  for(const auto& trkQual : trkQuals) msg <<trkQual<<" ";
111  throw cms::Exception("Configuration") << msg.str();
112  }
113 
114  produces< std::vector<reco::Track> > ();
115  produces< std::vector<pat::PackedCandidate> > (); produces< std::vector<pat::PackedCandidate> > ("eleTracks");
116  produces< edm::Association<pat::PackedCandidateCollection> > ();
117 }
T getParameter(std::string const &) const
const double minPt_
const double minPtToStoreProps_
const int covarianceSchema_
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:20
const int covarianceVersion_
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
const double minHits_
const edm::EDGetTokenT< reco::PFCandidateCollection > cands_
const edm::EDGetTokenT< reco::MuonCollection > muons_
const edm::EDGetTokenT< reco::VertexCompositeCandidateCollection > lambdas_
static TrackQuality qualityByName(const std::string &name)
Definition: TrackBase.cc:134
const edm::EDGetTokenT< edm::Association< pat::PackedCandidateCollection > > map_
const edm::EDGetTokenT< reco::TrackCollection > tracks_
const edm::EDGetTokenT< reco::VertexCollection > vertices_
tuple msg
Definition: mps_check.py:285
const edm::EDGetTokenT< reco::VertexCompositeCandidateCollection > kshorts_
std::vector< reco::TrackBase::TrackQuality > qualsToAutoAccept_
StringCutObjectSelector< reco::Track, false > passThroughCut_
const double minPixelHits_
const edm::EDGetTokenT< reco::VertexCollection > pv_
const edm::EDGetTokenT< reco::VertexCollection > pvOrigs_
pat::PATLostTracks::~PATLostTracks ( )
override

Definition at line 119 of file PATLostTracks.cc.

119 {}

Member Function Documentation

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 235 of file PATLostTracks.cc.

References allowMuonId_, covarianceSchema_, covarianceVersion_, DEFINE_FWK_MODULE, reco::TrackBase::highPurity, triggerObjects_cff::id, edm::Ref< C, T, F >::key(), ResonanceBuilder::mass, minPtToStoreProps_, RPCpg::mu, p4, PFELECTRON, PFPOSITRON, reco::Vertex::trackWeight(), pat::PackedCandidate::UsedInFitTight, and VTX.

Referenced by produce().

242 {
243  const float mass = 0.13957018;
244 
245  int id=211*trk->charge();
246  if(trkStatus==TrkStatus::PFELECTRON) id=11;
247  else if(trkStatus==TrkStatus::PFPOSITRON) id=-11;
248 
249  // assign the proper pdgId for tracks that are reconstructed as a muon
250  if (allowMuonId_){
251  for (auto& mu : *muons) {
252  if (reco::TrackRef(mu.innerTrack()) == trk) {
253  id = -13 * trk->charge();
254  break;
255  }
256  }
257  }
258 
259  reco::Candidate::PolarLorentzVector p4(trk->pt(),trk->eta(),trk->phi(),mass);
260  cands.emplace_back(pat::PackedCandidate(p4,trk->vertex(),
261  trk->pt(),trk->eta(),trk->phi(),
262  id,pvSlimmedColl,pvSlimmed.key()));
263 
264  if (trk->quality(reco::TrackBase::highPurity))
265  cands.back().setTrackHighPurity(true);
266  else
267  cands.back().setTrackHighPurity(false);
268 
269  if(trk->pt()>minPtToStoreProps_ || trkStatus==TrkStatus::VTX) cands.back().setTrackProperties(*trk,covarianceSchema_,covarianceVersion_);
270  if(pvOrig.trackWeight(trk) > 0.5) {
271  cands.back().setAssociationQuality(pat::PackedCandidate::UsedInFitTight);
272  }
273 }
const double minPtToStoreProps_
const int covarianceSchema_
key_type key() const
Accessor for product key.
Definition: Ref.h:263
const int covarianceVersion_
double p4[4]
Definition: TauolaWrapper.h:92
float trackWeight(const TREF &r) const
returns the weight with which a Track has contributed to the vertex-fit.
Definition: Vertex.h:81
const int mu
Definition: Constants.h:22
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: Candidate.h:39
bool pat::PATLostTracks::passTrkCuts ( const reco::Track tr) const
private

Definition at line 225 of file PATLostTracks.cc.

References reco::TrackBase::hitPattern(), minHits_, minPixelHits_, minPt_, reco::TrackBase::numberOfValidHits(), reco::HitPattern::numberOfValidPixelHits(), passThroughCut_, reco::TrackBase::pt(), and qualsToAutoAccept_.

Referenced by produce().

226 {
227  const bool passTrkHits = tr.pt() > minPt_ &&
228  tr.numberOfValidHits() >= minHits_ &&
230  const bool passTrkQual = passesQuality(tr,qualsToAutoAccept_);
231 
232  return passTrkHits || passTrkQual || passThroughCut_(tr) ;
233 }
const double minPt_
const double minHits_
double pt() const
track transverse momentum
Definition: TrackBase.h:660
unsigned short numberOfValidHits() const
number of valid hits found
Definition: TrackBase.h:901
const HitPattern & hitPattern() const
Access the hit pattern, indicating in which Tracker layers the track has hits.
Definition: TrackBase.h:485
std::vector< reco::TrackBase::TrackQuality > qualsToAutoAccept_
StringCutObjectSelector< reco::Track, false > passThroughCut_
int numberOfValidPixelHits() const
Definition: HitPattern.h:916
const double minPixelHits_
void pat::PATLostTracks::produce ( edm::StreamID  ,
edm::Event iEvent,
const edm::EventSetup iSetup 
) const
override

Definition at line 121 of file PATLostTracks.cc.

References addPackedCandidate(), egammaForCoreTracking_cff::cands, cands_, reco::LeafCandidate::charge(), edm::Event::getByToken(), edm::HandleBase::id(), edm::Ref< C, T, F >::id(), edm::Ref< C, T, F >::isNonnull(), crabWrapper::key, edm::Ref< C, T, F >::key(), lostTracks_cfi::kshorts, kshorts_, lostTracks_cfi::lambdas, lambdas_, map_, taus_updatedMVAIds_cff::mapping, eostools::move(), extraflags_cff::muons, muons_, NOTUSED, passTrkCuts(), reco::LeafCandidate::pdgId(), PFCAND, PFCANDNOTRKPROPS, PFELECTRON, PFPOSITRON, edm::Event::put(), MetAnalyzer::pv(), pv_, pvOrigs_, alignCSCRings::r, reco::PFCandidate::trackRef(), l1t::tracks, tracks_, electrons_cff::vertices, vertices_, and VTX.

121  {
122 
124  iEvent.getByToken( cands_, cands );
125 
127  iEvent.getByToken(map_,pf2pc);
128 
130  iEvent.getByToken( tracks_, tracks );
131 
133  iEvent.getByToken( vertices_, vertices );
134 
136  iEvent.getByToken(muons_, muons);
137 
139  iEvent.getByToken( kshorts_, kshorts );
141  iEvent.getByToken( lambdas_, lambdas );
142 
144  iEvent.getByToken( pv_, pvs );
145  reco::VertexRef pv(pvs.id());
146  reco::VertexRefProd pvRefProd(pvs);
147  if (!pvs->empty()) {
148  pv = reco::VertexRef(pvs, 0);
149  }
151  iEvent.getByToken( pvOrigs_, pvOrigs );
152  const reco::Vertex & pvOrig = (*pvOrigs)[0];
153 
154  auto outPtrTrks = std::make_unique<std::vector<reco::Track>>();
155  auto outPtrTrksAsCands = std::make_unique<std::vector<pat::PackedCandidate>>();
156  auto outPtrEleTrksAsCands = std::make_unique<std::vector<pat::PackedCandidate>>();
157 
158  std::vector<TrkStatus> trkStatus(tracks->size(),TrkStatus::NOTUSED);
159  //Mark all tracks used in candidates
160  //check if packed candidates are storing the tracks by seeing if number of hits >0
161  //currently we dont use that information though
162  //electrons will never store their track (they store the GSF track)
163  for(unsigned int ic=0, nc = cands->size(); ic < nc; ++ic) {
165  const reco::PFCandidate &cand=(*cands)[ic];
166  if(cand.charge() && cand.trackRef().isNonnull() && cand.trackRef().id() == tracks.id() ) {
167 
168  if(cand.pdgId()==11) trkStatus[cand.trackRef().key()]=TrkStatus::PFELECTRON;
169  else if(cand.pdgId()==-11) trkStatus[cand.trackRef().key()]=TrkStatus::PFPOSITRON;
170  else if((*pf2pc)[r]->numberOfHits() > 0) trkStatus[cand.trackRef().key()]=TrkStatus::PFCAND;
171  else trkStatus[cand.trackRef().key()]=TrkStatus::PFCANDNOTRKPROPS;
172  }
173  }
174 
175  //Mark all tracks used in secondary vertices
176  for(const auto& secVert : *vertices){
177  for(auto trkIt = secVert.tracks_begin();trkIt!=secVert.tracks_end();trkIt++){
178  if(trkStatus[trkIt->key()]==TrkStatus::NOTUSED) 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) trkStatus[key]=TrkStatus::VTX;
185  }
186  }
187  for(const auto& v0 : *lambdas){
188  for(size_t dIdx=0;dIdx<v0.numberOfDaughters(); dIdx++){
189  size_t key= (dynamic_cast<const reco::RecoChargedCandidate*>(v0.daughter(dIdx)))->track().key();
190  if(trkStatus[key]==TrkStatus::NOTUSED) trkStatus[key]=TrkStatus::VTX;
191  }
192  }
193  std::vector<int> mapping(tracks->size(),-1);
194  int lostTrkIndx=0;
195  for(unsigned int trkIndx=0; trkIndx < tracks->size(); trkIndx++){
196  reco::TrackRef trk(tracks,trkIndx);
197  if( trkStatus[trkIndx] == TrkStatus::VTX ||
198  (trkStatus[trkIndx]==TrkStatus::NOTUSED && passTrkCuts(*trk)) ) {
199 
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  }
214 
215  iEvent.put(std::move(outPtrTrks));
216  iEvent.put(std::move(outPtrEleTrksAsCands),"eleTracks");
217  edm::OrphanHandle<pat::PackedCandidateCollection> oh = iEvent.put(std::move(outPtrTrksAsCands));
218  auto tk2pc = std::make_unique<edm::Association<pat::PackedCandidateCollection>>(oh);
220  tk2pcFiller.insert(tracks, mapping.begin(), mapping.end());
221  tk2pcFiller.fill() ;
222  iEvent.put(std::move(tk2pc));
223 }
int pdgId() const final
PDG identifier.
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:125
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 isNonnull() const
Checks for non-null.
Definition: Ref.h:251
ProductID id() const
Definition: HandleBase.cc:15
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:517
int charge() const final
electric charge
Definition: LeafCandidate.h:91
key_type key() const
Accessor for product key.
Definition: Ref.h:263
ProductID id() const
Accessor for product ID.
Definition: Ref.h:257
reco::TrackRef trackRef() const
Definition: PFCandidate.cc:442
const edm::EDGetTokenT< reco::PFCandidateCollection > cands_
const edm::EDGetTokenT< reco::MuonCollection > muons_
const edm::EDGetTokenT< reco::VertexCompositeCandidateCollection > lambdas_
def pv(vc)
Definition: MetAnalyzer.py:7
edm::Ref< VertexCollection > VertexRef
persistent reference to a Vertex
Definition: VertexFwd.h:13
const edm::EDGetTokenT< edm::Association< pat::PackedCandidateCollection > > map_
bool passTrkCuts(const reco::Track &tr) const
const edm::EDGetTokenT< reco::TrackCollection > tracks_
const edm::EDGetTokenT< reco::VertexCollection > vertices_
const edm::EDGetTokenT< reco::VertexCompositeCandidateCollection > kshorts_
Particle reconstructed by the particle flow algorithm.
Definition: PFCandidate.h:40
const edm::EDGetTokenT< reco::VertexCollection > pv_
def move(src, dest)
Definition: eostools.py:511
const edm::EDGetTokenT< reco::VertexCollection > pvOrigs_

Member Data Documentation

bool pat::PATLostTracks::allowMuonId_
private

Definition at line 82 of file PATLostTracks.cc.

Referenced by addPackedCandidate().

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

Definition at line 65 of file PATLostTracks.cc.

Referenced by produce().

const int pat::PATLostTracks::covarianceSchema_
private

Definition at line 78 of file PATLostTracks.cc.

Referenced by addPackedCandidate().

const int pat::PATLostTracks::covarianceVersion_
private

Definition at line 77 of file PATLostTracks.cc.

Referenced by addPackedCandidate().

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

Definition at line 69 of file PATLostTracks.cc.

Referenced by produce().

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

Definition at line 70 of file PATLostTracks.cc.

Referenced by produce().

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

Definition at line 66 of file PATLostTracks.cc.

Referenced by produce().

const double pat::PATLostTracks::minHits_
private

Definition at line 74 of file PATLostTracks.cc.

Referenced by passTrkCuts().

const double pat::PATLostTracks::minPixelHits_
private

Definition at line 75 of file PATLostTracks.cc.

Referenced by passTrkCuts().

const double pat::PATLostTracks::minPt_
private

Definition at line 73 of file PATLostTracks.cc.

Referenced by passTrkCuts().

const double pat::PATLostTracks::minPtToStoreProps_
private

Definition at line 76 of file PATLostTracks.cc.

Referenced by addPackedCandidate().

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

Definition at line 80 of file PATLostTracks.cc.

Referenced by produce().

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

Definition at line 81 of file PATLostTracks.cc.

Referenced by passTrkCuts().

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

Definition at line 71 of file PATLostTracks.cc.

Referenced by produce().

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

Definition at line 72 of file PATLostTracks.cc.

Referenced by produce().

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

Definition at line 79 of file PATLostTracks.cc.

Referenced by passTrkCuts(), and PATLostTracks().

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

Definition at line 67 of file PATLostTracks.cc.

Referenced by produce().

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

Definition at line 68 of file PATLostTracks.cc.

Referenced by produce().