ATLAS Offline Software
Loading...
Searching...
No Matches
IInDetConditionsSvc.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
9#ifndef IInDetConditionsSvc_h
10#define IInDetConditionsSvc_h
11//Gaudi Includes
12#include "GaudiKernel/IInterface.h"
13
14//Local includes
16
17//forward declarations
18class Identifier;
19class IdentifierHash;
24class IInDetConditionsSvc: virtual public IInterface{
25public:
28
30 //nop, needed for derived classes
31 }
32
33 //@name isActive methods reveal whether the element should return data
36 virtual bool isActive(const IdentifierHash & elementHash)=0;
37 virtual bool isActive(const IdentifierHash & elementHash, const Identifier & elementId)=0;
39
40 virtual double activeFraction(const IdentifierHash & elementHash, const Identifier & idStart, const Identifier & idEnd)=0;
42
43 //@name isGood methods reveal whether the data are reliable
45 virtual bool isGood(const Identifier & elementId, const InDetConditions::Hierarchy h=InDetConditions::DEFAULT)=0;
46 virtual bool isGood(const IdentifierHash & elementHash)=0;
47 virtual bool isGood(const IdentifierHash & elementHash, const Identifier & elementId)=0;
49
50 virtual double goodFraction(const IdentifierHash & elementHash, const Identifier & idStart, const Identifier & idEnd)=0;
51
52};
53
54#endif
Header containing the InDetHierarchy enum, to avoid pulling in a class every time it is needed and na...
Header file for AthHistogramAlgorithm.
Interface class for service providing summary of status of a detector element.
virtual bool isGood(const IdentifierHash &elementHash)=0
virtual double goodFraction(const IdentifierHash &elementHash, const Identifier &idStart, const Identifier &idEnd)=0
goodFraction method gives the fraction of good elements in the range of identifiers
virtual bool isActive(const IdentifierHash &elementHash)=0
virtual bool isActive(const Identifier &elementId, const InDetConditions::Hierarchy h=InDetConditions::DEFAULT)=0
virtual bool isGood(const IdentifierHash &elementHash, const Identifier &elementId)=0
virtual bool isGood(const Identifier &elementId, const InDetConditions::Hierarchy h=InDetConditions::DEFAULT)=0
DeclareInterfaceID(IInDetConditionsSvc, 1, 0)
Declare interface ID.
virtual bool isActive(const IdentifierHash &elementHash, const Identifier &elementId)=0
virtual double activeFraction(const IdentifierHash &elementHash, const Identifier &idStart, const Identifier &idEnd)=0
activeFraction method gives the fraction of active elements in the range of identifiers
This is a "hash" representation of an Identifier.