CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
ParticleLevelProducer Class Reference

#include <ParticleLevelProducer.h>

Inheritance diagram for ParticleLevelProducer:
edm::one::EDProducer< edm::one::SharedResources > edm::one::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 ParticleLevelProducer (const edm::ParameterSet &pset)
 
void produce (edm::Event &event, const edm::EventSetup &eventSetup) override
 
 ~ParticleLevelProducer () override
 
- Public Member Functions inherited from edm::one::EDProducer< edm::one::SharedResources >
 EDProducer ()=default
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
- Public Member Functions inherited from edm::one::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
std::vector< bool > const & recordProvenanceList () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
TypeLabelList const & typeLabelList () const
 used by the fwk to register the list of products of this module More...
 
 ~ProducerBase () noexcept(false) override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Member Functions

void addGenJet (Rivet::Jet jet, std::unique_ptr< reco::GenJetCollection > &jets, std::unique_ptr< reco::GenParticleCollection > &consts, edm::RefProd< reco::GenParticleCollection > &constsRefHandle, int &iConstituent, std::unique_ptr< reco::GenParticleCollection > &tags, edm::RefProd< reco::GenParticleCollection > &tagsRefHandle, int &iTag)
 
template<typename T >
reco::Candidate::LorentzVector p4 (const T &p) const
 

Private Attributes

std::unique_ptr< Rivet::AnalysisHandler > analysisHandler_
 
reco::Particle::Point genVertex_
 
const edm::ParameterSet pset_
 
Rivet::RivetAnalysisrivetAnalysis_ = nullptr
 
const edm::EDGetTokenT< edm::HepMCProductsrcToken_
 

Additional Inherited Members

- Public Types inherited from edm::one::EDProducerBase
typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > >
 
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::one::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from edm::ProducerBase
template<class ProductType >
BranchAliasSetterT< ProductType > produces ()
 declare what type of product will make and with which optional label More...
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces ()
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces ()
 
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<BranchType B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<Transition B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<class ProductType >
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Detailed Description

Definition at line 18 of file ParticleLevelProducer.h.

Constructor & Destructor Documentation

◆ ParticleLevelProducer()

ParticleLevelProducer::ParticleLevelProducer ( const edm::ParameterSet pset)

Definition at line 21 of file ParticleLevelProducer.cc.

22  : srcToken_(consumes<edm::HepMCProduct>(pset.getParameter<edm::InputTag>("src"))), pset_(pset) {
23  usesResource("Rivet");
25 
26  produces<reco::GenParticleCollection>("neutrinos");
27  produces<reco::GenParticleCollection>("photons");
28  produces<reco::GenJetCollection>("leptons");
29  produces<reco::GenJetCollection>("jets");
30  produces<reco::GenJetCollection>("fatjets");
31  produces<reco::GenParticleCollection>("consts");
32  produces<reco::GenParticleCollection>("tags");
33  produces<reco::METCollection>("mets");
34 }

References genVertex_.

◆ ~ParticleLevelProducer()

ParticleLevelProducer::~ParticleLevelProducer ( )
inlineoverride

Definition at line 21 of file ParticleLevelProducer.h.

21 {}

Member Function Documentation

◆ addGenJet()

void ParticleLevelProducer::addGenJet ( Rivet::Jet  jet,
std::unique_ptr< reco::GenJetCollection > &  jets,
std::unique_ptr< reco::GenParticleCollection > &  consts,
edm::RefProd< reco::GenParticleCollection > &  constsRefHandle,
int &  iConstituent,
std::unique_ptr< reco::GenParticleCollection > &  tags,
edm::RefProd< reco::GenParticleCollection > &  tagsRefHandle,
int &  iTag 
)
private

Definition at line 36 of file ParticleLevelProducer.cc.

43  {
44  const auto pjet = jet.pseudojet();
45 
46  reco::GenJet genJet;
47  genJet.setP4(p4(jet));
48  genJet.setVertex(genVertex_);
49  if (jet.bTagged())
50  genJet.setPdgId(5);
51  else if (jet.cTagged())
52  genJet.setPdgId(4);
53  genJet.setJetArea(pjet.has_area() ? pjet.area() : 0);
54 
55  for (auto const& p : jet.particles()) {
56  auto pp4 = p4(p);
57  bool match = false;
58  int iMatch = -1;
59  for (auto const& q : *consts) {
60  ++iMatch;
61  if (q.p4() == pp4) {
62  match = true;
63  break;
64  }
65  }
66  if (match) {
67  genJet.addDaughter(edm::refToPtr(reco::GenParticleRef(constsRefHandle, iMatch)));
68  } else {
69  consts->push_back(reco::GenParticle(p.charge(), pp4, genVertex_, p.pid(), 1, true));
70  genJet.addDaughter(edm::refToPtr(reco::GenParticleRef(constsRefHandle, ++iConstituent)));
71  }
72  }
73  for (auto const& p : jet.tags()) {
74  // The tag particles are accessible as jet daughters, so scale down p4 for safety.
75  // p4 needs to be multiplied by 1e20 for fragmentation analysis.
76  auto pp4 = p4(p) * 1e-20;
77  bool match = false;
78  int iMatch = -1;
79  for (auto const& q : *tags) {
80  ++iMatch;
81  if (q.p4() == pp4) {
82  match = true;
83  break;
84  }
85  }
86  if (match) {
87  genJet.addDaughter(edm::refToPtr(reco::GenParticleRef(tagsRefHandle, iMatch)));
88  } else {
89  tags->push_back(reco::GenParticle(p.charge(), p4(p) * 1e-20, genVertex_, p.pid(), 2, true));
90  genJet.addDaughter(edm::refToPtr(reco::GenParticleRef(tagsRefHandle, ++iTag)));
91  }
92  }
93 
94  jets->push_back(genJet);
95 }

References reco::CompositePtrCandidate::addDaughter(), MillePedeFileConverter_cfg::e, genVertex_, metsig::jet, singleTopDQM_cfi::jets, match(), AlCaHLTBitMon_ParallelJobs::p, p4(), submitPVResolutionJobs::q, edm::refToPtr(), reco::Jet::setJetArea(), reco::LeafCandidate::setP4(), reco::LeafCandidate::setPdgId(), reco::LeafCandidate::setVertex(), and triggerMatcherToHLTDebug_cfi::tags.

Referenced by produce().

◆ p4()

template<typename T >
reco::Candidate::LorentzVector ParticleLevelProducer::p4 ( const T p) const
inlineprivate

Definition at line 35 of file ParticleLevelProducer.h.

35  {
36  return reco::Candidate::LorentzVector(p.px(), p.py(), p.pz(), p.energy());
37  }

References AlCaHLTBitMon_ParallelJobs::p.

Referenced by addGenJet(), Tau.Tau::dxy_approx(), Tau.Tau::dz(), Lepton.Lepton::p4WithFSR(), and produce().

◆ produce()

void ParticleLevelProducer::produce ( edm::Event event,
const edm::EventSetup eventSetup 
)
overridevirtual

Implements edm::one::EDProducerBase.

Definition at line 97 of file ParticleLevelProducer.cc.

97  {
98  using namespace Rivet;
100 
101  std::unique_ptr<reco::GenParticleCollection> neutrinos(new reco::GenParticleCollection);
102  std::unique_ptr<reco::GenParticleCollection> photons(new reco::GenParticleCollection);
103  std::unique_ptr<reco::GenJetCollection> leptons(new reco::GenJetCollection);
104  std::unique_ptr<reco::GenJetCollection> jets(new reco::GenJetCollection);
105  std::unique_ptr<reco::GenJetCollection> fatjets(new reco::GenJetCollection);
106  std::unique_ptr<reco::GenParticleCollection> consts(new reco::GenParticleCollection);
107  std::unique_ptr<reco::GenParticleCollection> tags(new reco::GenParticleCollection);
108  std::unique_ptr<reco::METCollection> mets(new reco::METCollection);
109  auto constsRefHandle = event.getRefBeforePut<reco::GenParticleCollection>("consts");
110  auto tagsRefHandle = event.getRefBeforePut<reco::GenParticleCollection>("tags");
111 
112  edm::Handle<HepMCProduct> srcHandle;
113  event.getByToken(srcToken_, srcHandle);
114 
115  const HepMC::GenEvent* genEvent = srcHandle->GetEvent();
116 
117  if (!rivetAnalysis_ || !rivetAnalysis_->hasProjection("FS")) {
119  analysisHandler_ = std::make_unique<Rivet::AnalysisHandler>();
120 
121  analysisHandler_->setIgnoreBeams(true);
122  analysisHandler_->addAnalysis(rivetAnalysis_);
123  }
124 
125  analysisHandler_->analyze(*genEvent);
126 
127  // Convert into edm objects
128  // Prompt neutrinos
129  for (auto const& p : rivetAnalysis_->neutrinos()) {
130  neutrinos->push_back(reco::GenParticle(p.charge(), p4(p), genVertex_, p.pid(), 1, true));
131  }
132  std::sort(neutrinos->begin(), neutrinos->end(), GreaterByPt<reco::Candidate>());
133 
134  // Photons
135  for (auto const& p : rivetAnalysis_->photons()) {
136  photons->push_back(reco::GenParticle(p.charge(), p4(p), genVertex_, p.pid(), 1, true));
137  }
138  std::sort(photons->begin(), photons->end(), GreaterByPt<reco::Candidate>());
139 
140  // Prompt leptons
141  int iConstituent = -1;
142  int iTag = -1;
143  for (auto const& lepton : rivetAnalysis_->leptons()) {
144  reco::GenJet lepJet;
145  lepJet.setP4(p4(lepton));
146  lepJet.setVertex(genVertex_);
147  lepJet.setPdgId(lepton.pid());
148  lepJet.setCharge(lepton.charge());
149 
150  for (auto const& p : lepton.constituents()) {
151  // ghost taus (momentum scaled with 10e-20 in RivetAnalysis.h already)
152  if (p.abspid() == 15) {
153  tags->push_back(reco::GenParticle(p.charge(), p4(p), genVertex_, p.pid(), 2, true));
154  lepJet.addDaughter(edm::refToPtr(reco::GenParticleRef(tagsRefHandle, ++iTag)));
155  }
156  // electrons, muons, photons
157  else {
158  consts->push_back(reco::GenParticle(p.charge(), p4(p), genVertex_, p.pid(), 1, true));
159  lepJet.addDaughter(edm::refToPtr(reco::GenParticleRef(constsRefHandle, ++iConstituent)));
160  }
161  }
162 
163  leptons->push_back(lepJet);
164  }
165  std::sort(leptons->begin(), leptons->end(), GreaterByPt<reco::GenJet>());
166 
167  // Jets with constituents and tag particles
168  for (const auto& jet : rivetAnalysis_->jets()) {
169  addGenJet(jet, jets, consts, constsRefHandle, iConstituent, tags, tagsRefHandle, iTag);
170  }
171  for (const auto& jet : rivetAnalysis_->fatjets()) {
172  addGenJet(jet, fatjets, consts, constsRefHandle, iConstituent, tags, tagsRefHandle, iTag);
173  }
174 
175  // MET
177  rivetAnalysis_->met().y(),
178  0.,
179  sqrt(pow(rivetAnalysis_->met().x(), 2) + pow(rivetAnalysis_->met().y(), 2)));
180  mets->push_back(reco::MET(metP4, genVertex_));
181 
182  event.put(std::move(neutrinos), "neutrinos");
183  event.put(std::move(photons), "photons");
184  event.put(std::move(leptons), "leptons");
185  event.put(std::move(jets), "jets");
186  event.put(std::move(fatjets), "fatjets");
187  event.put(std::move(consts), "consts");
188  event.put(std::move(tags), "tags");
189  event.put(std::move(mets), "mets");
190 }

References reco::CompositePtrCandidate::addDaughter(), addGenJet(), analysisHandler_, Rivet::RivetAnalysis::fatjets(), genWeightsTable_cfi::genEvent, genVertex_, metsig::jet, Rivet::RivetAnalysis::jets(), singleTopDQM_cfi::jets, Rivet::RivetAnalysis::leptons(), HLT_FULL_cff::leptons, Rivet::RivetAnalysis::met(), singleTopDQM_cfi::mets, eostools::move(), TtSemiLepHypHitFit_cfi::neutrinos, Rivet::RivetAnalysis::neutrinos(), AlCaHLTBitMon_ParallelJobs::p, p4(), Rivet::RivetAnalysis::photons(), BPHMonitor_cfi::photons, funct::pow(), pset_, edm::refToPtr(), rivetAnalysis_, reco::LeafCandidate::setCharge(), reco::LeafCandidate::setP4(), reco::LeafCandidate::setPdgId(), reco::LeafCandidate::setVertex(), mathSSE::sqrt(), srcToken_, and triggerMatcherToHLTDebug_cfi::tags.

Member Data Documentation

◆ analysisHandler_

std::unique_ptr<Rivet::AnalysisHandler> ParticleLevelProducer::analysisHandler_
private

Definition at line 45 of file ParticleLevelProducer.h.

Referenced by produce().

◆ genVertex_

reco::Particle::Point ParticleLevelProducer::genVertex_
private

Definition at line 42 of file ParticleLevelProducer.h.

Referenced by addGenJet(), ParticleLevelProducer(), and produce().

◆ pset_

const edm::ParameterSet ParticleLevelProducer::pset_
private

Definition at line 40 of file ParticleLevelProducer.h.

Referenced by produce().

◆ rivetAnalysis_

Rivet::RivetAnalysis* ParticleLevelProducer::rivetAnalysis_ = nullptr
private

Definition at line 44 of file ParticleLevelProducer.h.

Referenced by produce().

◆ srcToken_

const edm::EDGetTokenT<edm::HepMCProduct> ParticleLevelProducer::srcToken_
private

Definition at line 39 of file ParticleLevelProducer.h.

Referenced by produce().

reco::LeafCandidate::setPdgId
void setPdgId(int pdgId) final
Definition: LeafCandidate.h:178
GreaterByPt
Definition: PtComparator.h:24
reco::GenJet
Jets made from MC generator particles.
Definition: GenJet.h:23
Rivet::RivetAnalysis
Definition: RivetAnalysis.h:23
reco::GenJetCollection
std::vector< GenJet > GenJetCollection
collection of GenJet objects
Definition: GenJetCollection.h:14
HLT_FULL_cff.leptons
leptons
Definition: HLT_FULL_cff.py:26349
reco::GenParticle
Definition: GenParticle.h:21
Rivet
Definition: RivetAnalysis.h:21
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
Rivet::RivetAnalysis::leptons
Particles leptons() const
Definition: RivetAnalysis.h:25
reco::GenParticleCollection
std::vector< GenParticle > GenParticleCollection
collection of GenParticles
Definition: GenParticleFwd.h:13
singleTopDQM_cfi.jets
jets
Definition: singleTopDQM_cfi.py:42
singleTopDQM_cfi.mets
mets
Definition: singleTopDQM_cfi.py:43
ParticleLevelProducer::srcToken_
const edm::EDGetTokenT< edm::HepMCProduct > srcToken_
Definition: ParticleLevelProducer.h:39
edm::Handle
Definition: AssociativeIterator.h:50
ParticleLevelProducer::p4
reco::Candidate::LorentzVector p4(const T &p) const
Definition: ParticleLevelProducer.h:35
HepMC::GenEvent
Definition: hepmc_rootio.cc:9
edm::Ref< GenParticleCollection >
Rivet::RivetAnalysis::photons
Particles photons() const
Definition: RivetAnalysis.h:26
reco::METCollection
std::vector< reco::MET > METCollection
collection of MET objects
Definition: METCollection.h:22
edm::refToPtr
Ptr< typename C::value_type > refToPtr(Ref< C, typename C::value_type, refhelper::FindUsingAdvance< C, typename C::value_type > > const &ref)
Definition: RefToPtr.h:18
reco::Jet::setJetArea
virtual void setJetArea(float fArea)
set jet area
Definition: Jet.h:101
Rivet::RivetAnalysis::fatjets
Jets fatjets() const
Definition: RivetAnalysis.h:29
reco::MET
Definition: MET.h:41
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
reco::LeafCandidate::setVertex
void setVertex(const Point &vertex) override
set vertex
Definition: LeafCandidate.h:173
Rivet::RivetAnalysis::neutrinos
Particles neutrinos() const
Definition: RivetAnalysis.h:27
Rivet::RivetAnalysis::jets
Jets jets() const
Definition: RivetAnalysis.h:28
ParticleLevelProducer::rivetAnalysis_
Rivet::RivetAnalysis * rivetAnalysis_
Definition: ParticleLevelProducer.h:44
match
std::pair< typename Association::data_type::first_type, double > match(Reference key, Association association, bool bestMatchByMaxValue)
Generic matching function.
Definition: Utils.h:10
BPHMonitor_cfi.photons
photons
Definition: BPHMonitor_cfi.py:91
submitPVResolutionJobs.q
q
Definition: submitPVResolutionJobs.py:84
ParticleLevelProducer::genVertex_
reco::Particle::Point genVertex_
Definition: ParticleLevelProducer.h:42
ParticleLevelProducer::addGenJet
void addGenJet(Rivet::Jet jet, std::unique_ptr< reco::GenJetCollection > &jets, std::unique_ptr< reco::GenParticleCollection > &consts, edm::RefProd< reco::GenParticleCollection > &constsRefHandle, int &iConstituent, std::unique_ptr< reco::GenParticleCollection > &tags, edm::RefProd< reco::GenParticleCollection > &tagsRefHandle, int &iTag)
Definition: ParticleLevelProducer.cc:36
reco::JetExtendedAssociation::LorentzVector
math::PtEtaPhiELorentzVectorF LorentzVector
Definition: JetExtendedAssociation.h:25
TtSemiLepHypHitFit_cfi.neutrinos
neutrinos
Definition: TtSemiLepHypHitFit_cfi.py:17
reco::LeafCandidate::setP4
void setP4(const LorentzVector &p4) final
set 4-momentum
Definition: LeafCandidate.h:158
eostools.move
def move(src, dest)
Definition: eostools.py:511
ParticleLevelProducer::analysisHandler_
std::unique_ptr< Rivet::AnalysisHandler > analysisHandler_
Definition: ParticleLevelProducer.h:45
genWeightsTable_cfi.genEvent
genEvent
Definition: genWeightsTable_cfi.py:4
metsig::jet
Definition: SignAlgoResolutions.h:47
reco::LeafCandidate::setCharge
void setCharge(Charge q) final
set electric charge
Definition: LeafCandidate.h:108
triggerMatcherToHLTDebug_cfi.tags
tags
Definition: triggerMatcherToHLTDebug_cfi.py:9
reco::Particle::Point
math::XYZPoint Point
point in the space
Definition: Particle.h:25
funct::pow
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29
reco::CompositePtrCandidate::addDaughter
void addDaughter(const CandidatePtr &)
add a daughter via a reference
Definition: CompositePtrCandidate.h:84
Rivet::RivetAnalysis::met
Vector3 met() const
Definition: RivetAnalysis.h:30
reco::Candidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:36
ParticleLevelProducer::pset_
const edm::ParameterSet pset_
Definition: ParticleLevelProducer.h:40
edm::InputTag
Definition: InputTag.h:15
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37