17int main(
int argc,
char* argv[]) {
24 auto a_ctof_gtouchable =
GTouchable(gopts,
"readout",
"sector: 5, paddle: 5", {10.0, 20.0, 30.0}, 100.0*CLHEP::g);
26 for (
unsigned i = 1; i < 10; i++) {
33 bool is_equal = ctof == a_ctof_gtouchable;
35 log->info(
" GTouchable: ", ctof,
" is equal: ", is_equal ?
"true" :
"false");
Represents a touchable sensitive detector element used as a hit-collection discriminator.
static std::shared_ptr< GTouchable > create(const std::shared_ptr< GOptions > &gopt)
Creates a synthetic readout touchable for testing (options-based).
Options definition entry point for the gtouchable module.
constexpr const char * TOUCHABLE_LOGGER
Logger name used by the gtouchable module.
GOptions defineOptions()
Defines the module options supported by gtouchable.
int main(int argc, char *argv[])