|
ATLAS Offline Software
|
#include <InDetBoundaryCheckTool.h>
|
| InDetBoundaryCheckTool (const std::string &, const std::string &, const IInterface *) |
|
virtual StatusCode | initialize () override |
|
virtual StatusCode | finalize () override |
|
virtual Trk::BoundaryCheckResult | boundaryCheck (const Trk::TrackParameters &) const override |
|
ServiceHandle< StoreGateSvc > & | evtStore () |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | evtStore () const |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | detStore () const |
| The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
virtual StatusCode | sysInitialize () override |
| Perform system initialization for an algorithm. More...
|
|
virtual StatusCode | sysStart () override |
| Handle START transition. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. More...
|
|
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T > &t) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
| Declare a new Gaudi property. More...
|
|
void | updateVHKA (Gaudi::Details::PropertyBase &) |
|
MsgStream & | msg () const |
|
MsgStream & | msg (const MSG::Level lvl) const |
|
bool | msgLvl (const MSG::Level lvl) const |
|
|
bool | isAlivePixel (const InDetDD::SiDetectorElement &element, const Trk::TrackParameters ¶meters) const |
|
bool | isAliveSCT (const InDetDD::SiDetectorElement &element, const Trk::TrackParameters ¶meters) const |
|
bool | isBadSCTChipStrip (const InDet::SiDetectorElementStatus *, const Identifier &, const Trk::TrackParameters &, const InDetDD::SiDetectorElement &) const |
|
Trk::BoundaryCheckResult | boundaryCheckSiElement (const InDetDD::SiDetectorElement &, const Trk::TrackParameters &) const |
|
SG::ReadHandle< InDet::SiDetectorElementStatus > | getSCTDetElStatus (const EventContext &ctx) const |
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyArrayType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleType &) |
| specialization for handling Gaudi::Property<SG::VarHandleBase> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &t, const SG::NotHandleType &) |
| specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
|
|
|
ServiceHandle< IGeoModelSvc > | m_geoModelSvc {this, "GeoModelSvc", "GeoModelSvc"} |
|
ToolHandle< IInDetConditionsTool > | m_sctCondSummaryTool |
|
ToolHandle< IInDetTestPixelLayerTool > | m_pixelLayerTool |
|
const AtlasDetectorID * | m_atlasId |
|
Gaudi::Property< double > | m_etaTol {this, "ToleranceEta", 3.0} |
| eta and phi tolerances More...
|
|
Gaudi::Property< double > | m_phiTol {this, "TolerancePhi", 3.0} |
|
Gaudi::Property< bool > | m_usePixel {this, "UsePixel", true} |
| Control usage of pixel and SCT info. More...
|
|
Gaudi::Property< bool > | m_useSCT {this, "UseSCT", true} |
|
Gaudi::Property< bool > | m_checkBadSCT {this, "CheckBadSCT", true} |
| Control check of bad SCT chip (should be false for ITk Strip) More...
|
|
SG::ReadHandleKey< InDet::SiDetectorElementStatus > | m_sctDetElStatus {this, "SCTDetElStatus", "", "Key of SiDetectorElementStatus for SCT"} |
| Optional read handle to get status data to test whether a SCT detector element is good. More...
|
|
const SCT_ID * | m_sctID {nullptr} |
|
StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) More...
|
|
StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) More...
|
|
std::vector< SG::VarHandleKeyArray * > | m_vhka |
|
bool | m_varHandleArraysDeclared |
|
Definition at line 22 of file InDetBoundaryCheckTool.h.
◆ StoreGateSvc_t
◆ InDetBoundaryCheckTool()
InDet::InDetBoundaryCheckTool::InDetBoundaryCheckTool |
( |
const std::string & |
t, |
|
|
const std::string & |
n, |
|
|
const IInterface * |
p |
|
) |
| |
◆ boundaryCheck()
◆ boundaryCheckSiElement()
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
253 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
229 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
338 return PBASE::declareProperty(
name, property,
doc);
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ detStore()
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ extraDeps_update_handler()
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
◆ finalize()
StatusCode InDet::InDetBoundaryCheckTool::finalize |
( |
| ) |
|
|
overridevirtual |
◆ getSCTDetElStatus()
◆ initialize()
StatusCode InDet::InDetBoundaryCheckTool::initialize |
( |
| ) |
|
|
overridevirtual |
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ interfaceID()
static const InterfaceID& Trk::IBoundaryCheckTool::interfaceID |
( |
| ) |
|
|
inlinestaticinherited |
◆ isAlivePixel()
◆ isAliveSCT()
◆ isBadSCTChipStrip()
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ outputHandles()
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ renounce()
◆ renounceArray()
◆ sysInitialize()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
◆ m_atlasId
◆ m_checkBadSCT
Gaudi::Property<bool> InDet::InDetBoundaryCheckTool::m_checkBadSCT {this, "CheckBadSCT", true} |
|
private |
◆ m_detStore
◆ m_etaTol
Gaudi::Property<double> InDet::InDetBoundaryCheckTool::m_etaTol {this, "ToleranceEta", 3.0} |
|
private |
◆ m_evtStore
◆ m_geoModelSvc
◆ m_phiTol
Gaudi::Property<double> InDet::InDetBoundaryCheckTool::m_phiTol {this, "TolerancePhi", 3.0} |
|
private |
◆ m_pixelLayerTool
Initial value:{
this,
"PixelLayerTool",
"InDet::InDetTestPixelLayerTool",
"Tool to retrieve pixel conditions summary"
}
Definition at line 71 of file InDetBoundaryCheckTool.h.
◆ m_sctCondSummaryTool
Initial value:{
this,
"SctSummaryTool",
"SCT_ConditionsSummaryTool/InDetSCT_ConditionsSummaryTool",
"Tool to retrieve SCT Conditions summary"
}
Definition at line 64 of file InDetBoundaryCheckTool.h.
◆ m_sctDetElStatus
Optional read handle to get status data to test whether a SCT detector element is good.
If set to e.g. SCTDetectorElementStatus the event data will be used instead of the SCT conditions summary tool.
Definition at line 94 of file InDetBoundaryCheckTool.h.
◆ m_sctID
const SCT_ID* InDet::InDetBoundaryCheckTool::m_sctID {nullptr} |
|
private |
◆ m_usePixel
Gaudi::Property<bool> InDet::InDetBoundaryCheckTool::m_usePixel {this, "UsePixel", true} |
|
private |
◆ m_useSCT
Gaudi::Property<bool> InDet::InDetBoundaryCheckTool::m_useSCT {this, "UseSCT", true} |
|
private |
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
bool is_pixel(Identifier id) const
Identifier identifierOfPosition(const Amg::Vector2D &localPos) const
Full identifier of the cell for a given position: assumes a raw local position (no Lorentz shift)
def finalize(self)
_info( "content of StoreGate..." ) self.sg.dump()
@ DeadElement
outside the element
SiIntersect inDetector(const Amg::Vector2D &localPosition, double phiTol, double etaTol) const
Test that it is in the active region.
@ Insensitive
close to the edge of an active element
bool isChipGood(IdentifierHash hash, unsigned int chip) const
bool is_sct(Identifier id) const
Eigen::Matrix< double, 2, 1 > Vector2D
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
bool isCellGood(IdentifierHash hash, unsigned short cell_i) const
const std::string & key() const
Return the StoreGate ID for the referenced object.
bool empty() const
Test if the key is blank.
std::vector< std::string > intersection(std::vector< std::string > &v1, std::vector< std::string > &v2)
virtual IdentifierHash identifyHash() const override final
identifier hash (inline)
virtual DetectorElemType detectorType() const =0
Return the Detector element type.
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual void setOwner(IDataHandleHolder *o)=0
@ iEta
(old readout) will be skipped
#define VALIDATE_STATUS_ARRAY(use_info, info_val, summary_val)
::StatusCode StatusCode
StatusCode definition for legacy code.
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
@ Outside
with the insensitive area of an active element
virtual bool isValid() override final
Can the handle be successfully dereferenced?
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
std::string print_to_string(Identifier id, const IdContext *context=0) const
or provide the printout in string form
#define ATH_MSG_WARNING(x)
int strip(const Identifier &id) const
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
constexpr unsigned int getGeometricalChipID(unsigned int strip)
Get the geometrical chip ID for the given strip.
bool nearBondGap(const Amg::Vector2D &localPosition, double etaTol) const
Test if near bond gap within tolerances.
@ Error
within the nominally active area of a dead element
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
virtual Identifier identify() const override final
identifier of this detector element (inline)
@ OnEdge
within the sensitive area of an active element