10 #ifndef LARCOREOBJ_SIMPLETYPESANDCONSTANTS_READOUT_TYPES_FHICL_H
11 #define LARCOREOBJ_SIMPLETYPESANDCONSTANTS_READOUT_TYPES_FHICL_H
19 #include "fhiclcpp/types/Atom.h"
22 namespace geo::fhicl {
29 ::fhicl::Atom<readout::TPCsetID::TPCsetID_t>
S {
31 ::fhicl::Comment(
"TPC set number within the cryostat"),
32 [
this](){
return valid(); }
37 operator ID_t()
const {
return ID(); }
46 ::fhicl::Atom<readout::ROPID::ROPID_t> R {
48 ::fhicl::Comment(
"Readout plane number within the TPC set"),
49 [
this](){
return valid(); }
54 operator ID_t()
const {
return ID(); }
61 namespace readout::fhicl {
156 using ROPID = IDparameter<readout::ROPID>;
179 #endif // LARCOREOBJ_SIMPLETYPESANDCONSTANTS_READOUT_TYPES_FHICL_H
::fhicl::OptionalSequence< IDparameter< IDtype >> OptionalIDsequence
Member type of optional sequence of ID parameters.
::fhicl::OptionalTable< IDConfig< IDtype >> OptionalID
Member type of optional validated ID parameter.
see a below echo S(symbol in a section other than those above)
OptionalID< readout::TPCsetID > OptionalTPCsetID
Member type of optional validated readout::TPCsetID parameter.
std::vector< ID > readIDsequence(IDsequence< SrcID > const &seq)
Returns a vector of IDs extracted from the specified ID sequence.
Classes identifying readout-related concepts.
IDparameter< readout::ROPID > ROPID
Member type of validated readout::ROPID parameter.
Traits for ID parameter objects.
Class identifying a set of TPC sharing readout channels.
OptionalID< readout::ROPID > OptionalROPID
Member type of optional validated readout::ROPID parameter.
OptionalIDsequence< readout::TPCsetID > OptionalTPCsetIDsequence
Member type of optional sequence of readout::TPCsetID parameters.
IDparameter< readout::CryostatID > CryostatID
Member type of validated readout::CryostatID parameter.
ID readID(IDparameter< SrcID > const &atom)
Returns an ID extracted from the specified ID atom.
IDsequence< readout::ROPID > ROPIDsequence
Member type of sequence of readout::ROPID parameters.
OptionalIDsequence< readout::ROPID > OptionalROPIDsequence
Member type of optional sequence of readout::ROPID parameters.
OptionalIDsequence< readout::CryostatID > OptionalCryostatIDsequence
Member type of optional sequence of readout::CryostatID parameters.
std::optional< ID > readOptionalID(OptionalID< SrcID > const &atom)
Returns an ID extracted from the specified optional ID atom.
IDparameter< readout::TPCsetID > TPCsetID
Member type of validated readout::TPCsetID parameter.
std::optional< std::vector< ID > > readOptionalIDsequence(OptionalIDsequence< SrcID > const &seq)
Returns a vector of IDs extracted from the specified optional ID sequence.
BEGIN_PROLOG vertical distance to the surface Name
Type of ID configuration structure (requires specialization)
::fhicl::Sequence< IDparameter< IDtype >> IDsequence
Member type of sequence of ID parameters.
OptionalID< readout::CryostatID > OptionalCryostatID
Member type of optional validated readout::CryostatID parameter.
::fhicl::Table< IDConfig< IDtype >> IDparameter
Member type of validated ID parameter.
IDsequence< readout::TPCsetID > TPCsetIDsequence
Member type of sequence of readout::TPCsetID parameters.
IDsequence< readout::CryostatID > CryostatIDsequence
Member type of sequence of readout::CryostatID parameters.
size_t ID_t
Index used to identify Flash_t/QPointCollection_t uniquely in an event.
Utilities for using geometry IDs in FHiCL validated configuration.
ID readParameter(IDparameter< SrcID > const &atom)
typename IDparameterTraits< IDparam >::ID_t IDof
Type of ID of the specified ID FHiCL parameter object/.