![]() |
ATLAS Offline Software
|
#include <MsTrackTester.h>
Classes | |
| struct | SegmentTagVariables |
| Searched the MuTagIMO tag. More... | |
Public Member Functions | |
| StatusCode | initialize () override final |
| StatusCode | execute (const EventContext &ctx) override final |
| Execute method. | |
| StatusCode | finalize () override final |
| AthHistogramAlgorithm (const std::string &name, ISvcLocator *pSvcLocator) | |
| Constructor with parameters: | |
| virtual StatusCode | sysInitialize () |
| Initialization method invoked by the framework. | |
| const ServiceHandle< ITHistSvc > & | histSvc () const |
The standard THistSvc (for writing histograms and TTrees and more to a root file) Returns (kind of) a pointer to the THistSvc. | |
| virtual bool | isClonable () const override |
| Specify if the algorithm is clonable. | |
| virtual StatusCode | sysExecute (const EventContext &ctx) override |
| Execute an algorithm. | |
| virtual const DataObjIDColl & | extraOutputDeps () const override |
| Return the list of extra output dependencies. | |
| virtual bool | filterPassed (const EventContext &ctx) const |
| Get filter decision: | |
| virtual void | setFilterPassed (bool state, const EventContext &ctx) const |
| Set filter decision: | |
| 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 | |
| virtual bool | isReEntrant () const override final |
| Legacy algorithms are not thread-safe. | |
| 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. | |
| StatusCode | configAthHistogramming (const ServiceHandle< ITHistSvc > &histSvc, const std::string &prefix, const std::string &rootDir, const std::string &histNamePrefix, const std::string &histNamePostfix, const std::string &histTitlePrefix, const std::string &histTitlePostfix) |
| To be called by the derived classes to fill the internal configuration. | |
| TH1 * | bookGetPointer (const TH1 &hist, const std::string &tDir="", const std::string &stream="") |
| Simplify the booking and registering (into THistSvc) of histograms. | |
| TH1 * | bookGetPointer (TH1 *hist, const std::string &tDir="", const std::string &stream="") |
| Simplify the booking and registering (into THistSvc) of histograms. | |
| TH1 * | bookGetPointer (TH1 &histRef, std::string tDir="", std::string stream="") |
| Simplify the booking and registering (into THistSvc) of histograms. | |
| TTree * | bookGetPointer (const TTree &treeRef, std::string tDir="", std::string stream="") |
| Simplify the booking and registering (into THistSvc) of TTrees. | |
| TGraph * | bookGetPointer (const TGraph &graphRef, std::string tDir="", std::string stream="") |
| Simplify the booking and registering (into THistSvc) of TGraphs. | |
| TEfficiency * | bookGetPointer (const TEfficiency &eff, const std::string &tDir="", const std::string &stream="") |
| Simplify the booking and registering (into THistSvc) of TEfficiency. | |
| TEfficiency * | bookGetPointer (TEfficiency *eff, const std::string &tDir="", const std::string &stream="") |
| Simplify the booking and registering (into THistSvc) of TEfficiency. | |
| TEfficiency * | bookGetPointer (TEfficiency &effRef, std::string tDir="", std::string stream="") |
| Simplify the booking and registering (into THistSvc) of TEfficiency. | |
| StatusCode | book (const TH1 &hist, const std::string &tDir="", const std::string &stream="") |
| Simplify the booking and registering (into THistSvc) of histograms. | |
| StatusCode | book (TH1 *hist, const std::string &tDir="", const std::string &stream="") |
| Simplify the booking and registering (into THistSvc) of histograms. | |
| StatusCode | book (TH1 &histRef, const std::string &tDir="", const std::string &stream="") |
| Simplify the booking and registering (into THistSvc) of histograms. | |
| StatusCode | book (const TTree &treeRef, const std::string &tDir="", const std::string &stream="") |
| Simplify the booking and registering (into THistSvc) of TTrees. | |
| StatusCode | book (const TGraph &graphRef, const std::string &tDir="", const std::string &stream="") |
| Simplify the booking and registering (into THistSvc) of TGraphs. | |
| StatusCode | book (const TEfficiency &eff, const std::string &tDir="", const std::string &stream="") |
| Simplify the booking and registering (into THistSvc) of TEfficiency. | |
| StatusCode | book (TEfficiency *eff, const std::string &tDir="", const std::string &stream="") |
| Simplify the booking and registering (into THistSvc) of TEfficiency. | |
| StatusCode | book (TEfficiency &effRef, const std::string &tDir="", const std::string &stream="") |
| Simplify the booking and registering (into THistSvc) of TEfficiency. | |
| TH1 * | hist (const std::string &histName, const std::string &tDir="", const std::string &stream="") |
| Simplify the retrieval of registered histograms of any type. | |
| TH2 * | hist2d (const std::string &histName, const std::string &tDir="", const std::string &stream="") |
| Simplify the retrieval of registered 2-d histograms. | |
| TH3 * | hist3d (const std::string &histName, const std::string &tDir="", const std::string &stream="") |
| Simplify the retrieval of registered 3-d histograms. | |
| TTree * | tree (const std::string &treeName, const std::string &tDir="", const std::string &stream="") |
| Simplify the retrieval of registered TTrees. | |
| TGraph * | graph (const std::string &graphName, const std::string &tDir="", const std::string &stream="") |
| Simplify the retrieval of registered TGraphs. | |
| TEfficiency * | efficiency (const std::string &effName, const std::string &tDir="", const std::string &stream="") |
| Simplify the retrieval of registered TEfficiency. | |
Private Types | |
| using | Location = MuonR4::MsTrackSeed::Location |
| using | SectorProjector = MuonR4::ExpandedSector::SectorProjector |
| using | TruthHitCol = std::unordered_set<const xAOD::MuonSimHit*> |
| using | SegmentKey_t = SG::ReadHandleKey<xAOD::MuonSegmentContainer> |
| Abrivate the ReadHandleKey_t for the segment container. | |
| using | TrackKey_t = SG::ReadHandleKey<xAOD::TrackParticleContainer> |
| Abrivate the key type for the track particle container. | |
| using | MuonKey_t = SG::ReadHandleKey<xAOD::MuonContainer> |
| Abrivate the key type for the muon container. | |
| using | MuonTagKey_t = SG::ReadHandleKey<MuonR4::MuonTagContainer> |
| Abrivate the muon tag container. | |
| using | ParticleBranchPtr_t = std::shared_ptr<MuonVal::IParticleFourMomBranch> |
| using | SegmentBranchPtr_t = std::shared_ptr<MuonPRDTest::SegmentVariables> |
| Abrivation of the branches containing sement information. | |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
| typedef uint32_t | hash_t |
| typedef for the internal hash | |
| typedef std::map< const hash_t, TH1 * > | HistMap_t |
| Typedef for convenience. | |
| typedef std::map< const hash_t, TEfficiency * > | EffMap_t |
| Typedef for convenience. | |
| typedef std::map< const hash_t, TTree * > | TreeMap_t |
| Typedef for convenience. | |
| typedef std::map< const hash_t, TGraph * > | GraphMap_t |
| Typedef for convenience. | |
Private Member Functions | |
| std::optional< MuonR4::MsTrackSeed > | makeSeedFromTruth (const Acts::GeometryContext &tgContext, const xAOD::TruthParticle &truthMuon) const |
| Construct MS track seed from the truth associated segments. | |
| std::pair< double, double > | calcSeedLength (const Acts::GeometryContext &tgContext, const MuonR4::MsTrackSeed &seed) const |
| Calculate the length of the seed and the theta deflection angle The length is defined as the spread of the seed's segments in the cylinder coordinate. | |
| const xAOD::TruthParticle * | truthTreeParticle (const xAOD::IParticle &part) const |
| Returns the matched truth particle that is dumped in the tree. | |
| std::vector< const xAOD::MuonSegment * > | getAssociatedSegments (const xAOD::TrackParticle &idTrack, const EventContext &ctx) const |
| Returns the collection of reconstructed segments that can be associated to the id track If the track is connected with a truth muon, the list of reconstructed segments matched to the truth muon is returned. | |
| const MuonR4::MuonTag * | findBaseIdTag (const xAOD::TrackParticle &idTrack, const EventContext &ctx) const |
| Searches the Id track in the basline collection of all ID tracks selected for the combined muon reconstructiion (STACO/MuidCo/MuTagIMO/Calo). | |
| const MuonR4::MuonTag * | findMuTagIMO (const xAOD::TrackParticle &idTrack, const EventContext &ctx) const |
| const MuonGMR4::SpectrometerSector * | getEnvelope (const xAOD::MuonSegment &segment) const |
| SegmentTagVariables | calcSegTagVariables (const xAOD::TrackParticle &idTrack, const EventContext &ctx) |
| StatusCode | dumpLegacyTracks (const EventContext &ctx) |
| Dumps the legacy containers to the TTree. | |
| StatusCode | dumpTruthContent (const EventContext &ctx) |
| Dump truth information. | |
| StatusCode | dumpRecoContent (const EventContext &ctx) |
| Dump the reconstructed information. | |
| const Acts::Logger & | logger () const |
| Return the reference to the Acts logger. | |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
| void | buildBookingString (std::string &bookingString, std::string &histName, std::string &tDir, std::string &stream, bool usePrefixPostfix=false) |
| Method to build individual booking string. | |
| void | myReplace (std::string &str, const std::string &oldStr, const std::string &newStr) |
| Helper method to replace sub-string. | |
| hash_t | hash (const std::string &histName) const |
| Method to calculate a 32-bit hash from a string. | |
Private Attributes | |
| MuonVal::MuonTesterTree | m_tree {"MsTrackValidTest", "MuonTrackTester"} |
| The output tree object. | |
| const MuonGMR4::MuonDetectorManager * | m_detMgr {nullptr} |
| The detector manager to fetch the segment surfaces. | |
| Gaudi::Property< bool > | m_isMC {this, "isMC", false} |
| Toggle whether the job runs on MC or not. | |
| Gaudi::Property< bool > | m_storeID {this, "storeIdTrks", true} |
| Toggle whether to process ID tracks or not. | |
| SegmentKey_t | m_truthSegmentKey {this, "TruthSegmentKey", "MuonTruthSegments"} |
| Segment from the truth hits. | |
| SegmentKey_t | m_recoSegmentKey {this, "SegmentKey", "MuonSegmentsFromR4"} |
| Primary segment container. | |
| SegmentKey_t | m_legacySegmentKey {this, "LegacySegmentKey", "MuonSegments"} |
| Legacy segment container. | |
| SG::ReadHandleKey< xAOD::TruthParticleContainer > | m_truthKey {this, "TruthKey", "MuonTruthParticles"} |
| Key to the truth particle collection. | |
| SG::ReadDecorHandleKeyArray< SG::AuxVectorBase > | m_trkTruthLinks {this, "TruthTrackLinks", {}} |
| Decoration dependency to the MS truth track links. | |
| SG::ReadHandleKey< MuonR4::MsTrackSeedContainer > | m_msTrkSeedKey {this, "MsTrkSeedKey", "MsTrackSeeds"} |
| Temporary container write handle to push the seeds to store gate for later efficiency analysis. | |
| ActsTrk::ContextUtility | m_ctxProvider {this} |
| Context provider for geometry, magnetic field and calibration contexts. | |
| MuonKey_t | m_muonKey {this, "MuonKey", "MuonsR4"} |
| Dependency on the R4 muon container. | |
| ToolHandle< MuonR4::ITrackSummaryTool > | m_summaryTool {this, "SummaryTool" ,""} |
| Hit summary tool. | |
| ToolHandle< MuonR4::ITrackSeedingDiagnosticsTool > | m_seedingTool {this, "SeedingTool", ""} |
| The track seeding tool to construct the seed candidates and to estimate the initial parameters. | |
| ToolHandle< MuonR4::ISegmentSelectionTool > | m_segSelector {this, "SegmentSelectionTool" , "" } |
| Selection tool to quantify the segment candidate quality. | |
| ToolHandle< ActsTrk::IExtrapolationTool > | m_extrapolationTool {this, "ExtrapolationTool" ,"" } |
| Track extrapolation tool. | |
| TrackKey_t | m_legacyTrackKey {this,"LegacyTrackKey", "MuonSpectrometerTrackParticles"} |
| Legacy track reconstruction chain. | |
| TrackKey_t | m_idTrackKey {this, "IdTrackKey", "InDetTrackParticles"} |
| The collection of ID tracks associated with the truth particle. | |
| MuonTagKey_t | m_idTagKey {this, "IdTagKey", "MuonInDetCandidates"} |
| The collection of all ID tracks that are selected for combined reconstruction. | |
| MuonTagKey_t | m_segTagKey {this, "SegTagKey", "SegmentTags"} |
| The collection of the original segment tags. | |
| Gaudi::Property< double > | m_toleranceX0 {this, "toleranceX0", 20.*Gaudi::Units::cm} |
| Extra tolerance applied on the non-bending intercept when calculating the matching score. | |
| Gaudi::Property< double > | m_toleranceY0 {this, "toleranceY0", 5.*Gaudi::Units::cm} |
| Extra tolerance applied on the bending intercept when calculating the matching score. | |
| Gaudi::Property< double > | m_toleranceTheta {this, "toleranceTheta", 1.*Gaudi::Units::deg} |
| Extra tolerance applied on the bending direction when calculating the matching score. | |
| Gaudi::Property< double > | m_tolerancePhi {this, "tolerancePhi", 2.*Gaudi::Units::deg} |
| Extra tolerance applied on the bending direction when calculating the matching score. | |
| MuonKey_t | m_legacyMuonKey {this,"LegacyMuonKey", "Muons"} |
| Legacy muons. | |
| std::unique_ptr< const Acts::Logger > | m_logger {} |
| Instance to the Acts logger. | |
| ParticleBranchPtr_t | m_truthTrks {} |
| ParticleBranchPtr_t | m_muonTrks {} |
| Stored muon information from the Acts muon reco chain. | |
| ParticleBranchPtr_t | m_idTracks {} |
| Stored ID track information. | |
| SegmentBranchPtr_t | m_truthSegs {} |
| SegmentBranchPtr_t | m_recoSegs {} |
| SegmentBranchPtr_t | m_legacyRecoSegs {} |
| MuonVal::ScalarBranch< std::uint16_t > & | m_nIdTracks {m_tree.newScalar<std::uint16_t>("nIdTracks", 0)} |
| The number of ID tracks in the event. | |
| MuonVal::ScalarBranch< std::uint16_t > & | m_nIdTags {m_tree.newScalar<std::uint16_t>("nIdTags", 0)} |
| The number of selected ID tracks in the event. | |
| MuonVal::ThreeVectorBranch | m_seedPos {m_tree, "TrkSeed_position"} |
| Simple seed information. | |
| MuonVal::UnitThreeVectorBranch | m_seedDir {m_tree, "TrkSeed_direction"} |
| Seed direction vector. | |
| MuonVal::VectorBranch< char > & | m_seedType {m_tree.newVector<char>("TrkSeed_type")} |
| Is the seed in the encap or in the barrel chambers. | |
| MuonVal::VectorBranch< int > & | m_seedSector {m_tree.newVector<int>("TrkSeed_sector")} |
| Sector of the seed, even center, odd overlap regions, for details see: | |
| MuonVal::VectorBranch< float > & | m_seedLength {m_tree.newVector<float>("TrkSeed_length")} |
| Maximum separation between the segments on the reference plane. | |
| MuonVal::VectorBranch< float > & | m_seedThetaCone {m_tree.newVector<float>("TrkSeed_thetaCone")} |
| Maximum angular difference between the segments part of the seed. | |
| MuonVal::VectorBranch< char > & | m_seedGood {m_tree.newVector<char>("TrkSeed_goodSeed")} |
| Does the seeding tool construct valid parameters from the seed. | |
| MuonVal::VectorBranch< float > & | m_seedQP {m_tree.newVector<float>("TrkSeed_qTimesP")} |
| Estimated momentum times charge from the track seed. | |
| MuonVal::VectorBranch< unsigned short > & | m_seedTruthLink {m_tree.newVector<unsigned short>("TrkSeed_truthLink", -1)} |
| Link to the truth muon. | |
| std::shared_ptr< TrackSummaryModule > | m_seedSummary {} |
| Hit summary on the track seed. | |
| MuonVal::MatrixBranch< unsigned short > & | m_seedRecoSegMatch {m_tree.newMatrix<unsigned short>("TrkSeed_segmentLinks")} |
| Link of the track seed to the building segment. | |
| MuonVal::MatrixBranch< unsigned short > & | m_truthSegToRecoLink {m_tree.newMatrix<unsigned short>("TruthSegments_recoSegLinks",-1)} |
| Link of the truth segments to the matchin reco segments. | |
| MuonVal::VectorBranch< unsigned short > & | m_legacySegToTrkLinks {m_tree.newVector<unsigned short>("LegacyRecoSegments_trkLinks", -1)} |
| Link of the legacy track to the legacy segment. | |
| MuonVal::MatrixBranch< unsigned short > & | m_truthMuToSeedIdx {m_tree.newMatrix<unsigned short>("TruthMuons_seedLinks", -1)} |
| Links to all MsTrkSeeds that could be matched to the truthMuon, i.e. | |
| MuonVal::MatrixBranch< unsigned short > & | m_truthMuToSeedCounter {m_tree.newMatrix<unsigned short>("TruthMuons_seedNSeg")} |
| Number of matched segments in the seed. | |
| MuonVal::MatrixBranch< unsigned short > & | m_truthMuRecoSegLinks {m_tree.newMatrix<unsigned short>("TruthMuons_recoSegLinks")} |
| Links from the truth muon to the segments. | |
| ParticleBranchPtr_t | m_legacyTrks {} |
| Output branches of the legacy MS tracks. | |
| ServiceHandle< ITHistSvc > | m_histSvc |
| Default constructor: AthHistogramAlgorithm();. | |
| std::string | m_prefix |
| Name of the ROOT output stream (file). | |
| std::string | m_rootDir |
| Name of the ROOT directory. | |
| std::string | m_histNamePrefix |
| The prefix for the histogram THx name. | |
| std::string | m_histNamePostfix |
| The postfix for the histogram THx name. | |
| std::string | m_histTitlePrefix |
| The prefix for the histogram THx title. | |
| std::string | m_histTitlePostfix |
| The postfix for the histogram THx title. | |
| DataObjIDColl | m_extendedExtraObjects |
| Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks. | |
| 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 |
| HistMap_t | m_histMap |
| The map of histogram names to their pointers. | |
| EffMap_t | m_effMap |
| The map of histogram names to their pointers. | |
| TreeMap_t | m_treeMap |
| The map of TTree names to their pointers. | |
| GraphMap_t | m_graphMap |
| The map of TGraph names to their pointers. | |
| std::string | m_streamName |
| Name of the ROOT output stream (file). | |
| std::string | m_name |
| Instance name. | |
| MsgStream | m_msg |
| Cached Message Stream. | |
Definition at line 38 of file MsTrackTester.h.
|
privateinherited |
Typedef for convenience.
Definition at line 207 of file AthHistogramming.h.
|
privateinherited |
Typedef for convenience.
Definition at line 221 of file AthHistogramming.h.
|
privateinherited |
typedef for the internal hash
Definition at line 171 of file AthHistogramming.h.
|
privateinherited |
Typedef for convenience.
Definition at line 200 of file AthHistogramming.h.
|
private |
Definition at line 46 of file MsTrackTester.h.
|
private |
Abrivate the key type for the muon container.
Definition at line 138 of file MsTrackTester.h.
Abrivate the muon tag container.
Definition at line 140 of file MsTrackTester.h.
|
private |
Definition at line 197 of file MsTrackTester.h.
Definition at line 47 of file MsTrackTester.h.
|
private |
Abrivation of the branches containing sement information.
Definition at line 205 of file MsTrackTester.h.
|
private |
Abrivate the ReadHandleKey_t for the segment container.
Definition at line 134 of file MsTrackTester.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
|
private |
Abrivate the key type for the track particle container.
Definition at line 136 of file MsTrackTester.h.
|
privateinherited |
Typedef for convenience.
Definition at line 214 of file AthHistogramming.h.
|
private |
Definition at line 132 of file MsTrackTester.h.
| AthHistogramAlgorithm::AthHistogramAlgorithm | ( | const std::string & | name, |
| ISvcLocator * | pSvcLocator ) |
Constructor with parameters:
Definition at line 40 of file AthHistogramAlgorithm.cxx.
|
inlineprotectedinherited |
Simplify the booking and registering (into THistSvc) of TEfficiency.
Definition at line 337 of file AthHistogramming.h.
|
inlineprotectedinherited |
Simplify the booking and registering (into THistSvc) of TGraphs.
|
inlineprotectedinherited |
Simplify the booking and registering (into THistSvc) of histograms.
Definition at line 305 of file AthHistogramming.h.
|
inlineprotectedinherited |
Simplify the booking and registering (into THistSvc) of TTrees.
Definition at line 405 of file AthHistogramming.h.
|
inlineprotectedinherited |
Simplify the booking and registering (into THistSvc) of TEfficiency.
Definition at line 358 of file AthHistogramming.h.
|
inlineprotectedinherited |
Simplify the booking and registering (into THistSvc) of TEfficiency.
Definition at line 348 of file AthHistogramming.h.
|
inlineprotectedinherited |
Simplify the booking and registering (into THistSvc) of histograms.
Definition at line 326 of file AthHistogramming.h.
|
inlineprotectedinherited |
Simplify the booking and registering (into THistSvc) of TEfficiency.
Definition at line 283 of file AthHistogramming.h.
|
protectedinherited |
Simplify the booking and registering (into THistSvc) of TGraphs.
Definition at line 388 of file AthHistogramming.cxx.
|
inlineprotectedinherited |
Simplify the booking and registering (into THistSvc) of histograms.
Definition at line 262 of file AthHistogramming.h.
|
protectedinherited |
Simplify the booking and registering (into THistSvc) of TTrees.
Definition at line 273 of file AthHistogramming.cxx.
|
protectedinherited |
Simplify the booking and registering (into THistSvc) of TEfficiency.
Definition at line 123 of file AthHistogramming.cxx.
|
inlineprotectedinherited |
Simplify the booking and registering (into THistSvc) of TEfficiency.
Definition at line 295 of file AthHistogramming.h.
|
protectedinherited |
Simplify the booking and registering (into THistSvc) of histograms.
Definition at line 83 of file AthHistogramming.cxx.
|
inlineprotectedinherited |
Simplify the booking and registering (into THistSvc) of histograms.
Definition at line 274 of file AthHistogramming.h.
|
privateinherited |
Method to build individual booking string.
Definition at line 521 of file AthHistogramming.cxx.
|
private |
Calculate the length of the seed and the theta deflection angle The length is defined as the spread of the seed's segments in the cylinder coordinate.
The deflection angle is calculates as the spread of the theta angles of the individual segments
| gctx | The geometry context to align the segment within ATLAS |
| seed | The seed with the contributing segments |
Definition at line 100 of file MsTrackTester.cxx.
|
private |
No associated segments found
Calo extension does not work
In case that there is already a
Store in the tree that the segment cannot be associated due to extrapolation failure
If there is a best segment dump the best segment to the tree
The segment does not measure phi. Reset anything in loc0 and non-precision direction
Definition at line 538 of file MsTrackTester.cxx.
|
protectedinherited |
To be called by the derived classes to fill the internal configuration.
Definition at line 51 of file AthHistogramming.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 |
Dumps the legacy containers to the TTree.
Definition at line 668 of file MsTrackTester.cxx.
|
private |
Dump the reconstructed information.
Fetch the containers from store gate
Link the truth muons to the seeds
Link the seeds by the number of matched segments
Collect only the ID tracks that belong to a truth muon of interest.
Select only the id tags that are extrapolated to the calo exit
Definition at line 758 of file MsTrackTester.cxx.
|
private |
Dump truth information.
Allocate the memory
Definition at line 721 of file MsTrackTester.cxx.
|
protectedinherited |
Simplify the retrieval of registered TEfficiency.
Definition at line 211 of file AthHistogramming.cxx.
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 85 of file AthCommonDataStore.h.
|
finaloverridevirtual |
Execute method.
Implements AthAlgorithm.
Definition at line 871 of file MsTrackTester.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 89 of file AthCommonAlgorithm.cxx.
|
inlinevirtualinherited |
Get filter decision:
Definition at line 93 of file AthCommonAlgorithm.h.
|
finaloverride |
Definition at line 879 of file MsTrackTester.cxx.
|
private |
Searches the Id track in the basline collection of all ID tracks selected for the combined muon reconstructiion (STACO/MuidCo/MuTagIMO/Calo).
| idTrack | The inner detector track of interest |
| ctx | The current event context to access the segment tag collection from store gate |
Definition at line 494 of file MsTrackTester.cxx.
|
private |
Definition at line 498 of file MsTrackTester.cxx.
|
private |
Returns the collection of reconstructed segments that can be associated to the id track If the track is connected with a truth muon, the list of reconstructed segments matched to the truth muon is returned.
Otherwise, the list of segments associated with the MuTagIMO tag is returned.
| idTrack | The inner detector track of interest |
| ctx | The current event context to access the segment tag collection from store gate |
Definition at line 504 of file MsTrackTester.cxx.
|
private |
Definition at line 533 of file MsTrackTester.cxx.
|
protectedinherited |
Simplify the retrieval of registered TGraphs.
Definition at line 453 of file AthHistogramming.cxx.
|
inlineprivateinherited |
Method to calculate a 32-bit hash from a string.
Definition at line 430 of file AthHistogramming.h.
|
protectedinherited |
Simplify the retrieval of registered histograms of any type.
Definition at line 164 of file AthHistogramming.cxx.
|
inlineprotectedinherited |
Simplify the retrieval of registered 2-d histograms.
Definition at line 371 of file AthHistogramming.h.
|
inlineprotectedinherited |
Simplify the retrieval of registered 3-d histograms.
Definition at line 388 of file AthHistogramming.h.
|
inlineinherited |
The standard THistSvc (for writing histograms and TTrees and more to a root file) Returns (kind of) a pointer to the THistSvc.
Definition at line 113 of file AthHistogramAlgorithm.h.
|
finaloverride |
Link the truth segment to the reconstructed segment...
Link the truth segments to the truth partcle
Count the number of matched truth segments
Calculate the truth seed length
Dump whether the id track is selected and dump the parameters at calo exit
Link the reconstructed segments to the muon
Link the associated seed
Definition at line 118 of file MsTrackTester.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.
|
inlineoverridevirtualinherited |
Specify if the algorithm is clonable.
Only relevant for non-reentrant algorithms. Actual number of clones needs to be set via the "Cardinality" property.
Reimplemented in AFP_DigiTop, AlgB, AlgT, BCM_Digitization, CscDigitBuilder, CscDigitToCscRDO, G4AtlasAlg, G4RunAlg, HGTD_Digitization, HiveAlgBase, InDet::GNNSeedingTrackMaker, InDet::SCT_Clusterization, InDet::SiSPGNNTrackMaker, InDet::SiSPSeededTrackFinder, InDet::SiTrackerSpacePointFinder, ISF::SimKernelMT, ITk::StripDigitization, ITkPixelCablingAlg, ITkStripCablingAlg, LArHitEMapMaker, LArTTL1Maker, LUCID_DigiTop, LVL1::L1TopoSimulation, MergeCalibHits, MergeGenericMuonSimHitColl, MergeHijingPars, MergeMcEventCollection, MergeTrackRecordCollection, MergeTruthJets, MergeTruthParticles, MuonDigitizer, PileUpMTAlg, PixelDigitization, RoIBResultToxAOD, SCT_ByteStreamErrorsTestAlg, SCT_CablingCondAlgFromCoraCool, SCT_CablingCondAlgFromText, SCT_ConditionsParameterTestAlg, SCT_ConditionsSummaryTestAlg, SCT_ConfigurationConditionsTestAlg, SCT_Digitization, SCT_FlaggedConditionTestAlg, SCT_LinkMaskingTestAlg, SCT_MajorityConditionsTestAlg, SCT_ModuleVetoTestAlg, SCT_MonitorConditionsTestAlg, SCT_PrepDataToxAOD, SCT_RawDataToxAOD, SCT_ReadCalibChipDataTestAlg, SCT_ReadCalibDataTestAlg, SCT_RODVetoTestAlg, SCT_SensorsTestAlg, SCT_SiliconConditionsTestAlg, SCT_StripVetoTestAlg, SCT_TdaqEnabledTestAlg, SCT_TestCablingAlg, SCTEventFlagWriter, SCTRawDataProvider, SCTSiLorentzAngleTestAlg, SCTSiPropertiesTestAlg, SGInputLoader, Simulation::BeamEffectsAlg, TileHitVecToCnt, TileMuonFitter, TilePulseForTileMuonReceiver, TileRawChannelMaker, TRTDigitization, and ZDC_DigiTop.
Definition at line 68 of file AthCommonAlgorithm.h.
|
inlinefinaloverrideprotectedvirtualinherited |
Legacy algorithms are not thread-safe.
Definition at line 47 of file AthAlgorithm.h.
|
inlineprivate |
|
private |
Construct MS track seed from the truth associated segments.
A nullopt is returned if either no segment is matched to the particle or no valid seed could be constructed
| gctx | The geometry context to align the segment within ATLAS |
| truthMuon | Reference to the truth muon for which a seed should be constructed |
Construct the 2 candidate seeds
Definition at line 68 of file MsTrackTester.cxx.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
privateinherited |
Helper method to replace sub-string.
Definition at line 551 of file AthHistogramming.cxx.
|
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.
|
inlinevirtualinherited |
Set filter decision:
Reimplemented in AthFilterAlgorithm.
Definition at line 99 of file AthCommonAlgorithm.h.
|
overridevirtualinherited |
Execute an algorithm.
We override this in order to work around an issue with the Algorithm base class storing the event context in a member variable that can cause crashes in MT jobs.
Reimplemented in AthAnalysisAlgorithm.
Definition at line 80 of file AthCommonAlgorithm.cxx.
|
virtualinherited |
Initialization method invoked by the framework.
This method is responsible for any bookkeeping of initialization required by the framework itself. It will in turn invoke the initialize() method of the derived algorithm, and of any sub-algorithms which it creates.
Reimplemented from AthCommonAlgorithm< Gaudi::Algorithm >.
Reimplemented in AthAnalysisAlgorithm.
Definition at line 75 of file AthHistogramAlgorithm.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.
|
protectedinherited |
Simplify the retrieval of registered TTrees.
Definition at line 339 of file AthHistogramming.cxx.
|
private |
Returns the matched truth particle that is dumped in the tree.
This method only works downstream the dumpTruthContent call
| part | Reference to the particle of interest |
Definition at line 481 of file MsTrackTester.cxx.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
private |
Context provider for geometry, magnetic field and calibration contexts.
Definition at line 155 of file MsTrackTester.h.
|
private |
The detector manager to fetch the segment surfaces.
Definition at line 126 of file MsTrackTester.h.
|
privateinherited |
Pointer to StoreGate (detector store by default).
Definition at line 393 of file AthCommonDataStore.h.
|
privateinherited |
The map of histogram names to their pointers.
Definition at line 210 of file AthHistogramming.h.
|
privateinherited |
Pointer to StoreGate (event store by default).
Definition at line 390 of file AthCommonDataStore.h.
|
privateinherited |
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
Empty if no symlinks were found.
Definition at line 108 of file AthCommonAlgorithm.h.
|
private |
Track extrapolation tool.
Definition at line 165 of file MsTrackTester.h.
|
privateinherited |
The map of TGraph names to their pointers.
Definition at line 224 of file AthHistogramming.h.
|
privateinherited |
The map of histogram names to their pointers.
Definition at line 203 of file AthHistogramming.h.
|
privateinherited |
The postfix for the histogram THx name.
Definition at line 97 of file AthHistogramAlgorithm.h.
|
privateinherited |
The prefix for the histogram THx name.
Definition at line 94 of file AthHistogramAlgorithm.h.
|
privateinherited |
Default constructor: AthHistogramAlgorithm();.
a handle on the Hist/TTree registration service
Definition at line 83 of file AthHistogramAlgorithm.h.
|
privateinherited |
The postfix for the histogram THx title.
Definition at line 103 of file AthHistogramAlgorithm.h.
|
privateinherited |
The prefix for the histogram THx title.
Definition at line 100 of file AthHistogramAlgorithm.h.
|
private |
The collection of all ID tracks that are selected for combined reconstruction.
Definition at line 171 of file MsTrackTester.h.
|
private |
The collection of ID tracks associated with the truth particle.
Definition at line 169 of file MsTrackTester.h.
|
private |
|
private |
Toggle whether the job runs on MC or not.
Definition at line 128 of file MsTrackTester.h.
|
private |
|
private |
Definition at line 208 of file MsTrackTester.h.
|
private |
Legacy segment container.
Definition at line 146 of file MsTrackTester.h.
|
private |
|
private |
Legacy track reconstruction chain.
Definition at line 167 of file MsTrackTester.h.
|
private |
|
private |
|
privateinherited |
Cached Message Stream.
Definition at line 250 of file AthHistogramming.h.
|
private |
Temporary container write handle to push the seeds to store gate for later efficiency analysis.
Definition at line 152 of file MsTrackTester.h.
|
private |
Dependency on the R4 muon container.
Definition at line 157 of file MsTrackTester.h.
|
private |
Stored muon information from the Acts muon reco chain.
Definition at line 200 of file MsTrackTester.h.
|
privateinherited |
Instance name.
Definition at line 247 of file AthHistogramming.h.
|
private |
|
private |
|
privateinherited |
Name of the ROOT output stream (file).
Definition at line 88 of file AthHistogramAlgorithm.h.
|
private |
Primary segment container.
Definition at line 144 of file MsTrackTester.h.
|
private |
Definition at line 207 of file MsTrackTester.h.
|
privateinherited |
Definition at line 91 of file AthHistogramAlgorithm.h.
|
private |
|
private |
Does the seeding tool construct valid parameters from the seed.
Definition at line 226 of file MsTrackTester.h.
|
private |
The track seeding tool to construct the seed candidates and to estimate the initial parameters.
Definition at line 161 of file MsTrackTester.h.
|
private |
Maximum separation between the segments on the reference plane.
Definition at line 222 of file MsTrackTester.h.
|
private |
|
private |
Estimated momentum times charge from the track seed.
Definition at line 228 of file MsTrackTester.h.
|
private |
|
private |
Sector of the seed, even center, odd overlap regions, for details see:
Definition at line 220 of file MsTrackTester.h.
|
private |
|
private |
Maximum angular difference between the segments part of the seed.
Definition at line 224 of file MsTrackTester.h.
|
private |
|
private |
|
private |
Selection tool to quantify the segment candidate quality.
Definition at line 163 of file MsTrackTester.h.
|
private |
The collection of the original segment tags.
Definition at line 173 of file MsTrackTester.h.
|
private |
Toggle whether to process ID tracks or not.
Definition at line 130 of file MsTrackTester.h.
|
privateinherited |
Name of the ROOT output stream (file).
Definition at line 228 of file AthHistogramming.h.
|
private |
|
private |
Extra tolerance applied on the bending direction when calculating the matching score.
Definition at line 186 of file MsTrackTester.h.
|
private |
Extra tolerance applied on the bending direction when calculating the matching score.
Definition at line 183 of file MsTrackTester.h.
|
private |
Extra tolerance applied on the non-bending intercept when calculating the matching score.
Definition at line 177 of file MsTrackTester.h.
|
private |
Extra tolerance applied on the bending intercept when calculating the matching score.
Definition at line 180 of file MsTrackTester.h.
|
private |
The output tree object.
Definition at line 124 of file MsTrackTester.h.
|
privateinherited |
The map of TTree names to their pointers.
Definition at line 217 of file AthHistogramming.h.
|
private |
Decoration dependency to the MS truth track links.
Definition at line 150 of file MsTrackTester.h.
|
private |
Key to the truth particle collection.
Definition at line 148 of file MsTrackTester.h.
|
private |
|
private |
|
private |
Links to all MsTrkSeeds that could be matched to the truthMuon, i.e.
>= 1 segment
Definition at line 242 of file MsTrackTester.h.
|
private |
Segment from the truth hits.
Definition at line 142 of file MsTrackTester.h.
|
private |
Definition at line 206 of file MsTrackTester.h.
|
private |
Link of the truth segments to the matchin reco segments.
Definition at line 236 of file MsTrackTester.h.
|
private |
Definition at line 198 of file MsTrackTester.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.