|
|
Go to the documentation of this file.
21 applyL3Filters_(iConfig.getParameter<
bool>(
"applyL3Filters")),
22 max_NormalizedChi2_(iConfig.getParameter<double>(
"MaxNormalizedChi2")),
23 max_PtDifference_(iConfig.getParameter<double>(
"MaxPtDifference")),
24 min_Nhits_(iConfig.getParameter<
int>(
"MinNhits")),
25 min_NmuonHits_(iConfig.getParameter<
int>(
"MinNmuonHits")) {
26 LogTrace(
"Muon|RecoMuon|HLTMuonL2SelectorForL3IO") <<
"constructor called";
27 produces<reco::TrackCollection>();
51 for (
unsigned int il2 = 0; il2 != l2muonH->size(); ++il2) {
53 bool re_do_this_L2 =
true;
55 for (
unsigned int il3 = 0; il3 != l3muonH->size(); ++il3) {
59 bool useThisLink =
false;
60 for (
unsigned int l(0);
l <
links->size() && !useThisLink; ++
l) {
75 if (l2muRef == staTrack)
76 re_do_this_L2 =
false;
90 re_do_this_L2 =
false;
95 result->push_back(*l2muRef);
105 desc.add<
bool>(
"applyL3Filters",
true);
106 desc.add<
int>(
"MinNhits", 1);
107 desc.add<
double>(
"MaxNormalizedChi2", 20.0);
108 desc.add<
int>(
"MinNmuonHits", 0);
109 desc.add<
double>(
"MaxPtDifference", 999.0);
110 descriptions.
add(
"HLTMuonL2SelectorForL3IO",
desc);
const edm::EDGetTokenT< reco::MuonTrackLinksCollection > l3linkToken_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
default values
HLTMuonL2SelectorForL3IO(const edm::ParameterSet &)
constructor with config
void produce(edm::Event &, const edm::EventSetup &) override
select muons
std::vector< RecoChargedCandidate > RecoChargedCandidateCollection
collectin of RecoChargedCandidate objects
void add(std::string const &label, ParameterSetDescription const &psetDescription)
std::vector< MuonTrackLinks > MuonTrackLinksCollection
collection of MuonTrackLinks
const edm::EDGetTokenT< reco::TrackCollection > l2Src_
const double max_PtDifference_
const double max_NormalizedChi2_
~HLTMuonL2SelectorForL3IO() override
destructor
const bool applyL3Filters_
Abs< T >::type abs(const T &t)
std::vector< Track > TrackCollection
collection of Tracks
const edm::EDGetTokenT< reco::RecoChargedCandidateCollection > l3OISrc_
const std::string metname