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

Public Types | |
| enum | AdcRange { LEX8 = 0, LEX1, HEX8, HEX1 } |
| each log end can report four energy ranges. More... | |
| enum | CalTrigMode { BESTRANGE = 0, ALLRANGE = 2 } |
| readout can be either best-of-four energy ranges or all energy ranges. More... | |
| enum | { POS_OFFSET = 14, RANGE_OFFSET = 12, RANGE_MASK = 0x3000, ADC_VAL_MASK = 0xfff } |
| shifts and masks for packed readout of energy range and Adc value. More... | |
Public Methods | |
| CalDigi () | |
| CalDigi (CalTrigMode mode, idents::CalLogId CalLogId, ObjectVector<CalLogReadout> readout) | |
| virtual | ~CalDigi () |
| Destructor. More... | |
| virtual const CLID& | clID () const |
| Retrieve reference to class definition structure. More... | |
| const CalTrigMode | getMode () const |
| Retrieve readout mode. More... | |
| const idents::CalLogId | getPackedId () const |
| Retrieve log identifier. More... | |
| char | getRange (short readoutIndex, CalLogReadout::LogFace face) const |
| Retrieve energy range for selected face and readout. More... | |
| short | getAdc (short readoutIndex, CalLogReadout::LogFace face) const |
| Retrieve pulse height for selected face and readout. More... | |
| const CalLogReadout* | getLogReadout (short readoutIndex) |
| Retrieve ranges and pulse heights from both ends of selected readout. More... | |
| short | getAdcSelectedRange (char range, CalLogReadout::LogFace face) const |
| Retrieve pulse height from selected range. More... | |
| 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 Attributes | |
| CalTrigMode | m_mode |
| Cal readout mode is based on trigger type. More... | |
| idents::CalLogId | m_logId |
| Cal ID. More... | |
| ObjectVector<CalLogReadout> | m_readout |
| ranges and pulse heights. More... | |
------------------------------------------------------------------------------
Author: J. Eric Grove, 23 Feb 2001
------------------------------------------------------------------------------
Definition at line 99 of file CalDigi.h.
|
|
shifts and masks for packed readout of energy range and Adc value.
|
|
|
each log end can report four energy ranges.
|
|
|
readout can be either best-of-four energy ranges or all energy ranges.
|
|
|
|
|
|
|
|
|
Destructor.
|
|
|
Retrieve reference to class definition structure.
|
|
|
Definition at line 136 of file CalDigi.h. Referenced by clID(). |
|
|
Fill the ASCII output stream.
|
|
|
Retrieve pulse height for selected face and readout.
Definition at line 151 of file CalDigi.h. Referenced by fillStream(). |
|
|
Retrieve pulse height from selected range.
|
|
|
Retrieve ranges and pulse heights from both ends of selected readout.
|
|
|
Retrieve readout mode.
|
|
|
Retrieve log identifier.
|
|
|
Retrieve energy range for selected face and readout.
Definition at line 145 of file CalDigi.h. Referenced by fillStream(). |
|
|
Serialize the object for reading.
|
|
|
Serialize the object for writing.
|
|
|
Cal ID.
|
|
|
Cal readout mode is based on trigger type.
|
|
|
ranges and pulse heights.
|
1.2.3 written by Dimitri van Heesch,
© 1997-2000