ATLAS Offline Software
VP1TriggerTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef VP1TRIGGERTOOL_H
6 #define VP1TRIGGERTOOL_H
7 
8 /***********************************************************************************
9  * @Package : VP1TriggerSystems
10  * @class : VP1TriggerTool
11  *
12  * @brief : VP1 Trigger Tool (Header) - public access tool to retrieve trigger data
13  *
14  * @author : Manuel Proissl <mproissl@cern.ch> - University of Edinburgh
15  ***********************************************************************************/
16 
17 //Local includes
19 
20 //Other includes
21 #include "StoreGate/StoreGateSvc.h"
22 #include <QString>
23 #include <QList>
24 #include <QTreeWidget>
25 #include <QTreeWidgetItem>
26 
27 namespace VP1Trig {
28  class VP1TriggerProcessor;
29 
30  class VP1TriggerTool : public virtual Logger
31  {
32  public:
34  virtual ~VP1TriggerTool();
35  //
36  VP1TriggerTool & operator=(const VP1TriggerTool &) = delete;
37  //
38  VP1TriggerTool(const VP1TriggerTool &) = delete;
39  //
40  //External Interface ---------------------------->
42  void clear();
43  //-----------------------------------------------<
44 
45  //User interface methods ------------------------>
46  //+ return daq status
47  bool isReady();
48 
49  //+ set/get trigger level to process
50  void setTrigLvlToProcess(QString triglvl);
51  QString getTrigLvlToProcess();
52 
53  //+ set/get data container format
54  void setDataContainerFormat(char ctnid);
56 
57  //+ get number of muons in event
58  int getMuonCount();
59 
60  //+ get all trigger data in QTree container format
61  QList<QTreeWidgetItem *> getTriggerData_QTree(QString);
62  //-----------------------------------------------<
63 
64  private:
66  bool m_status;
67  };
68 }
69 #endif
VP1Trig::VP1TriggerTool
Definition: VP1TriggerTool.h:38
VP1Trig
Definition: graphics/VP1/VP1Systems/VP1TriggerSystems/VP1TriggerSystems/Logger.h:24
VP1Trig::VP1TriggerTool::VP1TriggerTool
VP1TriggerTool()
Definition: VP1TriggerTool.cxx:28
VP1Trig::VP1TriggerTool::isReady
bool isReady()
Definition: VP1TriggerTool.cxx:85
VP1Trig::VP1TriggerTool::getDataContainerFormat
char getDataContainerFormat()
Definition: VP1TriggerTool.cxx:130
VP1Trig::VP1TriggerTool::getTriggerData_QTree
QList< QTreeWidgetItem * > getTriggerData_QTree(QString)
Definition: VP1TriggerTool.cxx:148
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:125
VP1Trig::VP1TriggerTool::operator=
VP1TriggerTool & operator=(const VP1TriggerTool &)=delete
Logger.h
VP1Trig::VP1TriggerTool::getTrigLvlToProcess
QString getTrigLvlToProcess()
Definition: VP1TriggerTool.cxx:108
VP1Trig::VP1TriggerTool::m_status
bool m_status
Definition: VP1TriggerTool.h:73
VP1Trig::VP1TriggerTool::~VP1TriggerTool
virtual ~VP1TriggerTool()
Definition: VP1TriggerTool.cxx:41
VP1Trig::VP1TriggerTool::getMuonCount
int getMuonCount()
Definition: VP1TriggerTool.cxx:139
VP1Trig::VP1TriggerTool::m_triggerprocessor
VP1TriggerProcessor * m_triggerprocessor
Definition: VP1TriggerTool.h:72
VP1Trig::VP1TriggerProcessor
Definition: VP1TriggerProcessor.h:40
VP1Trig::VP1TriggerTool::setDataContainerFormat
void setDataContainerFormat(char ctnid)
Definition: VP1TriggerTool.cxx:120
VP1Trig::VP1TriggerTool::process
void process(StoreGateSvc *storeGate)
Definition: VP1TriggerTool.cxx:50
VP1Trig::VP1TriggerTool::setTrigLvlToProcess
void setTrigLvlToProcess(QString triglvl)
Definition: VP1TriggerTool.cxx:99
StoreGateSvc.h
python.PyKernel.storeGate
storeGate
Definition: PyKernel.py:40
VP1Trig::VP1TriggerTool::clear
void clear()
Definition: VP1TriggerTool.cxx:70