1 #ifndef HLTCollectionProducer_h 2 #define HLTCollectionProducer_h 60 produces< std::vector<T> >();
71 std::vector<int> triggerTypes;
72 desc.
add<std::vector<int> > (
"TriggerTypes",triggerTypes);
86 std::unique_ptr<std::vector<T> >
collection (
new std::vector<T>() );
91 std::vector<edm::Ref<std::vector<T> > > objectRefs;
96 for (
size_t i = 0;
i < objectRefs.size(); ++
i) {
97 collection->push_back(*objectRefs[
i]);
105 #endif // HLTCollectionProducer_h std::string defaultModuleLabel()
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
virtual ~HLTCollectionProducer()
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
bool getByToken(EDGetToken token, Handle< PROD > &result) const
HLTCollectionProducer(const edm::ParameterSet &)
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
const std::vector< int > triggerTypes_
virtual void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
const edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > hltObjectToken_
ParameterDescriptionBase * add(U const &iLabel, T const &value)
const edm::InputTag hltObjectTag_
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)