StSpaceChargeEbyEMaker Class Reference

#include <StSpaceChargeEbyEMaker.h>

Inheritance diagram for StSpaceChargeEbyEMaker:

StMaker

List of all members.

Public Member Functions

 StSpaceChargeEbyEMaker (const char *name="SCEbyE")
virtual Int_t Init ()
virtual Int_t Make ()
virtual Int_t Finish ()
virtual Int_t DecideSpaceCharge (int time)
void DoQAmode ()
void DoPrePassmode ()
void DoNtuple ()
void DoGaps ()
void DontReset ()
void DoCalib ()
float EvalCalib (TDirectory *hdir=0)
void setVtxEmcMatch (UInt_t x)
void setVtxTofMatch (UInt_t x)
void setVtxMinTrks (UInt_t x)
void setMinTpcHits (UInt_t x)
void setReqEmcMatch (Bool_t match=kTRUE)
void setReqTofMatch (Bool_t match=kTRUE)
virtual const char * GetCVS () const

Protected Member Functions

void BuildHist (int i)
void FindSpaceCharge ()
double FindPeak (TH1 *, float &)
float oldness (int i, int j=-1)
int imodHN (int i)
float FakeAutoSpaceCharge ()
void SetTableName ()
void WriteTableToFile ()
St_spaceChargeCor * SCTable ()
void InitQAHists ()
void WriteQAHists ()
void FillQAHists (float, float, int, StPhysicalHelixD &, int)
void FillGapHists (StTrack *, StPhysicalHelixD &, int, int)
void DetermineGaps ()
void DetermineGapHelper (TH2F *, float &, float &, float &)

Protected Attributes

StEventevent
int evt
int runid
int curhist
int lasttime
float sc
float esc
float lastsc
int oldevt
StRunInforuninfo
Bool_t did_auto
Bool_t Calibmode
Bool_t PrePassmode
Bool_t PrePassdone
Bool_t QAmode
Bool_t doNtuple
Bool_t doReset
Bool_t doGaps
UInt_t inGapRow
UInt_t vtxEmcMatch
UInt_t vtxTofMatch
UInt_t vtxMinTrks
UInt_t minTpcHits
Bool_t reqEmcMatch
Bool_t reqTofMatch
int HN
float MINTRACKS
float MAXDIFFE
float MAXDIFFA
float SCALER_ERROR
StMagUtilitiesm_ExB
TH1F * schist
TH1F * schists [96]
int times [96]
float ntrks [96]
int evts [96]
float evtstbin [96]
float evtsnow
TString tabname
TH1F * scehist
TH1F * timehist
TH3F * myhist
TH3F * myhistN
TH3F * myhistP
TH3F * myhistE
TH3F * myhistW
TH2F * dczhist
TH2F * dcehist
TH3F * dcphist
TH3F * dcahist
TH3F * dcahistN
TH3F * dcahistP
TH3F * dcahistE
TH3F * dcahistW
TH2F * gapZhist
TH2F * gapZhistneg
TH2F * gapZhistpos
TH1I * cutshist
TNtuple * ntup
float gapZfitslope
float egapZfitslope
float gapZfitintercept
float egapZfitintercept
float gapZdivslope
float egapZdivslope
float gapZfitslopeneg
float gapZfitinterceptneg
float gapZdivslopeneg
float gapZfitslopepos
float gapZfitinterceptpos
float gapZdivslopepos
float gapZfitslopeeast
float gapZfitintercepteast
float gapZdivslopeeast
float gapZfitslopewest
float gapZfitinterceptwest
float gapZdivslopewest


Detailed Description

StSpaceChargeEbyEMaker performs event-by-event determination of the space charge correction for tracks, and sets it for the next event.

Definition at line 28 of file StSpaceChargeEbyEMaker.h.


Member Function Documentation

Int_t StSpaceChargeEbyEMaker::Finish (  )  [virtual]

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

Reimplemented from StMaker.

Definition at line 118 of file StSpaceChargeEbyEMaker.cxx.

References kStOk.

Int_t StSpaceChargeEbyEMaker::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 162 of file StSpaceChargeEbyEMaker.cxx.

References kStFatal, kStOk, kStWarn, StBTofPidTraits::matchFlag(), and StEmcPosition::trackOnEmc().


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

Generated on Fri Feb 10 04:28:14 2012 for StRoot by  doxygen 1.5.9