St_tpcdaq_Maker Class Reference

#include <St_tpcdaq_Maker.h>

Inheritance diagram for St_tpcdaq_Maker:

StMaker

List of all members.

Public Member Functions

void SetCorrection (int)
int GetCorrection (void)
char SetSequenceMerging (char)
char WhetherToSwap (unsigned int x)
unsigned int Swap4 (char, unsigned int x)
unsigned short int Swap2 (char, unsigned short int x)
void ExcludeTheseTimeBins (int lo1, int hi1, int lo2, int hi2, int lo3, int hi3)
 St_tpcdaq_Maker (const char *name="tpc_raw", char *daqInputFile="undefined")
void OrderTheSequences (int nseq, StSequence *los)
void SeqWrite (St_raw_seq *raw_seq_gen, int rownum, int startTimeBin, int numberOfBinsInSequence)
void PixelWrite (St_type_shortdata *pixel_data_gen, St_type_shortdata *pixel_indx_gen, int rownum, unsigned short datum, unsigned short id)
void PadWrite (St_raw_pad *raw_pad_gen, int padR, int padOffset, int seqOffset, int nseq, int nSeqB4Offset, int pad)
void RowWrite (St_raw_row *raw_row_gen, int rownumber, int pixSave, int iseqSave, int nPixelThisPadRow, int nSeqThisPadRow, int offsetIntoPadTable, int nPadsWithSignal, int pixTblWhere, int ipadrow)
void MkTables (int isect, TDataSet *sector, St_raw_row **raw_row_in, St_raw_row **raw_row_out, St_raw_pad **raw_pad_in, St_raw_pad **raw_pad_out, St_raw_seq **raw_seq_in, St_raw_seq **raw_seq_out, St_type_shortdata **pixel_data_in, St_type_shortdata **pixel_data_out, St_type_shortdata **pixel_indx_in, St_type_shortdata **pixel_indx_out)
char * NameOfSector (int isect)
void PrintErr (int, char)
int Output ()
int getSector (Int_t isect)
int getPadList (int whichPadRow, unsigned char **padlist)
void AsicThresholds (float gain, int *nseq, StSequence **lst, UShort_t ***idt)
int getSequences (float gain, int whichPadRow, int pad, int *nseq, StSequence **seqList, UShort_t ***listOfIds)
void SetDAQFlag (Int_t)
 Method to set the DAQ Reading mode.
void SetNoiseEliminationStuff ()
void WriteStructToScreenAndExit ()
void SetConfig (Char_t *conf)
Char_t * GetConfig ()
virtual void SetMode (Int_t mode=0)
virtual Int_t Init ()
virtual Int_t InitRun (Int_t)
virtual Int_t Make ()
virtual const char * GetCVS () const

Public Attributes

int mNseqLo
int mNseqHi
int mThreshLo
int mThreshHi

Protected Attributes

TH1F * m_seq_startTimeBin
TH1F * m_seq_sequnceLength
TH1F * m_seq_padNumber
TH1F * m_seq_padRowNumber
TH1F * m_pad_numSeq
TH1F * m_pix_AdcValue


Detailed Description

Author:
Herbert Ward
Date:
started Feb 1 1999.

Definition at line 40 of file St_tpcdaq_Maker.h.


Member Function Documentation

Int_t St_tpcdaq_Maker::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 816 of file St_tpcdaq_Maker.cxx.

References kStErr, kStFatal, kStOK, kStOk, and StMaker::m_Mode.

char St_tpcdaq_Maker::SetSequenceMerging ( char  mergeSequences  ) 

Records the Sequence merging mode (and keep it once as this is a real callable maker unlike StDAQmaker() instantiated from StIOMaker() and not in the chain). Later use it for in DAQ mode (St_tpcdaq_Maker::getPadList) to enforce the same setting in StTPCReader via the similar SetSequenceMerging() method.

Definition at line 879 of file St_tpcdaq_Maker.cxx.


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

Generated on Fri Feb 10 04:27:58 2012 for StRoot by  doxygen 1.5.9