86 : _vhm(iConfig.getParameter<edm::
ParameterSet>(
"vHistogramMakerPSet"), consumesCollector())
88 , _firstOnly(iConfig.getUntrackedParameter<bool>(
"firstOnly",
false))
89 , _weightprov(iConfig.getParameter<bool>(
"usePrescaleWeight")
130 if(pvcoll->size()) firstpv.push_back((*pvcoll)[0]);
virtual void analyze(const edm::Event &, const edm::EventSetup &)
~AnotherPrimaryVertexAnalyzer()
AnotherPrimaryVertexAnalyzer(const edm::ParameterSet &)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
std::vector< Vertex > VertexCollection
collection of Vertex objects
void fill(const edm::Event &iEvent, const reco::VertexCollection &vertices, const double weight=1.)
VertexHistogramMaker _vhm
edm::EDGetTokenT< reco::VertexCollection > _recoVertexCollectionToken
std::unique_ptr< PrescaleWeightProvider > _weightprov
void book(const std::string dirname="")
void beginRun(const edm::Run &iRun)
This class takes a vector of HLT paths and returns a weight based on their HLT and L1 prescales...
virtual void endRun(const edm::Run &, const edm::EventSetup &)
volatile std::atomic< bool > shutdown_flag false
virtual void beginRun(const edm::Run &, const edm::EventSetup &)