39 produces<ScoutingVertexCollection>(
"primaryVtx");
57 for(
auto &
vtx : *vertexCollection){
58 outVertices->emplace_back(
73 descriptions.
add(
"hltScoutingPrimaryVertexProducer", desc);
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
def setup(process, global_tag, zero_tesla=False)
std::vector< Vertex > VertexCollection
collection of Vertex objects
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
std::vector< ScoutingVertex > ScoutingVertexCollection
~HLTScoutingPrimaryVertexProducer() override
const edm::EDGetTokenT< reco::VertexCollection > vertexCollection_
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
HLTScoutingPrimaryVertexProducer(const edm::ParameterSet &)
void produce(edm::StreamID sid, edm::Event &iEvent, edm::EventSetup const &setup) const final