Go to the documentation of this file.
33 theL1MinPt(iConfig.getParameter<double>(
"L1MinPt")),
34 theL1MaxEta(iConfig.getParameter<double>(
"L1MaxEta")),
35 theL1MinQuality(iConfig.getParameter<unsigned
int>(
"L1MinQuality")) {
38 produces<L1MuonParticleCollection>();
47 desc.add<
double>(
"L1MinPt", -1.);
48 desc.add<
double>(
"L1MaxEta", 5.0);
49 desc.add<
unsigned int>(
"L1MinQuality", 0);
50 descriptions.
add(
"hltL1MuonSelector",
desc);
63 L1MuonParticleCollection::const_iterator it;
66 for (it = muColl->begin(); it != muColl->end(); ++it, ++l1ParticleIndex) {
69 bool valid_charge =
false;
72 if (muonCand.
empty()) {
74 LogWarning(
metname) <<
"HLTL1MuonSelector: this should make sense only within MC tests" << endl;
83 float pt = (*it).pt();
84 float eta = (*it).eta();
86 float phi = (*it).phi();
87 int charge = (*it).charge();
91 bool barrel = !(*it).isForward();
const unsigned theL1MinQuality
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Log< level::Warning, false > LogWarning
const uint32_t *__restrict__ Quality * quality
edm::EDGetTokenT< l1extra::L1MuonParticleCollection > muCollToken_
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
#define DEFINE_FWK_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
unsigned int quality() const
get quality
Geom::Theta< T > theta() const
~HLTL1MuonSelector() override
Destructor.
bool charge_valid() const
is the charge valid ?
std::remove_cv< typename std::remove_reference< argument_type >::type >::type key_type
bool empty() const
is it an empty muon candidate?
HLTL1MuonSelector(const edm::ParameterSet &)
Constructor.
const std::string metname