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[]
~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")))
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
virtual void produce(edm::StreamID, edm::Event &iEvent, const edm::EventSetup &iSetup) const override
static std::string const triggerResults
PATTriggerObjectStandAloneUnpacker(const edm::ParameterSet &iConfig)
Unpacks a pat::TriggerObjectStandAloneCollection with packed path names.
const edm::EDGetTokenT< TriggerObjectStandAloneCollection > patTriggerObjectsStandAloneToken_
const edm::EDGetTokenT< edm::TriggerResults > triggerResultsToken_
Analysis-level trigger object class (stand-alone)