14 genparticleCollection_(iPSet.getParameter<edm::
InputTag>(
"genparticleCollection")),
16 name(iPSet.getParameter< std::
string>(
"name")),
17 mass_min(iPSet.getParameter<double>(
"massmin")),
18 mass_max(iPSet.getParameter<double>(
"massmax"))
37 for (reco::GenParticleCollection::const_iterator iter = genParticles->begin(); iter != genParticles->end(); ++iter) {
T getParameter(std::string const &) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
virtual void dqmBeginRun(const edm::Run &r, const edm::EventSetup &c) override
virtual ~BPhysicsSpectrum()
MonitorElement * book1dHisto(std::string name, std::string title, int n, double xmin, double xmax, std::string xaxis, std::string yaxis)
virtual 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_
void setCurrentFolder(const std::string &fullpath)
std::vector< int > Particles
virtual void analyze(edm::Event const &, edm::EventSetup const &) override