13 label_(iConfig.getUntrackedParameter(
"moduleLabel",std::string(
"generator")))
19 cout <<
"Dijet Resonance Filter Selecting Process = " <<
dijetProcess << endl;
40 edm::LogVerbatim(
"MCDijetResonanceInfo") <<
"================MCDijetResonance report========================================\n"
42 <<
"\n====================================================================" << std::endl;
53 const HepMC::GenEvent * myGenEvent = evt->GetEvent();
56 if (
dijetProcess ==
"ZprimeLightQuarks" && myGenEvent->signal_process_id() != 141){
61 if (
dijetProcess ==
"QstarQuarkGluon" && myGenEvent->signal_process_id() != 147 && myGenEvent->signal_process_id() != 148){
78 for ( HepMC::GenEvent::particle_const_iterator
p = myGenEvent->particles_begin();
79 p != myGenEvent->particles_end(); ++
p )
82 if ( (*p)->status() == 3 && ( (
dijetProcess ==
"ZprimeLightQuarks" && (*p)->pdg_id() == 32) ||
83 (
dijetProcess ==
"QstarQuarkGluon" &&
abs((*p)->pdg_id()) == 4000001) ||
84 (
dijetProcess ==
"QstarQuarkGluon" &&
abs((*p)->pdg_id()) == 4000002) ) )
88 int ID1 = (*p)->pdg_id();
90 int ID2 = (*p)->pdg_id();
T getUntrackedParameter(std::string const &, T const &) const
virtual bool filter(edm::Event &, const edm::EventSetup &)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
MCDijetResonance(const edm::ParameterSet &)