All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Public Attributes | List of all members
geo::fhicl::IDConfig< geo::TPCID > Struct Template Reference

Configuration structure for validated geo::TPCID parameter. More...

#include <geo_types_fhicl.h>

Inheritance diagram for geo::fhicl::IDConfig< geo::TPCID >:
geo::fhicl::IDConfig< geo::CryostatID > geo::fhicl::ValidIDConfig geo::fhicl::IDConfig< geo::PlaneID > geo::fhicl::IDConfig< geo::WireID >

Public Types

using ID_t = geo::TPCID
 Type read by this configuration. More...
 
- Public Types inherited from geo::fhicl::IDConfig< geo::CryostatID >
using ID_t = geo::CryostatID
 Type read by this configuration. More...
 

Public Member Functions

ID_t ID () const
 
 operator ID_t () const
 
- Public Member Functions inherited from geo::fhicl::IDConfig< geo::CryostatID >
ID_t ID () const
 
 operator ID_t () const
 
- Public Member Functions inherited from geo::fhicl::ValidIDConfig
bool valid () const
 

Public Attributes

::fhicl::Atom
< geo::TPCID::TPCID_t
T
 
- Public Attributes inherited from geo::fhicl::IDConfig< geo::CryostatID >
::fhicl::Atom
< geo::CryostatID::CryostatID_t
C
 
- Public Attributes inherited from geo::fhicl::ValidIDConfig
::fhicl::Atom< bool > isValid
 

Detailed Description

template<>
struct geo::fhicl::IDConfig< geo::TPCID >

Configuration structure for validated geo::TPCID parameter.

Definition at line 296 of file geo_types_fhicl.h.

Member Typedef Documentation

Type read by this configuration.

Definition at line 297 of file geo_types_fhicl.h.

Member Function Documentation

ID_t geo::fhicl::IDConfig< geo::TPCID >::ID ( ) const
inline

Definition at line 305 of file geo_types_fhicl.h.

306  { return !valid()? ID_t{}: ID_t{ IDConfig<geo::CryostatID>::ID(), T() }; }
::fhicl::Atom< geo::TPCID::TPCID_t > T
geo::TPCID ID_t
Type read by this configuration.
geo::fhicl::IDConfig< geo::TPCID >::operator ID_t ( ) const
inline

Definition at line 307 of file geo_types_fhicl.h.

307 { return ID(); }

Member Data Documentation

Initial value:
{
::fhicl::Comment("TPC number within the cryostat"),
[this](){ return valid(); }
}

Definition at line 299 of file geo_types_fhicl.h.


The documentation for this struct was generated from the following file: