StEEmcDb Class Reference

#include <StEEmcDb.h>

List of all members.

Public Member Functions

void setSectors (int, int)
 limit the range of sectors for speed
int getFirstSector () const
int getLastSector () const
void setThreshold (float x)
void setAsciiDatabase (const Char_t *dbfile)
void changeGains (char *fname)
void changeMask (char *fname)
const EEmcDbCrate * getFiber (int icr) const
void setFiberOff (int icr)
const int getNFiber () const
const EEmcDbItem * getByIndex (int ikey) const
 returns full DB info for one pixel
void exportAscii (const char *fname="eemcDbDump.dat") const
void print () const
const EEmcDbItem * getByCrate (int crateID, int channel) const
const EEmcDbItem * getByStrip0 (int isec, int iuv, int istrip) const
const EEmcDbItem * getByStrip (int sec, char uv, int strip) const
const EEmcDbItem * getTile (int sec, char sub, int eta, char type) const
const EEmcDbItem * getT (int sec, char sub, int eta) const
const EEmcDbItem * getP (int sec, char sub, int eta) const
const EEmcDbItem * getQ (int sec, char sub, int eta) const
const EEmcDbItem * getR (int sec, char sub, int eta) const
const EEmcDbItem * getU (int sec, int strip) const
const EEmcDbItem * getV (int sec, int strip) const
const EEmcDbItem * StBarrelIndex2Item (int StDetId, int Bmod, int Beta, int Bsub) const
void setPreferredFlavor (const char *flavor, const char *tableNameMask)
void setPreferedFlavor (const char *flavor, const char *tableNameMask)
int getFirstSecID () const
int getLastSecID () const
void setDBname (TString name)
int valid () const
float getKsigOverPed () const
 StEEmcDb (const Char_t *name="StEEmcDb")
void loadTables (StMaker *anyMaker)
 to access STAR-DB


Detailed Description

Author:
Jan Balewski
Interface to STAR-DB. Info from various DB tables is correlated for every ADC channel and stored in memory in mDbItem[]. mDbItem1[] has single index based on the channel name, calculated by EEname2index() utility.

Definition at line 42 of file StEEmcDb.h.


Member Function Documentation

const EEmcDbItem * StEEmcDb::StBarrelIndex2Item ( int  StDetId,
int  Bmod,
int  Beta,
int  Bsub 
) const

This method provides full DB information for a pixel INPUT Barrel-like indexes from EmcCollection, decoding must be consistent with /StRoot/StEEmcSimulatorMaker/StEEmcFastMakermEE2ST() OUTPUT: all avaliable DB information

Definition at line 938 of file StEEmcDb.cxx.


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

Generated on Thu Feb 9 04:27:22 2012 for StRoot by  doxygen 1.5.9