class emcMixedDataObject: public emcDataObject

Common MixedDataObject to be used on- and off-line.

Inheritance:


Public Fields

[more] ClassDef(emcMixedDataObject, 1)

Public Methods

[more]void Get(Int_t index, Float_t& adc, Float_t& tdc) const
Get adc,tdc using indexing in the calorimeter ITEMs space
[more]void Get(Int_t index, Float_t& adc, Float_t& tdc, Float_t& hg, Float_t& lg) const
Get adc,tdc,hg,lg using indexing in the calorimeter ITEMs space
[more]Float_t GetADC(Int_t index) const
Get adc using indexing in the calorimeter ITEMs space
[more]Float_t GetHG(Int_t index) const
Get high gain using indexing in the calorimeter ITEMs space
[more]Float_t GetLG(Int_t index) const
Get low gain using indexing in the calorimeter ITEMs space
[more]Float_t GetTDC(Int_t index) const
Get time using indexing in the calorimeter ITEMs space
[more]Bool_t IsPedestalSubtracted(void) const
[more]bool IsUsingHGLG(void) const
To know is this object have the raw High and Low Gain values or not
[more]void UseHGLG(bool use=false)
Decide if this object must take care of raw High and Low Gain values
[more]bool IsZero(Int_t index) const
Tells if channel is zero

Public

[more] WARNING - WARNING - WARNING - Those methods are to be used in online monitoring processes ONLY.

Protected Fields

[more]Float_t* fADC
adc value (pre-post)*H/L gain ratio
[more]Float_t* fTDC
tdc value
[more]Float_t* fHG
High gain value
[more]Float_t* fLG
Low gain value
[more]Bool_t fPedestal
tells if pedestals data are subtracted or not
[more]Bool_t fHLRatio
tells if real H/L ratio data are used or not
[more]Bool_t fOwnAllocation
Indicates if WE are allocating the tower data arrays or not (true if reading from Root file, false in any other cases).
[more]bool fUseHGLG
Switch to store or not high and low gain


Inherited from emcDataObject:

Public Methods

ovoid DecodeKey(long key, Int_t& arm, Int_t& sector, Int_t& yrow, Int_t& zrow) const
oInt_t GetMaxSize(void) const
oInt_t GetDataError(Int_t index) const
oInt_t* GetDataErrorPointer(void) const
oInt_t GetSize(void) const
oInt_t GetItemId(Int_t index) const
olong GenerateSoftwareKey(Int_t ItemId) const
olong GetSoftwareKey(Int_t index) const
olong GetErrorFlag(Int_t index) const
obool HasErrors(void) const
oBool_t ValidIndex(Int_t index) const

Protected Fields

oInt_t fMaxSize
oInt_t fSize
oInt_t* fDataErrors
oInt_t* fDataMap
olong* fSoftKey


Documentation

Common MixedDataObject to be used on- and off-line.

Has no counterpart nor in online nor in offline

It derives from TObject so it can be written in a TTree using the PHNodeIOManager of PHOOL.

ovoid Get(Int_t index, Float_t& adc, Float_t& tdc) const
Get adc,tdc using indexing in the calorimeter ITEMs space

ovoid Get(Int_t index, Float_t& adc, Float_t& tdc, Float_t& hg, Float_t& lg) const
Get adc,tdc,hg,lg using indexing in the calorimeter ITEMs space

oFloat_t GetADC(Int_t index) const
Get adc using indexing in the calorimeter ITEMs space

oFloat_t GetHG(Int_t index) const
Get high gain using indexing in the calorimeter ITEMs space

oFloat_t GetLG(Int_t index) const
Get low gain using indexing in the calorimeter ITEMs space

o WARNING - WARNING - WARNING - Those methods are to be used in online monitoring processes ONLY.
WARNING - WARNING - WARNING - Those methods are to be used in online monitoring processes ONLY. This very inelegant method is nevertheless a way of taking care of the pre-existing software (which is working).

ovoid GetPointers(float*& ADC, float*& TDC, int*& KEY)

ovoid GetPointers(float*& ADC, float*& TDC, float*& HG, float*& LG, int*& KEY)

oFloat_t GetTDC(Int_t index) const
Get time using indexing in the calorimeter ITEMs space

oBool_t IsPedestalSubtracted(void) const

obool IsUsingHGLG(void) const
To know is this object have the raw High and Low Gain values or not

ovoid UseHGLG(bool use=false)
Decide if this object must take care of raw High and Low Gain values

obool IsZero(Int_t index) const
Tells if channel is zero

oFloat_t* fADC
adc value (pre-post)*H/L gain ratio

oFloat_t* fTDC
tdc value

oFloat_t* fHG
High gain value

oFloat_t* fLG
Low gain value

oBool_t fPedestal
tells if pedestals data are subtracted or not

oBool_t fHLRatio
tells if real H/L ratio data are used or not

oBool_t fOwnAllocation
Indicates if WE are allocating the tower data arrays or not (true if reading from Root file, false in any other cases).

obool fUseHGLG
Switch to store or not high and low gain

o ClassDef(emcMixedDataObject, 1)


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.