CMS 3D CMS Logo

PATGenericParticleProducer.h
Go to the documentation of this file.
1 //
2 //
3 
4 #ifndef PhysicsTools_PatAlgos_PATGenericParticleProducer_h
5 #define PhysicsTools_PatAlgos_PATGenericParticleProducer_h
6 
22 
27 
29 
31 
36 
39 
40 namespace pat {
41 
43 
44  public:
45 
46  explicit PATGenericParticleProducer(const edm::ParameterSet & iConfig);
47  ~PATGenericParticleProducer() override;
48 
49  void produce(edm::Event & iEvent, const edm::EventSetup& iSetup) override;
50 
51  private:
52 
53  // configurables
55 
56  // embed RECo objects
58 
61 
64  std::vector<edm::EDGetTokenT<edm::Association<reco::GenParticleCollection> > > genMatchTokens_;
65 
66  // tools
68 
70  pat::helper::MultiIsolator::IsolationValuePairs isolatorTmpStorage_; // better here than recreate at each event
71  std::vector<std::pair<pat::IsolationKeys,edm::InputTag> > isoDepositLabels_;
72  std::vector<edm::EDGetTokenT<edm::ValueMap<IsoDeposit> > > isoDepositTokens_;
73 
76 
79 
81 
84 
85  };
86 
87 
88 }
89 
90 #endif
Assists in assimilating all pat::UserData into pat objects.
std::vector< edm::EDGetTokenT< edm::Association< reco::GenParticleCollection > > > genMatchTokens_
Definition: HeavyIon.h:7
pat::PATUserDataHelper< pat::GenericParticle > userDataHelper_
int iEvent
Definition: GenABIO.cc:230
pat::helper::MultiIsolator::IsolationValuePairs isolatorTmpStorage_
edm::EDGetTokenT< edm::View< reco::Candidate > > srcToken_
PATGenericParticleProducer(const edm::ParameterSet &iConfig)
GreaterByEt< GenericParticle > eTComparator_
Produces the pat::GenericParticle.
std::vector< edm::EDGetTokenT< edm::ValueMap< IsoDeposit > > > isoDepositTokens_
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
pat::helper::EfficiencyLoader efficiencyLoader_
pat::helper::VertexingHelper vertexingHelper_
std::vector< std::pair< pat::IsolationKeys, float > > IsolationValuePairs
Definition: MultiIsolator.h:16
std::vector< std::pair< pat::IsolationKeys, edm::InputTag > > isoDepositLabels_
pat::helper::KinResolutionsLoader resolutionLoader_
edm::EDGetTokenT< edm::ValueMap< float > > qualitySrcToken_
Produces and/or checks pat::VertexAssociation&#39;s.