|
LDMX Software
|
Each "field" of data in a FiberTracker packet. More...
Public Member Functions | |
| FiberTrackerField (utility::Reader &r, int i_field) | |
| r - reader i_field - field we are supposed to be reading from | |
| int | toInt (const std::size_t i=0) const |
| conversion to a single int | |
| std::string | toString () const |
| conversion from series of ints to string specific to FiberTrackerDAQ | |
| long int | toLong (const std::size_t i=0) const |
| long split across two ints | |
| double | toDouble (const std::size_t i=0) const |
| convert two ints into a double | |
| const std::vector< uint32_t > & | value () const |
| Get the field value. | |
Private Attributes | |
| uint32_t | field_header_ |
| std::vector< uint32_t > | field_value_ |
Each "field" of data in a FiberTracker packet.
Definition at line 54 of file FiberTrackerRawDecoder.cxx.
|
inline |
r - reader i_field - field we are supposed to be reading from
Definition at line 63 of file FiberTrackerRawDecoder.cxx.
References packing::utility::Reader::read().
|
inline |
convert two ints into a double
Definition at line 104 of file FiberTrackerRawDecoder.cxx.
References toLong().
Referenced by packing::FiberTrackerBinaryPacket::read().
|
inline |
conversion to a single int
Definition at line 77 of file FiberTrackerRawDecoder.cxx.
Referenced by packing::FiberTrackerBinaryPacket::read().
|
inline |
long split across two ints
i is index_ of field value to start from
Definition at line 96 of file FiberTrackerRawDecoder.cxx.
Referenced by packing::FiberTrackerBinaryPacket::read(), and toDouble().
|
inline |
conversion from series of ints to string specific to FiberTrackerDAQ
Definition at line 82 of file FiberTrackerRawDecoder.cxx.
Referenced by packing::FiberTrackerBinaryPacket::read().
|
inline |
Get the field value.
Definition at line 111 of file FiberTrackerRawDecoder.cxx.
Referenced by packing::FiberTrackerBinaryPacket::read().
|
private |
Definition at line 55 of file FiberTrackerRawDecoder.cxx.
|
private |
Definition at line 56 of file FiberTrackerRawDecoder.cxx.