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

Public Types | |
| enum | AdcRange { LowEnX4 = 0, LowEnX1, HiEnX8, HiEnX1 } |
| enum | LogFace { POS = 0, NEG } |
| enum | CalTrigMode { BESTRANGE = 0, ALLRANGE = 2 } |
Public Methods | |
| CalLog () | |
| CalLog (LogId &id) | |
| virtual | ~CalLog () |
| Int_t | Compare (const TObject *obj) const |
| Root >= 3.0 is now const correct for the Compare function. More... | |
| Bool_t | IsSortable () const |
| UShort_t | getAdc (LogFace face, short index) const |
| UShort_t | getAdcSelectedRange (LogFace face, AdcRange range = LowEnX4) const |
| Get ADC value for selected face and energy range. More... | |
| UShort_t | getRange (LogFace face, short index) const |
| const CalTrigMode | getMode () const |
| Retrieve readout mode. More... | |
| Bool_t | setAdcValue (UShort_t newVal, LogFace face, AdcRange range = LowEnX4) |
| Bool_t | setAdcId (UShort_t newVal, LogFace face, AdcRange range = LowEnX4) |
| Bool_t | setAdcPinId (UShort_t newVal, LogFace face, AdcRange range = LowEnX4) |
| Bool_t | setAdcRangeScale (UShort_t newVal, LogFace face, AdcRange range = LowEnX4) |
| void | setAdcWord (UShort_t newVal, LogFace face, AdcRange range = LowEnX4) |
| void | setTriggerMode (CalTrigMode val) |
| LogId* | getLogId () |
Private Types | |
| enum | { ADC_K_RS = 1, ADC_V_RS = 0, ADC_M_RS = ((1 << ADC_K_RS) - 1), ADC_K_PIN = 1, ADC_V_PIN = (ADC_K_RS + ADC_V_RS), ADC_M_PIN = ((1 << ADC_K_PIN) - 1), ADC_K_ID = 2, ADC_V_ID = (ADC_K_PIN + ADC_V_PIN), ADC_M_ID = ((1 << ADC_K_ID) - 1), ADC_K_VAL = 12, ADC_V_VAL = (ADC_K_ID + ADC_V_ID), ADC_M_VAL = ((1 << ADC_K_VAL) - 1) } |
Private Attributes | |
| LogId | m_log |
| UShort_t | m_AdcValues [8] |
Static Private Methods | |
| UShort_t | getAdc (UShort_t adcWord) |
| UShort_t | getAdcId (UShort_t adcWord) |
| UShort_t | getAdcPinId (UShort_t adcWord) |
| UShort_t | getAdcRangeScale (UShort_t adcWord) |
| UShort_t | getAdcRange (UShort_t adcWord) |
Static Private Attributes | |
| CalTrigMode | m_mode |
| Cal readout mode is based on trigger type. More... | |
Jun 2001 Heather Kelly - renamed from CalHit to CalLog Jun 2001 Heather Kelly - remove pointer to LogId Jan 2000 Daniel Flath - ROOT HTML comments added Dec 1999 Daniel Flath - Rewritten for GLAST Oct 25,1999 Richard Dubois Clone from LCD version
Definition at line 23 of file CalLog.h.
|
|
ADC word layout (defined in following enum): _____________________________________________________ |15| | | | | | | | | | |04|03|02|01|00| |__|__|__|__|___|__|__|__|__|__|__|__|__|__|__|__| | ADC Value | ID |PN|RS| |_______________________________________|_____|__|__| NOTES: ***** PN == Pin RS == Range Scale PN & RS = Range |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 14 of file CalLog.cxx. |
|
|
Definition at line 20 of file CalLog.cxx. |
|
|
Root >= 3.0 is now const correct for the Compare function.
Definition at line 24 of file CalLog.cxx. |
|
|
Definition at line 35 of file CalLog.cxx. |
|
|
|
|
|
Definition at line 99 of file CalLog.h. Referenced by getAdc(), and getAdcSelectedRange(). |
|
|
|
|
|
Definition at line 105 of file CalLog.h. Referenced by getAdcRange(). |
|
|
Definition at line 112 of file CalLog.h. Referenced by getRange(). |
|
|
Definition at line 108 of file CalLog.h. Referenced by getAdcRange(). |
|
|
Get ADC value for selected face and energy range.
|
|
|
Definition at line 154 of file CalLog.h. Referenced by DigiEvent::getCalLog(). |
|
|
Retrieve readout mode.
|
|
|
|
|
|
Definition at line 54 of file CalLog.cxx. |
|
|
Definition at line 69 of file CalLog.cxx. |
|
|
Definition at line 84 of file CalLog.cxx. |
|
|
Definition at line 39 of file CalLog.cxx. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Cal readout mode is based on trigger type.
|
1.2.3 written by Dimitri van Heesch,
© 1997-2000