79 : labelGen_(iConfig.getParameter<
edm::
InputTag>(
"HepMCProductLabel")),
80 verbosity_(iConfig.getUntrackedParameter<
bool>(
"Verbosity",
false)),
81 method2_(iConfig.getUntrackedParameter<
bool>(
"Method2",
false)),
110 for (HepMC::GenEvent::vertex_const_iterator
p = Evt->vertices_begin();
p != Evt->vertices_end(); ++
p) {
111 x = (*p)->position().x() / 10.;
112 y = (*p)->position().y() / 10.;
114 double z = (*p)->position().z() / 10.;
116 edm::LogVerbatim(
"HGCSim") <<
" x: " << (*p)->position().x() <<
":" <<
x <<
" y: " << (*p)->position().y()
117 <<
":" <<
y <<
" z: " << (*p)->position().z() <<
":" <<
z;
130 flag = cond1 || cond2 || cond3 || cond4 || cond5 || cond6;
Log< level::Info, true > LogVerbatim
const edm::InputTag labelGen_
void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
HGCalTBCheckGunPostion(const edm::ParameterSet &)
void beginStream(edm::StreamID) override
void addDefault(ParameterSetDescription const &psetDescription)
~HGCalTBCheckGunPostion() override=default
Abs< T >::type abs(const T &t)
#define DEFINE_FWK_MODULE(type)
const edm::EDGetTokenT< edm::HepMCProduct > hepMCproductLabel_
void beginRun(edm::Run const &, edm::EventSetup const &) override
const HepMC::GenEvent * GetEvent() const
void endRun(edm::Run const &, edm::EventSetup const &) override
void endStream() override
void endLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override
bool filter(edm::Event &, const edm::EventSetup &) override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)