![]() |
ATLAS Offline Software
|
#include <MuonTrackPerformanceAlg.h>
Classes | |
| struct | ChamberData |
| struct | EventData |
| struct | EventSummary |
| struct | TrackData |
| struct | TrackSummary |
Public Member Functions | |
| MuonTrackPerformanceAlg (const std::string &name, ISvcLocator *pSvcLocator) | |
| virtual | ~MuonTrackPerformanceAlg () |
| virtual StatusCode | initialize () override |
| virtual StatusCode | execute () override |
| virtual StatusCode | finalize () override |
| virtual unsigned int | cardinality () const override final |
| 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 | |
| void | extractEtaPhiCounts (const std::set< Identifier > &ids, int &neta, int &nphi, int &netaCh, int &nphiCh) const |
| bool | handleTracks () |
| bool | handleTrackTruth (const TrackCollection &trackCollection) |
| bool | handleSegmentCombi (const Muon::MuonSegmentCombination &combi) |
| void | doSummary (const TrackCollection &tracks) const |
| void | doSummary (const Muon::IMuonTrackTruthTool::TruthTree &truthTracks) const |
| std::string | print (const Muon::IMuonTrackTruthTool::TruthTreeEntry &trackTruth) const |
| std::string | eventInfo () const |
| int | eventNumber () const |
| void | printMissingChambers () const |
| void | printMissingTracks () const |
| void | printFakeTracks () const |
| std::pair< int, int > | countHitsInChamber (const Identifier &chId, const std::set< Identifier > &hitIds) const |
| counts number of eta (first number) and phi (second number in pair) hits in the set of hit IDs in the given chamber | |
| bool | insertChamber (const Identifier &chId, const std::set< Identifier > &hits, int minEtaHits, int minPhiHits, ChamberData &chamberData) const |
| insert chamber information into ChamberData if hits counts pass cuts, returns true if anything was inserted | |
| bool | insertTechnology (const std::set< Identifier > &chIds, const std::set< Identifier > &hits, int minEtaHits, int minPhiHits, std::vector< ChamberData > &chamberData) const |
| insert set of chambers into chamber data if hits counts pass cuts, returns true if anything was inserted | |
| bool | insertStationLayers (const std::set< Identifier > &chIds, const std::set< Muon::MuonStationIndex::StIndex > &exclusionList, std::set< Muon::MuonStationIndex::StIndex > &layers) const |
| insert station layers into layer set if they are not in exclusion list | |
| bool | insertStationLayers (const std::vector< ChamberData > &chambers, const std::set< Muon::MuonStationIndex::StIndex > &exclusionList, std::set< Muon::MuonStationIndex::StIndex > &layers, bool usePrecision) const |
| insert chamber data into layers if not in exclusion list | |
| TrackData * | evaluateTrackTruthOverlap (const Muon::MuonTrackTruth &truthTrack) const |
| evaluate track/truth overlap and create the corresponding overlap description object | |
| TrackData * | createTrackData (const Muon::IMuonTrackTruthTool::TruthTreeEntry &trackTruth) const |
| create track data object for truth track | |
| void | addTrackToTrackData (const Trk::Track &track, TrackData &trackData) const |
| std::string | print (const TrackData &trackData) const |
| print TrackData to a string | |
| std::string | print (const EventData &event, const std::vector< TrackData * > &tracks, const std::string &message) const |
| std::string | print (const EventData &event, const std::vector< const Trk::Track * > &tracks, const std::string &message) const |
| std::string | printTrackCounters (bool doSecondaries=true) const |
| print all the track counters to a string to provide a summary | |
| void | clearTracks (std::vector< const Trk::Track * > tracks) |
| void | clearTracks (std::vector< TrackData * > tracks) |
| void | clearEvent (EventData &event) |
| HepMC::ConstGenParticlePtr | getMother (const TruthTrajectory &traj) const |
| HepMC::ConstGenParticlePtr | getInitialState (const TruthTrajectory &traj) const |
| bool | goodTruthTrack (const Muon::IMuonTrackTruthTool::TruthTreeEntry &entry) const |
| bool | isSecondary (const Muon::MuonTrackTruth &truthTrack) const |
| bool | isSecondary (const Muon::IMuonTrackTruthTool::TruthTreeEntry &entry) const |
| bool | isSecondary (const TruthTrajectory &truthTrajectory) const |
| bool | selectPdg (int pdg) const |
| void | printSummary (const std::vector< EventSummary > &summary, std::string typeName) const |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Definition at line 50 of file MuonTrackPerformanceAlg.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| MuonTrackPerformanceAlg::MuonTrackPerformanceAlg | ( | const std::string & | name, |
| ISvcLocator * | pSvcLocator ) |
Definition at line 18 of file MuonTrackPerformanceAlg.cxx.
|
virtual |
Definition at line 75 of file MuonTrackPerformanceAlg.cxx.
|
private |
Definition at line 1244 of file MuonTrackPerformanceAlg.cxx.
|
inlinefinaloverridevirtual |
Definition at line 190 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 1366 of file MuonTrackPerformanceAlg.cxx.
|
private |
Definition at line 1352 of file MuonTrackPerformanceAlg.cxx.
|
private |
|
private |
counts number of eta (first number) and phi (second number in pair) hits in the set of hit IDs in the given chamber
Definition at line 997 of file MuonTrackPerformanceAlg.cxx.
|
private |
create track data object for truth track
Definition at line 1257 of file MuonTrackPerformanceAlg.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.
|
private |
Definition at line 622 of file MuonTrackPerformanceAlg.cxx.
|
private |
Definition at line 598 of file MuonTrackPerformanceAlg.cxx.
|
private |
evaluate track/truth overlap and create the corresponding overlap description object
Definition at line 1082 of file MuonTrackPerformanceAlg.cxx.
|
private |
Definition at line 596 of file MuonTrackPerformanceAlg.cxx.
|
private |
Definition at line 591 of file MuonTrackPerformanceAlg.cxx.
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 85 of file AthCommonDataStore.h.
|
overridevirtual |
Definition at line 112 of file MuonTrackPerformanceAlg.cxx.
|
private |
|
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.
|
overridevirtual |
Definition at line 563 of file MuonTrackPerformanceAlg.cxx.
|
private |
Definition at line 1391 of file MuonTrackPerformanceAlg.cxx.
|
private |
Definition at line 1382 of file MuonTrackPerformanceAlg.cxx.
|
private |
Definition at line 235 of file MuonTrackPerformanceAlg.cxx.
|
private |
This method loops over the segments in the combi and filles them into the internal structure of the MuonCombiTrackMaker
Definition at line 127 of file MuonTrackPerformanceAlg.cxx.
|
private |
Definition at line 155 of file MuonTrackPerformanceAlg.cxx.
|
private |
Definition at line 252 of file MuonTrackPerformanceAlg.cxx.
|
overridevirtual |
Definition at line 77 of file MuonTrackPerformanceAlg.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.
|
private |
insert chamber information into ChamberData if hits counts pass cuts, returns true if anything was inserted
Definition at line 1015 of file MuonTrackPerformanceAlg.cxx.
|
private |
insert station layers into layer set if they are not in exclusion list
Definition at line 1053 of file MuonTrackPerformanceAlg.cxx.
|
private |
insert chamber data into layers if not in exclusion list
Definition at line 1068 of file MuonTrackPerformanceAlg.cxx.
|
private |
insert set of chambers into chamber data if hits counts pass cuts, returns true if anything was inserted
Definition at line 1041 of file MuonTrackPerformanceAlg.cxx.
|
private |
Definition at line 1411 of file MuonTrackPerformanceAlg.cxx.
|
private |
Definition at line 1406 of file MuonTrackPerformanceAlg.cxx.
|
private |
Definition at line 1416 of file MuonTrackPerformanceAlg.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.
|
private |
Definition at line 763 of file MuonTrackPerformanceAlg.cxx.
|
private |
Definition at line 750 of file MuonTrackPerformanceAlg.cxx.
|
private |
Definition at line 642 of file MuonTrackPerformanceAlg.cxx.
|
private |
print TrackData to a string
Definition at line 1133 of file MuonTrackPerformanceAlg.cxx.
|
private |
Definition at line 885 of file MuonTrackPerformanceAlg.cxx.
|
private |
Definition at line 776 of file MuonTrackPerformanceAlg.cxx.
|
private |
Definition at line 856 of file MuonTrackPerformanceAlg.cxx.
|
private |
|
private |
print all the track counters to a string to provide a summary
Definition at line 924 of file MuonTrackPerformanceAlg.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.
|
inlineprivate |
Definition at line 260 of file MuonTrackPerformanceAlg.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 |
Definition at line 358 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 272 of file MuonTrackPerformanceAlg.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
private |
Definition at line 301 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 300 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 299 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 280 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 277 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 285 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 287 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 276 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 278 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 279 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 293 of file MuonTrackPerformanceAlg.h.
|
private |
pointer to the event info
Definition at line 266 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 265 of file MuonTrackPerformanceAlg.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 |
name of external file to write statistics
Definition at line 361 of file MuonTrackPerformanceAlg.h.
|
private |
output file
Definition at line 364 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 289 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 284 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 269 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 304 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 305 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 303 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 312 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 306 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 307 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 310 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 311 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 308 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 309 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 282 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 281 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 264 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 270 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 314 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 321 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 322 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 323 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 324 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 319 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 317 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 318 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 326 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 327 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 330 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 329 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 334 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 336 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 333 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 335 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 332 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 315 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 342 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 343 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 340 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 338 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 339 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 366 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 291 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 367 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 298 of file MuonTrackPerformanceAlg.h.
|
private |
Location of the input tracks.
Definition at line 262 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 273 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 370 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 371 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 297 of file MuonTrackPerformanceAlg.h.
|
private |
Definition at line 283 of file MuonTrackPerformanceAlg.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.
|
private |
Definition at line 286 of file MuonTrackPerformanceAlg.h.