ATLAS Offline Software
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
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)
20 {
21 }
22 
24 }
25 
26 
31 std::vector<CaloCell_ID::SUBCALO>
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