14 : genparticleCollection_(iPSet.getParameter<edm::
InputTag>(
"genparticleCollection")),
17 mass_min(iPSet.getParameter<double>(
"massmin")),
18 mass_max(iPSet.getParameter<double>(
"massmax")) {
35 for (reco::GenParticleCollection::const_iterator iter = genParticles->begin(); iter != genParticles->end(); ++iter) {
virtual void setCurrentFolder(std::string const &fullpath)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
edm::EDGetTokenT< reco::GenParticleCollection > genparticleCollectionToken_
Abs< T >::type abs(const T &t)
BPhysicsSpectrum(const edm::ParameterSet &)
edm::InputTag genparticleCollection_
~BPhysicsSpectrum() override
MonitorElement * book1dHisto(const std::string &name, const std::string &title, int n, double xmin, double xmax, const std::string &xaxis, const std::string &yaxis)
T getParameter(std::string const &) const
std::vector< int > Particles
void analyze(edm::Event const &, edm::EventSetup const &) override