ATLAS Offline Software
Loading...
Searching...
No Matches
MuonCalib::IRegionSelectorTool Class Referenceabstract

Interface class IRegionSelectorTool. More...

#include <IRegionSelectorTool.h>

Inheritance diagram for MuonCalib::IRegionSelectorTool:
Collaboration diagram for MuonCalib::IRegionSelectorTool:

Public Types

typedef MuonFixedId id_type
 typedef for a MuonFixedId
typedef std::string RegionKey
 typedef for a std::string used as region key
typedef std::pair< const MuonCalibSegment *, RegionKeyRegion
 typedef of a pair of a MuonCalibSegment and a RegionKey
typedef std::vector< RegionRegionVec
 typedef of a set of Region (pairs)

Public Member Functions

 IRegionSelectorTool ()
virtual ~IRegionSelectorTool ()
 IAlgTool default constructor.
virtual RegionKey getRegionKey (const id_type &id) const =0
 retrieve Interface ID
virtual RegionVec splitIntoRegions (const MuonCalibSegment *seg) const =0
 pure virtual IAlgTool interface: divide MdtSegment into subsegments if they belong to differnt region and generates a key for all of them
virtual bool useRegion (const RegionKey &key) const
 virtual IAlgTool interface: returns true if the generated key corresponds to a region that should be used in calibration.
virtual RegionKey notUsed () const
 virtual IAlgTool interface: returns the notUsed key

Static Public Member Functions

static const InterfaceID & interfaceID ()
 pure virtual IAlgTool destructor

Private Attributes

RegionKey m_notUsed
 flag for regions that are not to be calibrated

Detailed Description

Interface class IRegionSelectorTool.

Implementations are used to define the calibration regions within atlas. They should generate a unique key for every region.

Author
Niels.nosp@m..Van.nosp@m..Eldi.nosp@m.k@ce.nosp@m.rn.ch,

Definition at line 40 of file IRegionSelectorTool.h.

Member Typedef Documentation

◆ id_type

typedef for a MuonFixedId

Definition at line 43 of file IRegionSelectorTool.h.

◆ Region

typedef of a pair of a MuonCalibSegment and a RegionKey

Definition at line 45 of file IRegionSelectorTool.h.

◆ RegionKey

typedef for a std::string used as region key

Definition at line 44 of file IRegionSelectorTool.h.

◆ RegionVec

typedef of a set of Region (pairs)

Definition at line 46 of file IRegionSelectorTool.h.

Constructor & Destructor Documentation

◆ IRegionSelectorTool()

MuonCalib::IRegionSelectorTool::IRegionSelectorTool ( )
inline

Definition at line 48 of file IRegionSelectorTool.h.

48: m_notUsed("notUsed") {};
RegionKey m_notUsed
flag for regions that are not to be calibrated

◆ ~IRegionSelectorTool()

virtual MuonCalib::IRegionSelectorTool::~IRegionSelectorTool ( )
inlinevirtual

IAlgTool default constructor.

Definition at line 49 of file IRegionSelectorTool.h.

49{};

Member Function Documentation

◆ getRegionKey()

virtual RegionKey MuonCalib::IRegionSelectorTool::getRegionKey ( const id_type & id) const
pure virtual

retrieve Interface ID

pure virtual IAlgTool interface: returns region key for the given id_type

◆ interfaceID()

const InterfaceID & MuonCalib::IRegionSelectorTool::interfaceID ( )
inlinestatic

pure virtual IAlgTool destructor

Definition at line 51 of file IRegionSelectorTool.h.

51{ return IID_IRegionSelectorTool; };
static const InterfaceID IID_IRegionSelectorTool("MuonCalib::IRegionSelectorTool", 1, 0)
Interface ID for IRegionSelectorTool.

◆ notUsed()

virtual RegionKey MuonCalib::IRegionSelectorTool::notUsed ( ) const
inlinevirtual

virtual IAlgTool interface: returns the notUsed key

Definition at line 58 of file IRegionSelectorTool.h.

◆ splitIntoRegions()

virtual RegionVec MuonCalib::IRegionSelectorTool::splitIntoRegions ( const MuonCalibSegment * seg) const
pure virtual

pure virtual IAlgTool interface: divide MdtSegment into subsegments if they belong to differnt region and generates a key for all of them

◆ useRegion()

virtual bool MuonCalib::IRegionSelectorTool::useRegion ( const RegionKey & key) const
inlinevirtual

virtual IAlgTool interface: returns true if the generated key corresponds to a region that should be used in calibration.

Definition at line 57 of file IRegionSelectorTool.h.

Member Data Documentation

◆ m_notUsed

RegionKey MuonCalib::IRegionSelectorTool::m_notUsed
private

flag for regions that are not to be calibrated

Definition at line 61 of file IRegionSelectorTool.h.


The documentation for this class was generated from the following file: