48 : muonsTokenData_(consumes(iPSet.getParameter<
edm::
InputTag>(
"muonsTag"))),
49 minNMu_(iPSet.getParameter<
int>(
"minNMu")),
50 minMuPt_(iPSet.getParameter<
std::
vector<double>>(
"minMuPt")),
51 maxMuEta_(iPSet.getParameter<
std::
vector<double>>(
"maxMuEta")),
52 minMuTfIndex_(iPSet.getParameter<
std::
vector<
int>>(
"minMuTfIndex")),
53 maxMuTfIndex_(iPSet.getParameter<
std::
vector<
int>>(
"maxMuTfIndex")),
54 minMuHwQual_(iPSet.getParameter<
std::
vector<
int>>(
"minMuHwQual"))
61 <<
"size mismatch: size of minMuPt or maxMuEta or minMuTfIndex or maxMuTfIndex or minMuHwQual != minNMu.";
63 produces<std::vector<unsigned>>(
"SelBx").setBranchAlias(
"MuSelectedBx");
72 std::unique_ptr<std::vector<unsigned>> muBx(
new std::vector<unsigned>);
75 for (
const unsigned&
bx : muonsCollection->getFilledBxs()) {
76 const auto&
muons = muonsCollection->bxIterator(
bx);
void produce(edm::Event &, const edm::EventSetup &) override
muons
the two sets of parameters below are mutually exclusive, depending if RECO or ALCARECO is used the us...
std::vector< int > minMuTfIndex_
void addDefault(ParameterSetDescription const &psetDescription)
MuBxSelector(const edm::ParameterSet &)
Abs< T >::type abs(const T &t)
#define DEFINE_FWK_MODULE(type)
std::vector< double > maxMuEta_
static void fillDescriptions(edm::ConfigurationDescriptions &)
std::vector< double > minMuPt_
edm::EDGetTokenT< OrbitCollection< l1ScoutingRun3::Muon > > muonsTokenData_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::vector< int > minMuHwQual_
std::vector< int > maxMuTfIndex_