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

Public Types

enum  { MaxBtowRdo =(BtowGeom::mxEtaBin) * (BtowGeom::mxPhiBin) }
 
enum  { MaxEtowRdo =(EtowGeom::mxEtaBin) * (EtowGeom::mxPhiBin) }
 
enum  { cl2jetMaxEtaBins =15, cl2jetMaxPhiBins =30 }
 
enum  { cl2jet_par_mxPhiBin =5, cl2jet_par_mxEtaBin =5 }
 
- Public Types inherited from L2VirtualAlgo2009
enum  EmcSwitch { kIsBad =0, kIsBtow, kIsEtow, kIsB_Etow }
 

Public Member Functions

 L2jetAlgo2009 (const char *name, L2EmcDb *db, char *outDir, int resOff, bool writeHighResult=false)
 
int initRunUser (int runNo, int *rc_ints, float *rc_floats)
 
bool decisionUser (int token, int *myL2Result)
 
void computeUser (int token)
 
void finishRunUser ()
 
- Public Member Functions inherited from L2VirtualAlgo2009
 L2VirtualAlgo2009 (const char *name, L2EmcDb *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 L2VirtualAlgo2009
static int readParams (const char *fileN, int mxPar, int *iPar, float *fPar)
 
- Protected Types inherited from L2VirtualAlgo2009
enum  { kMaximumNumberOfDsmMasks =4 }
 
enum  { par_cpuTicksPerSecond =1600000000 }
 
- Protected Member Functions inherited from L2VirtualAlgo2009
void setMaxHist (int k)
 
int finishCommonHistos ()
 
void computeStart ()
 
void computeStop (int token)
 
unsigned short swap_bytes (unsigned short in)
 
- Protected Attributes inherited from L2VirtualAlgo2009
bool algoIsOkay
 
bool useDsmMask
 
int nmasks
 
unsigned short DsmMask [kMaximumNumberOfDsmMasks][8]
 
EmcSwitch mSwitch
 
std::string mOutDir1
 
std::string mName1
 
L2EmcDbmDb
 
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 L2BtowCalibData09mEveStream_btow
 
const L2EtowCalibData09mEveStream_etow
 
unsigned long mComputeTimeStart
 
unsigned long mComputeTimeStop
 
unsigned long mComputeTimeDiff [L2eventStream2009::mxToken]
 
unsigned long mDecisionTimeStart
 
unsigned long mDecisionTimeStop
 
unsigned long mDecisionTimeDiff
 
unsigned long long mRunStartTicks
 
L2Histo ** hA
 
int mxHA
 

Detailed Description

Definition at line 25 of file L2jetAlgo2009.h.


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