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

Public Member Functions

 StFmsDbMaker (const Char_t *name="fmsDb")
 
virtual Int_t Init ()
 
virtual Int_t InitRun (Int_t runNumber)
 
virtual Int_t Make ()
 
virtual Int_t Finish ()
 
virtual void Clear (const Char_t *opt)
 
void setDebug (Int_t debug)
 debug mode, 0 for minimal message, >0 for more debug messages
 
fmsChannelGeometry_st * ChannelGeometry ()
 getting the whole table
 
fmsDetectorPosition_st * DetectorPosition ()
 getting the whole table
 
fmsMap_st * Map ()
 
fmsPatchPanelMap_st * PatchPanelMap ()
 
fmsQTMap_st * QTMap ()
 
fmsGain_st * Gain ()
 
fmsGainCorrection_st * GainCorrection ()
 
fmsRec_st * RecPar ()
 
fpsConstant_st * FpsConstant ()
 
fpsChannelGeometry_st ** FpsChannelGeometry ()
 
fpsSlatId_st * FpsSlatId ()
 
fpsPosition_st * FpsPosition ()
 
fpsMap_st * FpsMap ()
 
fpsGain_st * FpsGain ()
 
fpostConstant_st * FpostConstant ()
 
fpostChannelGeometry_st ** FpostChannelGeometry ()
 
fpostSlatId_st * FpostSlatId ()
 
fpostPosition_st * FpostPosition ()
 
fpostMap_st * FpostMap ()
 
fpostGain_st * FpostGain ()
 
UShort_t maxDetectorId ()
 Utility functions related to FMS ChannelGeometry. More...
 
Int_t detectorId (Int_t ew, Int_t ns, Int_t type)
 maximum value of detector Id
 
Int_t eastWest (Int_t detectorId)
 convert to detector Id
 
Int_t northSouth (Int_t detectorId)
 east or west to the STAR IP
 
Int_t largeSmall (Int_t detectorId)
 north or south side
 
Int_t type (Int_t detectorId)
 large or small cells for FMS
 
Int_t nRow (Int_t detectorId)
 type of the detector
 
Int_t nColumn (Int_t detectorId)
 number of rows
 
UShort_t maxChannel (Int_t detectorId) const
 number of column
 
Int_t getRowNumber (Int_t detectorId, Int_t ch)
 maximum number of channels
 
Int_t getColumnNumber (Int_t detectorId, Int_t ch)
 get the row number for the channel
 
Int_t getChannelNumber (Int_t detectorId, Int_t row, Int_t column)
 get the column number for the channel
 
StThreeVectorF getDetectorOffset (Int_t detectorId)
 get the channel number More...
 
Float_t getXWidth (Int_t detectorId)
 get the offset of the detector
 
Float_t getYWidth (Int_t detectorId)
 get the X width of the cell
 
StThreeVectorF getStarXYZ (Int_t detectorId, Float_t FmsX, Float_t FmsY)
 get the Y width of the cell More...
 
StThreeVectorF getStarXYZ (Int_t detectorId, Double_t FmsX, Double_t FmsY)
 get the STAR frame coordinates from local X/Y [cm] More...
 
StThreeVectorF getStarXYZ (Int_t detectorId, Int_t column, int row)
 get the STAR frame coordinates from local X/Y [cm] More...
 
StThreeVectorF getStarXYZfromColumnRow (Int_t detectorId, Float_t column, Float_t row)
 get the STAR frame coordinates from column/row More...
 
StThreeVectorF getStarXYZ (StFmsHit *)
 get the STAR frame coordinates from column/row grid space [unit is cell size] More...
 
StThreeVectorF getStarXYZ (Int_t detectorId, Int_t ch)
 get the STAR frame coordinates from StFmsHit More...
 
Float_t getPhi (Int_t detectorId, Float_t FmsX, Float_t FmsY)
 get the STAR frame cooridnates for center of the cell
 
Float_t getEta (Int_t detectorId, Float_t FmsX, Float_t FmsY, Float_t Vertex)
 get the STAR frame phi angle from from local X/Y [cm]
 
StLorentzVectorF getLorentzVector (const StThreeVectorF &xyz, Float_t energy)
 get the STAR frame pseudo rapidity from the vertex from local X/Y [cm]
 
Float_t distanceFromEdge (Int_t det, Float_t x, Float_t y, int &edge)
 get 4 vector assuing m=0 and taking beamline from DB
 
Float_t distanceFromEdge (StFmsPoint *point, int &edge)
 
Int_t nCellHole (Int_t det)
 
Int_t nCellCorner (Int_t det)
 
Int_t maxMap ()
 fmsMap related More...
 
void getMap (Int_t detectorId, Int_t ch, Int_t *qtCrate, Int_t *qtSlot, Int_t *qtChannel)
 
void getReverseMap (Int_t qtCrate, Int_t qtSlot, Int_t qtChannel, Int_t *detectorId, Int_t *ch) const
 
Int_t maxModule ()
 fmsPatchPanelMap related More...
 
Int_t maxNS ()
 fmsQTMap related More...
 
Int_t maxGain ()
 fmsGain/GainCorrection/Bitshift related More...
 
Int_t maxGainCorrection ()
 
Int_t maxBitShiftGain ()
 
Float_t getGain (Int_t detectorId, Int_t ch) const
 
Float_t getGainCorrection (Int_t detectorId, Int_t ch) const
 get the gain for the channel
 
Short_t getBitShiftGain (Int_t detectorId, Int_t ch) const
 get the gain correction for the channel
 
unsigned short getCorrectedAdc (unsigned short detectorId, unsigned short ch, unsigned short adc) const
 get the bit shift gain for the channel
 
unsigned short getCorrectedAdc (StFmsHit *hit) const
 
void forceUniformGain (float v)
 
void forceUniformGainCorrection (float v)
 force gain to be specified value
 
void forceUniformBitShiftGain (short v)
 force gaincorr to be specified value
 
void readGainFromText (int v=1)
 force bits hift gain to be specified value
 
void readGainCorrFromText (int v=1)
 force gain to be read from FmsGain.txt
 
void readBitShiftGainFromText (int v=1)
 force gain corr to be read from FmsGainCorr.txt
 
float getTimeDepCorr (int event, int det, int ch)
 force bit shift to be read from FmsBitShiftGain.txt More...
 
StFmsDbConfiggetRecConfig ()
 
void readRecParamFromFile (int v=1)
 
Int_t fpsNQuad ()
 FPS related.
 
Int_t fpsNLayer ()
 
Int_t fpsMaxSlat ()
 
Int_t fpsMaxQTaddr ()
 
Int_t fpsMaxQTch ()
 
Int_t fpsMaxSlatId ()
 
Int_t fpsNSlat (int quad, int layer)
 
Int_t fpsSlatId (int quad, int layer, int slat)
 
void fpsQLSfromSlatId (int slatid, int *quad, int *layer, int *slat)
 
void fpsPosition (int slatid, float xyz[3], float dxyz[3])
 
void fpsPosition (int quad, int layer, int slat, float xyz[3], float dxyz[3])
 
void fpsQTMap (int slatid, int *QTaddr, int *QTch)
 
Int_t fpsSlatidFromQT (int QTaddr, int QTch)
 
void fpsQLSFromQT (int QTaddr, int QTch, int *quad, int *layer, int *slat)
 
Float_t fpsGain (int slatid)
 
Float_t fpsGain (int quad, int layer, int slat)
 
Float_t fpsMipSigma (int slatid)
 
Float_t fpsMipSigma (int quad, int layer, int slat)
 
Float_t fpsValley (int slatid)
 
Float_t fpsValley (int quad, int layer, int slat)
 
UShort_t fpsStatus (int slatid)
 
UShort_t fpsStatus (int quad, int layer, int slat)
 
Int_t fpsSlatIdFromG2t (int g2tvolid)
 
Int_t fpostNQuad ()
 FPost related.
 
Int_t fpostNLayer ()
 
Int_t fpostMaxSlat ()
 
Int_t fpostMaxQTaddr ()
 
Int_t fpostMaxQTch ()
 
Int_t fpostMaxSlatId ()
 
Int_t fpostNSlat (int quad, int layer)
 
Int_t fpostSlatId (int quad, int layer, int slat)
 
void fpostQLSfromSlatId (int slatid, int *quad, int *layer, int *slat)
 
void fpostPosition (int slatid, float xyz[3], float dxyz[3], float *angle)
 
void fpostPosition (int quad, int layer, int slat, float xyz[3], float dxyz[3], float *angle)
 
void fpostQTMap (int slatid, int *QTaddr, int *QTch)
 
Int_t fpostSlatidFromQT (int QTaddr, int QTch)
 
void fpostQLSFromQT (int QTaddr, int QTch, int *quad, int *layer, int *slat)
 
Float_t fpostGain (int slatid)
 
Float_t fpostGain (int quad, int layer, int slat)
 
Float_t fpostMipSigma (int slatid)
 
Float_t fpostMipSigma (int quad, int layer, int slat)
 
Float_t fpostValley (int slatid)
 
Float_t fpostValley (int quad, int layer, int slat)
 
UShort_t fpostStatus (int slatid)
 
UShort_t fpostStatus (int quad, int layer, int slat)
 
Int_t fpostSlatIdFromG2t (int g2tvolid)
 
void dumpFmsChannelGeometry (const Char_t *filename="dumpFmsChannelGeometry.txt")
 text dump for debugging
 
void dumpFmsDetectorPosition (const Char_t *filename="dumpFmsDetectorPosition.txt")
 
void dumpFmsMap (const Char_t *filename="dumpFmsMap.txt")
 
void dumpFmsPatchPanelMap (const Char_t *filename="dumpFmsPatchPanelMap.txt")
 
void dumpFmsQTMap (const Char_t *filename="dumpFmsQTMap.txt")
 
void dumpFmsGain (const Char_t *filename="dumpFmsGain.txt")
 
void dumpFmsGainCorrection (const Char_t *filename="dumpFmsGainCorrection.txt")
 
void dumpFmsBitShiftGain (const Char_t *filename="dumpFmsBitShiftGain.txt")
 
void dumpFmsTimeDepCorr (const Char_t *filename="dumpFmsTimeDepCorr.txt")
 
void dumpFmsRec (const Char_t *filename="dumpFmsRec.txt")
 
void dumpFpsConstant (const Char_t *filename="dumpFpsConstant.txt")
 
void dumpFpsChannelGeometry (const Char_t *filename="dumpFpsChannelGeometry.txt")
 
void dumpFpsSlatId (const Char_t *filename="dumpSlatId.txt")
 
void dumpFpsPosition (const Char_t *filename="dumpFpsPosition.txt")
 
void dumpFpsMap (const Char_t *filename="dumpFpsMap.txt")
 
void dumpFpsGain (const Char_t *filename="dumpFpsGain.txt")
 
void dumpFpsStatus (const Char_t *filename="dumpFpsStatus.txt")
 
void dumpFpostConstant (const Char_t *filename="dumpFpostConstant.txt")
 
void dumpFpostChannelGeometry (const Char_t *filename="dumpFpostChannelGeometry.txt")
 
void dumpFpostSlatId (const Char_t *filename="dumpSlatId.txt")
 
void dumpFpostPosition (const Char_t *filename="dumpFpostPosition.txt")
 
void dumpFpostMap (const Char_t *filename="dumpFpostMap.txt")
 
void dumpFpostGain (const Char_t *filename="dumpFpostGain.txt")
 
void dumpFpostStatus (const Char_t *filename="dumpFpostStatus.txt")
 
- Public Member Functions inherited from StMaker
 StMaker (const char *name="", const char *dummy=0)
 Constructor & Destructor.
 
virtual Int_t IsChain () const
 
virtual void Clear (Option_t *option="")
 User defined functions.
 
virtual void StartMaker ()
 
virtual Int_t IMake (Int_t number)
 
virtual void EndMaker (Int_t ierr)
 
virtual Int_t FinishRun (Int_t oldrunumber)
 
virtual void FatalErr (Int_t Ierr, const char *Com)
 
virtual void PrintInfo ()
 
virtual void NotifyMe (const char *, const void *)
 
virtual void AddMaker (StMaker *mk)
 
virtual void MakeDoc (const TString &, const TString &, Bool_t)
 
virtual void AddData (TDataSet *data, const char *dir=".data")
 User methods.
 
virtual TDataSetAddObj (TObject *obj, const char *dir, int owner=1)
 
virtual TDataSetToWhiteBoard (const char *name, void *dat)
 
virtual TDataSetToWhiteBoard (const char *name, void *dat, void *del)
 
virtual TDataSetToWhiteBoard (const char *name, TObject *dat, Int_t owner)
 
virtual TDataSetToWhiteConst (const char *name, TObject *dat)
 
virtual TDataSetToWhiteConst (const char *name, void *dat)
 
virtual TDataSetWhiteBoard (const char *name, void *v=0) const
 
virtual Int_t Skip (Int_t nskip)
 
virtual void AddConst (TDataSet *data=0)
 
virtual void AddHist (TH1 *h, const char *dir=0)
 
virtual void AddGarb (TDataSet *data=0)
 
virtual void AddRunco (TDataSet *data=0)
 
virtual void AddRunco (Double_t par, const char *name, const char *comment)
 
void AddRunCont (TDataSet *data=0)
 
virtual TList * GetHistList () const
 
virtual TH1 * GetHist (const char *histName) const
 
virtual StMakercd ()
 
virtual StMakerCd ()
 
virtual Int_t GetNumber () const
 STAR methods.
 
virtual void SetNumber (Int_t number)
 
virtual StMakerGetParentChain () const
 
virtual Int_t GetIventNumber () const
 Returns the current event number.
 
virtual void SetIventNumber (Int_t iv)
 
virtual Int_t GetEventNumber () const
 
virtual Int_t GetRunNumber () const
 Returns the current RunNumber.
 
virtual const TDatime & GetDateTime () const
 
virtual const TDatime & GetDBTime () const
 
virtual void SetDateTime (Int_t idat, Int_t itim)
 
virtual StEvtHddrGetEvtHddr () const
 
virtual Int_t GetDate () const
 
virtual Int_t GetTime () const
 
virtual const char * GetEventType () const
 
virtual TDataSetGetData (const char *name, const char *dir=".data") const
 
virtual TDataSetGetData () const
 
virtual TDataSetGetConst () const
 
virtual TDataSetGetDataSet (const char *logInput) const
 
virtual TDataSetDataSet (const char *logInput) const
 
virtual TDataSetGetInputDS (const char *logInput) const
 
virtual TDataSetGetDataBase (const char *logInput, const TDatime *td=0)
 
virtual TDataSetGetInputDB (const char *logInput)
 
virtual Int_t GetDebug () const
 
virtual Int_t Debug () const
 
virtual Int_t GetMakeReturn () const
 
virtual TList * Histograms () const
 
virtual TString GetAlias (const char *log, const char *dir=".aliases") const
 
virtual TString GetInput (const char *log) const
 
virtual TString GetOutput (const char *log) const
 
virtual TList * GetMakeList () const
 
virtual StMakerGetParentMaker () const
 
virtual StMakerGetMaker (const char *mkname)
 
virtual StMakerGetMakerInheritsFrom (const char *mktype) const
 
virtual Bool_t IsActive ()
 
virtual StMakerMaker (const char *mkname)
 
virtual void SetBIT (EMakerStatus k)
 Maker Status Bits.
 
virtual void ResetBIT (EMakerStatus k)
 
virtual Bool_t TestBIT (EMakerStatus k)
 
virtual void SetActive (Bool_t k=kTRUE)
 Setters for flags and switches.
 
virtual void SetDebug (Int_t l=1)
 
virtual void SetDEBUG (Int_t l=1)
 
virtual void SetFlavor (const char *flav, const char *tabname)
 
virtual void SetMakeReturn (Int_t ret)
 
virtual void SetAlias (const char *log, const char *act, const char *dir=".aliases")
 
virtual void AddAlias (const char *log, const char *act, const char *dir=".aliases")
 
virtual void SetInput (const char *log, const char *act)
 
virtual void SetOutput (const char *log, const char *act)
 
virtual void SetOutput (const char *log, TDataSet *ds)
 
virtual void SetOutput (TDataSet *ds)
 
virtual void SetOutputAll (TDataSet *ds, Int_t level=1)
 
virtual void SetMode (Int_t mode=0)
 
virtual void SetNotify (const char *about, StMaker *mk)
 
virtual Int_t GetMode ()
 
virtual Int_t GetDebug ()
 
virtual const StChainOptGetChainOpt () const
 
virtual TFile * GetTFile () const
 
virtual void NotifyEm (const char *about, const void *ptr)
 
virtual Double_t RealTime ()
 
virtual Double_t CpuTime ()
 
virtual void StartTimer (Bool_t reset=kFALSE)
 
virtual void StopTimer ()
 
virtual void PrintTimer (Option_t *option="")
 
virtual void PrintTotalTime ()
 
virtual const char * GetName () const
 special overload
 
TObject * GetDirObj (const char *dir) const
 
void SetDirObj (TObject *obj, const char *dir)
 
Int_t SetAttr (const char *key, const char *val, const char *to=".")
 
Int_t SetAttr (const char *key, Int_t val, const char *to=".")
 
Int_t SetAttr (const char *key, UInt_t val, const char *to=".")
 
Int_t SetAttr (const char *key, Double_t val, const char *to=".")
 
Int_t SetAttr (const StMaker *mk)
 
Int_t RemAttr (const char *key, const char *to=".")
 
const TAttrGetAttr () const
 
Int_t IAttr (const char *key) const
 
UInt_t UAttr (const char *key) const
 
Double_t DAttr (const char *key) const
 
const char * SAttr (const char *key) const
 
void PrintAttr () const
 
- 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.
 
TDataSetAt (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 TDataSetFind (const char *path) const
 
virtual TDataSetFindByName (const char *name, const char *path="", Option_t *opt="") const
 
virtual TDataSetFindByPath (const char *path) const
 Aliase for TDataSet::Find(const Char_t *path) method.
 
virtual TDataSetFindByTitle (const char *title, const char *path="", Option_t *opt="") const
 
TObject * FindObject (const char *name) const
 
TObject * FindObject (const TObject *o) const
 
virtual TDataSetFirst () 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 TDataSetGetParent () const
 
virtual Long_t HasData () const
 
virtual TDataSetInstance () 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 TDataSetRemoveAt (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 TDataSetLast () 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 TDataSetNext () const
 
virtual TDataSetPrev () 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 StMaker
enum  EDebugLevel { kNormal, kDebug }
 
enum  { kSTAFCV_BAD, kSTAFCV_OK, kSTAFCV_ERR =2, kSTAFCV_FATAL =3 }
 
enum  EMakerStatus {
  kInitBeg = 1, kInitEnd = 2, kMakeBeg = 3, kCleaBeg = 4,
  kFiniBeg = 5, kFiniEnd = 6, kActive = 7
}
 
- 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 StMaker
static StMakerNew (const char *classname, const char *name="", void *title=0)
 
static StMakerGetTopChain ()
 
static StMakerGetChain ()
 
static StMakerGetFailedMaker ()
 
static StMakerGetMaker (const TDataSet *ds)
 Static functions.
 
static EDataSetPass ClearDS (TDataSet *ds, void *user)
 
static const char * RetCodeAsString (Int_t kode)
 
static Int_t AliasDate (const char *alias)
 
static Int_t AliasTime (const char *alias)
 
static const char * AliasGeometry (const char *alias)
 
static const DbAlias_tGetDbAliases ()
 
static void SetTestMaker (StTestMaker *mk)
 
static Int_t Cleanup (TDataSet *&ds)
 
static void lsMakers (const StMaker *top)
 
- Static Public Member Functions inherited from TDataSet
static TDataSetGetMainSet ()
 return pointer to the main dataset
 
static TDataSetinstance ()
 
- Public Attributes inherited from StMaker
enum StMaker:: { ... }  EModule_return_Status
 
- Protected Member Functions inherited from StMaker
StMessMgrGetLogger () const
 
virtual TDataSetFindDataSet (const char *logInput, const StMaker *uppMk=0, const StMaker *dowMk=0) const
 
- 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
 
TDataSetGetRealParent ()
 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 StMaker
TDataSetm_DataSet
 
TDataSetm_ConstSet
 
TDataSetm_GarbSet
 
TDataSetm_Inputs
 
TDataSetm_Ouputs
 list of logInput:ActualInput
 
TDataSetm_Runco
 list of logOuput:ActualOuput
 
TList * m_Histograms
 Run Control parameters.
 
Int_t fTallyMaker [kStFatal+1]
 counters
 
Int_t m_Mode
 counters
 
Int_t m_Number
 Integer mode of maker.
 
Int_t m_LastRun
 Serial event number.
 
Int_t m_DebugLevel
 Last Run number.
 
Int_t m_MakeReturn
 Debug level.
 
TStopwatch m_Timer
 Make() return flag.
 
StMemStatfMemStatMake
 Timer object.
 
StMemStatfMemStatClear
 StMemStat for Make.
 
Int_t fStatus
 StMemStat for Clear.
 
StMessMgrfLogger
 Maker status.
 
StTurnLoggerfLoggerHold
 
- Protected Attributes inherited from TDataSet
TDataSetfParent
 
TSeqCollection * fList
 
- Static Protected Attributes inherited from StMaker
static StMakerfgTopChain = 0
 list of Histograms
 
static StMakerfgStChain = 0
 pointer to top StChain
 
static StMakerfgFailedMaker = 0
 current pointer to StChain
 
static StTestMakerfgTestMaker = 0
 current pointer to failed maker
 
static Int_t fgTallyMaker [kStFatal+1] = {0,0,0,0,0}
 
- Static Protected Attributes inherited from TDataSet
static TDataSetfgMainSet = &mainSet
 

Detailed Description

Definition at line 125 of file StFmsDbMaker.h.

Member Function Documentation

Int_t StFmsDbMaker::Finish ( )
virtual

Terminate a run. Place to make operations on histograms, normalization,etc.

Reimplemented from StMaker.

Definition at line 179 of file StFmsDbMaker.cxx.

References kStOK.

StThreeVectorF StFmsDbMaker::getDetectorOffset ( Int_t  detectorId)

get the channel number

Utility functions related to DetectorPosition

Definition at line 1364 of file StFmsDbMaker.cxx.

References maxChannel().

StThreeVectorF StFmsDbMaker::getStarXYZ ( Int_t  detectorId,
Float_t  FmsX,
Float_t  FmsY 
)

get the Y width of the cell

get coordinates in STAR frame from local XY (in row/column space [cm])

north side

south side

Definition at line 1213 of file StFmsDbMaker.cxx.

References detectorId(), getXWidth(), getYWidth(), northSouth(), and nRow().

Referenced by getEta(), getPhi(), getStarXYZ(), getStarXYZfromColumnRow(), and StFmsEventDisplay::Make().

StThreeVectorF StFmsDbMaker::getStarXYZ ( Int_t  detectorId,
Double_t  FmsX,
Double_t  FmsY 
)

get the STAR frame coordinates from local X/Y [cm]

get coordinates in STAR frame from local XY (in row/column space [cm])

Definition at line 1208 of file StFmsDbMaker.cxx.

References getStarXYZ().

StThreeVectorF StFmsDbMaker::getStarXYZ ( Int_t  detectorId,
Int_t  column,
int  row 
)

get the STAR frame coordinates from local X/Y [cm]

get coordinates of center of the cell STAR frame from detectorId/row/column

Definition at line 1192 of file StFmsDbMaker.cxx.

References getStarXYZfromColumnRow().

StThreeVectorF StFmsDbMaker::getStarXYZ ( StFmsHit hit)

get the STAR frame coordinates from column/row grid space [unit is cell size]

get coordinates of center of the cell STAR frame from StFmsHit

Definition at line 1203 of file StFmsDbMaker.cxx.

References getStarXYZ().

StThreeVectorF StFmsDbMaker::getStarXYZ ( Int_t  detectorId,
Int_t  ch 
)

get the STAR frame coordinates from StFmsHit

get coordinates of center of the cell in STAR frame from detectorId/ch

Definition at line 1187 of file StFmsDbMaker.cxx.

References getColumnNumber(), getRowNumber(), and getStarXYZ().

StThreeVectorF StFmsDbMaker::getStarXYZfromColumnRow ( Int_t  detectorId,
Float_t  column,
Float_t  row 
)

get the STAR frame coordinates from column/row

get coordinates of center of the cell STAR frame from detectorId/row/column grid space [unit is cell size]

Definition at line 1198 of file StFmsDbMaker.cxx.

References getStarXYZ(), getXWidth(), and getYWidth().

Referenced by getStarXYZ().

float StFmsDbMaker::getTimeDepCorr ( int  event,
int  det,
int  ch 
)

force bit shift to be read from FmsBitShiftGain.txt

fmsTimeDepCorr

fmsTimeDepCorr relayed

Definition at line 1449 of file StFmsDbMaker.cxx.

Referenced by StFmsHitMaker::Make().

Int_t StFmsDbMaker::InitRun ( Int_t  runNumber)
virtual

Accessing DBs

Getting DB tables

fmsChannelGeometry

fmsDetectorPosition

fmsPositionModel

fmsPatchPanelMap

LOG_INFO << mMaxModule << "***********" << endm;

fmsQTMap

fmsMap

fmsGain

fmsGainCorrection

fmsBitShiftGain

fmsTimeDepCorr

fmsRec

fpsConstant

fpsChannelGeometry

fpsSlatId

fpsPosition

fpsMap

fpsGain

fpsStatus

fpostConstant

fpostChannelGeometry

fpostSlatId

fpostPosition

fpostMap

fpostGain

fpostStatus

Debug

Reimplemented from StMaker.

Definition at line 181 of file StFmsDbMaker.cxx.

References detectorId(), dumpFmsChannelGeometry(), TDataSet::Find(), fpostNQuad(), fpsNQuad(), kStFatal, kStOK, maxChannel(), and maxDetectorId().

Int_t StFmsDbMaker::Make ( )
virtual

The Make() method is the one responsible for calling the maker's InitRun(). Note that that InitRun() is called for real data and if both of the following are true

  • a header exists
  • the run number changes

This is the ONLY place calling the InitRun() routine.

check privilege to skip event

Reimplemented from StMaker.

Definition at line 177 of file StFmsDbMaker.cxx.

References kStOK.

UShort_t StFmsDbMaker::maxDetectorId ( )

Utility functions related to FMS ChannelGeometry.

ChannelGeometry.

Definition at line 1280 of file StFmsDbMaker.cxx.

Referenced by dumpFmsChannelGeometry(), and InitRun().

Int_t StFmsDbMaker::maxGain ( )

fmsGain/GainCorrection/Bitshift related

fmsGain/GainCorrection

Definition at line 1410 of file StFmsDbMaker.cxx.

Int_t StFmsDbMaker::maxMap ( )

fmsMap related

fmsMap

Definition at line 1381 of file StFmsDbMaker.cxx.

Int_t StFmsDbMaker::maxModule ( )

fmsPatchPanelMap related

fmsPatchPanelMap

Definition at line 1404 of file StFmsDbMaker.cxx.

Int_t StFmsDbMaker::maxNS ( )

fmsQTMap related

fmsQTMap()

Definition at line 1407 of file StFmsDbMaker.cxx.


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