StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | List of all members
L2hienAlgo12 Class Reference
Inheritance diagram for L2hienAlgo12:
L2VirtualAlgo2012

Public Types

enum  { mxBtow =(BtowGeom::mxEtaBin) * (BtowGeom::mxPhiBin) }
 
enum  { mxEtow =(EtowGeom::mxEtaBin) * (EtowGeom::mxPhiBin) }
 
- Public Types inherited from L2VirtualAlgo2012
enum  EmcSwitch { kIsBad =0, kIsBtow, kIsEtow, kIsB_Etow }
 

Public Member Functions

 L2hienAlgo12 (const char *name, const char *uid, L2EmcDb2012 *db, L2EmcGeom2012 *geo, char *outDir, int resOff, L2VirtualAlgo2012::EmcSwitch beSwitch)
 
int initRunUser (int runNo, int *rc_ints, float *rc_floats)
 
void finishRunUser ()
 
void computeUser (int token)
 
bool decisionUser (int token, int *myL2Result)
 
int getListSize (int token)
 
const unsigned int * getListData (int token)
 
void print2 (int token)
 
- Public Member Functions inherited from L2VirtualAlgo2012
 L2VirtualAlgo2012 (const char *name, const char *uid, L2EmcDb2012 *db, char *outDir, bool needsbarrel, bool needsendcap, int resOff)
 
void setOflTrigID (int x)
 
int getOflTrigID ()
 
bool isAccepted ()
 
const char * getName ()
 
int initRun (int runNo, int *rc_ints, float *rc_floats)
 
void compute (int token)
 
bool decision (int token, bool barrel_is_in, bool endcap_is_in, int *myL2Result)
 
void finishRun ()
 
bool checkDsmMask (unsigned short *lastDSM)
 
int readDsmMask (const char *fileN)
 
void printCalibratedData (int token)
 
void criticalError (const char *message)
 

Additional Inherited Members

- Static Public Member Functions inherited from L2VirtualAlgo2012
static int readParams (const char *fileN, int mxPar, int *iPar, float *fPar)
 
- Protected Types inherited from L2VirtualAlgo2012
enum  { kMaximumNumberOfDsmMasks =4 }
 
enum  { par_cpuTicksPerSecond =1600000000 }
 
- Protected Member Functions inherited from L2VirtualAlgo2012
void setMaxHist (int k)
 
int finishCommonHistos ()
 
void computeStart ()
 
void computeStop (int token)
 
unsigned short swap_bytes (unsigned short in)
 
- Protected Attributes inherited from L2VirtualAlgo2012
bool algoIsOkay
 
bool useDsmMask
 
int nmasks
 
unsigned short DsmMask [kMaximumNumberOfDsmMasks][8]
 
EmcSwitch mSwitch
 
std::string mOutDir1
 
std::string mName1
 
std::string muid
 
L2EmcDb2012mDb
 
FILE * mLogFile
 
FILE * mHistFile
 
L2HistomhN
 
L2HistomhTc
 
L2HistomhTd
 
L2HistomhTcd
 
L2HistomhRc
 
L2HistomhRd
 
L2HistomhRa
 
int oflTrigId
 
bool mAccept
 
bool mRandomAccept
 
int mEventsInRun
 
int mSecondsInRun
 
int mRunNumber
 
int mResultOffset
 
int mRndAcceptCounter
 
int par_RndAcceptPrescale
 
bool mNeeds_barrel
 
bool mNeeds_endcap
 
const L2BtowCalibData12mEveStream_btow
 
const L2EtowCalibData12mEveStream_etow
 
unsigned long mComputeTimeStart
 
unsigned long mComputeTimeStop
 
unsigned long mComputeTimeDiff [L2eventStream2012::mxToken]
 
unsigned long mDecisionTimeStart
 
unsigned long mDecisionTimeStop
 
unsigned long mDecisionTimeDiff
 
unsigned long long mRunStartTicks
 
L2Histo ** hA
 
int mxHA
 

Detailed Description

Definition at line 53 of file L2hienAlgo12.h.


The documentation for this class was generated from the following files: