![]() |
ATLAS Offline Software
|
Tool allowing one to manually declare detector elements as 'bad' in the joboptions file. More...
#include <SCT_ModuleVetoTool.h>
Public Member Functions | |
| SCT_ModuleVetoTool (const std::string &type, const std::string &name, const IInterface *parent) | |
| virtual | ~SCT_ModuleVetoTool ()=default |
| virtual StatusCode | initialize () override |
| virtual StatusCode | finalize () override |
| virtual bool | canReportAbout (InDetConditions::Hierarchy h) const override |
| Can the service report about the given component? (chip, module...). | |
| virtual bool | isGood (const Identifier &elementId, InDetConditions::Hierarchy h=InDetConditions::DEFAULT) const override |
| Is the detector element good? | |
| virtual bool | isGood (const Identifier &elementId, const EventContext &ctx, InDetConditions::Hierarchy h=InDetConditions::DEFAULT) const override |
| virtual bool | isGood (const IdentifierHash &hashId) const override |
| is it good?, using wafer hash | |
| virtual bool | isGood (const IdentifierHash &hashId, const EventContext &ctx) const override |
| virtual void | getDetectorElementStatus (const EventContext &ctx, InDet::SiDetectorElementStatus &element_status, SG::WriteCondHandle< InDet::SiDetectorElementStatus > *whandle) const override |
Private Member Functions | |
| StatusCode | fillData () |
| const SCT_ModuleVetoCondData * | getCondData (const EventContext &ctx) const |
Private Attributes | |
| StringArrayProperty | m_badElements {this, "BadModuleIdentifiers", {}, "list of bad detector elements (= module sides)"} |
| SCT_ModuleVetoCondData | m_localCondData {} |
| const SCT_ID * | m_pHelper {nullptr} |
| bool | m_useDatabase {false} |
| StringProperty | m_JsonLocation {this, "JsonPath", "", "Path to the JSON file containing list of modules to be masked."} |
| BooleanProperty | m_maskLayers {this, "MaskLayers", false, "Mask full layers/disks in overlay"} |
| IntegerProperty | m_maskSide {this, "MaskSide", -1, "Mask full modules (-1), inner (0) or outer (1) sides"} |
| IntegerArrayProperty | m_layersToMask {this, "LayersToMask", {}, "Which barrel layers to mask out, goes from 0 to N-1"} |
| IntegerArrayProperty | m_disksToMask {this, "DisksToMask", {}, "Which endcap disks to mask out, goes from -N+1 to N+1 , skipping zero"} |
| SG::ReadCondHandleKey< SCT_ModuleVetoCondData > | m_condKey {this, "CondKey", "SCT_ModuleVetoCondData", "SCT modules to be vetoed"} |
Tool allowing one to manually declare detector elements as 'bad' in the joboptions file.
Definition at line 36 of file SCT_ModuleVetoTool.h.
| SCT_ModuleVetoTool::SCT_ModuleVetoTool | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Definition at line 32 of file SCT_ModuleVetoTool.cxx.
|
virtualdefault |
|
overridevirtual |
Can the service report about the given component? (chip, module...).
Definition at line 93 of file SCT_ModuleVetoTool.cxx.
|
private |
Definition at line 164 of file SCT_ModuleVetoTool.cxx.
|
overridevirtual |
Definition at line 88 of file SCT_ModuleVetoTool.cxx.
|
private |
Definition at line 236 of file SCT_ModuleVetoTool.cxx.
|
overridevirtual |
Definition at line 135 of file SCT_ModuleVetoTool.cxx.
|
overridevirtual |
Definition at line 39 of file SCT_ModuleVetoTool.cxx.
|
overridevirtual |
Definition at line 98 of file SCT_ModuleVetoTool.cxx.
|
overridevirtual |
Is the detector element good?
Definition at line 117 of file SCT_ModuleVetoTool.cxx.
|
overridevirtual |
is it good?, using wafer hash
Definition at line 129 of file SCT_ModuleVetoTool.cxx.
|
overridevirtual |
Definition at line 123 of file SCT_ModuleVetoTool.cxx.
|
private |
Definition at line 60 of file SCT_ModuleVetoTool.h.
|
private |
Definition at line 71 of file SCT_ModuleVetoTool.h.
|
private |
Definition at line 68 of file SCT_ModuleVetoTool.h.
|
private |
Definition at line 64 of file SCT_ModuleVetoTool.h.
|
private |
Definition at line 67 of file SCT_ModuleVetoTool.h.
|
private |
Definition at line 61 of file SCT_ModuleVetoTool.h.
|
private |
Definition at line 65 of file SCT_ModuleVetoTool.h.
|
private |
Definition at line 66 of file SCT_ModuleVetoTool.h.
Definition at line 62 of file SCT_ModuleVetoTool.h.
|
private |
Definition at line 63 of file SCT_ModuleVetoTool.h.