StSpinDbMaker Class Reference

#include <StSpinDbMaker.h>

Inheritance diagram for StSpinDbMaker:

StMaker

List of all members.

Public Member Functions

bool isPolDir (enum spinDbEnum)
void print (int level=0)
 vs. STAR==yellow bXing
bool isValid ()
 dump spinDb content for current time stamp
bool isPolDirTrans ()
 true if all needed DB tables were found
bool isPolDirLong ()
 Returns true if beams are transversely polarized, false otherwise.
int spin8usingBX48 (int bx48)
 Returns true if beams are longitudinally polarized, false otherwise.
int spin4usingBX48 (int bx48)
 8bit spin information
int BXyellowUsingBX48 (int bx48)
 4bit spin information
int BX48offset ()
 bXing at STAR IP, [0,119]
bool isBXfilledUsingBX48 (int bx48)
 STAR==yellow bXing=(bx48+48off)120.
bool isMaskedUsingBX48 (int bx48)
int spin8usingBX7 (int bx7)
int spin4usingBX7 (int bx7)
 8bit spin information
int BXyellowUsingBX7 (int bx7)
 4bit spin information
int BX7offset ()
 bXing at STAR IP, [0,119]
bool isBXfilledUsingBX7 (int bx7)
 STAR==yellow bXing=(bx7+7off)120.
int offsetBX48minusBX7 (int bx48, int bx7)
bool isBXfilledUsingBXyellow (int bxStar)
 should be zero for every run
bool isBXmaskedUsingBXyellow (int bxStar)
int numberOfFilledBunchesBlue ()
int numberOfFilledBunchesYellow ()
TString cadPolPattern ()
bool isBXfilledUsingInternalBX (int bx)
 defined only for 2005 run by CAD , based on first 4 filled bunches in both rings. Note, those pairs do NOT collide at STAR with each other.
const char * getV124comment ()
int BXstarUsingBX48 (int bx48)
int BXstarUsingBX7 (int bx7)
 bXing at STAR IP, [0,119]
const unsigned char * getRawV124bits ()
 bXing at STAR IP, [0,119]
const int * getBucketOffsets ()
 experts only
const int * getSpin8bits ()
 experts only
 StSpinDbMaker (const char *name="SpinDbMaker")
 experts only
virtual Int_t Init ()
virtual Int_t Make ()
virtual Int_t InitRun (int runumber)
 to access STAR-DB
virtual const char * GetCVS () const

Public Attributes

int spin8bits [SPINDbMaxBXings]
 defined at cstructs/spinConstDB.hh
int spin4bits [SPINDbMaxBXings]
 vs. STAR==yellow bXing


Detailed Description

Author:
Jan Balewski

Definition at line 21 of file StSpinDbMaker.h.


Member Function Documentation

Int_t StSpinDbMaker::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 206 of file StSpinDbMaker.cxx.

References kStOK.

void StSpinDbMaker::print ( int  level = 0  ) 

vs. STAR==yellow bXing

Note, -1 or false is returned if input is invalid.

Definition at line 464 of file StSpinDbMaker.cxx.

References BX48offset(), BX7offset(), getBucketOffsets(), getRawV124bits(), isBXfilledUsingBX48(), isPolDirLong(), isPolDirTrans(), isValid(), spin4usingBX48(), and spin8usingBX48().

Referenced by StEEmcPi0Analysis::InitRun(), and StEEmcIUPi0Analysis::InitRun().


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

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