45 : jetsTokenData_(consumes(iPSet.getParameter<
edm::
InputTag>(
"jetsTag"))),
46 minNJet_(iPSet.getParameter<
int>(
"minNJet")),
47 minJetEt_(iPSet.getParameter<
std::
vector<double>>(
"minJetEt")),
48 maxJetEta_(iPSet.getParameter<
std::
vector<double>>(
"maxJetEta"))
52 throw cms::Exception(
"JetBxSelector::JetBxSelector") <<
"size mismatch: size of minJetEt or maxJetEta != minNJet.";
54 produces<std::vector<unsigned>>(
"SelBx").setBranchAlias(
"JetSelectedBx");
63 std::unique_ptr<std::vector<unsigned>> jetBx(
new std::vector<unsigned>);
66 for (
const unsigned&
bx : jetsCollection->getFilledBxs()) {
67 const auto&
jets = jetsCollection->bxIterator(
bx);
std::vector< double > maxJetEta_
void addDefault(ParameterSetDescription const &psetDescription)
Abs< T >::type abs(const T &t)
#define DEFINE_FWK_MODULE(type)
static void fillDescriptions(edm::ConfigurationDescriptions &)
void produce(edm::Event &, const edm::EventSetup &) override
JetBxSelector(const edm::ParameterSet &)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::vector< double > minJetEt_
edm::EDGetTokenT< OrbitCollection< l1ScoutingRun3::Jet > > jetsTokenData_