ATLAS Offline Software
CaloHelpersTest.h
Go to the documentation of this file.
1 // This file's extension implies that it's C, but it's really -*- C++ -*-.
2 /*
3  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
4 */
5 /*
6  */
15 #ifndef CALOIDENTIFIER_CALOHELPERSTEST_H
16 #define CALOIDENTIFIER_CALOHELPERSTEST_H
17 
18 
23 #include "CaloIdentifier/TileID.h"
25 #include <memory>
26 
27 
28 class IdDictParser;
29 
30 
38 {
39 public:
42 
43  const LArEM_ID& emID() const;
44  const LArHEC_ID& hecID() const;
45  const LArFCAL_ID& fcalID() const;
46  const LArMiniFCAL_ID& minifcalID() const;
47  const TileID& tileID() const;
48  const CaloCell_ID& caloID() const;
49 
50 private:
51  std::unique_ptr<IdDictParser> m_parser;
57  std::unique_ptr<CaloCell_ID> m_calo_idHelper;
58 };
59 
60 
61 #endif // not CALOIDENTIFIER_CALOHELPERSTEST_H
CaloHelpersTest::hecID
const LArHEC_ID & hecID() const
Definition: CaloHelpersTest.cxx:74
LArEM_ID.h
CaloHelpersTest::tileID
const TileID & tileID() const
Definition: CaloHelpersTest.cxx:92
CaloHelpersTest::m_calo_idHelper
std::unique_ptr< CaloCell_ID > m_calo_idHelper
Definition: CaloHelpersTest.h:57
LArHEC_ID
Helper class for LArHEC offline identifiers.
Definition: LArHEC_ID.h:85
CaloHelpersTest::minifcalID
const LArMiniFCAL_ID & minifcalID() const
Definition: CaloHelpersTest.cxx:86
CaloHelpersTest::~CaloHelpersTest
~CaloHelpersTest()
CaloHelpersTest::m_parser
std::unique_ptr< IdDictParser > m_parser
Definition: CaloHelpersTest.h:51
LArHEC_ID.h
TileID.h
CaloCell_ID.h
CaloHelpersTest
Helper to initialize ID helpers for unit tests.
Definition: CaloHelpersTest.h:38
TileID
Helper class for TileCal offline identifiers.
Definition: TileID.h:68
CaloHelpersTest::m_em_idHelper
LArEM_ID m_em_idHelper
Definition: CaloHelpersTest.h:52
CaloHelpersTest::CaloHelpersTest
CaloHelpersTest()
Definition: CaloHelpersTest.cxx:18
IdDictParser
Definition: IdDictParser.h:12
CaloCell_ID
Helper class for offline cell identifiers.
Definition: CaloCell_ID.h:34
CaloHelpersTest::m_tile_idHelper
TileID m_tile_idHelper
Definition: CaloHelpersTest.h:56
CaloHelpersTest::m_hec_idHelper
LArHEC_ID m_hec_idHelper
Definition: CaloHelpersTest.h:53
CaloHelpersTest::m_fcal_idHelper
LArFCAL_ID m_fcal_idHelper
Definition: CaloHelpersTest.h:54
CaloHelpersTest::m_minifcal_idHelper
LArMiniFCAL_ID m_minifcal_idHelper
Definition: CaloHelpersTest.h:55
CaloHelpersTest::fcalID
const LArFCAL_ID & fcalID() const
Definition: CaloHelpersTest.cxx:80
LArFCAL_ID.h
CaloHelpersTest::caloID
const CaloCell_ID & caloID() const
Definition: CaloHelpersTest.cxx:98
LArMiniFCAL_ID
Helper class for LArMiniFCAL offline identifiers.
Definition: LArMiniFCAL_ID.h:57
LArMiniFCAL_ID.h
LArEM_ID
Helper class for LArEM offline identifiers.
Definition: LArEM_ID.h:118
LArFCAL_ID
Helper class for LArFCAL offline identifiers.
Definition: LArFCAL_ID.h:60
CaloHelpersTest::emID
const LArEM_ID & emID() const
Definition: CaloHelpersTest.cxx:68