CMS 3D CMS Logo

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

#include <HLT2L1TkMuonL1TkMuonMuRefDR.h>

Inheritance diagram for HLT2L1TkMuonL1TkMuonMuRefDR:
HLTFilter edm::global::EDFilter<> edm::global::EDFilterBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

bool computeDR (edm::Event &iEvent, l1t::TkMuonRef &c1, l1t::TkMuonRef &c2) const
 
std::pair< float, float > convertEtaPhi (l1t::TkMuonRef &tkmu) const
 
bool getCollections (edm::Event &iEvent, std::vector< l1t::TkMuonRef > &coll1, std::vector< l1t::TkMuonRef > &coll2, trigger::TriggerFilterObjectWithRefs &filterproduct) const
 
 HLT2L1TkMuonL1TkMuonMuRefDR (const edm::ParameterSet &)
 
bool hltFilter (edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct) const override
 
 ~HLT2L1TkMuonL1TkMuonMuRefDR () override
 
- Public Member Functions inherited from HLTFilter
 HLTFilter (const edm::ParameterSet &config)
 
int module (edm::Event const &) const
 
const std::string * moduleLabel () const
 
int path (edm::Event const &) const
 
const std::string * pathName (edm::Event const &) const
 
std::pair< int, int > pmid (edm::Event const &) const
 
bool saveTags () const
 
 ~HLTFilter () override
 
- Public Member Functions inherited from edm::global::EDFilter<>
 EDFilter ()=default
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsStreamLuminosityBlocks () const final
 
bool wantsStreamRuns () const final
 
- Public Member Functions inherited from edm::global::EDFilterBase
 EDFilterBase ()
 
ModuleDescription const & moduleDescription () const
 
 ~EDFilterBase () 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
 
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)
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from HLTFilter
static void makeHLTFilterDescription (edm::ParameterSetDescription &desc)
 
- Static Public Member Functions inherited from edm::global::EDFilterBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Private Attributes

const edm::InputTag inputTag1_
 
const edm::InputTag inputTag2_
 
const edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefsinputToken1_
 
const edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefsinputToken2_
 
const int min_N_
 
const double minDR_
 
const std::vector< edm::InputTagoriginTag1_
 
const std::vector< edm::InputTagoriginTag2_
 
const bool same_
 

Static Private Attributes

static constexpr unsigned int emtfRegion_ {3}
 
static constexpr float etaScale_ {0.010875}
 
static constexpr float phiScale_ {2. * M_PI / 576.}
 

Additional Inherited Members

- Public Types inherited from edm::global::EDFilterBase
typedef EDFilterBase 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
 
- 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>
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<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
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 23 of file HLT2L1TkMuonL1TkMuonMuRefDR.h.

Constructor & Destructor Documentation

◆ HLT2L1TkMuonL1TkMuonMuRefDR()

HLT2L1TkMuonL1TkMuonMuRefDR::HLT2L1TkMuonL1TkMuonMuRefDR ( const edm::ParameterSet iConfig)
explicit

Definition at line 20 of file HLT2L1TkMuonL1TkMuonMuRefDR.cc.

21  : HLTFilter(iConfig),
22  originTag1_(iConfig.getParameter<std::vector<edm::InputTag>>("originTag1")),
23  originTag2_(iConfig.getParameter<std::vector<edm::InputTag>>("originTag2")),
24  inputTag1_(iConfig.getParameter<edm::InputTag>("inputTag1")),
25  inputTag2_(iConfig.getParameter<edm::InputTag>("inputTag2")),
26  inputToken1_(consumes<trigger::TriggerFilterObjectWithRefs>(inputTag1_)),
27  inputToken2_(consumes<trigger::TriggerFilterObjectWithRefs>(inputTag2_)),
28  minDR_(iConfig.getParameter<double>("MinDR")),
29  min_N_(iConfig.getParameter<int>("MinN")),
30  same_(inputTag1_.encode() == inputTag2_.encode()) {} // same collections to be compared?

◆ ~HLT2L1TkMuonL1TkMuonMuRefDR()

HLT2L1TkMuonL1TkMuonMuRefDR::~HLT2L1TkMuonL1TkMuonMuRefDR ( )
override

Definition at line 32 of file HLT2L1TkMuonL1TkMuonMuRefDR.cc.

32 {}

Member Function Documentation

◆ computeDR()

bool HLT2L1TkMuonL1TkMuonMuRefDR::computeDR ( edm::Event iEvent,
l1t::TkMuonRef c1,
l1t::TkMuonRef c2 
) const

Definition at line 124 of file HLT2L1TkMuonL1TkMuonMuRefDR.cc.

124  {
125  if (minDR_ < 0.)
126  return true;
127 
128  auto [eta1, phi1] = convertEtaPhi(r1);
129  auto [eta2, phi2] = convertEtaPhi(r2);
130  return (reco::deltaR2(eta1, phi1, eta2, phi2) > minDR_ * minDR_);
131 }

References convertEtaPhi(), reco::deltaR2(), HLT_2018_cff::eta1, HLT_2018_cff::eta2, minDR_, diffTwoXMLs::r1, and diffTwoXMLs::r2.

Referenced by hltFilter().

◆ convertEtaPhi()

std::pair< float, float > HLT2L1TkMuonL1TkMuonMuRefDR::convertEtaPhi ( l1t::TkMuonRef tkmu) const

Definition at line 100 of file HLT2L1TkMuonL1TkMuonMuRefDR.cc.

100  {
101  float muRefEta = 0.;
102  float muRefPhi = 0.;
103 
104  if (tkmu->muonDetector() != emtfRegion_) {
105  if (tkmu->muRef().isNull())
106  return std::make_pair(muRefEta, muRefPhi);
107 
108  muRefEta = tkmu->muRef()->hwEta() * etaScale_;
109  muRefPhi = static_cast<float>(l1t::MicroGMTConfiguration::calcGlobalPhi(
110  tkmu->muRef()->hwPhi(), tkmu->muRef()->trackFinderType(), tkmu->muRef()->processor()));
111  muRefPhi = muRefPhi * phiScale_;
112  } else {
113  if (tkmu->emtfTrk().isNull())
114  return std::make_pair(muRefEta, muRefPhi);
115 
116  muRefEta = tkmu->emtfTrk()->Eta();
117  muRefPhi = angle_units::operators::convertDegToRad(tkmu->emtfTrk()->Phi_glob());
118  }
119  muRefPhi = reco::reduceRange(muRefPhi);
120 
121  return std::make_pair(muRefEta, muRefPhi);
122 }

References l1t::MicroGMTConfiguration::calcGlobalPhi(), angle_units::operators::convertDegToRad(), emtfRegion_, etaScale_, edm::Ref< C, T, F >::isNull(), phiScale_, and reco::reduceRange().

Referenced by computeDR().

◆ fillDescriptions()

void HLT2L1TkMuonL1TkMuonMuRefDR::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 34 of file HLT2L1TkMuonL1TkMuonMuRefDR.cc.

34  {
37  std::vector<edm::InputTag> originTag1(1, edm::InputTag("hltOriginal1"));
38  std::vector<edm::InputTag> originTag2(1, edm::InputTag("hltOriginal2"));
39  desc.add<std::vector<edm::InputTag>>("originTag1", originTag1);
40  desc.add<std::vector<edm::InputTag>>("originTag2", originTag2);
41  desc.add<edm::InputTag>("inputTag1", edm::InputTag("hltFiltered1"));
42  desc.add<edm::InputTag>("inputTag2", edm::InputTag("hltFiltered2"));
43  desc.add<double>("MinDR", -1.0);
44  desc.add<int>("MinN", 1);
45 
46  descriptions.add("hlt2L1TkMuonL1TkMuonMuRefDR", desc);
47 }

References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), HLT_2018_cff::InputTag, HLTFilter::makeHLTFilterDescription(), HLT_2018_cff::originTag1, and HLT_2018_cff::originTag2.

◆ getCollections()

bool HLT2L1TkMuonL1TkMuonMuRefDR::getCollections ( edm::Event iEvent,
std::vector< l1t::TkMuonRef > &  coll1,
std::vector< l1t::TkMuonRef > &  coll2,
trigger::TriggerFilterObjectWithRefs filterproduct 
) const

Definition at line 49 of file HLT2L1TkMuonL1TkMuonMuRefDR.cc.

52  {
54  if (iEvent.getByToken(inputToken1_, handle1) and iEvent.getByToken(inputToken2_, handle2)) {
55  // get hold of pre-filtered object collections
58  const trigger::size_type n1(coll1.size());
59  const trigger::size_type n2(coll2.size());
60 
61  if (saveTags()) {
62  edm::InputTag tagOld;
63  for (unsigned int i = 0; i < originTag1_.size(); ++i) {
64  filterproduct.addCollectionTag(originTag1_[i]);
65  }
66  tagOld = edm::InputTag();
67  for (trigger::size_type i1 = 0; i1 != n1; ++i1) {
68  const edm::ProductID pid(coll1[i1].id());
69  const std::string& label(iEvent.getProvenance(pid).moduleLabel());
70  const std::string& instance(iEvent.getProvenance(pid).productInstanceName());
71  const std::string& process(iEvent.getProvenance(pid).processName());
73  if (tagOld.encode() != tagNew.encode()) {
74  filterproduct.addCollectionTag(tagNew);
75  tagOld = tagNew;
76  }
77  }
78  for (unsigned int i = 0; i < originTag2_.size(); ++i) {
79  filterproduct.addCollectionTag(originTag2_[i]);
80  }
81  tagOld = edm::InputTag();
82  for (trigger::size_type i2 = 0; i2 != n2; ++i2) {
83  const edm::ProductID pid(coll2[i2].id());
84  const std::string& label(iEvent.getProvenance(pid).moduleLabel());
85  const std::string& instance(iEvent.getProvenance(pid).productInstanceName());
86  const std::string& process(iEvent.getProvenance(pid).processName());
88  if (tagOld.encode() != tagNew.encode()) {
89  filterproduct.addCollectionTag(tagNew);
90  tagOld = tagNew;
91  }
92  }
93  }
94 
95  return true;
96  } else
97  return false;
98 }

References trigger::TriggerFilterObjectWithRefs::addCollectionTag(), edm::InputTag::encode(), trigger::TriggerRefsCollections::getObjects(), mps_fire::i, testProducerWithPsetDescEmpty_cfi::i1, testProducerWithPsetDescEmpty_cfi::i2, iEvent, HLT_2018_cff::InputTag, inputToken1_, inputToken2_, instance, label, originTag1_, originTag2_, LaserDQM_cfg::process, HLTFilter::saveTags(), AlCaHLTBitMon_QueryRunRegistry::string, and trigger::TriggerL1TkMu.

Referenced by hltFilter().

◆ hltFilter()

bool HLT2L1TkMuonL1TkMuonMuRefDR::hltFilter ( edm::Event iEvent,
const edm::EventSetup iSetup,
trigger::TriggerFilterObjectWithRefs filterproduct 
) const
overridevirtual

Implements HLTFilter.

Definition at line 134 of file HLT2L1TkMuonL1TkMuonMuRefDR.cc.

136  {
137  // All HLT filters must create and fill an HLT filter object,
138  // recording any reconstructed physics objects satisfying (or not)
139  // this HLT filter, and place it in the Event.
140  bool accept(false);
141 
142  std::vector<l1t::TkMuonRef> coll1;
143  std::vector<l1t::TkMuonRef> coll2;
144 
145  if (getCollections(iEvent, coll1, coll2, filterproduct)) {
146  int n(0);
149 
150  for (unsigned int i1 = 0; i1 != coll1.size(); i1++) {
151  r1 = coll1[i1];
152  unsigned int I(0);
153  if (same_) {
154  I = i1 + 1;
155  }
156  for (unsigned int i2 = I; i2 != coll2.size(); i2++) {
157  r2 = coll2[i2];
158 
159  if (!computeDR(iEvent, r1, r2))
160  continue;
161 
162  n++;
165  }
166  }
167 
168  accept = accept || (n >= min_N_);
169  }
170 
171  return accept;
172 }

References accept(), trigger::TriggerRefsCollections::addObject(), computeDR(), getCollections(), Exhume::I, testProducerWithPsetDescEmpty_cfi::i1, testProducerWithPsetDescEmpty_cfi::i2, iEvent, min_N_, dqmiodumpmetadata::n, diffTwoXMLs::r1, diffTwoXMLs::r2, same_, and trigger::TriggerL1TkMu.

Member Data Documentation

◆ emtfRegion_

constexpr unsigned int HLT2L1TkMuonL1TkMuonMuRefDR::emtfRegion_ {3}
staticconstexprprivate

Definition at line 51 of file HLT2L1TkMuonL1TkMuonMuRefDR.h.

Referenced by convertEtaPhi().

◆ etaScale_

constexpr float HLT2L1TkMuonL1TkMuonMuRefDR::etaScale_ {0.010875}
staticconstexprprivate

Definition at line 52 of file HLT2L1TkMuonL1TkMuonMuRefDR.h.

Referenced by convertEtaPhi().

◆ inputTag1_

const edm::InputTag HLT2L1TkMuonL1TkMuonMuRefDR::inputTag1_
private

Definition at line 42 of file HLT2L1TkMuonL1TkMuonMuRefDR.h.

◆ inputTag2_

const edm::InputTag HLT2L1TkMuonL1TkMuonMuRefDR::inputTag2_
private

Definition at line 43 of file HLT2L1TkMuonL1TkMuonMuRefDR.h.

◆ inputToken1_

const edm::EDGetTokenT<trigger::TriggerFilterObjectWithRefs> HLT2L1TkMuonL1TkMuonMuRefDR::inputToken1_
private

Definition at line 44 of file HLT2L1TkMuonL1TkMuonMuRefDR.h.

Referenced by getCollections().

◆ inputToken2_

const edm::EDGetTokenT<trigger::TriggerFilterObjectWithRefs> HLT2L1TkMuonL1TkMuonMuRefDR::inputToken2_
private

Definition at line 45 of file HLT2L1TkMuonL1TkMuonMuRefDR.h.

Referenced by getCollections().

◆ min_N_

const int HLT2L1TkMuonL1TkMuonMuRefDR::min_N_
private

Definition at line 47 of file HLT2L1TkMuonL1TkMuonMuRefDR.h.

Referenced by hltFilter().

◆ minDR_

const double HLT2L1TkMuonL1TkMuonMuRefDR::minDR_
private

Definition at line 46 of file HLT2L1TkMuonL1TkMuonMuRefDR.h.

Referenced by computeDR().

◆ originTag1_

const std::vector<edm::InputTag> HLT2L1TkMuonL1TkMuonMuRefDR::originTag1_
private

Definition at line 40 of file HLT2L1TkMuonL1TkMuonMuRefDR.h.

Referenced by getCollections().

◆ originTag2_

const std::vector<edm::InputTag> HLT2L1TkMuonL1TkMuonMuRefDR::originTag2_
private

Definition at line 41 of file HLT2L1TkMuonL1TkMuonMuRefDR.h.

Referenced by getCollections().

◆ phiScale_

constexpr float HLT2L1TkMuonL1TkMuonMuRefDR::phiScale_ {2. * M_PI / 576.}
staticconstexprprivate

Definition at line 53 of file HLT2L1TkMuonL1TkMuonMuRefDR.h.

Referenced by convertEtaPhi().

◆ same_

const bool HLT2L1TkMuonL1TkMuonMuRefDR::same_
private

Definition at line 48 of file HLT2L1TkMuonL1TkMuonMuRefDR.h.

Referenced by hltFilter().

trigger::TriggerRefsCollections::addObject
void addObject(int id, const reco::RecoEcalCandidateRef &ref)
setters for L3 collections: (id=physics type, and Ref<C>)
Definition: TriggerRefsCollections.h:302
testProducerWithPsetDescEmpty_cfi.i2
i2
Definition: testProducerWithPsetDescEmpty_cfi.py:46
mps_fire.i
i
Definition: mps_fire.py:355
edm::ParameterSetDescription::add
ParameterDescriptionBase * add(U const &iLabel, T const &value)
Definition: ParameterSetDescription.h:95
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
edm::Ref::isNull
bool isNull() const
Checks for null.
Definition: Ref.h:235
HLT2L1TkMuonL1TkMuonMuRefDR::etaScale_
static constexpr float etaScale_
Definition: HLT2L1TkMuonL1TkMuonMuRefDR.h:52
HLT_2018_cff.eta1
eta1
Definition: HLT_2018_cff.py:8220
testProducerWithPsetDescEmpty_cfi.i1
i1
Definition: testProducerWithPsetDescEmpty_cfi.py:45
HLT2L1TkMuonL1TkMuonMuRefDR::minDR_
const double minDR_
Definition: HLT2L1TkMuonL1TkMuonMuRefDR.h:46
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
trigger::TriggerFilterObjectWithRefs::addCollectionTag
void addCollectionTag(const edm::InputTag &collectionTag)
collectionTags
Definition: TriggerFilterObjectWithRefs.h:55
angle_units::operators::convertDegToRad
constexpr long double convertDegToRad(NumType degrees)
Definition: angle_units.h:27
HLT_2018_cff.originTag2
originTag2
Definition: HLT_2018_cff.py:18107
HLT2L1TkMuonL1TkMuonMuRefDR::originTag1_
const std::vector< edm::InputTag > originTag1_
Definition: HLT2L1TkMuonL1TkMuonMuRefDR.h:40
HLT2L1TkMuonL1TkMuonMuRefDR::inputTag2_
const edm::InputTag inputTag2_
Definition: HLT2L1TkMuonL1TkMuonMuRefDR.h:43
edm::Handle< trigger::TriggerFilterObjectWithRefs >
HLTFilter::HLTFilter
HLTFilter(const edm::ParameterSet &config)
Definition: HLTFilter.cc:20
trigger::TriggerRefsCollections::getObjects
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
Definition: TriggerRefsCollections.h:593
edm::Ref
Definition: AssociativeIterator.h:58
l1t::MicroGMTConfiguration::calcGlobalPhi
static int calcGlobalPhi(int locPhi, tftype t, int proc)
Definition: MicroGMTConfiguration.cc:11
HLT2L1TkMuonL1TkMuonMuRefDR::originTag2_
const std::vector< edm::InputTag > originTag2_
Definition: HLT2L1TkMuonL1TkMuonMuRefDR.h:41
accept
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
Definition: TopDQMHelpers.h:30
trigger::size_type
uint16_t size_type
Definition: TriggerTypeDefs.h:18
Exhume::I
const std::complex< double > I
Definition: I.h:8
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
HLT2L1TkMuonL1TkMuonMuRefDR::phiScale_
static constexpr float phiScale_
Definition: HLT2L1TkMuonL1TkMuonMuRefDR.h:53
HLT2L1TkMuonL1TkMuonMuRefDR::inputTag1_
const edm::InputTag inputTag1_
Definition: HLT2L1TkMuonL1TkMuonMuRefDR.h:42
HLT2L1TkMuonL1TkMuonMuRefDR::min_N_
const int min_N_
Definition: HLT2L1TkMuonL1TkMuonMuRefDR.h:47
HLT_2018_cff.eta2
eta2
Definition: HLT_2018_cff.py:8221
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HLT2L1TkMuonL1TkMuonMuRefDR::inputToken2_
const edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > inputToken2_
Definition: HLT2L1TkMuonL1TkMuonMuRefDR.h:45
HLT_2018_cff.InputTag
InputTag
Definition: HLT_2018_cff.py:79016
HLTFilter::saveTags
bool saveTags() const
Definition: HLTFilter.h:46
HLT2L1TkMuonL1TkMuonMuRefDR::computeDR
bool computeDR(edm::Event &iEvent, l1t::TkMuonRef &c1, l1t::TkMuonRef &c2) const
Definition: HLT2L1TkMuonL1TkMuonMuRefDR.cc:124
LaserDQM_cfg.process
process
Definition: LaserDQM_cfg.py:3
reco::deltaR2
constexpr auto deltaR2(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
Definition: deltaR.h:16
diffTwoXMLs.r2
r2
Definition: diffTwoXMLs.py:73
HLT2L1TkMuonL1TkMuonMuRefDR::convertEtaPhi
std::pair< float, float > convertEtaPhi(l1t::TkMuonRef &tkmu) const
Definition: HLT2L1TkMuonL1TkMuonMuRefDR.cc:100
iEvent
int iEvent
Definition: GenABIO.cc:224
HLT2L1TkMuonL1TkMuonMuRefDR::inputToken1_
const edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > inputToken1_
Definition: HLT2L1TkMuonL1TkMuonMuRefDR.h:44
HLT2L1TkMuonL1TkMuonMuRefDR::getCollections
bool getCollections(edm::Event &iEvent, std::vector< l1t::TkMuonRef > &coll1, std::vector< l1t::TkMuonRef > &coll2, trigger::TriggerFilterObjectWithRefs &filterproduct) const
Definition: HLT2L1TkMuonL1TkMuonMuRefDR.cc:49
edm::InputTag::encode
std::string encode() const
Definition: InputTag.cc:159
instance
static PFTauRenderPlugin instance
Definition: PFTauRenderPlugin.cc:70
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
HLT2L1TkMuonL1TkMuonMuRefDR::emtfRegion_
static constexpr unsigned int emtfRegion_
Definition: HLT2L1TkMuonL1TkMuonMuRefDR.h:51
diffTwoXMLs.r1
r1
Definition: diffTwoXMLs.py:53
HLT2L1TkMuonL1TkMuonMuRefDR::same_
const bool same_
Definition: HLT2L1TkMuonL1TkMuonMuRefDR.h:48
HLTFilter::makeHLTFilterDescription
static void makeHLTFilterDescription(edm::ParameterSetDescription &desc)
Definition: HLTFilter.cc:25
trigger::TriggerL1TkMu
This has all to be decided for Phase-2. Here is Thiago's proposal.
Definition: TriggerTypeDefs.h:64
edm::InputTag
Definition: InputTag.h:15
label
const char * label
Definition: PFTauDecayModeTools.cc:11
edm::ProductID
Definition: ProductID.h:27
HLT_2018_cff.originTag1
originTag1
Definition: HLT_2018_cff.py:18110
reco::reduceRange
constexpr T reduceRange(T x)
Definition: deltaPhi.h:18