CalHit


class description - source file - inheritance tree

class CalHit : public TObject

    private:
UShort_t getADCID(UShort_t adcWord) UShort_t getADCPinID(UShort_t adcWord) UShort_t getADCRangeScale(UShort_t adcWord) UShort_t getADCValue(UShort_t adcWord) public:
CalHit CalHit() CalHit CalHit(LogID* log) CalHit CalHit(CalHit&) virtual void ~CalHit() TClass* Class() void Clean() UShort_t getADCID(CalHit::LogEnd end, CalHit::ADCGain gain = LowEnX4) UShort_t getADCPinID(CalHit::LogEnd end, CalHit::ADCGain gain = LowEnX4) UShort_t getADCRangeScale(CalHit::LogEnd end, CalHit::ADCGain gain = LowEnX4) UShort_t getADCValue(CalHit::LogEnd end, CalHit::ADCGain gain = LowEnX4) LogID* getLogID() virtual TClass* IsA() Bool_t setADCID(UShort_t newVal, CalHit::LogEnd end, CalHit::ADCGain gain = LowEnX4) Bool_t setADCPinID(UShort_t newVal, CalHit::LogEnd end, CalHit::ADCGain gain = LowEnX4) Bool_t setADCRangeScale(UShort_t newVal, CalHit::LogEnd end, CalHit::ADCGain gain = LowEnX4) Bool_t setADCValue(UShort_t newVal, CalHit::LogEnd end, CalHit::ADCGain gain = LowEnX4) void setADCWord(UShort_t newVal, CalHit::LogEnd end, CalHit::ADCGain gain = LowEnX4) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b)

Data Members

private:
LogID* m_log Log identity info class UShort_t ADCValues[8] public:
static const enum TObject:: ADC_K_RS static const enum TObject:: ADC_V_RS static const enum TObject:: ADC_M_RS static const enum TObject:: ADC_K_PIN static const enum TObject:: ADC_V_PIN static const enum TObject:: ADC_M_PIN static const enum TObject:: ADC_K_ID static const enum TObject:: ADC_V_ID static const enum TObject:: ADC_M_ID static const enum TObject:: ADC_K_VAL static const enum TObject:: ADC_V_VAL static const enum TObject:: ADC_M_VAL static const CalHit::ADCGain LowEnX4 static const CalHit::ADCGain LowEn static const CalHit::ADCGain HiEnX8 static const CalHit::ADCGain HiEn static const CalHit::LogEnd Pos static const CalHit::LogEnd Neg

Class Description

 The CalHit class contains the information about a single calorimeter
 log.  This includes the ADC values for all 4 digitizations, and
 implements a LogID member which provides access to information
 on the position of the log within the calorimeter.



CalHit()
 Default constructor

CalHit(LogID* log)
 Create a CalHit object with LogID of log

~CalHit()
 Destructor

void Clean()
 Free up memory reserved by member pointers

Bool_t setADCValue(UShort_t newVal, LogEnd end, ADCGain gain)
 Allows user to set the ADC Value for a particular log end and
 digitization.  Returns kTRUE if successful, kFALSE if not.

Bool_t setADCID(UShort_t newVal, LogEnd end, ADCGain gain)
 Allows user to set the ADC ID for a particular log end and
 digitization.  Returns kTRUE if successful, kFALSE if not.

Bool_t setADCPinID(UShort_t newVal, LogEnd end, ADCGain gain)
 Allows user to set the ADC Pin ID for a particular log end and
 digitization.  Returns kTRUE if successful, kFALSE if not.

Bool_t setADCRangeScale(UShort_t newVal, LogEnd end, ADCGain gain)
 Allows user to set the ADC Range Scale for a particular log end and
 digitization.  Returns kTRUE if successful, kFALSE if not.



Inline Functions


           UShort_t getADCValue(UShort_t adcWord)
           UShort_t getADCID(UShort_t adcWord)
           UShort_t getADCPinID(UShort_t adcWord)
           UShort_t getADCRangeScale(UShort_t adcWord)
           UShort_t getADCValue(CalHit::LogEnd end, CalHit::ADCGain gain = LowEnX4)
           UShort_t getADCID(CalHit::LogEnd end, CalHit::ADCGain gain = LowEnX4)
           UShort_t getADCPinID(CalHit::LogEnd end, CalHit::ADCGain gain = LowEnX4)
           UShort_t getADCRangeScale(CalHit::LogEnd end, CalHit::ADCGain gain = LowEnX4)
               void setADCWord(UShort_t newVal, CalHit::LogEnd end, CalHit::ADCGain gain = LowEnX4)
             LogID* getLogID()
            TClass* Class()
            TClass* IsA()
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
             CalHit CalHit(CalHit&)


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.