ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloDetDescr
CaloDetDescr
ICaloSuperCellIDTool.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
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// $Id$
14
15
16
#ifndef CALODETDESCR_ICALOSUPERCELLIDTOOL_H
17
#define CALODETDESCR_ICALOSUPERCELLIDTOOL_H
18
19
20
#include "Identifier/Identifier.h"
21
#include "GaudiKernel/IAlgTool.h"
22
#include "GaudiKernel/IInterface.h"
23
#include <vector>
24
25
29
class
ICaloSuperCellIDTool
30
:
virtual
public
IAlgTool
31
{
32
public
:
33
DeclareInterfaceID
(
ICaloSuperCellIDTool
, 1, 0);
34
40
virtual
Identifier
offlineToSuperCellID
(
const
Identifier
&
id
)
const
= 0;
41
42
47
virtual
std::vector<Identifier>
48
superCellToOfflineID
(
const
Identifier
&
id
)
const
= 0;
49
50
58
virtual
std::vector<Identifier>
59
offlineToSuperCellRegion
(
const
Identifier
& reg_id)
const
= 0;
60
61
69
virtual
std::vector<Identifier>
70
superCellToOfflineRegion
(
const
Identifier
& reg_id)
const
= 0;
71
};
72
73
74
75
#endif
// not CALODETDESCR_ICALOSUPERCELLIDTOOL_H
ICaloSuperCellIDTool
Interface for tool to map between calorimeter cells and supercells.
Definition
ICaloSuperCellIDTool.h:31
ICaloSuperCellIDTool::offlineToSuperCellRegion
virtual std::vector< Identifier > offlineToSuperCellRegion(const Identifier ®_id) const =0
Given an offline region identifier, return the corresponding supercell region identifier(s).
ICaloSuperCellIDTool::offlineToSuperCellID
virtual Identifier offlineToSuperCellID(const Identifier &id) const =0
Given an offline cell identifier, return the corresponding supercell identifier.
ICaloSuperCellIDTool::DeclareInterfaceID
DeclareInterfaceID(ICaloSuperCellIDTool, 1, 0)
ICaloSuperCellIDTool::superCellToOfflineRegion
virtual std::vector< Identifier > superCellToOfflineRegion(const Identifier ®_id) const =0
Given a supercell region identifier, return the corresponding offline region identifier(s).
ICaloSuperCellIDTool::superCellToOfflineID
virtual std::vector< Identifier > superCellToOfflineID(const Identifier &id) const =0
Given a supercell identifier, return the list of corresponding offline cell identifiers.
Identifier
Definition
IdentifierFieldParser.cxx:14
Generated on
for ATLAS Offline Software by
1.17.0