Public Types | Public Member Functions | Public Attributes | List of all members
geo::fhicl::IDConfig< geo::PlaneID > Struct Template Reference

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

#include <geo_types_fhicl.h>

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

Public Types

using ID_t = geo::PlaneID
 Type read by this configuration. More...
 
- Public Types inherited from geo::fhicl::IDConfig< geo::TPCID >
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::TPCID >
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::PlaneID::PlaneID_tP
 
- Public Attributes inherited from geo::fhicl::IDConfig< geo::TPCID >
::fhicl::Atom< geo::TPCID::TPCID_tT
 
- Public Attributes inherited from geo::fhicl::IDConfig< geo::CryostatID >
::fhicl::Atom< geo::CryostatID::CryostatID_tC
 
- Public Attributes inherited from geo::fhicl::ValidIDConfig
::fhicl::Atom< boolisValid
 

Detailed Description

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

Configuration structure for validated geo::PlaneID parameter.

Definition at line 360 of file geo_types_fhicl.h.

Member Typedef Documentation

Type read by this configuration.

Definition at line 361 of file geo_types_fhicl.h.

Member Function Documentation

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

Definition at line 369 of file geo_types_fhicl.h.

370  { return !valid()? ID_t{}: ID_t{ IDConfig<geo::TPCID>::ID(), P() }; }
geo::PlaneID ID_t
Type read by this configuration.
unsigned int ID
::fhicl::Atom< geo::PlaneID::PlaneID_t > P
geo::fhicl::IDConfig< geo::PlaneID >::operator ID_t ( ) const
inline

Definition at line 371 of file geo_types_fhicl.h.

371 { return ID(); }

Member Data Documentation

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

Definition at line 363 of file geo_types_fhicl.h.


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