StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StL1Trigger.cxx
1 /***************************************************************************
2  *
3  * $Id: StL1Trigger.cxx,v 2.1 2001/11/07 21:18:17 ullrich Exp $
4  *
5  * Author: Thomas Ullrich, Nov 2001
6  ***************************************************************************
7  *
8  * Description:
9  *
10  ***************************************************************************
11  *
12  * $Log: StL1Trigger.cxx,v $
13  * Revision 2.1 2001/11/07 21:18:17 ullrich
14  * Initial Revision.
15  *
16  **************************************************************************/
17 #include "StL1Trigger.h"
18 #include "tables/St_dst_L0_Trigger_Table.h"
19 #include "tables/St_dst_L1_Trigger_Table.h"
20 
21 static const char rcsid[] = "$Id: StL1Trigger.cxx,v 2.1 2001/11/07 21:18:17 ullrich Exp $";
22 
23 ClassImp(StL1Trigger)
24 
26 {
27  mTriggerWordPrime = 0;
28 }
29 
30 StL1Trigger::StL1Trigger(const dst_L0_Trigger_st& t1, const dst_L1_Trigger_st& t2)
31 {
32  mTriggerWord = t1.TriggerWd; // inheritance legacy
33  mTriggerActionWord = t1.TriggerActionWd; // inheritance legacy
34  mTriggerWordPrime = t2.L1_result[1];
35 }
36 
37 StL1Trigger::~StL1Trigger() { /* noop */ }
38 
39 unsigned int
40 StL1Trigger::triggerWordPrime() const {return mTriggerWordPrime;}
41 
42 void
43 StL1Trigger::setTriggerWordPrime(unsigned int val) {mTriggerWordPrime = val;}