CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
PuppiProducer Class Reference

#include <PuppiProducer.h>

Inheritance diagram for PuppiProducer:
edm::stream::EDProducer<> edm::stream::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Types

typedef edm::View
< reco::Candidate
CandidateView
 
typedef math::XYZTLorentzVector LorentzVector
 
typedef std::vector
< LorentzVector
LorentzVectorCollection
 
typedef std::vector
< reco::PFCandidate
PFInputCollection
 
typedef std::vector
< reco::PFCandidate
PFOutputCollection
 
typedef edm::View
< reco::PFCandidate
PFView
 
typedef reco::VertexCollection VertexCollection
 
- 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, GlobalCache
LuminosityBlockContext
 
typedef
CacheTypes::LuminosityBlockSummaryCache 
LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache,
GlobalCache
RunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Public Types inherited from edm::stream::EDProducerBase
typedef EDProducerAdaptorBase ModuleType
 
- Public Types inherited from edm::ProducerBase
typedef
ProductRegistryHelper::TypeLabelList 
TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 

Public Member Functions

 PuppiProducer (const edm::ParameterSet &)
 
 ~PuppiProducer ()
 
- Public Member Functions inherited from edm::stream::EDProducer<>
 EDProducer ()=default
 
- Public Member Functions inherited from edm::stream::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDProducerBase ()
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 ProducerBase ()
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription
const &)> 
registrationCallback () const
 used by the fwk to register list of products More...
 
virtual ~ProducerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from edm::stream::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Private Member Functions

virtual void beginJob ()
 
virtual void beginLuminosityBlock (edm::LuminosityBlock &, edm::EventSetup const &)
 
virtual void beginRun (edm::Run &, edm::EventSetup const &)
 
virtual void endJob ()
 
virtual void endLuminosityBlock (edm::LuminosityBlock &, edm::EventSetup const &)
 
virtual void endRun (edm::Run &, edm::EventSetup const &)
 
virtual void produce (edm::Event &, const edm::EventSetup &)
 

Private Attributes

float fDZCut
 
std::string fPFName
 
std::auto_ptr< PFOutputCollectionfPuppiCandidates
 
std::unique_ptr< PuppiContainerfPuppiContainer
 
bool fPuppiDiagnostics
 
std::string fPuppiName
 
std::string fPVName
 
std::vector< RecoObjfRecoObjCollection
 
bool fUseDZ
 
edm::EDGetTokenT< CandidateViewtokenPFCandidates_
 
edm::EDGetTokenT
< VertexCollection
tokenVertices_
 

Additional Inherited Members

- 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 19 of file PuppiProducer.h.

Member Typedef Documentation

Definition at line 29 of file PuppiProducer.h.

Definition at line 26 of file PuppiProducer.h.

Definition at line 27 of file PuppiProducer.h.

Definition at line 30 of file PuppiProducer.h.

Definition at line 31 of file PuppiProducer.h.

Definition at line 32 of file PuppiProducer.h.

Definition at line 28 of file PuppiProducer.h.

Constructor & Destructor Documentation

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

Definition at line 31 of file PuppiProducer.cc.

References fDZCut, fPuppiContainer, fPuppiDiagnostics, fUseDZ, edm::ParameterSet::getParameter(), tokenPFCandidates_, and tokenVertices_.

31  {
32  fPuppiDiagnostics = iConfig.getParameter<bool>("puppiDiagnostics");
33  fUseDZ = iConfig.getParameter<bool>("UseDeltaZCut");
34  fDZCut = iConfig.getParameter<double>("DeltaZCut");
35  fPuppiContainer = std::unique_ptr<PuppiContainer> ( new PuppiContainer(iConfig) );
36 
38  = consumes<CandidateView>(iConfig.getParameter<edm::InputTag>("candName"));
40  = consumes<VertexCollection>(iConfig.getParameter<edm::InputTag>("vertexName"));
41 
42 
43  produces<edm::ValueMap<float> > ();
44  produces<edm::ValueMap<LorentzVector> > ();
45  produces< edm::ValueMap<reco::CandidatePtr> >();
46 
47  produces<PFOutputCollection>();
48 
49  if (fPuppiDiagnostics){
50  produces<double> ("PuppiNAlgos");
51  produces<std::vector<double>> ("PuppiRawAlphas");
52  produces<std::vector<double>> ("PuppiAlphas");
53  produces<std::vector<double>> ("PuppiAlphasMed");
54  produces<std::vector<double>> ("PuppiAlphasRms");
55  }
56 }
T getParameter(std::string const &) const
bool fPuppiDiagnostics
Definition: PuppiProducer.h:49
std::unique_ptr< PuppiContainer > fPuppiContainer
Definition: PuppiProducer.h:52
edm::EDGetTokenT< VertexCollection > tokenVertices_
Definition: PuppiProducer.h:45
edm::EDGetTokenT< CandidateView > tokenPFCandidates_
Definition: PuppiProducer.h:44
PuppiProducer::~PuppiProducer ( )

Definition at line 58 of file PuppiProducer.cc.

58  {
59 }

Member Function Documentation

void PuppiProducer::beginJob ( void  )
privatevirtual

Definition at line 226 of file PuppiProducer.cc.

226  {
227 }
void PuppiProducer::beginLuminosityBlock ( edm::LuminosityBlock ,
edm::EventSetup const &   
)
privatevirtual

Definition at line 238 of file PuppiProducer.cc.

238  {
239 }
void PuppiProducer::beginRun ( edm::Run ,
edm::EventSetup const &   
)
privatevirtual

Definition at line 232 of file PuppiProducer.cc.

232  {
233 }
void PuppiProducer::endJob ( void  )
privatevirtual

Definition at line 229 of file PuppiProducer.cc.

229  {
230 }
void PuppiProducer::endLuminosityBlock ( edm::LuminosityBlock ,
edm::EventSetup const &   
)
privatevirtual

Definition at line 241 of file PuppiProducer.cc.

241  {
242 }
void PuppiProducer::endRun ( edm::Run ,
edm::EventSetup const &   
)
privatevirtual

Definition at line 235 of file PuppiProducer.cc.

235  {
236 }
void PuppiProducer::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 244 of file PuppiProducer.cc.

References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().

244  {
245  //The following says we do not know what parameters are allowed so do no validation
246  // Please change this to state exactly what you do use, even if it is no parameters
248  desc.setUnknown();
249  descriptions.addDefault(desc);
250 }
void addDefault(ParameterSetDescription const &psetDescription)
void PuppiProducer::produce ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
privatevirtual

Implements edm::stream::EDProducerBase.

Definition at line 61 of file PuppiProducer.cc.

References edm::View< T >::begin(), RecoObj::charge, RecoObj::d0, pat::PackedCandidate::dxy(), RecoObj::dZ, pat::PackedCandidate::dz(), edm::View< T >::end(), RecoObj::eta, fDZCut, edm::helper::Filler< Map >::fill(), fPuppiCandidates, fPuppiContainer, fPuppiDiagnostics, fRecoObjCollection, pat::PackedCandidate::fromPV(), fUseDZ, edm::Event::getByToken(), reco::PFCandidate::gsfTrackRef(), i, RecoObj::id, edm::helper::Filler< Map >::insert(), edm::Ref< C, T, F >::isNonnull(), RecoObj::m, RecoObj::phi, edm::Handle< T >::product(), RecoObj::pt, edm::Event::put(), pat::PackedCandidate::PVLoose, pat::PackedCandidate::PVTight, pat::PackedCandidate::PVUsedInFit, RecoObj::rapidity, reco::LeafCandidate::setP4(), tokenPFCandidates_, tokenVertices_, reco::PFCandidate::trackRef(), reco::PFCandidate::translatePdgIdToType(), makeHLTPrescaleTable::values, pat::PackedCandidate::vertexRef(), and RecoObj::vtxId.

Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().

61  {
62 
63  // Get PFCandidate Collection
64  edm::Handle<CandidateView> hPFProduct;
65  iEvent.getByToken(tokenPFCandidates_,hPFProduct);
66  const CandidateView *pfCol = hPFProduct.product();
67 
68  // Get vertex collection w/PV as the first entry?
70  iEvent.getByToken(tokenVertices_,hVertexProduct);
71  const reco::VertexCollection *pvCol = hVertexProduct.product();
72 
73  //Fill the reco objects
74  fRecoObjCollection.clear();
75  for(CandidateView::const_iterator itPF = pfCol->begin(); itPF!=pfCol->end(); itPF++) {
76  RecoObj pReco;
77  pReco.pt = itPF->pt();
78  pReco.eta = itPF->eta();
79  pReco.phi = itPF->phi();
80  pReco.m = itPF->mass();
81  pReco.rapidity = itPF->rapidity();
82  pReco.charge = itPF->charge();
83  const reco::Vertex *closestVtx = 0;
84  double pDZ = -9999;
85  double pD0 = -9999;
86  int pVtxId = -9999;
87  bool lFirst = true;
88  const pat::PackedCandidate *lPack = dynamic_cast<const pat::PackedCandidate*>(&(*itPF));
89  if(lPack == 0 ) {
90  const reco::PFCandidate *pPF = dynamic_cast<const reco::PFCandidate*>(&(*itPF));
91  for(reco::VertexCollection::const_iterator iV = pvCol->begin(); iV!=pvCol->end(); ++iV) {
92  if(lFirst) {
93  if ( pPF->trackRef().isNonnull() ) pDZ = pPF->trackRef() ->dz(iV->position());
94  else if ( pPF->gsfTrackRef().isNonnull() ) pDZ = pPF->gsfTrackRef()->dz(iV->position());
95  if ( pPF->trackRef().isNonnull() ) pD0 = pPF->trackRef() ->d0();
96  else if ( pPF->gsfTrackRef().isNonnull() ) pD0 = pPF->gsfTrackRef()->d0();
97  lFirst = false;
98  if(pDZ > -9999) pVtxId = 0;
99  }
100  if(iV->trackWeight(pPF->trackRef())>0) {
101  closestVtx = &(*iV);
102  break;
103  }
104  pVtxId++;
105  }
106  } else if(lPack->vertexRef().isNonnull() ) {
107  pDZ = lPack->dz();
108  pD0 = lPack->dxy();
109  closestVtx = &(*(lPack->vertexRef()));
110  pVtxId = (lPack->fromPV() != (pat::PackedCandidate::PVUsedInFit));
111  if( (lPack->fromPV() == pat::PackedCandidate::PVLoose) || (lPack->fromPV() == pat::PackedCandidate::PVTight) ){
112  pVtxId = 0;
113  }
114  }
115  pReco.dZ = pDZ;
116  pReco.d0 = pD0;
117 
118  if(closestVtx == 0) pReco.vtxId = -1;
119  if(closestVtx != 0) pReco.vtxId = pVtxId;
120  //if(closestVtx != 0) pReco.vtxChi2 = closestVtx->trackWeight(itPF->trackRef());
121  //Set the id for Puppi Algo: 0 is neutral pfCandidate, id = 1 for particles coming from PV and id = 2 for charged particles from non-leading vertex
122  pReco.id = 0;
123 
124  if(closestVtx != 0 && pVtxId == 0 && fabs(pReco.charge) > 0) pReco.id = 1;
125  if(closestVtx != 0 && pVtxId > 0 && fabs(pReco.charge) > 0) pReco.id = 2;
126  //Add a dZ cut if wanted (this helps)
127  if(fUseDZ && pDZ > -9999 && closestVtx == 0 && (fabs(pDZ) < fDZCut) && fabs(pReco.charge) > 0) pReco.id = 1;
128  if(fUseDZ && pDZ > -9999 && closestVtx == 0 && (fabs(pDZ) > fDZCut) && fabs(pReco.charge) > 0) pReco.id = 2;
129 
130  //std::cout << "pVtxId = " << pVtxId << ", and charge = " << itPF->charge() << ", and closestVtx = " << closestVtx << ", and id = " << pReco.id << std::endl;
131  //std::cout << "charge = " << itPF->charge() << ", pDZ = " << pDZ << ", pVtxId = " << pVtxId << ", closestVtx = " << closestVtx << ", fromPV() = " << lPack->fromPV() << ", pReco.id = " << pReco.id << std::endl;
132 
133  fRecoObjCollection.push_back(pReco);
134  }
135 
136  fPuppiContainer->initialize(fRecoObjCollection);
137 
138  //Compute the weights
139  const std::vector<double> lWeights = fPuppiContainer->puppiWeights();
140  //Fill it into the event
141  std::auto_ptr<edm::ValueMap<float> > lPupOut(new edm::ValueMap<float>());
142  edm::ValueMap<float>::Filler lPupFiller(*lPupOut);
143  lPupFiller.insert(hPFProduct,lWeights.begin(),lWeights.end());
144  lPupFiller.fill();
145 
146  // This is a dummy to access the "translate" method which is a
147  // non-static member function even though it doesn't need to be.
148  // Will fix in the future.
149  static const reco::PFCandidate dummySinceTranslateIsNotStatic;
150 
151  //Fill a new PF Candidate Collection and write out the ValueMap of the new p4s.
152  // Since the size of the ValueMap must be equal to the input collection, we need
153  // to search the "puppi" particles to find a match for each input. If none is found,
154  // the input is set to have a four-vector of 0,0,0,0
155  const std::vector<fastjet::PseudoJet> lCandidates = fPuppiContainer->puppiParticles();
157  std::auto_ptr<edm::ValueMap<LorentzVector> > p4PupOut(new edm::ValueMap<LorentzVector>());
158  LorentzVectorCollection puppiP4s;
159  std::vector<reco::CandidatePtr> values(hPFProduct->size());
160  //std::vector<int> values(hPFProduct->size());
161 
162  for ( auto i0 = hPFProduct->begin(),
163  i0begin = hPFProduct->begin(),
164  i0end = hPFProduct->end(); i0 != i0end; ++i0 ) {
165  //for(unsigned int i0 = 0; i0 < lCandidates.size(); i0++) {
166  //reco::PFCandidate pCand;
167  auto id = dummySinceTranslateIsNotStatic.translatePdgIdToType(i0->pdgId());
168  const reco::PFCandidate *pPF = dynamic_cast<const reco::PFCandidate*>(&(*i0));
169  reco::PFCandidate pCand( pPF ? *pPF : reco::PFCandidate(i0->charge(), i0->p4(), id) );
170  LorentzVector pVec = i0->p4();
171  int val = i0 - i0begin;
172 
173  // Find the Puppi particle matched to the input collection using the "user_index" of the object.
174  auto puppiMatched = find_if( lCandidates.begin(), lCandidates.end(), [&val]( fastjet::PseudoJet const & i ){ return i.user_index() == val; } );
175  if ( puppiMatched != lCandidates.end() ) {
176  pVec.SetPxPyPzE(puppiMatched->px(),puppiMatched->py(),puppiMatched->pz(),puppiMatched->E());
177  } else {
178  pVec.SetPxPyPzE( 0, 0, 0, 0);
179  }
180  pCand.setP4(pVec);
181  puppiP4s.push_back( pVec );
182  fPuppiCandidates->push_back(pCand);
183  }
184 
185  //Compute the modified p4s
186  edm::ValueMap<LorentzVector>::Filler p4PupFiller(*p4PupOut);
187  p4PupFiller.insert(hPFProduct,puppiP4s.begin(), puppiP4s.end() );
188  p4PupFiller.fill();
189 
190  iEvent.put(lPupOut);
191  iEvent.put(p4PupOut);
193  for(unsigned int ic=0, nc = oh->size(); ic < nc; ++ic) {
194  reco::CandidatePtr pkref( oh, ic );
195  values[ic] = pkref;
196 
197  }
198  std::auto_ptr<edm::ValueMap<reco::CandidatePtr> > pfMap_p(new edm::ValueMap<reco::CandidatePtr>());
200  filler.insert(hPFProduct, values.begin(), values.end());
201  filler.fill();
202  iEvent.put(pfMap_p);
203 
204 
206  if (fPuppiDiagnostics){
207 
208  // all the different alphas per particle
209  // THE alpha per particle
210  std::auto_ptr<std::vector<double> > theAlphas(new std::vector<double>(fPuppiContainer->puppiAlphas()));
211  std::auto_ptr<std::vector<double> > theAlphasMed(new std::vector<double>(fPuppiContainer->puppiAlphasMed()));
212  std::auto_ptr<std::vector<double> > theAlphasRms(new std::vector<double>(fPuppiContainer->puppiAlphasRMS()));
213  std::auto_ptr<std::vector<double> > alphas(new std::vector<double>(fPuppiContainer->puppiRawAlphas()));
214  std::auto_ptr<double> nalgos(new double(fPuppiContainer->puppiNAlgos()));
215 
216  iEvent.put(alphas,"PuppiRawAlphas");
217  iEvent.put(nalgos,"PuppiNAlgos");
218  iEvent.put(theAlphas,"PuppiAlphas");
219  iEvent.put(theAlphasMed,"PuppiAlphasMed");
220  iEvent.put(theAlphasRms,"PuppiAlphasRms");
221  }
222 
223 }
virtual float dz(size_t ipv=0) const
dz with respect to the PV[ipv]
int i
Definition: DBlmapReader.cc:9
bool isNonnull() const
Checks for non-null.
Definition: Ref.h:252
float d0
Definition: RecoObj.h:28
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:457
std::vector< reco::PFCandidate > PFOutputCollection
Definition: PuppiProducer.h:31
Definition: RecoObj.h:4
bool fPuppiDiagnostics
Definition: PuppiProducer.h:49
std::vector< RecoObj > fRecoObjCollection
Definition: PuppiProducer.h:53
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
const reco::VertexRef vertexRef() const
std::unique_ptr< PuppiContainer > fPuppiContainer
Definition: PuppiProducer.h:52
int charge
Definition: RecoObj.h:29
edm::EDGetTokenT< VertexCollection > tokenVertices_
Definition: PuppiProducer.h:45
float dZ
Definition: RecoObj.h:27
reco::TrackRef trackRef() const
Definition: PFCandidate.cc:433
float rapidity
Definition: RecoObj.h:17
float pt
Definition: RecoObj.h:17
const_iterator begin() const
int id
Definition: RecoObj.h:18
float phi
Definition: RecoObj.h:17
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
Definition: Event.h:115
const PVAssoc fromPV(size_t ipv=0) const
std::vector< LorentzVector > LorentzVectorCollection
float m
Definition: RecoObj.h:17
T const * product() const
Definition: Handle.h:81
ParticleType translatePdgIdToType(int pdgid) const
Definition: PFCandidate.cc:224
float eta
Definition: RecoObj.h:17
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< float > > LorentzVector
Definition: analysisEnums.h:9
Particle reconstructed by the particle flow algorithm.
Definition: PFCandidate.h:39
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
Definition: View.h:85
reco::GsfTrackRef gsfTrackRef() const
Definition: PFCandidate.cc:471
edm::EDGetTokenT< CandidateView > tokenPFCandidates_
Definition: PuppiProducer.h:44
std::auto_ptr< PFOutputCollection > fPuppiCandidates
Definition: PuppiProducer.h:54
const_iterator end() const
virtual float dxy() const
dxy with respect to the PV ref
int vtxId
Definition: RecoObj.h:20

Member Data Documentation

float PuppiProducer::fDZCut
private

Definition at line 51 of file PuppiProducer.h.

Referenced by produce(), and PuppiProducer().

std::string PuppiProducer::fPFName
private

Definition at line 47 of file PuppiProducer.h.

std::auto_ptr< PFOutputCollection > PuppiProducer::fPuppiCandidates
private

Definition at line 54 of file PuppiProducer.h.

Referenced by produce().

std::unique_ptr<PuppiContainer> PuppiProducer::fPuppiContainer
private

Definition at line 52 of file PuppiProducer.h.

Referenced by produce(), and PuppiProducer().

bool PuppiProducer::fPuppiDiagnostics
private

Definition at line 49 of file PuppiProducer.h.

Referenced by produce(), and PuppiProducer().

std::string PuppiProducer::fPuppiName
private

Definition at line 46 of file PuppiProducer.h.

std::string PuppiProducer::fPVName
private

Definition at line 48 of file PuppiProducer.h.

std::vector<RecoObj> PuppiProducer::fRecoObjCollection
private

Definition at line 53 of file PuppiProducer.h.

Referenced by produce().

bool PuppiProducer::fUseDZ
private

Definition at line 50 of file PuppiProducer.h.

Referenced by produce(), and PuppiProducer().

edm::EDGetTokenT< CandidateView > PuppiProducer::tokenPFCandidates_
private

Definition at line 44 of file PuppiProducer.h.

Referenced by produce(), and PuppiProducer().

edm::EDGetTokenT< VertexCollection > PuppiProducer::tokenVertices_
private

Definition at line 45 of file PuppiProducer.h.

Referenced by produce(), and PuppiProducer().