13 : wmanager_(iPSet, consumesCollector()),
14 generatedCollection_(iPSet.getParameter<
edm::
InputTag>(
"hepmcCollection")),
15 searchForLHE_(iPSet.getParameter<
bool>(
"searchForLHE")) {
32 i.setCurrentFolder(
"Generator/DuplicationCheck");
35 xBjorkenME =
dqm.book1dHisto(
"xBjorkenME",
"x Bjorken ratio", 1000000, 0., 1.);
49 const std::vector<lhef::HEPEUP::FiveVector> pup_ =
hepeup_.PUP;
51 double pz1 = (pup_[0])[3];
52 double pz2 = (pup_[1])[3];
53 bjorken += (pz1 / (pz1 + pz2));
61 const HepMC::PdfInfo *pdf = evt->
GetEvent()->pdf_info();
63 bjorken = ((pdf->x1()) / ((pdf->x1()) + (pdf->x2())));
74 associationMap::iterator itr;
75 associationMap::iterator lastElement;
81 if (itr == mMap.end())
85 lastElement = mMap.upper_bound(
key);
88 for (; itr != lastElement; ++itr)
89 theObjects.push_back(itr);