ATLAS Offline Software
Loading...
Searching...
No Matches
ISCT_FlaggedConditionTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5/*
6 * @file ISCT_FlaggedConditionTool.h
7 * interface file for tool allowing one to flag modules as 'bad' with a reason
8 * @author gwilliam@mail.cern.ch
9 */
10
11#ifndef ISCT_FlaggedConditionTool_h
12#define ISCT_FlaggedConditionTool_h
13
14// Athena
15#include "Identifier/Identifier.h"
17
18// Local
23
24// Forward declarations
25class Identifier;
26
27/*
28 * @class SCT_FlaggedConditionTool
29 * Tool allowing one to flag detector elements as 'bad' with a reason
30 */
31
33
34 public:
35 //@name Service methods
37 virtual ~ISCT_FlaggedConditionTool() = default;
38
42
44 virtual const std::string& details(const Identifier& id) const =0;
45 virtual const std::string& details(const Identifier& id, const EventContext& ctx) const =0;
47 virtual const std::string& details(const IdentifierHash& id) const =0;
48 virtual const std::string& details(const IdentifierHash& id, const EventContext& ctx) const =0;
49
51 virtual int numBadIds() const =0;
52 virtual int numBadIds(const EventContext& ctx) const =0;
53
55 virtual const IDCInDetBSErrContainer* getBadIds() const =0;
56 virtual const IDCInDetBSErrContainer* getBadIds(const EventContext& ctx) const =0;
57
58 private:
59};
60
61#endif // ISCT_FlaggedConditionTool_h
header file for baseclass of SCT conditions tools
Header containing the InDetHierarchy enum, to avoid pulling in a class every time it is needed and na...
header file for enum for SCT_Clusterization and SCT_FlaggedConditionTool.
IDC like storage for BS errors, TODO, customise implementation further so that we store int rather th...
Base class for SCT conditions tools so they can be used in the summary tool.
virtual int numBadIds(const EventContext &ctx) const =0
DeclareInterfaceID(ISCT_FlaggedConditionTool, 1, 0)
Creates the InterfaceID and interfaceID() method.
virtual const IDCInDetBSErrContainer * getBadIds() const =0
Get IdentifierHashs ofwafers flagged as bad + reason (per event)
virtual ~ISCT_FlaggedConditionTool()=default
virtual const std::string & details(const Identifier &id) const =0
Get the reason why the wafer is bad (by Identifier)
virtual const std::string & details(const IdentifierHash &id) const =0
Get the reason why the wafer is bad (by IdentifierHash)
virtual const std::string & details(const Identifier &id, const EventContext &ctx) const =0
virtual int numBadIds() const =0
Get number flagged as bad (per event)
virtual const std::string & details(const IdentifierHash &id, const EventContext &ctx) const =0
virtual const IDCInDetBSErrContainer * getBadIds(const EventContext &ctx) const =0
This is a "hash" representation of an Identifier.