ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
L1Topo
L1TopoSimulation
src
ControlHistSvc.cxx
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
* */
4
5
6
7
#include "
./ControlHistSvc.h
"
8
#include "GaudiKernel/ITHistSvc.h"
9
10
#include "
AthenaL1TopoHistSvc.h
"
11
#include "
L1TopoInterfaces/IL1TopoHistSvc.h
"
12
13
using namespace
LVL1
;
14
15
16
ControlHistSvc::ControlHistSvc
(
const
std::string&
type
,
const
std::string&
name
,
17
const
IInterface* parent) :
18
AthAlgTool
(
type
,
name
,parent),
19
m_histSvc
(
"THistSvc"
,
name
){};
20
21
22
ControlHistSvc::~ControlHistSvc
()
23
{}
24
25
26
StatusCode
ControlHistSvc::initialize
(){
27
28
ATH_MSG_INFO
(
"Initialising ControlHistSvc..."
);
29
30
CHECK
(
m_histSvc
.retrieve());
31
32
return
StatusCode::SUCCESS;
33
34
}
35
36
37
//Function for controlling the hist service
38
//
39
StatusCode
ControlHistSvc::SetHistSvc
(
const
std::unique_ptr<TCS::TopoSteering> &topoSteering, std::string histBaseDir){
40
41
42
std::shared_ptr<IL1TopoHistSvc> topoHistSvc = std::shared_ptr<IL1TopoHistSvc>(
new
AthenaL1TopoHistSvc
(
m_histSvc
) );
43
44
topoHistSvc->setBaseDir(
"/EXPERT/"
+ histBaseDir);
45
topoSteering->setHistSvc(std::move(topoHistSvc));
46
47
return
StatusCode::SUCCESS;
48
}
49
50
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition
AthMsgStreamMacros.h:31
AthenaL1TopoHistSvc.h
ControlHistSvc.h
CHECK
#define CHECK(...)
Evaluate an expression and check for errors.
Definition
Control/AthenaKernel/AthenaKernel/errorcheck.h:422
IL1TopoHistSvc.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
AthenaL1TopoHistSvc
Definition
AthenaL1TopoHistSvc.h:16
LVL1::ControlHistSvc::ControlHistSvc
ControlHistSvc(const std::string &type, const std::string &name, const IInterface *parent)
Definition
ControlHistSvc.cxx:16
LVL1::ControlHistSvc::SetHistSvc
virtual StatusCode SetHistSvc(const std::unique_ptr< TCS::TopoSteering > &topoSteering, std::string histBaseDir) override
Definition
ControlHistSvc.cxx:39
LVL1::ControlHistSvc::initialize
virtual StatusCode initialize() override
Definition
ControlHistSvc.cxx:26
LVL1::ControlHistSvc::m_histSvc
ServiceHandle< ITHistSvc > m_histSvc
Definition
ControlHistSvc.h:34
LVL1::ControlHistSvc::~ControlHistSvc
virtual ~ControlHistSvc()
Definition
ControlHistSvc.cxx:22
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition
IZdcDataAccess.h:13
type
TrigConf::name
Definition
HLTChainList.h:35
Generated on
for ATLAS Offline Software by
1.17.0