StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StTriggerDataMother.h
1 /********************************************************
2  *
3  * $Id: StTriggerDataMother.h,v 1.2 2004/12/09 03:06:03 mvl Exp $
4  *
5  * Author: Jan Balewski
6  ********************************************************
7  *
8  * Description: abstract class for trigger data from all years
9  *
10  *******************************************************/
11 
12 #ifndef StTriggerDataMother_hh
13 #define StTriggerDataMother_hh
14 
15 #include "StTriggerData.h"
16 
17 class EztTrigBlob;
19  private:
20  StTriggerData *fCurrent;
21  public:
22 
25  StTriggerData * data() const { return fCurrent;}
26  // .............. supply missing virtual functions:
27  void dump() const {fCurrent->dump();}
28  unsigned int version() const {return fCurrent->version();}
29  unsigned int numberOfPreXing() const {return fCurrent->numberOfPreXing();}
30  unsigned int numberOfPostXing() const {return fCurrent->numberOfPostXing();}
31  unsigned int triggerWord() const {return fCurrent->triggerWord();}
32  unsigned int actionWord() const {return fCurrent->actionWord();}
33  short unsigned int tcuBits() const {return fCurrent->tcuBits();}
34  char* getTriggerStructure() {return fCurrent->getTriggerStructure();}
35  int getRawSize() const {return fCurrent->getRawSize();}
36  unsigned int token() const {return fCurrent->token();}
37 
38  unsigned char * getDsm0_EEMC(int prepost=0) const {return fCurrent->getDsm0_EEMC( prepost) ; }
39  unsigned short int * getDsm1_EEMC(int prepost=0) const {return fCurrent->getDsm1_EEMC( prepost);}
40  unsigned short int * getDsm2_EMC() const {return fCurrent->getDsm2_EMC();}
41  unsigned short int * getDsm3() const {return fCurrent->getDsm3() ;}
42 
43 
44  ClassDef(StTriggerDataMother,1)
45 };
46 
47 #endif
48 
49 /*
50  * $Log: StTriggerDataMother.h,v $
51  * Revision 1.2 2004/12/09 03:06:03 mvl
52  * Added access functions for intermediate DSM levels (Jan B)
53  *
54  * Revision 1.1 2004/11/29 17:28:31 mvl
55  * New class for trigger versioning (by Jan)
56  *
57  */