StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StVirtualTriggerSimu.cxx
1 // $Id: StVirtualTriggerSimu.cxx,v 1.5 2009/12/22 18:10:57 pibero Exp $
2 
3 #include <StMessMgr.h>
4 
5 #include "StVirtualTriggerSimu.h"
6 
7 ClassImp(StVirtualTriggerSimu)
8 
9 bool StVirtualTriggerSimu::isTrigger(int trigId) {
10  if (this->triggerDecision(trigId) == kYes) return true;
11  return false;
12 }
13 
14 void StVirtualTriggerSimu::Init() { /* no-op */ }
15 
16 void StVirtualTriggerSimu::Clear() { /* no-op */ }
17 
18 /*****************************************************************************
19  * $Log: StVirtualTriggerSimu.cxx,v $
20  * Revision 1.5 2009/12/22 18:10:57 pibero
21  * Added ability to set input source (MuDst or StEvent) for BBC trigger simulator.
22  *
23  * Revision 1.4 2007/11/18 21:58:50 balewski
24  * L2algos triggerId list fixed
25  *
26  * Revision 1.3 2007/11/08 20:59:34 kocolosk
27  * subdet isTrigger returns a bool
28  * triggerDecision returns enumerator including kDoNotCare
29  *
30  * Revision 1.2 2007/10/22 23:09:48 balewski
31  * split L2 to generic and year specific, not finished
32  *
33  * Revision 1.1 2007/10/12 17:12:30 kocolosk
34  * rename ABC class for subdetector trigger simulators
35  * StTriggerSimu => StVirtualTriggerSimu
36  *
37  * Revision 1.1 2007/09/24 18:32:06 kocolosk
38  * added ABC class defining an interface for subdetector simulators
39  *
40  *****************************************************************************/