85 _bspvhm(iConfig.getParameter<edm::
ParameterSet>(
"bspvHistogramMakerPSet")),
86 _pvcollection(iConfig.getParameter<edm::InputTag>(
"pvCollection")),
87 _bscollection(iConfig.getParameter<edm::InputTag>(
"bsCollection")),
88 _firstOnly(iConfig.getUntrackedParameter<bool>(
"firstOnly",
false))
130 if(pvcoll->size()) firstpv.push_back((*pvcoll)[0]);
virtual void analyze(const edm::Event &, const edm::EventSetup &)
edm::InputTag _bscollection
#define DEFINE_FWK_MODULE(type)
std::vector< Vertex > VertexCollection
collection of Vertex objects
virtual void beginRun(const edm::Run &, const edm::EventSetup &)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
void book(const std::string dirname="")
edm::InputTag _pvcollection
virtual void endRun(const edm::Run &, const edm::EventSetup &)
BSvsPVHistogramMaker _bspvhm
BSvsPVAnalyzer(const edm::ParameterSet &)
void beginRun(const unsigned int nrun)
void fill(const unsigned int orbit, const int bx, const reco::VertexCollection &vertices, const reco::BeamSpot &bs)