![]() |
ATLAS Offline Software
|
Helper tool to print EDM objects to string in a fix format. More...
#include <MuonEDMPrinterTool.h>
Public Member Functions | |
| MuonEDMPrinterTool (const std::string &, const std::string &, const IInterface *) | |
| constructor | |
| ~MuonEDMPrinterTool ()=default | |
| destructor | |
| StatusCode | initialize () |
| AlgTool initilize. | |
| std::string | print (const Trk::Track &track) const |
| print track parameters to string | |
| std::string | printStations (const Trk::Track &track) const |
| print stations on track to string | |
| std::string | print (const Trk::MuonTrackSummary &summary) const |
| print stations on track to string | |
| std::string | print (const MuonSegment &segment) const |
| print segment parameters to string | |
| std::string | print (const std::vector< const MuonSegment * > &segs) const |
| print vector of segments | |
| std::string | print (std::vector< std::unique_ptr< MuonSegment > > &segs) const |
| std::string | print (const Trk::MeasurementBase &measurement) const |
| print Muon MeasurementBase to string | |
| std::string | print (const Trk::PrepRawData &prd) const |
| print Muon PrepRawData to string | |
| std::string | print (const std::vector< const Trk::MeasurementBase * > &measurements) const |
| print vector of measurement base to string | |
| std::string | print (const MuonSegmentCombinationCollection &combiCol) const |
| print MuonSegmentCombinationCollection | |
| std::string | print (const MuonSegmentCombination &combi) const |
| print MuonSegmentCombination | |
| std::string | print (const MuonPattern &pattern) const |
| print MuonPattern | |
| std::string | print (const MuonPatternCollection &patCol) const |
| print MuonPatternCollection | |
| std::string | print (const MuonPrdPatternCollection &patCol) const |
| print MuonPatternCollection | |
| std::string | print (const MuonPatternCombination &pattern) const |
| print MuonPatternCombination | |
| std::string | print (const MuonPatternCombinationCollection &combiCol) const |
| print MuonPatternCombinationCollection | |
| std::string | print (const MuonPatternChamberIntersect &intersect) const |
| print MuonPatternChamberIntersect | |
| std::string | print (const Trk::TrackStateOnSurface &tsos) const |
| print the track state on surface to the string | |
| std::string | printMeasurements (const Trk::Track &track) const |
| print measurements on track to string | |
| std::string | printData (const Trk::MeasurementBase &measurement) const |
| print data part of Muon MeasurementBase to string | |
| std::string | printId (const Trk::MeasurementBase &measurement) const |
| print identifier part of Muon MeasurementBase to string | |
| 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 () |
| access to tool interface | |
| static std::string | printPatRec (const Trk::Track &track) |
| produce a string indicating who produced the track | |
| static std::string | print (const Trk::TrackParameters &pars) |
| print Trk::TrackParameters | |
| static std::string | print (const Trk::ResidualPull &resPull) |
| print ResidualPull object to string | |
| static std::string | print (const Trk::MaterialEffectsBase &mat) |
| print the material effects object to the string | |
| static std::string | print (const Trk::AlignmentEffectsOnTrack &aeot) |
| print the alignment effects on track object to the string | |
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 | |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Private Attributes | |
| ServiceHandle< Muon::IMuonIdHelperSvc > | m_idHelperSvc |
| ServiceHandle< IMuonEDMHelperSvc > | m_edmHelperSvc |
| ToolHandle< Trk::IResidualPullCalculator > | m_pullCalculator |
| SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > | m_DetectorManagerKey |
| SG::ReadHandleKey< MdtPrepDataContainer > | m_mdtKey |
| SG::ReadHandleKey< RpcPrepDataContainer > | m_rpcKey |
| SG::ReadHandleKey< TgcPrepDataContainer > | m_tgcKey |
| 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 |
Helper tool to print EDM objects to string in a fix format.
Definition at line 43 of file MuonEDMPrinterTool.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| Muon::MuonEDMPrinterTool::MuonEDMPrinterTool | ( | const std::string & | ty, |
| const std::string & | na, | ||
| const IInterface * | pa ) |
constructor
Definition at line 35 of file MuonEDMPrinterTool.cxx.
|
default |
destructor
|
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
| StatusCode Muon::MuonEDMPrinterTool::initialize | ( | ) |
AlgTool initilize.
Definition at line 41 of file MuonEDMPrinterTool.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.
|
inlinestatic |
access to tool interface
Definition at line 55 of file MuonEDMPrinterTool.h.
|
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.
| std::string Muon::MuonEDMPrinterTool::print | ( | const MuonPattern & | pattern | ) | const |
print MuonPattern
Definition at line 585 of file MuonEDMPrinterTool.cxx.
| std::string Muon::MuonEDMPrinterTool::print | ( | const MuonPatternChamberIntersect & | intersect | ) | const |
print MuonPatternChamberIntersect
&& !detEls.count(detEl)
&& !detEls.count(detEl2)
Definition at line 696 of file MuonEDMPrinterTool.cxx.
| std::string Muon::MuonEDMPrinterTool::print | ( | const MuonPatternCollection & | patCol | ) | const |
print MuonPatternCollection
Definition at line 607 of file MuonEDMPrinterTool.cxx.
| std::string Muon::MuonEDMPrinterTool::print | ( | const MuonPatternCombination & | pattern | ) | const |
print MuonPatternCombination
Definition at line 670 of file MuonEDMPrinterTool.cxx.
| std::string Muon::MuonEDMPrinterTool::print | ( | const MuonPatternCombinationCollection & | combiCol | ) | const |
print MuonPatternCombinationCollection
Definition at line 649 of file MuonEDMPrinterTool.cxx.
| std::string Muon::MuonEDMPrinterTool::print | ( | const MuonPrdPatternCollection & | patCol | ) | const |
print MuonPatternCollection
Definition at line 628 of file MuonEDMPrinterTool.cxx.
| std::string Muon::MuonEDMPrinterTool::print | ( | const MuonSegment & | segment | ) | const |
print segment parameters to string
Definition at line 315 of file MuonEDMPrinterTool.cxx.
| std::string Muon::MuonEDMPrinterTool::print | ( | const MuonSegmentCombination & | combi | ) | const |
print MuonSegmentCombination
Definition at line 559 of file MuonEDMPrinterTool.cxx.
| std::string Muon::MuonEDMPrinterTool::print | ( | const MuonSegmentCombinationCollection & | combiCol | ) | const |
print MuonSegmentCombinationCollection
Definition at line 538 of file MuonEDMPrinterTool.cxx.
| std::string Muon::MuonEDMPrinterTool::print | ( | const std::vector< const MuonSegment * > & | segs | ) | const |
print vector of segments
Definition at line 494 of file MuonEDMPrinterTool.cxx.
| std::string Muon::MuonEDMPrinterTool::print | ( | const std::vector< const Trk::MeasurementBase * > & | measurements | ) | const |
print vector of measurement base to string
Definition at line 455 of file MuonEDMPrinterTool.cxx.
|
static |
print the alignment effects on track object to the string
Definition at line 995 of file MuonEDMPrinterTool.cxx.
|
static |
print the material effects object to the string
Definition at line 969 of file MuonEDMPrinterTool.cxx.
| std::string Muon::MuonEDMPrinterTool::print | ( | const Trk::MeasurementBase & | measurement | ) | const |
print Muon MeasurementBase to string
Definition at line 448 of file MuonEDMPrinterTool.cxx.
| std::string Muon::MuonEDMPrinterTool::print | ( | const Trk::MuonTrackSummary & | summary | ) | const |
print stations on track to string
Definition at line 60 of file MuonEDMPrinterTool.cxx.
| std::string Muon::MuonEDMPrinterTool::print | ( | const Trk::PrepRawData & | prd | ) | const |
print Muon PrepRawData to string
Definition at line 403 of file MuonEDMPrinterTool.cxx.
|
static |
print ResidualPull object to string
Definition at line 861 of file MuonEDMPrinterTool.cxx.
| std::string Muon::MuonEDMPrinterTool::print | ( | const Trk::Track & | track | ) | const |
print track parameters to string
Definition at line 279 of file MuonEDMPrinterTool.cxx.
|
static |
print Trk::TrackParameters
Definition at line 845 of file MuonEDMPrinterTool.cxx.
| std::string Muon::MuonEDMPrinterTool::print | ( | const Trk::TrackStateOnSurface & | tsos | ) | const |
print the track state on surface to the string
Definition at line 1002 of file MuonEDMPrinterTool.cxx.
| std::string Muon::MuonEDMPrinterTool::print | ( | std::vector< std::unique_ptr< MuonSegment > > & | segs | ) | const |
Definition at line 516 of file MuonEDMPrinterTool.cxx.
| std::string Muon::MuonEDMPrinterTool::printData | ( | const Trk::MeasurementBase & | measurement | ) | const |
print data part of Muon MeasurementBase to string
Definition at line 878 of file MuonEDMPrinterTool.cxx.
| std::string Muon::MuonEDMPrinterTool::printId | ( | const Trk::MeasurementBase & | measurement | ) | const |
print identifier part of Muon MeasurementBase to string
Definition at line 950 of file MuonEDMPrinterTool.cxx.
| std::string Muon::MuonEDMPrinterTool::printMeasurements | ( | const Trk::Track & | track | ) | const |
print measurements on track to string
Definition at line 154 of file MuonEDMPrinterTool.cxx.
|
static |
produce a string indicating who produced the track
Definition at line 260 of file MuonEDMPrinterTool.cxx.
| std::string Muon::MuonEDMPrinterTool::printStations | ( | const Trk::Track & | track | ) | const |
print stations on track to string
Definition at line 136 of file MuonEDMPrinterTool.cxx.
|
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 155 of file MuonEDMPrinterTool.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
private |
Definition at line 142 of file MuonEDMPrinterTool.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
private |
Definition at line 137 of file MuonEDMPrinterTool.h.
|
private |
Definition at line 161 of file MuonEDMPrinterTool.h.
|
private |
Definition at line 149 of file MuonEDMPrinterTool.h.
|
private |
Definition at line 167 of file MuonEDMPrinterTool.h.
|
private |
Definition at line 173 of file MuonEDMPrinterTool.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.