StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StSCReader.h
1 /***************************************************************************
2  *
3  *
4  *
5  * Author: Herbert Ward
6  ***************************************************************************
7  *
8  * Description: Offline Wrapper for DAQ SC reader functions
9  *
10  ***************************************************************************
11  *
12  *
13  *
14  **************************************************************************/
15 #ifndef _StSCReader_
16 #define _StSCReader_
17 
18 class TDataSet;
19 struct sc_t;
20 
22 {
23  public:
24  StSCReader(sc_t *daqLegacy, unsigned int utime);
25  virtual ~StSCReader();
26  char thereIsSCData(); // returns FALSE if there is no SC data in the .daq file
27  virtual int close();
28  virtual int Update();
29  double getCTBWest();
30  double getCTBEast();
31  double getCTBOrTOFp();
32  double getTOFp();
33  double getZDCWest();
34  double getZDCEast();
35  double getZDCX();
36  double getZDCWestNoKiller();
37  double getZDCEastNoKiller();
38  double getZDCXNoKiller();
39  double getMult();
40  double getL0();
41  double getBBCX();
42  double getBBCXCTB();
43  double getBBCWest();
44  double getBBCEast();
45  double getBBCYellowBkg();
46  double getBBCBlueBkg();
47  double getPVPDWest();
48  double getPVPDEast();
49  unsigned int getValid();
50  unsigned int getTime();
51  int getTimelag();
52  float getMagField();
53  TDataSet* getSCTable(unsigned long runno=0);
54  protected:
55  void FillTime(unsigned int utime);
56 
57  sc_t *fSC;
58  short flipBBCBkg;
59  short useNoKillers;
60 };
61 
62 #endif
Definition: daq_sc.h:6