ATLAS Offline Software
Loading...
Searching...
No Matches
IReAlgToolCalo.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5// ********************************************************************
6//
7// NAME: IReAlgToolCalo.cxx
8// PACKAGE: Trigger/TrigAlgorithms/TrigT2CaloCommon
9//
10// AUTHOR: Denis Oliveira Damazio
11//
12// REFERENCES: This will provide infrastructure for the Tools
13// to perform their algorithms
14//
15// ********************************************************************
16
18
20IReAlgToolCalo::IReAlgToolCalo(const std::string& type, const std::string& name,
21 const IInterface* parent) :
22 AthAlgTool(type, name, parent)
23{}
24
26{
27 ATH_CHECK(detStore()->retrieve(m_larMgr));
28 if (!m_dataSvc.empty()) ATH_CHECK(m_dataSvc.retrieve());
29 ATH_CHECK(m_geometryTool.retrieve());
30
31 return StatusCode::SUCCESS;
32}
#define ATH_CHECK
Evaluate an expression and check for errors.
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
const ServiceHandle< StoreGateSvc > & detStore() const
IReAlgToolCalo(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
ServiceHandle< ITrigCaloDataAccessSvc > m_dataSvc
ToolHandle< IT2GeometryTool > m_geometryTool
virtual StatusCode initialize() override
const CaloIdManager * m_larMgr
Calorimeter Id Manager for calorimeter part determination (Barrel versus EndCap)