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

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

#include <geo_types_fhicl.h>

Inheritance diagram for geo::fhicl::IDConfig< geo::OpDetID >:
geo::fhicl::IDConfig< geo::CryostatID > geo::fhicl::ValidIDConfig

Public Types

using ID_t = geo::OpDetID
 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::OpDetID::OpDetID_tO
 
- 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::OpDetID >

Configuration structure for validated geo::OpDetID parameter.

Definition at line 328 of file geo_types_fhicl.h.

Member Typedef Documentation

Type read by this configuration.

Definition at line 329 of file geo_types_fhicl.h.

Member Function Documentation

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

Definition at line 337 of file geo_types_fhicl.h.

338  { return !valid()? ID_t{}: ID_t{ IDConfig<geo::CryostatID>::ID(), O() }; }
geo::OpDetID ID_t
Type read by this configuration.
unsigned int ID
::fhicl::Atom< geo::OpDetID::OpDetID_t > O
geo::fhicl::IDConfig< geo::OpDetID >::operator ID_t ( ) const
inline

Definition at line 339 of file geo_types_fhicl.h.

339 { return ID(); }

Member Data Documentation

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

Definition at line 331 of file geo_types_fhicl.h.


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