ATLAS Offline Software
VP1TriggerProcessor.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 VP1TRIGGERPROCESSOR_H
6 #define VP1TRIGGERPROCESSOR_H
7 
8 /***********************************************************************************
9  * @Package : VP1TriggerSystems
10  * @class : VP1TriggerProcessor
11  *
12  * @brief : Trigger Processor (Header) - trigger data processing methods;
13  * - VP1TriggerTool interface to VP1TriggerSystem
14  *
15  * @author : Manuel Proissl <mproissl@cern.ch> - University of Edinburgh
16  ***********************************************************************************/
17 
18 //Local includes
20 
21 //Other includes
22 #include "StoreGate/StoreGateSvc.h"
23 #include <QString>
24 #include <QList>
25 #include <QTreeWidgetItem>
26 
27 
28 namespace VP1Trig {
29  class VP1TriggerSystem;
30 
31  class VP1TriggerProcessor : public virtual Logger
32  {
33  public:
35  virtual ~VP1TriggerProcessor();
36 
37  //Basic System Setup ------------------------------------->
38  void initialize();
39 
40  void loadData(StoreGateSvc* m_storeGate);
41 
42  void clearSystem();
43  //--------------------------------------------------------<
44 
45  //User Access Methods ------------------------------------>
46  bool getInitStatus(); //ret: m_initStatus
47  bool getDaqStatus(); //ret: m_daqStatus
48  char getDataFormat(); //ret: m_dataFormat
49  QString getTrigLvl(); //ret: m_trigLvl
50  int getMuonsInEvt(); //ret: muonsInEvt
51 
52  void setDataFormat(char ctnid); //ctnid -> m_dataFormat
53  void setTrigLvl(QString triglvl); //triglvl -> m_trigLvl
54 
55  //***** Data Export *****
56  QList<QTreeWidgetItem *> getQTrigData(QString); //ret: m_trigLvlDataSet
57  //--------------------------------------------------------<
58 
59  private:
61 
62  //Basic System Setup Variables --------------------------->
63  bool m_initStatus;
64  bool m_daqStatus;
65  QString m_trigLvl; //L1, L2, EF or ALL
66  char m_dataFormat; //[v]ector, [q]tree, [a]ll available
67  //--------------------------------------------------------<
68 
69  //Internal Processing ------------------------------------>
70  void processData();
71 
72  //*************** TRIGGER DATA ***************
73  QTreeWidgetItem * m_L1_QData, * m_L2_QData, * m_EF_QData;
74  QList<QTreeWidgetItem *> m_trigLvlDataSet;
75  //--------------------------------------------------------<
76  };
77 }
78 #endif
VP1Trig::VP1TriggerProcessor::VP1TriggerProcessor
VP1TriggerProcessor()
Definition: VP1TriggerProcessor.cxx:35
VP1Trig::VP1TriggerProcessor::m_trigLvl
QString m_trigLvl
Definition: VP1TriggerProcessor.h:73
VP1Trig::VP1TriggerProcessor::m_L2_QData
QTreeWidgetItem * m_L2_QData
Definition: VP1TriggerProcessor.h:81
VP1Trig
Definition: graphics/VP1/VP1Systems/VP1TriggerSystems/VP1TriggerSystems/Logger.h:24
VP1Trig::VP1TriggerProcessor::m_L1_QData
QTreeWidgetItem * m_L1_QData
Definition: VP1TriggerProcessor.h:81
VP1Trig::VP1TriggerProcessor::processData
void processData()
Definition: VP1TriggerProcessor.cxx:88
VP1Trig::VP1TriggerProcessor::m_dataFormat
char m_dataFormat
Definition: VP1TriggerProcessor.h:74
VP1Trig::VP1TriggerProcessor::loadData
void loadData(StoreGateSvc *m_storeGate)
Definition: VP1TriggerProcessor.cxx:68
VP1Trig::VP1TriggerProcessor::initialize
void initialize()
Definition: VP1TriggerProcessor.cxx:58
VP1Trig::VP1TriggerProcessor::getDaqStatus
bool getDaqStatus()
Definition: VP1TriggerProcessor.cxx:329
VP1Trig::VP1TriggerProcessor::clearSystem
void clearSystem()
Definition: VP1TriggerProcessor.cxx:299
VP1Trig::VP1TriggerProcessor::m_triggersystem
VP1TriggerSystem * m_triggersystem
Definition: VP1TriggerProcessor.h:68
VP1Trig::VP1TriggerProcessor::m_EF_QData
QTreeWidgetItem * m_EF_QData
Definition: VP1TriggerProcessor.h:81
VP1Trig::VP1TriggerProcessor::getInitStatus
bool getInitStatus()
Definition: VP1TriggerProcessor.cxx:320
VP1Trig::VP1TriggerProcessor::setTrigLvl
void setTrigLvl(QString triglvl)
Definition: VP1TriggerProcessor.cxx:409
VP1Trig::VP1TriggerProcessor::m_trigLvlDataSet
QList< QTreeWidgetItem * > m_trigLvlDataSet
Definition: VP1TriggerProcessor.h:82
VP1Trig::VP1TriggerSystem
Definition: VP1TriggerSystem.h:56
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:125
VP1Trig::VP1TriggerProcessor::getDataFormat
char getDataFormat()
Definition: VP1TriggerProcessor.cxx:338
Logger.h
VP1Trig::VP1TriggerProcessor::m_initStatus
bool m_initStatus
Definition: VP1TriggerProcessor.h:71
VP1Trig::VP1TriggerProcessor::setDataFormat
void setDataFormat(char ctnid)
Definition: VP1TriggerProcessor.cxx:422
VP1Trig::VP1TriggerProcessor::getQTrigData
QList< QTreeWidgetItem * > getQTrigData(QString)
Definition: VP1TriggerProcessor.cxx:365
VP1Trig::VP1TriggerProcessor::m_daqStatus
bool m_daqStatus
Definition: VP1TriggerProcessor.h:72
StoreGateSvc.h
VP1Trig::VP1TriggerProcessor::~VP1TriggerProcessor
virtual ~VP1TriggerProcessor()
Definition: VP1TriggerProcessor.cxx:49
VP1Trig::VP1TriggerProcessor::getTrigLvl
QString getTrigLvl()
Definition: VP1TriggerProcessor.cxx:347
VP1Trig::VP1TriggerProcessor::getMuonsInEvt
int getMuonsInEvt()
Definition: VP1TriggerProcessor.cxx:356