Data structure to translate PMT physical to readout address.
More...
#include <JModuleAddressMap.hh>
|
template<class JHead_t , class JTail_t > |
static bool | lt (const JClass_t &first, const JClass_t &second, const JType< JTypeList< JHead_t, JTail_t > > &type) |
| Less than method for composite data types. More...
|
|
template<class JHead_t > |
static bool | lt (const JClass_t &first, const JClass_t &second, const JType< JTypeList< JHead_t, JNullType > > &type) |
| Less than method for composite data types. More...
|
|
Data structure to translate PMT physical to readout address.
Definition at line 31 of file JModuleAddressMap.hh.
Constructor.
- Parameters
-
readout | readout address |
address | physical address |
Definition at line 42 of file JModuleAddressMap.hh.
JPMTPhysicalAddress()
Default constructor.
JPMTReadoutAddress()
Default constructor.
std::string JDETECTOR::JPMTAddressTranslator::toString |
( |
| ) |
const |
|
inline |
Convert PMT address translator to string.
- Returns
- string
Definition at line 54 of file JModuleAddressMap.hh.
std::string toString() const
Convert PMT address translator to string.
std::string JDETECTOR::JPMTAddressTranslator::toString |
( |
const std::string & |
fmt, |
|
|
const std::string |
target = "%" |
|
) |
| const |
|
inline |
Convert PMT address translator to string.
The targets target
in the format string fmt
are consecutively replaced by tdc
, ring
and position
.
- Parameters
-
- Returns
- string
Definition at line 70 of file JModuleAddressMap.hh.
74 buffer.replace(target,
tdc, 1);
75 buffer.replace(target,
ring, 1);
Wrapper class around STL string class.
char ring
ring number ['A','F']
int position
position within ring [1,6]
Less than method.
- Parameters
-
address | PMT readout address |
- Returns
- true if this address before given address; else false
Definition at line 58 of file JPMTReadoutAddress.hh.
60 return this->
tdc < address.
tdc;
int JDETECTOR::JPMTReadoutAddress::getTDC |
( |
| ) |
const |
|
inlineinherited |
Less than method.
- Parameters
-
address | PMT physical address |
- Returns
- true if this address before given address; else false
Definition at line 63 of file JPMTPhysicalAddress.hh.
char ring
ring number ['A','F']
int position
position within ring [1,6]
template<class JClass_t, class JTypelist_t>
template<class JHead_t , class JTail_t >
|
inlinestaticprotectedinherited |
Less than method for composite data types.
- Parameters
-
first | first object |
second | second object |
type | type |
- Returns
- true if first object is less than second object; else false
Definition at line 43 of file JMultiComparable.hh.
47 if (static_cast<const JHead_t&>(
first) <
48 static_cast<const JHead_t&>(second))
50 else if (static_cast<const JHead_t&>(second) <
51 static_cast<const JHead_t&>(
first))
Auxiliary class for a type holder.
then echo The file $DIR KM3NeT_00000001_00000000 root already please rename or remove it first
static bool lt(const JClass_t &first, const JClass_t &second, const JType< JTypeList< JHead_t, JTail_t > > &type)
Less than method for composite data types.
template<class JClass_t, class JTypelist_t>
template<class JHead_t >
|
inlinestaticprotectedinherited |
Less than method for composite data types.
- Parameters
-
first | first object |
second | second object |
type | type |
- Returns
- true if first object is less than second object; else false
Definition at line 67 of file JMultiComparable.hh.
71 return (static_cast<const JHead_t&>(
first) <
72 static_cast<const JHead_t&>(second));
then echo The file $DIR KM3NeT_00000001_00000000 root already please rename or remove it first
int JDETECTOR::JPMTReadoutAddress::tdc |
|
inherited |
char JDETECTOR::JPMTPhysicalAddress::ring |
|
inherited |
int JDETECTOR::JPMTPhysicalAddress::position |
|
inherited |
The documentation for this struct was generated from the following file: