ATLAS Offline Software
LVL1ResultRetriever.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef JIVEXML_LVL1RESULTRETRIEVER_H
6 #define JIVEXML_LVL1RESULTRETRIEVER_H
7 
8 #include <string>
9 
10 #include "JiveXML/IDataRetriever.h"
11 
13 
15 
16 namespace JiveXML{
17 
18  class LVL1ResultRetriever : virtual public IDataRetriever, public AthAlgTool {
19 
20  public:
21 
23  LVL1ResultRetriever(const std::string& type, const std::string& name, const IInterface* parent);
24 
26  virtual StatusCode retrieve(ToolHandle<IFormatTool> &FormatTool);
27 
29  virtual std::string dataTypeName() const { return m_typeName; };
30 
31  //Initialize
33 
36  std::string& listName, std::string& prescaleName);
37 
38  private:
39 
41  const std::string m_typeName = "LVL1Result";
42 
44  PublicToolHandle<Trig::TrigDecisionTool> m_trigDecTool {this, "TrigDecisionTool", "Trig::TrigDecisionTool/TrigDecisionTool", "Tool to access TrigDecision"};
45 
47  const Trig::ChainGroup* m_all = nullptr;
48  const Trig::ChainGroup* m_allL1 = nullptr;
49  const Trig::ChainGroup* m_allL2 = nullptr;
50  const Trig::ChainGroup* m_allEF = nullptr;
51  const Trig::ChainGroup* m_allHLT = nullptr;
52  };
53 
54 }
55 #endif
JiveXML::LVL1ResultRetriever::m_trigDecTool
PublicToolHandle< Trig::TrigDecisionTool > m_trigDecTool
A handle to the TrigDecisionTool.
Definition: LVL1ResultRetriever.h:44
JiveXML::LVL1ResultRetriever::dataTypeName
virtual std::string dataTypeName() const
Return the name of the data type.
Definition: LVL1ResultRetriever.h:29
JiveXML::LVL1ResultRetriever::m_allL2
const Trig::ChainGroup * m_allL2
Definition: LVL1ResultRetriever.h:49
JiveXML::LVL1ResultRetriever::getItemLists
StatusCode getItemLists(const Trig::ChainGroup *chains, std::string &listName, std::string &prescaleName)
Subroutine for constructing the item list string.
Definition: LVL1ResultRetriever.cxx:62
TrigDecisionTool.h
JiveXML::LVL1ResultRetriever::m_typeName
const std::string m_typeName
The data type that is generated by this retriever.
Definition: LVL1ResultRetriever.h:41
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
JiveXML::IDataRetriever
Interface for all DataRetriever classes, that extract event data from StoreGate and pass them on to a...
Definition: IDataRetriever.h:25
JiveXML::LVL1ResultRetriever::LVL1ResultRetriever
LVL1ResultRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
Definition: LVL1ResultRetriever.cxx:23
JiveXML::LVL1ResultRetriever::retrieve
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
Definition: LVL1ResultRetriever.cxx:126
JiveXML::LVL1ResultRetriever::initialize
StatusCode initialize()
Initialize the tool.
Definition: LVL1ResultRetriever.cxx:34
JiveXML::LVL1ResultRetriever::m_allHLT
const Trig::ChainGroup * m_allHLT
Definition: LVL1ResultRetriever.h:51
JiveXML::LVL1ResultRetriever
Definition: LVL1ResultRetriever.h:18
JiveXML
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
Definition: BadLArRetriever.cxx:22
Trig::ChainGroup
Definition: ChainGroup.h:51
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
python.copyTCTOutput.chains
chains
Definition: copyTCTOutput.py:81
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
AthAlgTool
Definition: AthAlgTool.h:26
JiveXML::LVL1ResultRetriever::m_allL1
const Trig::ChainGroup * m_allL1
Definition: LVL1ResultRetriever.h:48
JiveXML::LVL1ResultRetriever::m_all
const Trig::ChainGroup * m_all
the trigger chains
Definition: LVL1ResultRetriever.h:47
IDataRetriever.h
JiveXML::LVL1ResultRetriever::m_allEF
const Trig::ChainGroup * m_allEF
Definition: LVL1ResultRetriever.h:50