![]() |
ATLAS Offline Software
|
#include <RefitTracksAndVertex.h>
Public Member Functions | |
| RefitTracksAndVertex (const std::string &name, ISvcLocator *pSvcLocator) | |
| The RefitTracksAndVertex is an implementation to add the so-called TRT momentum constraint on a track. | |
| ~RefitTracksAndVertex () | |
| StatusCode | initialize () |
| initialize method of this algorithm. | |
| StatusCode | execute () |
| execute method of this algorithm that is called for each event | |
| StatusCode | finalize () |
| finalize method of this algorithm. | |
| MsgStream & | dump (MsgStream &outst) const |
| virtual StatusCode | sysInitialize () override |
| Override sysInitialize. | |
| virtual const DataObjIDColl & | extraOutputDeps () const override |
| Return the list of extra output dependencies. | |
| 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 | 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 |
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 | accept (const Trk::Track &track) |
| Verifies if the given track passes the track selection criteria specified via the jobOptions. | |
| const Trk::MeasurementSet | addPM (Trk::MeasurementSet &ms, const Trk::PseudoMeasurementOnTrack *pm) |
| adds a PseudoMeasurement to a MeasurementSet | |
| const Trk::PseudoMeasurementOnTrack * | createPMfromSi (const Trk::Perigee *mp) |
| creates a PseudoMeasurement with (z0, theta) from extended track perigee parameters | |
| Trk::Track * | fitSCTOnlyTrack (const Trk::Track *track) |
| Strips of all TRT hits from the track and replaces them with a TRT momentum constraint from a the TRT segment belonging to the (extended) track (returns NULL in case of failure) | |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Private Attributes | |
| const AtlasDetectorID * | m_idHelper |
| Detector ID helper. | |
| std::string | m_vertexListInput |
| Name of the TrackCollection (input) | |
| std::string | m_trackListOutput |
| Name of the TrackCollection (Output) | |
| std::string | m_outputVertexContainerName |
| Name of vertex container. | |
| ToolHandle< Trk::ITrackFitter > | m_trackFitter |
| The TrackFitter to refit the tracks (segment, momentum constraint) | |
| ToolHandle< Trk::IVertexFitter > | m_vertexFitter |
| The TrackFitter to refit the tracks (segment, momentum constraint) | |
| bool | m_applyTrkSel |
| apply a selection on tracks or not | |
| bool | m_refitTracks |
| refitTracks | |
| bool | m_addPM |
| apply a pseudo measurement based on the original track (theta,z0) | |
| double | m_selPtMin |
| minimal pT cut value for the TrackSelection | |
| double | m_selEtaMin |
| minimal eta cut value for the TrackSelection | |
| double | m_selEtaMax |
| maximal eta cut value for the TrackSelection | |
| int | m_selNHitPIXMin |
| minimal number of PIX hits cut value for the TrackSelection | |
| int | m_selNHitSCTMin |
| minimal number of SCT hits cut value for the TrackSelection | |
| size_t | m_nTracksProcessed |
| Counter for number of tracks processed. | |
| size_t | m_nTracksPresel |
| Counter for number of tracks passing the preselection. | |
| size_t | m_nTracksAccepted |
| Counter for number of tracks passing the preselection and with PM. | |
| size_t | m_nRejectPIX |
| Counter for number of tracks failing the min number of PIX hits req. | |
| size_t | m_nRejectSCT |
| Counter for number of tracks failing the min number of SCT hits req. | |
| size_t | m_nRejectTRT |
| Counter for number of tracks failing the min number of TRT hits req. | |
| size_t | m_nRejectPM |
| Counter for number of tracks failing the addition of a pseudo-measurement (PM) | |
| DataObjIDColl | m_extendedExtraObjects |
| 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 |
Definition at line 31 of file RefitTracksAndVertex.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| RefitTracksAndVertex::RefitTracksAndVertex | ( | const std::string & | name, |
| ISvcLocator * | pSvcLocator ) |
The RefitTracksAndVertex is an implementation to add the so-called TRT momentum constraint on a track.
It was developed in the context of alignment, and its main idea is that if the TRT is free from "weak modes", its curvature measurement can be added as a PseudoMeasurement (PM) to a Si-only track. This extra information, taken into account while refitting the Si-only part of the track or read in by the alignment algorithms directly, can serve to eliminate the alignment weak modes from the Si tracker of ATLAS. More details can be found at: https://twiki.cern.ch/twiki/bin/view/Atlas/TRTMomConstraint
Definition at line 27 of file RefitTracksAndVertex.cxx.
| RefitTracksAndVertex::~RefitTracksAndVertex | ( | ) |
Definition at line 68 of file RefitTracksAndVertex.cxx.
|
private |
Verifies if the given track passes the track selection criteria specified via the jobOptions.
|
private |
adds a PseudoMeasurement to a MeasurementSet
Definition at line 237 of file RefitTracksAndVertex.cxx.
|
private |
creates a PseudoMeasurement with (z0, theta) from extended track perigee parameters
Definition at line 213 of file RefitTracksAndVertex.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.
| MsgStream & RefitTracksAndVertex::dump | ( | MsgStream & | outst | ) | const |
Definition at line 345 of file RefitTracksAndVertex.cxx.
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 85 of file AthCommonDataStore.h.
| StatusCode RefitTracksAndVertex::execute | ( | ) |
execute method of this algorithm that is called for each event
Definition at line 123 of file RefitTracksAndVertex.cxx.
|
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
|
overridevirtualinherited |
Return the list of extra output dependencies.
This list is extended to include symlinks implied by inheritance relations.
Definition at line 50 of file AthAlgorithm.cxx.
| StatusCode RefitTracksAndVertex::finalize | ( | ) |
finalize method of this algorithm.
Prints out a summary of all events
Definition at line 118 of file RefitTracksAndVertex.cxx.
|
private |
Strips of all TRT hits from the track and replaces them with a TRT momentum constraint from a the TRT segment belonging to the (extended) track (returns NULL in case of failure)
Definition at line 246 of file RefitTracksAndVertex.cxx.
| StatusCode RefitTracksAndVertex::initialize | ( | ) |
initialize method of this algorithm.
Definition at line 70 of file RefitTracksAndVertex.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.
|
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 |
Override sysInitialize.
Override sysInitialize from the base class.
Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc
Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc
Reimplemented from AthCommonDataStore< AthCommonMsg< Algorithm > >.
Reimplemented in AthAnalysisAlgorithm, AthFilterAlgorithm, AthHistogramAlgorithm, and PyAthena::Alg.
Definition at line 66 of file AthAlgorithm.cxx.
|
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 |
apply a pseudo measurement based on the original track (theta,z0)
Definition at line 73 of file RefitTracksAndVertex.h.
|
private |
apply a selection on tracks or not
Definition at line 71 of file RefitTracksAndVertex.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.
|
privateinherited |
Definition at line 79 of file AthAlgorithm.h.
|
private |
Detector ID helper.
Definition at line 60 of file RefitTracksAndVertex.h.
|
private |
Counter for number of tracks failing the min number of PIX hits req.
Definition at line 82 of file RefitTracksAndVertex.h.
|
private |
Counter for number of tracks failing the addition of a pseudo-measurement (PM)
Definition at line 85 of file RefitTracksAndVertex.h.
|
private |
Counter for number of tracks failing the min number of SCT hits req.
Definition at line 83 of file RefitTracksAndVertex.h.
|
private |
Counter for number of tracks failing the min number of TRT hits req.
Definition at line 84 of file RefitTracksAndVertex.h.
|
private |
Counter for number of tracks passing the preselection and with PM.
Definition at line 81 of file RefitTracksAndVertex.h.
|
private |
Counter for number of tracks passing the preselection.
Definition at line 80 of file RefitTracksAndVertex.h.
|
private |
Counter for number of tracks processed.
Definition at line 79 of file RefitTracksAndVertex.h.
|
private |
Name of vertex container.
Definition at line 66 of file RefitTracksAndVertex.h.
|
private |
refitTracks
Definition at line 72 of file RefitTracksAndVertex.h.
|
private |
maximal eta cut value for the TrackSelection
Definition at line 76 of file RefitTracksAndVertex.h.
|
private |
minimal eta cut value for the TrackSelection
Definition at line 75 of file RefitTracksAndVertex.h.
|
private |
minimal number of PIX hits cut value for the TrackSelection
Definition at line 77 of file RefitTracksAndVertex.h.
|
private |
minimal number of SCT hits cut value for the TrackSelection
Definition at line 78 of file RefitTracksAndVertex.h.
|
private |
minimal pT cut value for the TrackSelection
Definition at line 74 of file RefitTracksAndVertex.h.
|
private |
The TrackFitter to refit the tracks (segment, momentum constraint)
Definition at line 67 of file RefitTracksAndVertex.h.
|
private |
Name of the TrackCollection (Output)
Definition at line 65 of file RefitTracksAndVertex.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
private |
The TrackFitter to refit the tracks (segment, momentum constraint)
Definition at line 68 of file RefitTracksAndVertex.h.
|
private |
Name of the TrackCollection (input)
Definition at line 61 of file RefitTracksAndVertex.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.