24int main(
int argc,
char* argv[]) {
35 auto a_ctof_gtouchable =
GTouchable(gopts,
"readout",
"sector: 6, paddle: 10", {10.0, 20.0, 30.0}, 100.0*CLHEP::g);
38 auto a_hit =
new GHit(std::make_shared<GTouchable>(a_ctof_gtouchable), hitBitSet);
42 hits.emplace_back(a_hit);
44 for (
unsigned i = 1; i < 100; i++) {
48 log->info(
" GHit: ", *hit->getGTouchable(),
" with total Edep: ", hit->getTotalEnergyDeposited(),
" MeV");
51 for (
const auto& hit_in_v : hits) {
52 if (hit->is_same_hit(hit_in_v)) {
53 log->info(
NORMAL, (*hit->getGTouchable()),
" found in hit n. ", i);