All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Typedefs | Functions
readout_types.h File Reference

Classes identifying readout-related concepts. More...

#include "larcoreobj/SimpleTypesAndConstants/geo_types.h"
#include <iosfwd>

Go to the source code of this file.

Classes

struct  readout::ElementLevel
 
struct  readout::TPCsetID
 Class identifying a set of TPC sharing readout channels. More...
 
struct  readout::ROPID
 Class identifying a set of planes sharing readout channels. More...
 

Namespaces

 readout
 
 readout::details
 

Typedefs

template<std::size_t Index, typename ID >
using readout::details::AbsIDtype = geo::details::AbsIDtype< Index, ID >
 
template<std::size_t UpIndex, typename ID >
using readout::details::RelIDtype = geo::details::RelIDtype< UpIndex, ID >
 
using readout::CryostatID = geo::CryostatID
 

Functions

template<typename T >
std::string readout::details::writeToString (T const &value)
 
template<std::size_t Index, typename ID >
constexpr auto readout::details::getAbsIDindex (ID const &id)
 
template<std::size_t Index, typename ID >
auto & readout::details::getAbsIDindex (ID &id)
 
std::ostream & readout::operator<< (std::ostream &out, TPCsetID const &sid)
 Generic output of TPCsetID to stream. More...
 
std::ostream & readout::operator<< (std::ostream &out, ROPID const &rid)
 
Readout ID comparison operators

The result of comparison with invalid IDs is undefined.

constexpr bool readout::operator== (TPCsetID const &a, TPCsetID const &b)
 Comparison: the IDs point to the same TPC set (validity is ignored) More...
 
constexpr bool readout::operator!= (TPCsetID const &a, TPCsetID const &b)
 Comparison: the IDs point to different TPC sets (validity is ignored) More...
 
constexpr bool readout::operator< (TPCsetID const &a, TPCsetID const &b)
 Order TPCsetID in increasing Cryo, then TPC set. More...
 
constexpr bool readout::operator== (ROPID const &a, ROPID const &b)
 Comparison: the IDs point to the same ROP (validity is ignored) More...
 
constexpr bool readout::operator!= (ROPID const &a, ROPID const &b)
 Comparison: the IDs point to different ROPs (validity is ignored) More...
 
constexpr bool readout::operator< (ROPID const &a, ROPID const &b)
 Order ROPID in increasing Cryo, then TPC set, then ROP. More...
 

Detailed Description

Classes identifying readout-related concepts.

Author
Gianluca Petrillo (petri.nosp@m.llo@.nosp@m.fnal..nosp@m.gov)
Date
June 19th, 2015

Definition in file readout_types.h.