ATLAS Offline Software
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$
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 
30  : virtual public IAlgTool
31 {
32 public:
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::DeclareInterfaceID
DeclareInterfaceID(ICaloSuperCellIDTool, 1, 0)
ICaloSuperCellIDTool::offlineToSuperCellID
virtual Identifier offlineToSuperCellID(const Identifier &id) const =0
Given an offline cell identifier, return the corresponding supercell identifier.
ICaloSuperCellIDTool
Interface for tool to map between calorimeter cells and supercells.
Definition: ICaloSuperCellIDTool.h:31
ICaloSuperCellIDTool::superCellToOfflineID
virtual std::vector< Identifier > superCellToOfflineID(const Identifier &id) const =0
Given a supercell identifier, return the list of corresponding offline cell identifiers.
ICaloSuperCellIDTool::superCellToOfflineRegion
virtual std::vector< Identifier > superCellToOfflineRegion(const Identifier &reg_id) const =0
Given a supercell region identifier, return the corresponding offline region identifier(s).
ICaloSuperCellIDTool::offlineToSuperCellRegion
virtual std::vector< Identifier > offlineToSuperCellRegion(const Identifier &reg_id) const =0
Given an offline region identifier, return the corresponding supercell region identifier(s).
Identifier
Definition: IdentifierFieldParser.cxx:14