class emcCalibratedDataObject: public emcDataObject

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

Inheritance:


Public Fields

[more] ClassDef(emcCalibratedDataObject, 1)

Public Methods

[more]void Get(Int_t index, Float_t& energy, Float_t& time) const
Get everything using tower indexing
[more]void Get(Int_t index, Int_t& TowerId, long & softwareKey, Int_t & errorFlag, Float_t& energy, Float_t& time ) const
Get everything using internal indexing
[more]Float_t GetEnergy(Int_t index) const
Get energy using tower indexing
[more]Float_t GetTime(Int_t index) const
Get time using tower indexing
[more]long GetTowerId(Int_t index) const
Gets TowerId for a given TOWER (locally stored)
[more]long GetSoftwareKey(Int_t index) const
Gets software key for a given TOWER (locally stored)
[more]long GetErrorFlag(Int_t index) const
Gets error Flag for a given TOWER (locally stored)
[more]Int_t GetIndexFromTowerId(Int_t TowerId) const
Search for the presence of the Tower in compressed Object. It can be used to check if any particular tower has measurable signal.
[more]void GetByTowerId(Int_t TowerId, Float_t& energy, Float_t& time) const
Get Energies and Times using Tower Identifiers
[more]Float_t GetEnergyByTowerId(Int_t TowerId) const
Get energy using tower indexing
[more]Float_t GetTimeByTowerId(Int_t TowerId) const
Get time using tower indexing
[more]void GetPointers(float*& ENERGY, float*& TOF)
WARNING - WARNING - WARNING - This method is to be used in online monitoring processes ONLY.
[more]Bool_t IsCalibrated(TString what) const
[more]Float_t GetTotalEnergy()
Returns total energy seen in the Calorimeter (precomputed while calibrating the data)
[more]void GetSectorEnergies(Float_t * e)
Fills-up array with energies seen in individual calorimeter Sectors
[more]Int_t CountHits(Float_t )
Returns number of hits with energies above threshold (twrEThreshold)


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
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 CalibratedDataObject 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& energy, Float_t& time) const
Get everything using tower indexing

ovoid Get(Int_t index, Int_t& TowerId, long & softwareKey, Int_t & errorFlag, Float_t& energy, Float_t& time ) const
Get everything using internal indexing

oFloat_t GetEnergy(Int_t index) const
Get energy using tower indexing

oFloat_t GetTime(Int_t index) const
Get time using tower indexing

olong GetTowerId(Int_t index) const
Gets TowerId for a given TOWER (locally stored)

olong GetSoftwareKey(Int_t index) const
Gets software key for a given TOWER (locally stored)

olong GetErrorFlag(Int_t index) const
Gets error Flag for a given TOWER (locally stored)

oInt_t GetIndexFromTowerId(Int_t TowerId) const
Search for the presence of the Tower in compressed Object. It can be used to check if any particular tower has measurable signal.

ovoid GetByTowerId(Int_t TowerId, Float_t& energy, Float_t& time) const
Get Energies and Times using Tower Identifiers

oFloat_t GetEnergyByTowerId(Int_t TowerId) const
Get energy using tower indexing

oFloat_t GetTimeByTowerId(Int_t TowerId) const
Get time using tower indexing

ovoid GetPointers(float*& ENERGY, float*& TOF)
WARNING - WARNING - WARNING - This method is 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).

oBool_t IsCalibrated(TString what) const

oFloat_t GetTotalEnergy()
Returns total energy seen in the Calorimeter (precomputed while calibrating the data)

ovoid GetSectorEnergies(Float_t * e)
Fills-up array with energies seen in individual calorimeter Sectors

oInt_t CountHits(Float_t )
Returns number of hits with energies above threshold (twrEThreshold)

o ClassDef(emcCalibratedDataObject, 1)


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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