46 packFilterLabels_(iConfig.getParameter<
bool>(
"packFilterLabels")),
47 packP4_(iConfig.getParameter<
bool>(
"packP4")) {
48 produces<TriggerObjectStandAloneCollection>();
50 produces<std::vector<std::string>>(
"filterLabels");
62 auto slimmed = std::make_unique<TriggerObjectStandAloneCollection>(*src);
65 std::set<std::string> allLabels;
66 for (
auto&
obj : *slimmed) {
const edm::EDGetTokenT< edm::TriggerResults > triggerResultsToken_
std::vector< TriggerObjectStandAlone > TriggerObjectStandAloneCollection
Collection of TriggerObjectStandAlone.
#define DEFINE_FWK_MODULE(type)
Packs filter labels and/or 4-vectors of a pat::TriggerObjectStandAloneCollection. ...
static std::string const triggerResults
const edm::EDGetTokenT< TriggerObjectStandAloneCollection > srcToken_
~PATTriggerObjectStandAloneSlimmer() override
void produce(edm::StreamID, edm::Event &iEvent, const edm::EventSetup &iSetup) const override
PATTriggerObjectStandAloneSlimmer(const edm::ParameterSet &iConfig)
Analysis-level trigger object class (stand-alone)