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 
65  bool fUseDZ;
66  double fDZCut;
67  double fEtaMinUseDZ;
68  double fPtMaxCharged;
70  double fPtMaxPhotons;
77  double fVtxZCut;
79  std::unique_ptr<PuppiContainer> fPuppiContainer;
80  std::vector<RecoObj> fRecoObjCollection;
81 };
82 #endif
PuppiProducer::fPtMaxCharged
double fPtMaxCharged
Definition: PuppiProducer.h:68
PuppiProducer::tokenPuppiCandidates_
edm::EDGetTokenT< PFOutputCollection > tokenPuppiCandidates_
Definition: PuppiProducer.h:46
PuppiProducer::fPuppiNoLep
bool fPuppiNoLep
Definition: PuppiProducer.h:63
PuppiProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition: PuppiProducer.cc:72
ESHandle.h
PuppiProducer::fVtxZCut
double fVtxZCut
Definition: PuppiProducer.h:77
PuppiProducer::ptokenRawAlphas_
edm::EDPutTokenT< std::vector< double > > ptokenRawAlphas_
Definition: PuppiProducer.h:55
PFCandidate.h
edm::EDGetTokenT< CandidateView >
edm::EDPutTokenT
Definition: EDPutToken.h:33
PuppiProducer::fUseFromPVLooseTight
bool fUseFromPVLooseTight
Definition: PuppiProducer.h:64
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:75
PuppiProducer::fUseDZ
bool fUseDZ
Definition: PuppiProducer.h:65
PuppiProducer::ptokenValues_
edm::EDPutTokenT< edm::ValueMap< reco::CandidatePtr > > ptokenValues_
Definition: PuppiProducer.h:51
PuppiProducer::fPuppiName
std::string fPuppiName
Definition: PuppiProducer.h:59
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:60
PuppiProducer::beginJob
virtual void beginJob()
Definition: PuppiProducer.cc:378
PuppiProducer::ptokenAlphasRms_
edm::EDPutTokenT< std::vector< double > > ptokenAlphasRms_
Definition: PuppiProducer.h:58
PuppiProducer::ptokenNalgos_
edm::EDPutTokenT< double > ptokenNalgos_
Definition: PuppiProducer.h:54
PuppiProducer::~PuppiProducer
~PuppiProducer() override
Definition: PuppiProducer.cc:70
PuppiProducer::ptokenP4PupOut_
edm::EDPutTokenT< edm::ValueMap< LorentzVector > > ptokenP4PupOut_
Definition: PuppiProducer.h:50
PuppiProducer::fDZCut
double fDZCut
Definition: PuppiProducer.h:66
PuppiProducer::fUseExistingWeights
bool fUseExistingWeights
Definition: PuppiProducer.h:74
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:52
PuppiProducer::ptokenAlphasMed_
edm::EDPutTokenT< std::vector< double > > ptokenAlphasMed_
Definition: PuppiProducer.h:57
PackedCandidate.h
PuppiProducer::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: PuppiProducer.cc:382
PuppiProducer::LorentzVector
math::XYZTLorentzVector LorentzVector
Definition: PuppiProducer.h:29
LorentzVector.h
PuppiProducer::fDZCutForChargedFromPUVtxs
double fDZCutForChargedFromPUVtxs
Definition: PuppiProducer.h:73
PuppiProducer::fEtaMaxCharged
double fEtaMaxCharged
Definition: PuppiProducer.h:69
PuppiProducer::fUsePUProxyValue
bool fUsePUProxyValue
Definition: PuppiProducer.h:78
edm::stream::EDProducer
Definition: EDProducer.h:38
PuppiProducer
Definition: PuppiProducer.h:23
edm::EventSetup
Definition: EventSetup.h:58
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:62
PuppiProducer::PFInputCollection
std::vector< reco::PFCandidate > PFInputCollection
Definition: PuppiProducer.h:33
PuppiProducer::ptokenPupOut_
edm::EDPutTokenT< edm::ValueMap< float > > ptokenPupOut_
Definition: PuppiProducer.h:49
PuppiProducer::fRecoObjCollection
std::vector< RecoObj > fRecoObjCollection
Definition: PuppiProducer.h:80
VertexFwd.h
PuppiProducer::ptokenAlphas_
edm::EDPutTokenT< std::vector< double > > ptokenAlphas_
Definition: PuppiProducer.h:56
PuppiProducer::LorentzVectorCollection
std::vector< LorentzVector > LorentzVectorCollection
Definition: PuppiProducer.h:30
PuppiProducer::fVtxNdofCut
int fVtxNdofCut
Definition: PuppiProducer.h:76
PtEtaPhiMass.h
PuppiProducer::tokenPFCandidates_
edm::EDGetTokenT< CandidateView > tokenPFCandidates_
Definition: PuppiProducer.h:43
PuppiProducer::fPVName
std::string fPVName
Definition: PuppiProducer.h:61
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:53
PuppiContainer.h
PuppiProducer::fPuppiContainer
std::unique_ptr< PuppiContainer > fPuppiContainer
Definition: PuppiProducer.h:79
PuppiProducer::fPtMaxPhotons
double fPtMaxPhotons
Definition: PuppiProducer.h:70
PuppiProducer::endJob
virtual void endJob()
Definition: PuppiProducer.cc:380
EventSetup.h
PuppiProducer::CandidateView
edm::View< reco::Candidate > CandidateView
Definition: PuppiProducer.h:32
PuppiProducer::fEtaMinUseDZ
double fEtaMinUseDZ
Definition: PuppiProducer.h:67
PuppiProducer::fNumOfPUVtxsForCharged
uint fNumOfPUVtxsForCharged
Definition: PuppiProducer.h:72
PuppiProducer::puProxyValueToken_
edm::EDGetTokenT< double > puProxyValueToken_
Definition: PuppiProducer.h:48
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:71