StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
EEdsm3.h
1 #ifndef EEdsm3_h
2 #define EEdsm3_h
3 /**************************************************************
4  * $Id: EEdsm3.h,v 1.1 2009/10/12 18:04:26 pibero Exp $
5  **************************************************************/
6 
7 class EEdsm3 {
8  static const int nc=1; // # of used channels to DSM
9  unsigned short data[nc];
10  int mYear;// unpacking changed in 2006
11 
12  private:
13  public:
14 
15  EEdsm3();
16  virtual ~EEdsm3();
17  void print(int k=0) const;
18  void clear();
19  void setWord(int ch, unsigned short val);
20  void setYear(int y) { mYear=y;}
21  int getNc(){return nc;}
22 
23  unsigned short getBarreJPthr2bit() const;
24  unsigned short getBarreHTthr2bit() const;
25  unsigned short getBarreEsumThr1bit() const;
26  unsigned short getJpsi1bit() const;
27  unsigned short getBarreHTTPthr1bit() const;
28  unsigned short getBarreTPthr1bit() const;
29  unsigned short getEndcapJPthr2bit() const;
30  unsigned short getEndcapHTthr2bit() const;
31  unsigned short getEndcapEsumthr1bit() const;
32  unsigned short getEndcapHTTPthr1bit() const;
33  unsigned short getEndcapTPthr1bit() const;
34  unsigned short getEtotThr1bit() const;
35 
36 };
37 #endif
38 
39 
40 /* container for STAR trigger data
41  * $Log: EEdsm3.h,v $
42  * Revision 1.1 2009/10/12 18:04:26 pibero
43  * Moved StEEmcUtil/EEdsm to StTriggerUtilities/Eemc
44  *
45  * Revision 1.5 2009/02/24 03:56:19 ogrebeny
46  * Corrected const-ness
47  *
48  * Revision 1.4 2007/08/17 01:15:36 balewski
49  * full blown Endcap trigger simu, by Xin
50  *
51  * Revision 1.3 2006/04/05 18:34:10 balewski
52  * new DSM bit assignment in 2006,
53  * possibly lost backward compatibility
54  * use tagged 2005 version if needed
55  *
56  * Revision 1.2 2005/02/01 22:13:41 perev
57  * Compatibility to redhat
58  *
59  * Revision 1.1 2004/11/29 20:12:59 balewski
60  * first
61  *
62  * Revision 1.1 2004/02/17 03:09:17 balewski
63  * *** empty log message ***
64  *
65  * Revision 1.1 2003/05/22 19:39:00 balewski
66  * analysis of DSM data
67  *
68  *
69 
70  *
71  **************************************************************/
72 
Definition: EEdsm3.h:7