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();