54 produces< TriggerObjectStandAloneCollection >();
66 for (
size_t iTrigObj = 0; iTrigObj < patTriggerObjectsStandAlone->size(); ++iTrigObj ) {
69 patTriggerObjectStandAloneUnpacked.unpackPathNames( names );
70 patTriggerObjectsStandAloneUnpacked->push_back( patTriggerObjectStandAloneUnpacked );
73 iEvent.
put( patTriggerObjectsStandAloneUnpacked );
virtual edm::TriggerNames const & triggerNames(edm::TriggerResults const &triggerResults) const
static const HistoName names[]
edm::EDGetTokenT< edm::TriggerResults > triggerResultsToken_
~PATTriggerObjectStandAloneUnpacker()
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
std::vector< TriggerObjectStandAlone > TriggerObjectStandAloneCollection
Collection of TriggerObjectStandAlone.
triggerResultsToken_(consumes< edm::TriggerResults >(edm::InputTag("TriggerResults")))
virtual void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
edm::EDGetTokenT< TriggerObjectStandAloneCollection > patTriggerObjectsStandAloneToken_
static std::string const triggerResults
PATTriggerObjectStandAloneUnpacker(const edm::ParameterSet &iConfig)
Unpacks a pat::TriggerObjectStandAloneCollection with packed path names.
Analysis-level trigger object class (stand-alone)