![]() |
ATLAS Offline Software
|
The InDetAlignHitQualSelTool is to select good quality hits for alignment to build residuals with possible cuts on outlier hits, hits which are too large clusters, hits with large incidence angles, etc. More...
#include <InDetAlignHitQualSelTool.h>
Public Member Functions | |
| InDetAlignHitQualSelTool (const std::string &, const std::string &, const IInterface *) | |
| virtual | ~InDetAlignHitQualSelTool () |
| virtual StatusCode | initialize () |
| virtual StatusCode | finalize () |
| const Trk::RIO_OnTrack * | getGoodHit (const Trk::TrackStateOnSurface *tsos) const |
| main method: from a TrackStateOnSurface select a good hit cutting on outlier hits, hits with too many pixels/strips, hits with large incidence angles | |
| bool | isGoodSiHit (const Trk::TrackStateOnSurface *tsos) const |
| bool | getGoodHole (const Trk::TrackStateOnSurface *tsos) const |
| from a TrackStateOnSurface select a good hole in track cutting on large incidence angles only | |
| ServiceHandle< StoreGateSvc > & | evtStore () |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. | |
| const ServiceHandle< StoreGateSvc > & | detStore () const |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. | |
| virtual StatusCode | sysInitialize () override |
| Perform system initialization for an algorithm. | |
| virtual StatusCode | sysStart () override |
| Handle START transition. | |
| virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. | |
| virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. | |
| Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T, V, H > &t) |
| void | updateVHKA (Gaudi::Details::PropertyBase &) |
| MsgStream & | msg () const |
| bool | msgLvl (const MSG::Level lvl) const |
Static Public Member Functions | |
| static const InterfaceID & | interfaceID () |
| for ToolHandle functionality | |
Protected Member Functions | |
| void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
| remove all handles from I/O resolution | |
| std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > | renounce (T &h) |
| void | extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps) |
| Add StoreName to extra input/output deps as needed. | |
Private Types | |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
| bool | isGangedPixel (const Trk::PrepRawData *prd) const |
| check, whether cluster contains a ganged pixel | |
| bool | isGoodClusterSize (const std::vector< Identifier > &idVec) const |
| check, whether cluster size within limits of m_maxClusterSize | |
| bool | isEdgeChannel (const std::vector< Identifier > &idVec) const |
| check, whether the strip/pixel is an edge channel | |
| double | incidAngle (const Trk::TrackParameters *trkPar, const InDetDD::SiDetectorElement *detEle) const |
| calculate track incidence angle in local x-z frame | |
| bool | isGoodAngle (const Trk::TrackParameters *trkPar, const InDetDD::SiDetectorElement *detEle) const |
| check whether track incidence angle within limits of m_maxIncidAngle | |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Private Attributes | |
| bool | m_rejectOutliers |
| reject hits labeled as outliers by the track fitter | |
| int | m_maxClusterSize |
| bool | m_rejectEdgeChannels |
| reject clusters containing edge channels | |
| bool | m_rejectGangedPixels |
| reject clusters containing ganged pixels | |
| float | m_maxIncidAngle |
| maximum incidence angle of a track (to which the hit belongs) on the Si-module. | |
| bool | m_acceptIBLHits |
| bool | m_acceptPixelHits |
| bool | m_acceptSCTHits |
| const InDetDD::PixelDetectorManager * | m_PIXManager |
| to get pixel phi and eta identifiers | |
| const PixelID * | m_pixelid |
| Pixel id helper. | |
| const SCT_ID * | m_sctID |
| Pixel id helper. | |
| StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) | |
| StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) | |
| std::vector< SG::VarHandleKeyArray * > | m_vhka |
| bool | m_varHandleArraysDeclared |
The InDetAlignHitQualSelTool is to select good quality hits for alignment to build residuals with possible cuts on outlier hits, hits which are too large clusters, hits with large incidence angles, etc.
The InDetAlignHitQualSelTool is to select good quality hits to build residuals for alignment.
The following cuts are possible: outlier hits, hits which have too large clusters, hits with large incidence angles, ganged pixels, edge channels.
Definition at line 34 of file InDetAlignHitQualSelTool.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| InDetAlignHitQualSelTool::InDetAlignHitQualSelTool | ( | const std::string & | t, |
| const std::string & | n, | ||
| const IInterface * | p ) |
Definition at line 21 of file InDetAlignHitQualSelTool.cxx.
|
virtual |
Definition at line 50 of file InDetAlignHitQualSelTool.cxx.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
|
inlineinherited |
Definition at line 145 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 95 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 85 of file AthCommonDataStore.h.
|
protectedinherited |
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
|
virtual |
Definition at line 66 of file InDetAlignHitQualSelTool.cxx.
|
virtual |
main method: from a TrackStateOnSurface select a good hit cutting on outlier hits, hits with too many pixels/strips, hits with large incidence angles
Implements IInDetAlignHitQualSelTool.
Definition at line 71 of file InDetAlignHitQualSelTool.cxx.
|
virtual |
from a TrackStateOnSurface select a good hole in track cutting on large incidence angles only
Implements IInDetAlignHitQualSelTool.
Definition at line 233 of file InDetAlignHitQualSelTool.cxx.
|
private |
calculate track incidence angle in local x-z frame
< local x axis in global frame
< local z axis in global frame
< scalar product
Definition at line 323 of file InDetAlignHitQualSelTool.cxx.
|
virtual |
Definition at line 53 of file InDetAlignHitQualSelTool.cxx.
|
overridevirtualinherited |
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.
|
inlinestaticinherited |
for ToolHandle functionality
Definition at line 42 of file IInDetAlignHitQualSelTool.h.
|
private |
check, whether the strip/pixel is an edge channel
Definition at line 284 of file InDetAlignHitQualSelTool.cxx.
|
private |
check, whether cluster contains a ganged pixel
< cut only if m_maxClusterSize set
Definition at line 259 of file InDetAlignHitQualSelTool.cxx.
|
private |
check whether track incidence angle within limits of m_maxIncidAngle
Definition at line 311 of file InDetAlignHitQualSelTool.cxx.
|
private |
check, whether cluster size within limits of m_maxClusterSize
< cut only if m_maxClusterSize set
Definition at line 273 of file InDetAlignHitQualSelTool.cxx.
|
virtual |
Implements IInDetAlignHitQualSelTool.
Definition at line 129 of file InDetAlignHitQualSelTool.cxx.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
overridevirtualinherited |
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.
|
inlineprotectedinherited |
Definition at line 380 of file AthCommonDataStore.h.
|
inlineprotectedinherited |
remove all handles from I/O resolution
Definition at line 364 of file AthCommonDataStore.h.
|
overridevirtualinherited |
Perform system initialization for an algorithm.
We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.
Reimplemented in asg::AsgMetadataTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and DerivationFramework::CfAthAlgTool.
|
overridevirtualinherited |
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
private |
Definition at line 85 of file InDetAlignHitQualSelTool.h.
|
private |
Definition at line 89 of file InDetAlignHitQualSelTool.h.
|
private |
Definition at line 93 of file InDetAlignHitQualSelTool.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
private |
Definition at line 72 of file InDetAlignHitQualSelTool.h.
|
private |
maximum incidence angle of a track (to which the hit belongs) on the Si-module.
It is caculated in the local xz frame to ensure that the only the angle component perpendicular to the strips is considered. It is defined w/r/t the local z-axis.
Definition at line 81 of file InDetAlignHitQualSelTool.h.
|
private |
Pixel id helper.
Definition at line 98 of file InDetAlignHitQualSelTool.h.
|
private |
to get pixel phi and eta identifiers
Definition at line 97 of file InDetAlignHitQualSelTool.h.
|
private |
reject clusters containing edge channels
Definition at line 74 of file InDetAlignHitQualSelTool.h.
|
private |
reject clusters containing ganged pixels
Definition at line 76 of file InDetAlignHitQualSelTool.h.
|
private |
reject hits labeled as outliers by the track fitter
Definition at line 69 of file InDetAlignHitQualSelTool.h.
|
private |
Pixel id helper.
Definition at line 99 of file InDetAlignHitQualSelTool.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.