Go to the documentation of this file.
2 #include "Math/GenVector/VectorUtil.h"
18 mEt_Min(iConfig.getParameter<double>(
"EtMin")) {
19 produces<PFTauCollection>();
41 for (
unsigned int iL1Tau = 0; iL1Tau < tauCandRefVec.size(); iL1Tau++) {
42 for (
unsigned int iJet = 0; iJet < tauJets->size(); iJet++) {
44 const PFTau& myJet = (*tauJets)[iJet];
50 PFTau myPFTau(std::numeric_limits<int>::quiet_NaN(), myJet.
p4(),
a);
52 tauL2jets->push_back(myPFTau);
65 ->setComment(
"Name of trigger filter");
67 ->setComment(
"Input collection of PFTaus");
68 desc.add<
double>(
"EtMin", 0.0)->setComment(
"Minimal pT of PFTau to match");
70 "This module produces collection of PFTaus matched to L1 Taus / Jets passing a HLT filter (Only p4 and vertex of "
71 "returned PFTaus are set).");
72 descriptions.
add(
"L1THLTTauMatching",
desc);
double pt() const final
transverse momentum
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
void add(std::string const &label, ParameterSetDescription const &psetDescription)
std::vector< PFTau > PFTauCollection
collection of PFTau objects
const CandidatePtr & leadChargedHadrCand() const
XYZPointD XYZPoint
point in space with cartesian internal representation
void setComment(std::string const &value)
const edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > tauTrigger
virtual const Point & vertex() const =0
vertex position
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
const LorentzVector & p4() const final
four-momentum Lorentz vector
std::vector< TauRef > TauVectorRef
bool isNonnull() const
Checks for non-null.
~L1THLTTauMatching() override
const edm::EDGetTokenT< reco::PFTauCollection > jetSrc
L1THLTTauMatching(const edm::ParameterSet &)