StRoot
1
|
#include <StEEmcDb.h>
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 | |
Public Member Functions inherited from TDataSet | |
TDataSet (const char *name="", TDataSet *parent=0, Bool_t arrayFlag=kFALSE) | |
TDataSet (const TDataSet &src, EDataSetPass iopt=kAll) | |
TDataSet (TNode &src) | |
This copy ctor has been depricated (left for thwe sake of the backweard compatibility) | |
virtual | ~TDataSet () |
std::cout << "Default destructor for " << GetName() << " - " << GetTitle() << std::endl; | |
virtual void | Add (TDataSet *dataset) |
virtual void | AddAt (TDataSet *dataset, Int_t idx=0) |
virtual void | AddAtAndExpand (TDataSet *dataset, Int_t idx=0) |
virtual void | AddFirst (TDataSet *dataset) |
Add TDataSet object at the beginning of the dataset list of this dataset. | |
virtual void | AddLast (TDataSet *dataset) |
Add TDataSet object at the end of the dataset list of this dataset. | |
TDataSet * | At (Int_t idx) const |
virtual void | Browse (TBrowser *b) |
Browse this dataset (called by TBrowser). | |
virtual TObject * | Clone (const char *newname="") const |
the custom implementation fo the TObject::Clone | |
virtual void | Delete (Option_t *opt="") |
virtual TDataSet * | Find (const char *path) const |
virtual TDataSet * | FindByName (const char *name, const char *path="", Option_t *opt="") const |
virtual TDataSet * | FindByPath (const char *path) const |
Aliase for TDataSet::Find(const Char_t *path) method. | |
virtual TDataSet * | FindByTitle (const char *title, const char *path="", Option_t *opt="") const |
TObject * | FindObject (const char *name) const |
TObject * | FindObject (const TObject *o) const |
virtual TDataSet * | First () const |
Return the first object in the list. Returns 0 when list is empty. | |
TObjArray * | GetObjArray () const |
virtual TSeqCollection * | GetCollection () const |
TList * | GetList () const |
virtual Int_t | GetListSize () const |
TObject * | GetMother () const |
virtual TObject * | GetObject () const |
The depricated method (left here for the sake of the backward compatibility) | |
virtual TDataSet * | GetParent () const |
virtual Long_t | HasData () const |
virtual TDataSet * | Instance () const |
virtual TString | Path () const |
return the full path of this data set | |
virtual EDataSetPass | Pass (EDataSetPass(*callback)(TDataSet *), Int_t depth=0) |
virtual EDataSetPass | Pass (EDataSetPass(*callback)(TDataSet *, void *), void *user, Int_t depth=0) |
virtual void | PrintContents (Option_t *opt="") const |
virtual Int_t | Purge (Option_t *opt="") |
virtual void | Remove (TDataSet *set) |
Remiove the "set" from this TDataSet. | |
virtual TDataSet * | RemoveAt (Int_t idx) |
virtual void | SetMother (TDataSet *parent=0) |
virtual void | SetObject (TObject *obj) |
The depricated method (left here for the sake of the backward compatibility) | |
virtual void | SetParent (TDataSet *parent=0) |
virtual void | SetWrite () |
virtual void | Shunt (TDataSet *newParent=0) |
virtual void | Sort () |
Sort recursively all members of the TDataSet with TList::Sort method. | |
virtual Bool_t | IsEmpty () const |
return kTRUE if the "internal" collection has no member | |
virtual Bool_t | IsFolder () const |
virtual Bool_t | IsMarked () const |
virtual Bool_t | IsThisDir (const char *dirname, int len=-1, int ignorecase=0) const |
virtual TDataSet * | Last () const |
Return the last object in the list. Returns 0 when list is empty. | |
virtual void | ls (Option_t *option="") const |
virtual void | ls (Int_t depth) const |
void | Mark () |
void | UnMark () |
void | MarkAll () |
Mark all members of this dataset. | |
void | UnMarkAll () |
UnMark all members of this dataset. | |
void | InvertAllMarks () |
Invert mark bit for all members of this dataset. | |
void | Mark (UInt_t flag, EBitOpt reset=kSet) |
virtual TDataSet * | Next () const |
virtual TDataSet * | Prev () const |
virtual void | Update () |
virtual void | Update (TDataSet *set, UInt_t opt=0) |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const |
Additional Inherited Members | |
Public Types inherited from TDataSet | |
enum | EDataSetPass { kContinue, kPrune, kStop, kUp, kStruct, kAll, kRefs, kMarked } |
enum | ESetBits { kMark = BIT(22), kArray = BIT(20) } |
enum | EBitOpt { kSet = kTRUE, kReset = kFALSE } |
Static Public Member Functions inherited from TDataSet | |
static TDataSet * | GetMainSet () |
return pointer to the main dataset | |
static TDataSet * | instance () |
Protected Member Functions inherited from TDataSet | |
virtual void | SetMother (TObject *mother) |
TDataSet (const char *name, const char *title) | |
void | AddMain (TDataSet *set) |
add data set to main data set | |
TDataSet * | GetRealParent () |
return real parent | |
void | MakeCollection () |
Create the internal container at once if any. | |
Static Protected Member Functions inherited from TDataSet | |
static EDataSetPass | SortIt (TDataSet *ds) |
static EDataSetPass | SortIt (TDataSet *ds, void *user) |
Protected Attributes inherited from TDataSet | |
TDataSet * | fParent |
TSeqCollection * | fList |
Static Protected Attributes inherited from TDataSet | |
static TDataSet * | fgMainSet = &mainSet |
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.
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/StEEmcFastMaker::mEE2ST() OUTPUT: all avaliable DB information
Definition at line 938 of file StEEmcDb.cxx.