Go to the documentation of this file.
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)
119 if (!pvcoll->empty())
120 firstpv.push_back((*pvcoll)[0]);
void endRun(const edm::Run &, const edm::EventSetup &) override
edm::EDGetTokenT< reco::VertexCollection > _recoVertexCollectionToken
void fill(const edm::Event &iEvent, const reco::VertexCollection &vertices, const double weight=1.)
std::vector< Vertex > VertexCollection
collection of Vertex objects
~AnotherPrimaryVertexAnalyzer() override
#define DEFINE_FWK_MODULE(type)
This class takes a vector of HLT paths and returns a weight based on their HLT and L1 prescales....
AnotherPrimaryVertexAnalyzer(const edm::ParameterSet &)
void beginRun(const edm::Run &iRun)
VertexHistogramMaker _vhm
std::vector< Vertex > VertexCollection
static const std::string kSharedResource
std::unique_ptr< PrescaleWeightProvider > _weightprov
void book(const std::string dirname="")
void analyze(const edm::Event &, const edm::EventSetup &) override
void beginRun(const edm::Run &, const edm::EventSetup &) override