CMS 3D CMS Logo

PuppiProducer.h
Go to the documentation of this file.
1 #ifndef CommonTools_Puppi_PuppiProducer_h_
2 #define CommonTools_Puppi_PuppiProducer_h_
3 // system include files
4 #include <memory>
5 
6 // user include files
21 
22 // ------------------------------------------------------------------------------------------
24 public:
25  explicit PuppiProducer(const edm::ParameterSet&);
26  ~PuppiProducer() override;
27 
28  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
30  typedef std::vector<LorentzVector> LorentzVectorCollection;
33  typedef std::vector<reco::PFCandidate> PFInputCollection;
34  typedef std::vector<reco::PFCandidate> PFOutputCollection;
35  typedef std::vector<pat::PackedCandidate> PackedOutputCollection;
37 
38 private:
39  virtual void beginJob();
40  void produce(edm::Event&, const edm::EventSetup&) override;
41  virtual void endJob();
42 
64  bool fUseDZ;
65  double fDZCut;
66  double fEtaMinUseDZ;
67  double fPtMaxCharged;
69  double fPtMaxPhotons;
76  double fVtxZCut;
77  std::unique_ptr<PuppiContainer> fPuppiContainer;
78  std::vector<RecoObj> fRecoObjCollection;
79 };
80 #endif
PuppiProducer::fPtMaxCharged
double fPtMaxCharged
Definition: PuppiProducer.h:67
PuppiProducer::tokenPuppiCandidates_
edm::EDGetTokenT< PFOutputCollection > tokenPuppiCandidates_
Definition: PuppiProducer.h:46
PuppiProducer::fPuppiNoLep
bool fPuppiNoLep
Definition: PuppiProducer.h:62
PuppiProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition: PuppiProducer.cc:66
ESHandle.h
PuppiProducer::fVtxZCut
double fVtxZCut
Definition: PuppiProducer.h:76
PuppiProducer::ptokenRawAlphas_
edm::EDPutTokenT< std::vector< double > > ptokenRawAlphas_
Definition: PuppiProducer.h:54
PFCandidate.h
edm::EDGetTokenT< CandidateView >
edm::EDPutTokenT
Definition: EDPutToken.h:33
PuppiProducer::fUseFromPVLooseTight
bool fUseFromPVLooseTight
Definition: PuppiProducer.h:63
reco::VertexCollection
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
PuppiProducer::tokenPackedPuppiCandidates_
edm::EDGetTokenT< PackedOutputCollection > tokenPackedPuppiCandidates_
Definition: PuppiProducer.h:47
EDProducer.h
PuppiProducer::fClonePackedCands
bool fClonePackedCands
Definition: PuppiProducer.h:74
PuppiProducer::fUseDZ
bool fUseDZ
Definition: PuppiProducer.h:64
PuppiProducer::ptokenValues_
edm::EDPutTokenT< edm::ValueMap< reco::CandidatePtr > > ptokenValues_
Definition: PuppiProducer.h:50
PuppiProducer::fPuppiName
std::string fPuppiName
Definition: PuppiProducer.h:58
parallelization.uint
uint
Definition: parallelization.py:124
PuppiProducer::PFView
edm::View< reco::PFCandidate > PFView
Definition: PuppiProducer.h:36
MakerMacros.h
PuppiProducer::fPFName
std::string fPFName
Definition: PuppiProducer.h:59
PuppiProducer::beginJob
virtual void beginJob()
Definition: PuppiProducer.cc:369
PuppiProducer::ptokenAlphasRms_
edm::EDPutTokenT< std::vector< double > > ptokenAlphasRms_
Definition: PuppiProducer.h:57
PuppiProducer::ptokenNalgos_
edm::EDPutTokenT< double > ptokenNalgos_
Definition: PuppiProducer.h:53
PuppiProducer::~PuppiProducer
~PuppiProducer() override
Definition: PuppiProducer.cc:64
PuppiProducer::ptokenP4PupOut_
edm::EDPutTokenT< edm::ValueMap< LorentzVector > > ptokenP4PupOut_
Definition: PuppiProducer.h:49
PuppiProducer::fDZCut
double fDZCut
Definition: PuppiProducer.h:65
PuppiProducer::fUseExistingWeights
bool fUseExistingWeights
Definition: PuppiProducer.h:73
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::View
Definition: CaloClusterFwd.h:14
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
PuppiProducer::ptokenPackedPuppiCandidates_
edm::EDPutTokenT< pat::PackedCandidateCollection > ptokenPackedPuppiCandidates_
Definition: PuppiProducer.h:51
PuppiProducer::ptokenAlphasMed_
edm::EDPutTokenT< std::vector< double > > ptokenAlphasMed_
Definition: PuppiProducer.h:56
PackedCandidate.h
PuppiProducer::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: PuppiProducer.cc:373
PuppiProducer::LorentzVector
math::XYZTLorentzVector LorentzVector
Definition: PuppiProducer.h:29
LorentzVector.h
PuppiProducer::fDZCutForChargedFromPUVtxs
double fDZCutForChargedFromPUVtxs
Definition: PuppiProducer.h:72
PuppiProducer::fEtaMaxCharged
double fEtaMaxCharged
Definition: PuppiProducer.h:68
edm::stream::EDProducer
Definition: EDProducer.h:38
PuppiProducer
Definition: PuppiProducer.h:23
edm::EventSetup
Definition: EventSetup.h:57
PuppiProducer::PackedOutputCollection
std::vector< pat::PackedCandidate > PackedOutputCollection
Definition: PuppiProducer.h:35
PuppiProducer::PuppiProducer
PuppiProducer(const edm::ParameterSet &)
Definition: PuppiProducer.cc:23
PuppiProducer::fPuppiDiagnostics
bool fPuppiDiagnostics
Definition: PuppiProducer.h:61
PuppiProducer::PFInputCollection
std::vector< reco::PFCandidate > PFInputCollection
Definition: PuppiProducer.h:33
PuppiProducer::ptokenPupOut_
edm::EDPutTokenT< edm::ValueMap< float > > ptokenPupOut_
Definition: PuppiProducer.h:48
PuppiProducer::fRecoObjCollection
std::vector< RecoObj > fRecoObjCollection
Definition: PuppiProducer.h:78
VertexFwd.h
PuppiProducer::ptokenAlphas_
edm::EDPutTokenT< std::vector< double > > ptokenAlphas_
Definition: PuppiProducer.h:55
PuppiProducer::LorentzVectorCollection
std::vector< LorentzVector > LorentzVectorCollection
Definition: PuppiProducer.h:30
PuppiProducer::fVtxNdofCut
int fVtxNdofCut
Definition: PuppiProducer.h:75
PtEtaPhiMass.h
PuppiProducer::tokenPFCandidates_
edm::EDGetTokenT< CandidateView > tokenPFCandidates_
Definition: PuppiProducer.h:43
PuppiProducer::fPVName
std::string fPVName
Definition: PuppiProducer.h:60
Frameworkfwd.h
math::XYZTLorentzVector
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:29
PuppiProducer::ptokenPuppiCandidates_
edm::EDPutTokenT< reco::PFCandidateCollection > ptokenPuppiCandidates_
Definition: PuppiProducer.h:52
PuppiContainer.h
PuppiProducer::fPuppiContainer
std::unique_ptr< PuppiContainer > fPuppiContainer
Definition: PuppiProducer.h:77
PuppiProducer::fPtMaxPhotons
double fPtMaxPhotons
Definition: PuppiProducer.h:69
PuppiProducer::endJob
virtual void endJob()
Definition: PuppiProducer.cc:371
EventSetup.h
PuppiProducer::CandidateView
edm::View< reco::Candidate > CandidateView
Definition: PuppiProducer.h:32
PuppiProducer::fEtaMinUseDZ
double fEtaMinUseDZ
Definition: PuppiProducer.h:66
PuppiProducer::fNumOfPUVtxsForCharged
uint fNumOfPUVtxsForCharged
Definition: PuppiProducer.h:71
PuppiProducer::VertexCollection
reco::VertexCollection VertexCollection
Definition: PuppiProducer.h:31
PuppiProducer::tokenVertices_
edm::EDGetTokenT< VertexCollection > tokenVertices_
Definition: PuppiProducer.h:44
PuppiAlgo.h
ParameterSet.h
edm::Event
Definition: Event.h:73
PuppiProducer::PFOutputCollection
std::vector< reco::PFCandidate > PFOutputCollection
Definition: PuppiProducer.h:34
PuppiProducer::tokenPuppiContainer_
edm::EDGetTokenT< PuppiContainer > tokenPuppiContainer_
Definition: PuppiProducer.h:45
PuppiProducer::fEtaMaxPhotons
double fEtaMaxPhotons
Definition: PuppiProducer.h:70