ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetConditions
InDetConditionsSummaryService
InDetConditionsSummaryService
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
15
#include "
InDetConditionsSummaryService/InDetHierarchy.h
"
16
17
//forward declarations
18
class
Identifier
;
19
class
IdentifierHash
;
24
class
IInDetConditionsSvc
:
virtual
public
IInterface{
25
public
:
27
DeclareInterfaceID
(
IInDetConditionsSvc
, 1, 0);
28
29
virtual
~IInDetConditionsSvc
(){
30
//nop, needed for derived classes
31
}
32
33
//@name isActive methods reveal whether the element should return data
35
virtual
bool
isActive
(
const
Identifier
& elementId,
const
InDetConditions::Hierarchy
h
=
InDetConditions::DEFAULT
)=0;
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
InDetHierarchy.h
Header containing the InDetHierarchy enum, to avoid pulling in a class every time it is needed and na...
h
Header file for AthHistogramAlgorithm.
IInDetConditionsSvc
Interface class for service providing summary of status of a detector element.
Definition
IInDetConditionsSvc.h:24
IInDetConditionsSvc::isGood
virtual bool isGood(const IdentifierHash &elementHash)=0
IInDetConditionsSvc::~IInDetConditionsSvc
virtual ~IInDetConditionsSvc()
Definition
IInDetConditionsSvc.h:29
IInDetConditionsSvc::goodFraction
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
IInDetConditionsSvc::isActive
virtual bool isActive(const IdentifierHash &elementHash)=0
IInDetConditionsSvc::isActive
virtual bool isActive(const Identifier &elementId, const InDetConditions::Hierarchy h=InDetConditions::DEFAULT)=0
IInDetConditionsSvc::isGood
virtual bool isGood(const IdentifierHash &elementHash, const Identifier &elementId)=0
IInDetConditionsSvc::isGood
virtual bool isGood(const Identifier &elementId, const InDetConditions::Hierarchy h=InDetConditions::DEFAULT)=0
IInDetConditionsSvc::DeclareInterfaceID
DeclareInterfaceID(IInDetConditionsSvc, 1, 0)
Declare interface ID.
IInDetConditionsSvc::isActive
virtual bool isActive(const IdentifierHash &elementHash, const Identifier &elementId)=0
IInDetConditionsSvc::activeFraction
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
IdentifierHash
This is a "hash" representation of an Identifier.
Definition
IdentifierHash.h:25
Identifier
Definition
IdentifierFieldParser.cxx:14
InDetConditions::Hierarchy
Hierarchy
Definition
InDetHierarchy.h:14
InDetConditions::DEFAULT
@ DEFAULT
Definition
InDetHierarchy.h:14
Generated on
for ATLAS Offline Software by
1.17.0