ATLAS Offline Software
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
}
python.SystemOfUnits.s
int s
Definition:
SystemOfUnits.py:131
Trk::indices
std::pair< long int, long int > indices
Definition:
AlSymMatBase.h:24
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
CaloCell_ID.h
TileTowerBuilderTool::~TileTowerBuilderTool
virtual ~TileTowerBuilderTool()
Definition:
TileTowerBuilderTool.cxx:23
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
TileTowerBuilderTool::TileTowerBuilderTool
TileTowerBuilderTool(const std::string &name, const std::string &type, const IInterface *parent)
AlgTool constructor.
Definition:
TileTowerBuilderTool.cxx:17
CaloCell_Base_ID::TILE
@ TILE
Definition:
CaloCell_Base_ID.h:46
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
TileTowerBuilderTool.h
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
CaloTowerBuilderTool
Definition:
CaloTowerBuilderTool.h:34
CaloTowerBuilderTool.h
Generated on Thu Nov 7 2024 21:28:33 for ATLAS Offline Software by
1.8.18