13 : wmanager_(iPSet, consumesCollector()),
14 generatedCollection_(iPSet.getParameter<edm::
InputTag>(
"hepmcCollection")),
15 searchForLHE_(iPSet.getParameter<bool>(
"searchForLHE")) {
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);
edm::EDGetTokenT< LHEEventProduct > lheEventProductToken_
void analyze(const edm::Event &, const edm::EventSetup &) override
virtual void setCurrentFolder(std::string const &fullpath)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::InputTag generatedCollection_
edm::EDGetTokenT< edm::HepMCProduct > generatedCollectionToken_
std::multimap< double, edm::EventID > associationMap
std::vector< associationMap::iterator > itemList
associationMap xBjorkenHistory
void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
std::vector< FiveVector > PUP
~DuplicationChecker() override
tuple key
prepare the HTCondor submission files and eventually submit them
MonitorElement * xBjorkenME
edm::InputTag lheEventProduct_
MonitorElement * book1dHisto(const std::string &name, const std::string &title, int n, double xmin, double xmax, const std::string &xaxis, const std::string &yaxis)
DuplicationChecker(const edm::ParameterSet &)
T getParameter(std::string const &) const
double weight(const edm::Event &)
void findValuesAssociatedWithKey(associationMap &mMap, double &key, itemList &theObjects)