83 : _vhm(iConfig.getParameter<
edm::
ParameterSet>(
"vHistogramMakerPSet"), consumesCollector()),
85 _firstOnly(iConfig.getUntrackedParameter<
bool>(
"firstOnly",
false)),
87 iConfig.getParameter<
bool>(
"usePrescaleWeight")
89 iConfig.getParameter<
edm::
ParameterSet>(
"prescaleWeightProviderPSet"), consumesCollector(), *this)
114 if (!pvcoll->empty())
115 firstpv.push_back((*pvcoll)[0]);
static const std::string kSharedResource
AnotherPrimaryVertexAnalyzer(const edm::ParameterSet &)
std::vector< Vertex > VertexCollection
collection of Vertex objects
void fill(const edm::Event &iEvent, const reco::VertexCollection &vertices, const double weight=1.)
VertexHistogramMaker _vhm
std::vector< Vertex > VertexCollection
edm::EDGetTokenT< reco::VertexCollection > _recoVertexCollectionToken
void analyze(const edm::Event &, const edm::EventSetup &) override
std::unique_ptr< PrescaleWeightProvider > _weightprov
#define DEFINE_FWK_MODULE(type)
void beginRun(const edm::Run &, const edm::EventSetup &) override
void book(const std::string dirname="")
void endRun(const edm::Run &, const edm::EventSetup &) override
void beginRun(const edm::Run &iRun)
~AnotherPrimaryVertexAnalyzer() override