ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
TileCalorimeter
TileRecUtils
src
TileTowerBuilderTool.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// Gaudi includes
6
#include "GaudiKernel/MsgStream.h"
7
8
// Calo includes
9
#include "
CaloIdentifier/CaloCell_ID.h
"
10
#include "
CaloUtils/CaloTowerBuilderTool.h
"
11
12
// Tile includes
13
#include "
TileTowerBuilderTool.h
"
14
15
#include <string>
16
17
TileTowerBuilderTool::TileTowerBuilderTool
(
const
std::string& name,
const
std::string&
type
,
18
const
IInterface* parent)
19
:
CaloTowerBuilderTool
(name,
type
, parent)
20
{
21
}
22
23
TileTowerBuilderTool::~TileTowerBuilderTool
() {
24
}
25
26
31
std::vector<CaloCell_ID::SUBCALO>
32
TileTowerBuilderTool::parseCalos
33
(
const
std::vector<std::string>& includedCalos)
const
34
{
35
// convert to enumerators
36
std::vector<CaloCell_ID::SUBCALO> indices;
37
38
for
(
const
std::string& s : includedCalos) {
39
if
(s ==
"TILE"
) {
40
indices.push_back(
CaloCell_ID::TILE
);
41
}
42
}
43
44
return
indices;
45
}
CaloCell_ID.h
CaloTowerBuilderTool.h
TileTowerBuilderTool.h
CaloCell_Base_ID::TILE
@ TILE
Definition
CaloCell_Base_ID.h:45
CaloTowerBuilderTool::CaloTowerBuilderTool
CaloTowerBuilderTool(const CaloTowerBuilderTool &)=delete
TileTowerBuilderTool::~TileTowerBuilderTool
virtual ~TileTowerBuilderTool()
Definition
TileTowerBuilderTool.cxx:23
TileTowerBuilderTool::TileTowerBuilderTool
TileTowerBuilderTool(const std::string &name, const std::string &type, const IInterface *parent)
AlgTool constructor.
Definition
TileTowerBuilderTool.cxx:17
TileTowerBuilderTool::parseCalos
virtual std::vector< CaloCell_ID::SUBCALO > parseCalos(const std::vector< std::string > &includedCalos) const override
Convert calorimeter strings to enums.
Definition
TileTowerBuilderTool.cxx:33
type
Generated on
for ATLAS Offline Software by
1.17.0