class EMCalFEE

This class object reads PRDF data (from file or DD pool) for channels listed in EmcDynamicData object and stores them accordingly.

Public Methods

[more] EMCalFEE(EmcDynamicData* d, FEMlimits * l, int& status)
Class object constructor.
[more]virtual ~EMCalFEE()
Destructor frees memory allocated for readout status keeping arrays.
[more]virtual int processEvent(Event* evt)
Process an external event (usefull in offline)
[more]virtual int getNextEvent(Eventiterator *it)
Gets next event from Eventiterator. Eventiterator can be File or DDpool Eventiterator.
[more]virtual int readNextEvent(Eventiterator *it)
Read next event without processing it (used to scan through the input file)
[more]virtual int convertNextEvent()
Process next event (assumed that event is already read-in)
[more]const int* getFEMstatus()
Returns pointer to FEM readout status array.
[more]int* getDataErrors()
Returns pointer to data errors array.
[more]int* getRefErrors()
Returns pointer to references errors array. Error values are the same as for towers.
[more]const cells* getCells()
Returns pointer to the structure that contains AMU cell numbers for Pre, Post and TAC.
[more]const evtInfo* getEvtInfo()
returns pointer to Event info structure.
[more]int getEvtLength()
Returns event length.
[more]int getEvtType()
Returns event type.
[more]int getEvtSequence()
Returns event number.
[more]int getRunNumber()
Returns run number.


Documentation

This class object reads PRDF data (from file or DD pool) for channels listed in EmcDynamicData object and stores them accordingly. In addition this object creates its own arrays that keep information about errors occured during readout.
o EMCalFEE(EmcDynamicData* d, FEMlimits * l, int& status)
Class object constructor. Status returns the result of object creation. If failed then status has notzero value.

ovirtual ~EMCalFEE()
Destructor frees memory allocated for readout status keeping arrays.

ovirtual int processEvent(Event* evt)
Process an external event (usefull in offline)

ovirtual int getNextEvent(Eventiterator *it)
Gets next event from Eventiterator. Eventiterator can be File or DDpool Eventiterator.

ovirtual int readNextEvent(Eventiterator *it)
Read next event without processing it (used to scan through the input file)

ovirtual int convertNextEvent()
Process next event (assumed that event is already read-in)

oconst int* getFEMstatus()
Returns pointer to FEM readout status array. Length of this array is equal to the number of FEMs. Each element keeps readout status of FEM. It can have the values: NO_PACKET - means that there is no packet from this FEM in current event. All data are set to 0. WRONG_CELL_NUMBER - delay between pre and post samples or between pre and TAC is not equal to values stored in EmcDynamicData object (this object gets these delays from configuration file). OK - noproblems.

oint* getDataErrors()
Returns pointer to data errors array. Possible errors: OK - no errors. HG_PRE_TOO_LOW - high gain Pre sample value is lower then minimal value stored in FEMlimits l structure. HG_POST_TOO_LOW - high gain Post sample value is lower then minimal value stored in FEMlimits l structure. HG_PRE_TOO_HIGH - high gain Pre sample value is higher then maximal value stored in FEMlimits l structure. HG_POST_TOO_HIGH - high gain Post sample value is higher then maximal value stored in FEMlimits l structure.

LG_PRE_TOO_LOW - low gain Pre sample value is lower then minimal value stored in FEMlimits l structure. LG_POST_TOO_LOW - low gain Post sample value is lower then minimal value stored in FEMlimits l structure. LG_PRE_TOO_HIGH - low gain Pre sample value is higher then maximal value stored in FEMlimits l structure. LG_POST_TOO_HIGH - low gain Post sample value is higher then maximal value stored in FEMlimits l structure. The result in array element can be combination of these errors.

oint* getRefErrors()
Returns pointer to references errors array. Error values are the same as for towers.

oconst cells* getCells()
Returns pointer to the structure that contains AMU cell numbers for Pre, Post and TAC.

oconst evtInfo* getEvtInfo()
returns pointer to Event info structure.

oint getEvtLength()
Returns event length.

oint getEvtType()
Returns event type.

oint getEvtSequence()
Returns event number.

oint getRunNumber()
Returns run number.


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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