49 : g4Label_(ps.getUntrackedParameter<
std::
string>(
"moduleLabel",
"g4SimHits")),
50 hitLab_(ps.getUntrackedParameter<
std::
string>(
"hcCollection",
"HcalHits")),
51 testN_(ps.getUntrackedParameter<
bool>(
"testNumbering",
false)),
52 dumpHits_(ps.getUntrackedParameter<
bool>(
"dumpHits",
false)),
53 maxEvent_(ps.getUntrackedParameter<
int>(
"maxEvent", 100)),
59 <<
" Numbering scheme: " <<
testN_ <<
" (0 normal; 1 test)\n";
69 descriptions.
add(
"hcalGeometryDetIdTester", desc);
74 std::cout <<
"HcalTestSimHitID::Serial # " <<
nevt_ <<
" Run # " <<
e.id().run() <<
" Event # " <<
e.id().event()
84 std::vector<PCaloHit> hcHits;
88 std::vector<PCaloHit>
hits;
89 hits.insert(
hits.end(), hitsCalo->begin(), hitsCalo->end());
90 std::cout <<
"HcalValidation: Hit buffer " <<
hits.size() << std::endl;
94 for (
unsigned int i = 0;
i <
hits.size();
i++) {
95 unsigned int id =
hits[
i].id();
105 std::cout <<
"Hit[" <<
i <<
"] " << hid <<
" \n";
107 std::cout <<
"Hit[" <<
i <<
"] " << hid <<
" ***** ERROR *****\n";
110 std::cout <<
"HcalTestSimHitID:: " << good <<
" among " <<
hits.size() <<
" hits\n";