#include <AcdDigi.h>
Inheritance diagram for AcdDigi:

Public Methods | |
| AcdDigi () | |
| AcdDigi (idents::AcdId id, int pulseHeight, bool veto, bool lowThresh, bool highThresh) | |
| virtual | ~AcdDigi () |
| Destructor. More... | |
| virtual const CLID& | clID () const |
| Retrieve reference to class definition structure. More... | |
| const idents::AcdId | ID () const |
| Retrieve digi identifier. More... | |
| int | PulseHeight () const |
| Retrieve pulse height. More... | |
| bool | Veto () const |
| bool | LowThreshold () const |
| bool | HighThreshold () const |
| virtual StreamBuffer& | serialize ( StreamBuffer& s ) const |
| Serialize the object for writing. More... | |
| virtual StreamBuffer& | serialize ( StreamBuffer& s ) |
| Serialize the object for reading. More... | |
| virtual std::ostream& | fillStream ( std::ostream& s ) const |
| Fill the ASCII output stream. More... | |
Static Public Methods | |
| const CLID& | classID () |
Private Types | |
| enum | { ADC_K_VETO = 1, ADC_V_VETO = 12, ADC_M_VETO = ((1 << ADC_K_VETO) - 1), ADC_K_LOWTHRESH = 1, ADC_V_LOWTHRESH = 13, ADC_M_LOWTHRESH = ((1 << ADC_K_LOWTHRESH) - 1), ADC_K_HIGHTHRESH = 1, ADC_V_HIGHTHRESH = 14, ADC_M_HIGHTHRESH = ((1 << ADC_K_HIGHTHRESH) - 1) } |
Private Attributes | |
| idents::AcdId | m_ID |
| Acd ID. More... | |
| unsigned short | m_pulseHeight |
| pulse height. More... | |
| bool | m_veto |
| nominal Acd veto signal. More... | |
| bool | m_lowThreshold |
| 1 bit Low threshold discriminator - enables the PHA. More... | |
| bool | m_highThreshold |
| 1 bit High threshold discriminator - used for calibration of the CAL. More... | |
| unsigned short | m_packedPHA |
| packed PHA word, containing status bits and PHA for PDS. More... | |
------------------------------------------------------------------------------
Initial Implementation by Richard Dubois Additions by Heather Kelly
Note the usage of AcdId, this will be replaced by the new AcdId class under development.
There are no set methods in this class, users are expected to fill the data members through the constructor.
ACDDigi represents the output from one phototube. The bits are organized as follows: __________________________________________________________ |15 | 14 | 13 | 12 |11| | | | | | | | | | |00| |__ |_____ |__ ___|____|__|__|__|__|__|__|__|__|__|__|__|__| | | HI | LOW |VETO| PHA Value | |___|THRESH|THRESH|____|___________________________________|
Low Threshold enables the PHA value Veto Threshold nominal ACD veto signal High Threshold is for CAL calibration - CNO
------------------------------------------------------------------------------
Definition at line 48 of file AcdDigi.h.
|
|
|
|
|
|
|
|
|
|
|
Destructor.
|
|
|
|
|
|
Retrieve digi identifier.
|
|
|
|
|
|
Retrieve pulse height.
|
|
|
|
|
|
Retrieve reference to class definition structure.
|
|
|
Definition at line 73 of file AcdDigi.h. Referenced by clID(). |
|
|
Fill the ASCII output stream.
|
|
|
Serialize the object for reading.
|
|
|
Serialize the object for writing.
|
|
|
Acd ID.
|
|
|
1 bit High threshold discriminator - used for calibration of the CAL.
|
|
|
1 bit Low threshold discriminator - enables the PHA.
|
|
|
packed PHA word, containing status bits and PHA for PDS.
|
|
|
pulse height.
|
|
|
nominal Acd veto signal.
|
1.2.3 written by Dimitri van Heesch,
© 1997-2000