CMS 3D CMS Logo

List of all members | Classes | Public Types | Public Member Functions | Private Attributes
PFTauPrimaryVertexProducer Class Referencefinal
Inheritance diagram for PFTauPrimaryVertexProducer:
edm::stream::EDProducer<> edm::stream::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Classes

struct  DiscCutPair
 

Public Types

enum  Alg { useInputPV =0, useFontPV }
 
typedef std::vector< DiscCutPair * > DiscCutPairVec
 
- Public Types inherited from edm::stream::EDProducer<>
typedef CacheContexts< T... > CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T... > HasAbility
 
typedef CacheTypes::LuminosityBlockCache LuminosityBlockCache
 
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Public Types inherited from edm::stream::EDProducerBase
typedef EDProducerAdaptorBase 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
 

Public Member Functions

 PFTauPrimaryVertexProducer (const edm::ParameterSet &iConfig)
 
void produce (edm::Event &, const edm::EventSetup &) override
 
 ~PFTauPrimaryVertexProducer () override
 
- Public Member Functions inherited from edm::stream::EDProducer<>
 EDProducer ()=default
 
- Public Member Functions inherited from edm::stream::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)
 
virtual ~ProducerBase () noexcept(false)
 
- 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
 
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
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Attributes

int Algorithm_
 
edm::InputTag beamSpotTag_
 
edm::EDGetTokenT< reco::BeamSpotbeamSpotToken_
 
std::auto_ptr< StringCutObjectSelector< reco::PFTau > > cut_
 
DiscCutPairVec discriminators_
 
edm::InputTag ElectronTag_
 
edm::EDGetTokenT< std::vector< reco::Electron > > ElectronToken_
 
edm::InputTag MuonTag_
 
edm::EDGetTokenT< std::vector< reco::Muon > > MuonToken_
 
edm::InputTag PFTauTag_
 
edm::EDGetTokenT< std::vector< reco::PFTau > > PFTauToken_
 
edm::InputTag PVTag_
 
edm::EDGetTokenT< reco::VertexCollectionPVToken_
 
edm::ParameterSet qualityCutsPSet_
 
bool RemoveElectronTracks_
 
bool RemoveMuonTracks_
 
edm::InputTag TrackCollectionTag_
 
edm::EDGetTokenT< reco::TrackCollectionTrackCollectionToken_
 
edm::InputTag TracksTag_
 
bool useBeamSpot_
 
bool useSelectedTaus_
 
std::auto_ptr< tau::RecoTauVertexAssociatorvertexAssociator_
 

Additional Inherited Members

- Static Public Member Functions inherited from edm::stream::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 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 59 of file PFTauPrimaryVertexProducer.cc.

Member Typedef Documentation

Definition at line 71 of file PFTauPrimaryVertexProducer.cc.

Member Enumeration Documentation

Constructor & Destructor Documentation

PFTauPrimaryVertexProducer::PFTauPrimaryVertexProducer ( const edm::ParameterSet iConfig)
explicit

Definition at line 102 of file PFTauPrimaryVertexProducer.cc.

References edm::EDConsumerBase::consumesCollector(), PFTauPrimaryVertexProducer::DiscCutPair::cut_, cut_, PFTauPrimaryVertexProducer::DiscCutPair::cutFormula_, pfDeepCMVADiscriminatorsJetTags_cfi::discriminators, discriminators_, edm::ParameterSet::exists(), edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), PFTauPrimaryVertexProducer::DiscCutPair::inputToken_, muonDTDigis_cfi::pset, qualityCutsPSet_, AlCaHLTBitMon_QueryRunRegistry::string, and vertexAssociator_.

102  :
103  PFTauTag_(iConfig.getParameter<edm::InputTag>("PFTauTag")),
104  PFTauToken_(consumes<std::vector<reco::PFTau> >(PFTauTag_)),
105  ElectronTag_(iConfig.getParameter<edm::InputTag>("ElectronTag")),
106  ElectronToken_(consumes<std::vector<reco::Electron> >(ElectronTag_)),
107  MuonTag_(iConfig.getParameter<edm::InputTag>("MuonTag")),
108  MuonToken_(consumes<std::vector<reco::Muon> >(MuonTag_)),
109  PVTag_(iConfig.getParameter<edm::InputTag>("PVTag")),
110  PVToken_(consumes<reco::VertexCollection>(PVTag_)),
111  beamSpotTag_(iConfig.getParameter<edm::InputTag>("beamSpot")),
112  beamSpotToken_(consumes<reco::BeamSpot>(beamSpotTag_)),
113  TrackCollectionTag_(iConfig.getParameter<edm::InputTag>("TrackCollectionTag")),
114  TrackCollectionToken_(consumes<reco::TrackCollection>(TrackCollectionTag_)),
115  Algorithm_(iConfig.getParameter<int>("Algorithm")),
116  qualityCutsPSet_(iConfig.getParameter<edm::ParameterSet>("qualityCuts")),
117  useBeamSpot_(iConfig.getParameter<bool>("useBeamSpot")),
118  useSelectedTaus_(iConfig.getParameter<bool>("useSelectedTaus")),
119  RemoveMuonTracks_(iConfig.getParameter<bool>("RemoveMuonTracks")),
120  RemoveElectronTracks_(iConfig.getParameter<bool>("RemoveElectronTracks"))
121 {
123  std::vector<edm::ParameterSet> discriminators =iConfig.getParameter<std::vector<edm::ParameterSet> >("discriminators");
124  // Build each of our cuts
125  BOOST_FOREACH(const edm::ParameterSet &pset, discriminators) {
126  DiscCutPair* newCut = new DiscCutPair();
127  newCut->inputToken_ =consumes<reco::PFTauDiscriminator>(pset.getParameter<edm::InputTag>("discriminator"));
128 
129  if ( pset.existsAs<std::string>("selectionCut") ) newCut->cutFormula_ = new TFormula("selectionCut", pset.getParameter<std::string>("selectionCut").data());
130  else newCut->cut_ = pset.getParameter<double>("selectionCut");
131  discriminators_.push_back(newCut);
132  }
133  // Build a string cut if desired
134  if (iConfig.exists("cut")) cut_.reset(new StringCutObjectSelector<reco::PFTau>(iConfig.getParameter<std::string>( "cut" )));
136  produces<edm::AssociationVector<PFTauRefProd, std::vector<reco::VertexRef> > >();
137  produces<VertexCollection>("PFTauPrimaryVertices");
138 
140 }
T getParameter(std::string const &) const
edm::EDGetTokenT< reco::BeamSpot > beamSpotToken_
edm::EDGetTokenT< std::vector< reco::PFTau > > PFTauToken_
bool exists(std::string const &parameterName) const
checks if a parameter exists
edm::EDGetTokenT< reco::VertexCollection > PVToken_
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
edm::EDGetTokenT< std::vector< reco::Muon > > MuonToken_
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
std::auto_ptr< tau::RecoTauVertexAssociator > vertexAssociator_
edm::EDGetTokenT< reco::TrackCollection > TrackCollectionToken_
std::auto_ptr< StringCutObjectSelector< reco::PFTau > > cut_
edm::EDGetTokenT< std::vector< reco::Electron > > ElectronToken_
PFTauPrimaryVertexProducer::~PFTauPrimaryVertexProducer ( )
override

Definition at line 142 of file PFTauPrimaryVertexProducer.cc.

142 {}

Member Function Documentation

void PFTauPrimaryVertexProducer::produce ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
override

Definition at line 144 of file PFTauPrimaryVertexProducer.cc.

References Algorithm_, ecalDrivenElectronSeedsParameters_cff::beamSpot, beamSpotToken_, TransientTrackBuilder::build(), PFTauPrimaryVertexProducer::DiscCutPair::cut_, cut_, PFTauPrimaryVertexProducer::DiscCutPair::cutFormula_, DEFINE_FWK_MODULE, TtSemiLepEvtBuilder_cfi::disc, listHistos::discr, PFTauPrimaryVertexProducer::DiscCutPair::discr_, discriminators_, nanoDQM_cfi::Electron, ElectronToken_, edm::EventSetup::get(), edm::Event::getByToken(), edm::Event::getRefBeforePut(), PFTauPrimaryVertexProducer::DiscCutPair::inputToken_, edm::Ref< C, T, F >::isNonnull(), edm::HandleBase::isValid(), electrons_cff::matched, eostools::move(), Mu, MuonToken_, TriggerAnalyzer::passed, PFTauToken_, edm::Event::put(), nanoDQM_cfi::PV, PVToken_, RemoveElectronTracks_, RemoveMuonTracks_, AdaptiveVertexFitter::setWeightThreshold(), metsig::tau, findElectronsInSiStrips_cfi::trackCollection, TrackCollectionToken_, reco::Vertex::tracks_begin(), reco::Vertex::tracks_end(), useBeamSpot_, useFontPV, useInputPV, useSelectedTaus_, AdaptiveVertexFitter::vertex(), and vertexAssociator_.

144  {
145  // Obtain Collections
146  edm::ESHandle<TransientTrackBuilder> transTrackBuilder;
147  iSetup.get<TransientTrackRecord>().get("TransientTrackBuilder",transTrackBuilder);
148 
150  iEvent.getByToken(PFTauToken_,Tau);
151 
153  iEvent.getByToken(ElectronToken_,Electron);
154 
156  iEvent.getByToken(MuonToken_,Mu);
157 
159  iEvent.getByToken(PVToken_,PV);
160 
162  iEvent.getByToken(beamSpotToken_,beamSpot);
163 
165  iEvent.getByToken(TrackCollectionToken_,trackCollection);
166 
167  // Set Association Map
168  auto AVPFTauPV = std::make_unique<edm::AssociationVector<PFTauRefProd, std::vector<reco::VertexRef>>>(PFTauRefProd(Tau));
169  auto VertexCollection_out = std::make_unique<VertexCollection>();
170  reco::VertexRefProd VertexRefProd_out = iEvent.getRefBeforePut<reco::VertexCollection>("PFTauPrimaryVertices");
171 
172  // Load each discriminator
173  BOOST_FOREACH(DiscCutPair *disc, discriminators_) {
175  iEvent.getByToken(disc->inputToken_, discr);
176  disc->discr_ = &(*discr);
177  }
178 
179  // Set event for VerexAssociator if needed
181  vertexAssociator_->setEvent(iEvent);
182 
183  // For each Tau Run Algorithim
184  if(Tau.isValid()){
185  for(reco::PFTauCollection::size_type iPFTau = 0; iPFTau < Tau->size(); iPFTau++) {
186  reco::PFTauRef tau(Tau, iPFTau);
187  reco::Vertex thePV;
188  if(useInputPV==Algorithm_){
189  thePV =(*( vertexAssociator_->associatedVertex(*tau)));
190  }
191  else if(useFontPV==Algorithm_){
192  thePV=PV->front();
193  }
195  // Check if it passed all the discrimiantors
196  bool passed(true);
197  BOOST_FOREACH(const DiscCutPair* disc, discriminators_) {
198  // Check this discriminator passes
199  bool passedDisc = true;
200  if ( disc->cutFormula_ )passedDisc = (disc->cutFormula_->Eval((*disc->discr_)[tau]) > 0.5);
201  else passedDisc = ((*disc->discr_)[tau] > disc->cut_);
202  if ( !passedDisc ){passed = false; break;}
203  }
204  if (passed && cut_.get()){passed = (*cut_)(*tau);}
205  if (passed){
206  std::vector<reco::TrackBaseRef> SignalTracks;
207  for(reco::PFTauCollection::size_type jPFTau = 0; jPFTau < Tau->size(); jPFTau++) {
208  if(useSelectedTaus_ || iPFTau==jPFTau){
209  reco::PFTauRef RefPFTau(Tau, jPFTau);
211  // Get tracks from PFTau daugthers
212  const std::vector<edm::Ptr<reco::PFCandidate> > cands = RefPFTau->signalPFChargedHadrCands();
213  for (std::vector<edm::Ptr<reco::PFCandidate> >::const_iterator iter = cands.begin(); iter!=cands.end(); iter++){
214  if(iter->get()->trackRef().isNonnull()) SignalTracks.push_back(reco::TrackBaseRef(iter->get()->trackRef()));
215  else if(iter->get()->gsfTrackRef().isNonnull()){SignalTracks.push_back(reco::TrackBaseRef(((iter)->get()->gsfTrackRef())));}
216  }
217  }
218  }
219  // Get Muon tracks
220  if(RemoveMuonTracks_){
221 
222  if(Mu.isValid()) {
223  for(reco::MuonCollection::size_type iMuon = 0; iMuon< Mu->size(); iMuon++){
224  reco::MuonRef RefMuon(Mu, iMuon);
225  if(RefMuon->track().isNonnull()) SignalTracks.push_back(reco::TrackBaseRef(RefMuon->track()));
226  }
227  }
228  }
229  // Get Electron Tracks
231  if(Electron.isValid()) {
232  for(reco::ElectronCollection::size_type iElectron = 0; iElectron<Electron->size(); iElectron++){
233  reco::ElectronRef RefElectron(Electron, iElectron);
234  if(RefElectron->track().isNonnull()) SignalTracks.push_back(reco::TrackBaseRef(RefElectron->track()));
235  }
236  }
237  }
239  // Get Non-Tau tracks
240  reco::TrackCollection nonTauTracks;
241 // if (trackCollection.isValid()) {
242 // // remove tau tracks and only tracks associated with the vertex
243 // unsigned int idx = 0;
244 // for (reco::TrackCollection::const_iterator iTrk = trackCollection->begin(); iTrk != trackCollection->end(); ++iTrk, idx++) {
245 // reco::TrackRef tmpRef(trackCollection, idx);
246 // reco::TrackRef tmpRefForBase=tmpRef;
247 // bool isSigTrk = false;
248 // bool fromVertex=false;
249 // for (unsigned int sigTrk = 0; sigTrk < SignalTracks.size(); sigTrk++) {
250 // if (reco::TrackBaseRef(tmpRefForBase)==SignalTracks.at(sigTrk)){isSigTrk = true; break;}
251 // }
252 // if (!isSigTrk) nonSigTracks.push_back(*iTrk);
253 // }
254 // }
255 
256  for(std::vector<reco::TrackBaseRef>::const_iterator vtxTrkRef=thePV.tracks_begin();vtxTrkRef<thePV.tracks_end();vtxTrkRef++){
257  bool matched = false;
258  for (unsigned int sigTrk = 0; sigTrk < SignalTracks.size(); sigTrk++) {
259  if ( (*vtxTrkRef) == SignalTracks[sigTrk] ) {
260  matched = true;
261  }
262  }
263  if ( !matched ) nonTauTracks.push_back(**vtxTrkRef);
264  }
266  // Refit the vertex
267  TransientVertex transVtx;
268  std::vector<reco::TransientTrack> transTracks;
269  for (reco::TrackCollection::iterator iter=nonTauTracks.begin(); iter!=nonTauTracks.end(); ++iter){
270  transTracks.push_back(transTrackBuilder->build(*iter));
271  }
272  bool FitOk(true);
273  if ( transTracks.size() >= 2 ) {
275  avf.setWeightThreshold(0.1); //weight per track. allow almost every fit, else --> exception
276  try {
277  if ( !useBeamSpot_ ){
278  transVtx = avf.vertex(transTracks);
279  } else {
280  transVtx = avf.vertex(transTracks, *beamSpot);
281  }
282  } catch (...) {
283  FitOk = false;
284  }
285  } else FitOk = false;
286  if ( FitOk ) thePV = transVtx;
287  }
288  VertexRef VRef = reco::VertexRef(VertexRefProd_out, VertexCollection_out->size());
289  VertexCollection_out->push_back(thePV);
290  AVPFTauPV->setValue(iPFTau, VRef);
291  }
292  }
293  iEvent.put(std::move(VertexCollection_out),"PFTauPrimaryVertices");
294  iEvent.put(std::move(AVPFTauPV));
295 }
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:127
trackRef_iterator tracks_end() const
last iterator over tracks
Definition: Vertex.cc:81
edm::EDGetTokenT< reco::BeamSpot > beamSpotToken_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:508
edm::EDGetTokenT< std::vector< reco::PFTau > > PFTauToken_
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:14
reco::TransientTrack build(const reco::Track *p) const
CachingVertex< 5 > vertex(const std::vector< reco::TransientTrack > &) const override
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
edm::RefProd< PFTauCollection > PFTauRefProd
references to PFTau collection
Definition: PFTauFwd.h:15
uint16_t size_type
edm::EDGetTokenT< reco::VertexCollection > PVToken_
edm::EDGetTokenT< std::vector< reco::Muon > > MuonToken_
std::auto_ptr< tau::RecoTauVertexAssociator > vertexAssociator_
edm::EDGetTokenT< reco::TrackCollection > TrackCollectionToken_
bool isValid() const
Definition: HandleBase.h:74
edm::Ref< VertexCollection > VertexRef
persistent reference to a Vertex
Definition: VertexFwd.h:13
RefProd< PROD > getRefBeforePut()
Definition: Event.h:147
std::auto_ptr< StringCutObjectSelector< reco::PFTau > > cut_
Definition: L1GtObject.h:30
const T & get() const
Definition: EventSetup.h:55
trackRef_iterator tracks_begin() const
first iterator over tracks
Definition: Vertex.cc:76
def move(src, dest)
Definition: eostools.py:510
edm::EDGetTokenT< std::vector< reco::Electron > > ElectronToken_

Member Data Documentation

int PFTauPrimaryVertexProducer::Algorithm_
private

Definition at line 91 of file PFTauPrimaryVertexProducer.cc.

Referenced by produce().

edm::InputTag PFTauPrimaryVertexProducer::beamSpotTag_
private

Definition at line 86 of file PFTauPrimaryVertexProducer.cc.

edm::EDGetTokenT<reco::BeamSpot> PFTauPrimaryVertexProducer::beamSpotToken_
private

Definition at line 87 of file PFTauPrimaryVertexProducer.cc.

Referenced by produce().

std::auto_ptr<StringCutObjectSelector<reco::PFTau> > PFTauPrimaryVertexProducer::cut_
private

Definition at line 98 of file PFTauPrimaryVertexProducer.cc.

Referenced by PFTauPrimaryVertexProducer(), and produce().

DiscCutPairVec PFTauPrimaryVertexProducer::discriminators_
private

Definition at line 97 of file PFTauPrimaryVertexProducer.cc.

Referenced by PFTauPrimaryVertexProducer(), and produce().

edm::InputTag PFTauPrimaryVertexProducer::ElectronTag_
private

Definition at line 80 of file PFTauPrimaryVertexProducer.cc.

edm::EDGetTokenT<std::vector<reco::Electron> > PFTauPrimaryVertexProducer::ElectronToken_
private

Definition at line 81 of file PFTauPrimaryVertexProducer.cc.

Referenced by produce().

edm::InputTag PFTauPrimaryVertexProducer::MuonTag_
private

Definition at line 82 of file PFTauPrimaryVertexProducer.cc.

edm::EDGetTokenT<std::vector<reco::Muon> > PFTauPrimaryVertexProducer::MuonToken_
private

Definition at line 83 of file PFTauPrimaryVertexProducer.cc.

Referenced by produce().

edm::InputTag PFTauPrimaryVertexProducer::PFTauTag_
private

Definition at line 78 of file PFTauPrimaryVertexProducer.cc.

edm::EDGetTokenT<std::vector<reco::PFTau> > PFTauPrimaryVertexProducer::PFTauToken_
private

Definition at line 79 of file PFTauPrimaryVertexProducer.cc.

Referenced by produce().

edm::InputTag PFTauPrimaryVertexProducer::PVTag_
private

Definition at line 84 of file PFTauPrimaryVertexProducer.cc.

edm::EDGetTokenT<reco::VertexCollection> PFTauPrimaryVertexProducer::PVToken_
private

Definition at line 85 of file PFTauPrimaryVertexProducer.cc.

Referenced by produce().

edm::ParameterSet PFTauPrimaryVertexProducer::qualityCutsPSet_
private

Definition at line 92 of file PFTauPrimaryVertexProducer.cc.

Referenced by PFTauPrimaryVertexProducer().

bool PFTauPrimaryVertexProducer::RemoveElectronTracks_
private

Definition at line 96 of file PFTauPrimaryVertexProducer.cc.

Referenced by produce().

bool PFTauPrimaryVertexProducer::RemoveMuonTracks_
private

Definition at line 95 of file PFTauPrimaryVertexProducer.cc.

Referenced by produce().

edm::InputTag PFTauPrimaryVertexProducer::TrackCollectionTag_
private

Definition at line 88 of file PFTauPrimaryVertexProducer.cc.

edm::EDGetTokenT<reco::TrackCollection> PFTauPrimaryVertexProducer::TrackCollectionToken_
private

Definition at line 89 of file PFTauPrimaryVertexProducer.cc.

Referenced by produce().

edm::InputTag PFTauPrimaryVertexProducer::TracksTag_
private

Definition at line 90 of file PFTauPrimaryVertexProducer.cc.

bool PFTauPrimaryVertexProducer::useBeamSpot_
private

Definition at line 93 of file PFTauPrimaryVertexProducer.cc.

Referenced by produce().

bool PFTauPrimaryVertexProducer::useSelectedTaus_
private

Definition at line 94 of file PFTauPrimaryVertexProducer.cc.

Referenced by produce().

std::auto_ptr<tau::RecoTauVertexAssociator> PFTauPrimaryVertexProducer::vertexAssociator_
private

Definition at line 99 of file PFTauPrimaryVertexProducer.cc.

Referenced by PFTauPrimaryVertexProducer(), and produce().