37 std::vector<edm::InputTag> bxLabels = iPSet.
getParameter<std::vector<edm::InputTag>>(
"analysisLabels");
38 for (
const auto& bxLabel : bxLabels) {
42 produces<std::vector<unsigned>>(
"SelBx").setBranchAlias(
"SelectedBxs");
47 bool noBxSelected =
true;
48 std::set<unsigned> uniqueBxs;
54 for (
const unsigned&
bx : *bxList) {
60 auto selectedBxs = std::make_unique<std::vector<unsigned>>(uniqueBxs.begin(), uniqueBxs.end());
T getParameter(std::string const &) const
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
bool filter(edm::Event &, const edm::EventSetup &) override
void addDefault(ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ConfigurationDescriptions &)
#define DEFINE_FWK_MODULE(type)
FinalBxSelector(const edm::ParameterSet &)
std::vector< edm::EDGetTokenT< std::vector< unsigned > > > selectedBxsToken_