Skip to content
Snippets Groups Projects

Add support for realistic RICH PMT encoding and decoding

1 file
+ 41
2
Compare changes
  • Side-by-side
  • Inline
@@ -395,10 +395,10 @@ namespace Rich::DAQ {
* @author Chris Jones Christopher.Rob.Jones@cern.ch
* @date 27/06/2020
*/
class SourceID final : public NumericType<std::int32_t> {
class SourceID final : public NumericType<std::int16_t> {
public:
/// Use base constructors
using NumericType<std::int32_t>::NumericType;
using NumericType<std::int16_t>::NumericType;
};
/** @class Tel40Connector RichUtils/RichDAQDefinitions.h
@@ -453,6 +453,45 @@ namespace Rich::DAQ {
using NumericType<std::int8_t>::NumericType;
};
/** @class ElementaryCell RichUtils/RichDAQDefinitions.h
*
* EC number (0-3)
*
* @author Chris Jones Christopher.Rob.Jones@cern.ch
* @date 27/06/2020
*/
class ElementaryCell final : public NumericType<std::int8_t> {
public:
/// Use base constructors
using NumericType<std::int8_t>::NumericType;
};
/** @class PMTInEC RichUtils/RichDAQDefinitions.h
*
* PMT numnber in a EC
*
* @author Chris Jones Christopher.Rob.Jones@cern.ch
* @date 27/06/2020
*/
class PMTInEC final : public NumericType<std::int8_t> {
public:
/// Use base constructors
using NumericType<std::int8_t>::NumericType;
};
/** @class AnodeIndex RichUtils/RichDAQDefinitions.h
*
* PMT anode index (0-63)
*
* @author Chris Jones Christopher.Rob.Jones@cern.ch
* @date 27/06/2020
*/
class AnodeIndex final : public NumericType<std::int8_t> {
public:
/// Use base constructors
using NumericType<std::int8_t>::NumericType;
};
//--------------------------------------------------------------------------------------
/// Vector of PD Hardware IDs
Loading