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 
21 
26 
28 
30 
35 
38 
39 namespace pat {
40 
42  public:
43  explicit PATGenericParticleProducer(const edm::ParameterSet& iConfig);
44  ~PATGenericParticleProducer() override;
45 
46  void produce(edm::Event& iEvent, const edm::EventSetup& iSetup) override;
47 
48  private:
49  // configurables
51 
52  // embed RECo objects
55 
58 
61  std::vector<edm::EDGetTokenT<edm::Association<reco::GenParticleCollection> > > genMatchTokens_;
62 
63  // tools
65 
67  pat::helper::MultiIsolator::IsolationValuePairs isolatorTmpStorage_; // better here than recreate at each event
68  std::vector<std::pair<pat::IsolationKeys, edm::InputTag> > isoDepositLabels_;
69  std::vector<edm::EDGetTokenT<edm::ValueMap<IsoDeposit> > > isoDepositTokens_;
70 
73 
76 
78 
81  };
82 
83 } // namespace pat
84 
85 #endif
pat::PATGenericParticleProducer::addGenMatch_
bool addGenMatch_
Definition: PATGenericParticleProducer.h:59
pat::PATUserDataHelper< pat::GenericParticle >
pat::PATGenericParticleProducer::srcToken_
edm::EDGetTokenT< edm::View< reco::Candidate > > srcToken_
Definition: PATGenericParticleProducer.h:50
pat::PATGenericParticleProducer::genMatchTokens_
std::vector< edm::EDGetTokenT< edm::Association< reco::GenParticleCollection > > > genMatchTokens_
Definition: PATGenericParticleProducer.h:61
pat::PATGenericParticleProducer::userDataHelper_
pat::PATUserDataHelper< pat::GenericParticle > userDataHelper_
Definition: PATGenericParticleProducer.h:80
pat::helper::EfficiencyLoader
Definition: EfficiencyLoader.h:16
edm::EDGetTokenT
Definition: EDGetToken.h:33
pat::PATGenericParticleProducer::addResolutions_
bool addResolutions_
Definition: PATGenericParticleProducer.h:74
pat::PATGenericParticleProducer::efficiencyLoader_
pat::helper::EfficiencyLoader efficiencyLoader_
Definition: PATGenericParticleProducer.h:72
GenericParticle.h
EDProducer.h
pat::PATGenericParticleProducer::isoDepositTokens_
std::vector< edm::EDGetTokenT< edm::ValueMap< IsoDeposit > > > isoDepositTokens_
Definition: PATGenericParticleProducer.h:69
pat::PATGenericParticleProducer::embedTracks_
bool embedTracks_
Definition: PATGenericParticleProducer.h:53
pat::PATGenericParticleProducer::isolator_
pat::helper::MultiIsolator isolator_
Definition: PATGenericParticleProducer.h:66
Association.h
pat::PATGenericParticleProducer::useUserData_
bool useUserData_
Definition: PATGenericParticleProducer.h:79
pat::helper::MultiIsolator::IsolationValuePairs
std::vector< std::pair< pat::IsolationKeys, float > > IsolationValuePairs
Definition: MultiIsolator.h:17
MultiIsolator.h
EfficiencyLoader.h
GenParticle.h
GreaterByEt
Definition: EtComparator.h:23
pat::PATGenericParticleProducer::eTComparator_
GreaterByEt< GenericParticle > eTComparator_
Definition: PATGenericParticleProducer.h:64
pat::PATGenericParticleProducer::addEfficiencies_
bool addEfficiencies_
Definition: PATGenericParticleProducer.h:71
GenParticleFwd.h
pat::PATGenericParticleProducer::PATGenericParticleProducer
PATGenericParticleProducer(const edm::ParameterSet &iConfig)
Definition: PATGenericParticleProducer.cc:12
pat::helper::KinResolutionsLoader
Definition: KinResolutionsLoader.h:18
KinResolutionsLoader.h
pat::PATGenericParticleProducer::embedCombined_
bool embedCombined_
Definition: PATGenericParticleProducer.h:53
pat::helper::VertexingHelper
Produces and/or checks pat::VertexAssociation's.
Definition: VertexingHelper.h:50
pat::PATGenericParticleProducer::isoDepositLabels_
std::vector< std::pair< pat::IsolationKeys, edm::InputTag > > isoDepositLabels_
Definition: PATGenericParticleProducer.h:68
EtComparator.h
edm::ParameterSet
Definition: ParameterSet.h:47
pat::PATGenericParticleProducer
Produces the pat::GenericParticle.
Definition: PATGenericParticleProducer.h:41
Event.h
UserData.h
pat::PATGenericParticleProducer::resolutionLoader_
pat::helper::KinResolutionsLoader resolutionLoader_
Definition: PATGenericParticleProducer.h:75
pat::PATGenericParticleProducer::embedStandalone_
bool embedStandalone_
Definition: PATGenericParticleProducer.h:53
pat::PATGenericParticleProducer::embedCaloTower_
bool embedCaloTower_
Definition: PATGenericParticleProducer.h:53
pat::PATGenericParticleProducer::produce
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
Definition: PATGenericParticleProducer.cc:100
iEvent
int iEvent
Definition: GenABIO.cc:224
pat::PATGenericParticleProducer::embedSuperCluster_
bool embedSuperCluster_
Definition: PATGenericParticleProducer.h:53
edm::stream::EDProducer
Definition: EDProducer.h:38
pat::PATGenericParticleProducer::embedTrack_
bool embedTrack_
Definition: PATGenericParticleProducer.h:53
edm::EventSetup
Definition: EventSetup.h:58
pat
Definition: HeavyIon.h:7
ValueMap.h
pat::helper::MultiIsolator
Definition: MultiIsolator.h:15
VertexingHelper.h
pat::PATGenericParticleProducer::~PATGenericParticleProducer
~PATGenericParticleProducer() override
Definition: PATGenericParticleProducer.cc:98
pat::PATGenericParticleProducer::embedGsfTrack_
bool embedGsfTrack_
Definition: PATGenericParticleProducer.h:53
pat::PATGenericParticleProducer::qualitySrcToken_
edm::EDGetTokenT< edm::ValueMap< float > > qualitySrcToken_
Definition: PATGenericParticleProducer.h:57
PATUserDataHelper.h
pat::PATGenericParticleProducer::addQuality_
bool addQuality_
Definition: PATGenericParticleProducer.h:56
ParameterSet.h
pat::PATGenericParticleProducer::vertexingHelper_
pat::helper::VertexingHelper vertexingHelper_
Definition: PATGenericParticleProducer.h:77
edm::Event
Definition: Event.h:73
pat::PATGenericParticleProducer::embedGenMatch_
bool embedGenMatch_
Definition: PATGenericParticleProducer.h:60
pat::PATGenericParticleProducer::isolatorTmpStorage_
pat::helper::MultiIsolator::IsolationValuePairs isolatorTmpStorage_
Definition: PATGenericParticleProducer.h:67