Go to the documentation of this file.
81 : _bspvhm(iConfig.getParameter<
edm::
ParameterSet>(
"bspvHistogramMakerPSet"), consumesCollector()),
84 _firstOnly(iConfig.getUntrackedParameter<
bool>(
"firstOnly",
false)) {
115 if (!pvcoll->empty())
116 firstpv.push_back((*pvcoll)[0]);
BSvsPVAnalyzer(const edm::ParameterSet &)
void endRun(const edm::Run &, const edm::EventSetup &) override
std::vector< Vertex > VertexCollection
collection of Vertex objects
void beginRun(const unsigned int nrun)
void book(const std::string dirname="")
#define DEFINE_FWK_MODULE(type)
void beginRun(const edm::Run &, const edm::EventSetup &) override
edm::EDGetTokenT< reco::BeamSpot > _recoBeamSpotToken
void fill(const unsigned int orbit, const int bx, const reco::VertexCollection &vertices, const reco::BeamSpot &bs)
static const std::string kSharedResource
BSvsPVHistogramMaker _bspvhm
~BSvsPVAnalyzer() override
void analyze(const edm::Event &, const edm::EventSetup &) override
edm::EDGetTokenT< reco::VertexCollection > _recoVertexCollectionToken