NSCL DDAS
12.1-001
Support for XIA DDAS at FRIB
|
Encapsulation of a generic DDAS hit with added capabilities for writing to ROOT files. More...
#include <DDASRootHit.h>
Public Member Functions | |
DDASRootHit () | |
Default constructor. More... | |
~DDASRootHit () | |
Default destructor. More... | |
ClassDef (DDASRootHit, 1) | |
Encapsulation of a generic DDAS hit with added capabilities for writing to ROOT files.
The DDASRootHit class is intended to encapsulate the information that is emitted by the Pixie-16 digitizer for a single hit from a single channel. It is generic because it can store data for the 100 MSPS, 250 MSPS, and 500 MSPS Pixie-16 digitizers used at the lab. In general all of these contain the same set of information, however, the meaning of the CFD data is different for each. The DDASRootHit class abstracts these differences away from the user.
This is a very, very simple class. It inherits from ddasfmt::DDASHit and ROOT's TObject class and adds a ROOT ClassDef()
macro. Everything else, including copy construction, assignment, etc. is handled "for free" by the base classes. Because the class inherits from ddasfmt::DDASHit, we can trivially use the ddasfmt::DDASHitUnpacker to unpack the event data directly into the ddasfmt::DDASHit members.
|
inline |
Default constructor.
|
inline |
Default destructor.
DDASRootHit::ClassDef | ( | DDASRootHit | , |
1 | |||
) |