![]() |
ATLAS Offline Software
|
#include <MuonFastRecoTester.h>
Public Member Functions | |
| virtual | ~MuonFastRecoTester ()=default |
| virtual StatusCode | initialize () override |
| virtual StatusCode | execute (const EventContext &ctx) override |
| Execute method. | |
| virtual StatusCode | finalize () override |
| 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 | |
| enum class | measType { Prec , NonPrec , Phi , nTypes } |
| Enum for measurement types. More... | |
| enum class | ePatBranchType : std::uint8_t { eReco , eTruth , ePileup , eMismatched , eAll } |
| Enum for different types of pattern hit content branches. More... | |
| using | simHitSet = std::unordered_set<const xAOD::MuonSimHit*> |
| using | TruthParticleMap = std::map<const xAOD::TruthParticle*, std::vector<simHitSet>> |
| 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 | |
| TruthParticleMap | fillTruthMap (const xAOD::MuonSegmentContainer *truthSegments, const TrigRoiDescriptorCollection *roiCollection) const |
| Fill the truth particle map. | |
| void | fillSpacePointInfo (const MuonR4::SpacePointContainer *spc, const MuonR4::GlobalPatternContainer *patternCont, const TruthParticleMap &truthHits, SpacePointTesterModule &spTester, MuonVal::VectorBranch< unsigned char > &spTypeBranch, MuonVal::MatrixBranch< unsigned char > &spMatchedToPatternBranch, MuonVal::MatrixBranch< unsigned char > &spMatchedToTruthBranch) const |
| Fill the space point information into the tree. | |
| void | fillGlobPatternInfo (const MuonR4::GlobalPatternContainer *patternCont, const TruthParticleMap &truthHits, const std::vector< const MuonR4::SpacePointContainer * > &spContainers) |
| Fill the info associated to the global patterns into the tree. | |
| void | fillFastRecoMuonInfo (const xAOD::MuonContainer *muonCont, const MuonR4::GlobalPatternContainer *patternCont) |
| Fill the info associated to fast reco muons. | |
| void | fillTruthInfo (const TruthParticleMap &truthHits, const std::vector< const MuonR4::SpacePointContainer * > &spContainers) |
| Fill the truth particle information into the tree. | |
| void | fillRoIInfo (const TrigRoiDescriptorCollection *roiCollection) |
| Fill the RoI information into the tree. | |
| void | updatePatHitInfo (const ePatBranchType type, const std::size_t patIdx, const Muon::MuonStationIndex::StIndex hitSt, const MuonR4::SpacePoint *sp, const bool isSecondaryMatched=false) |
| Update the hit counts for a given pattern branch type. | |
| 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 {"MuonFastRecoTest","FastRecoTester"} |
| SG::ReadHandleKey< MuonR4::SpacePointContainer > | m_spKey {this, "SpacePointKey", "MuonSpacePoints"} |
| SG::ReadHandleKey< MuonR4::SpacePointContainer > | m_NSWspKey {this, "NswSpacePointKey", "NswSpacePoints"} |
| SG::ReadHandleKey< MuonR4::GlobalPatternContainer > | m_patternKey {this, "PatternKey", "R4MuonGlobalPatterns", "global pattern container"} |
| SG::ReadHandleKey< xAOD::MuonContainer > | m_fastMuonKey {this, "FastMuonKey", "R4FastRecoSAMuons", "fast reco muon container"} |
| SG::ReadHandleKey< xAOD::MuonSegmentContainer > | m_truthSegmentKey {this, "TruthSegmentKey","MuonTruthSegments", "truth segment container"} |
| SG::ReadHandleKey< TrigRoiDescriptorCollection > | m_roiCollectionKey {this, "MuRoIs", "EFMuMSReco_RoI", "Name of the input data from HLTSeeding"} |
| ActsTrk::GeoContextReadKey_t | m_geoCtxKey {this, "AlignmentKey", "ActsAlignment", "cond handle key"} |
| ServiceHandle< Muon::IMuonIdHelperSvc > | m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"} |
| BooleanProperty | m_isMC {this, "isMC", false, "Toggle whether the job is ran on MC or not"} |
| BooleanProperty | m_isSeededReco {this, "isSeededReco", false, "Toggle whether the job is ran on seeded reconstruction or not"} |
| BooleanProperty | m_writeSpacePoints |
| std::shared_ptr< SpacePointTesterModule > | m_spTester {} |
| ====== Spacepoint block =========== | |
| std::shared_ptr< SpacePointTesterModule > | m_NSWspTester {} |
| MuonVal::VectorBranch< unsigned char > & | m_spType {m_tree.newVector<unsigned char>(m_spKey.key()+"_type")} |
| Type of spacepoints: 1 for trigger eta, 2 for precision, 3 for only-phi. | |
| MuonVal::VectorBranch< unsigned char > & | m_NSWspType {m_tree.newVector<unsigned char>(m_NSWspKey.key()+"_type")} |
| MuonVal::MatrixBranch< unsigned char > & | m_spMatchedToPattern {m_tree.newMatrix<unsigned char>(m_spKey.key()+"_patternMatched")} |
| Branch indicating which space points in the tree are associated to the i-th pattern. | |
| MuonVal::MatrixBranch< unsigned char > & | m_NSWspMatchedToPattern {m_tree.newMatrix<unsigned char>(m_NSWspKey.key()+"_patternMatched")} |
| MuonVal::MatrixBranch< unsigned char > & | m_spMatchedToTruth {m_tree.newMatrix<unsigned char>(m_spKey.key()+"_truthMatched")} |
| Branch indicating which space points in the tree are associated to the i-th truth particle. | |
| MuonVal::MatrixBranch< unsigned char > & | m_NSWspMatchedToTruth {m_tree.newMatrix<unsigned char>(m_NSWspKey.key()+"_truthMatched")} |
| MuonVal::VectorBranch< short > & | m_gen_Q {m_tree.newVector<short>("gen_Q", 0)} |
| ====== Truth particle block =========== | |
| MuonVal::VectorBranch< float > & | m_gen_Eta {m_tree.newVector<float>("gen_Eta",-10.)} |
| MuonVal::VectorBranch< float > & | m_gen_Phi {m_tree.newVector<float>("gen_Phi",-10.)} |
| MuonVal::VectorBranch< float > & | m_gen_Pt {m_tree.newVector<float>("gen_Pt",-10.)} |
| MuonVal::MatrixBranch< unsigned char > & | m_gen_nNonPrecMeas {m_tree.newMatrix<unsigned char>("gen_NNonPrecMeas", 0)} |
| Number of trigger eta measurements per station. | |
| MuonVal::MatrixBranch< unsigned char > & | m_gen_nPrecMeas {m_tree.newMatrix<unsigned char>("gen_NPrecMeas", 0)} |
| Number of precision measurements per station. | |
| MuonVal::MatrixBranch< unsigned char > & | m_gen_nPhiMeas {m_tree.newMatrix<unsigned char>("gen_NPhiMeas", 0)} |
| Number of phi measurements per station. | |
| MuonVal::ScalarBranch< unsigned > & | m_pat_n {m_tree.newScalar<unsigned>("pat_nPatterns", 0)} |
| ====== Global Pattern block =========== | |
| MuonVal::VectorBranch< float > & | m_pat_Eta {m_tree.newVector<float>("pat_Eta", 0.0)} |
| pattern average theta & phi | |
| MuonVal::VectorBranch< float > & | m_pat_phi {m_tree.newVector<float>("pat_Phi", 0.0)} |
| MuonVal::VectorBranch< uint16_t > & | m_pat_sector1 {m_tree.newVector<uint16_t>("pat_Sector1", 0)} |
| pattern primary & secondary sectors (different if the pattern is in the sector overlap) | |
| MuonVal::VectorBranch< uint16_t > & | m_pat_sector2 {m_tree.newVector<uint16_t>("pat_Sector2", 0)} |
| MuonVal::VectorBranch< float > & | m_pat_meanNormResidual2 {m_tree.newVector<float>("pat_meanNormResidual2", 0.0)} |
| mean square normalized pattern residual | |
| MuonVal::VectorBranch< short > & | m_pat_side {m_tree.newVector<short>("pat_Side", 0)} |
| +1 for A-, -1 of C-side | |
| MuonVal::VectorBranch< unsigned char > & | m_pat_nStations {m_tree.newVector<unsigned char>("pat_NStations", 0)} |
| Number of stations. | |
| MuonVal::MatrixBranch< unsigned char > & | m_pat_nNonPrecMeas {m_tree.newMatrix<unsigned char>("pat_NNonPrecMeas", 0)} |
| Number of trigger eta measurements per station. | |
| MuonVal::MatrixBranch< unsigned char > & | m_pat_nPrecMeas {m_tree.newMatrix<unsigned char>("pat_NPrecMeas", 0)} |
| Number of precision measurements per station. | |
| MuonVal::MatrixBranch< unsigned char > & | m_pat_nPhiMeas {m_tree.newMatrix<unsigned char>("pat_NPhiMeas", 0)} |
| Number of phi measurements per station. | |
| MuonVal::MatrixBranch< unsigned char > & | m_pat_nTruthNonPrecMeas {m_tree.newMatrix<unsigned char>("pat_NTruthNonPrecMeas", 0)} |
| Number of truth trigger eta measurements per station. | |
| MuonVal::MatrixBranch< unsigned char > & | m_pat_nTruthPrecMeas {m_tree.newMatrix<unsigned char>("pat_NTruthPrecMeas", 0)} |
| Number of truth precision measurements per station. | |
| MuonVal::MatrixBranch< unsigned char > & | m_pat_nTruthPhiMeas {m_tree.newMatrix<unsigned char>("pat_NTruthPhiMeas", 0)} |
| Number of truth phi measurements per station. | |
| MuonVal::MatrixBranch< unsigned char > & | m_pat_nMisTruthNonPrecMeas {m_tree.newMatrix<unsigned char>("pat_NMisTruthNonPrecMeas", 0)} |
| Number of mismatched truth trigger eta measurements per station. | |
| MuonVal::MatrixBranch< unsigned char > & | m_pat_nMisTruthPrecMeas {m_tree.newMatrix<unsigned char>("pat_NMisTruthPrecMeas", 0)} |
| Number of mismatched truth precision measurements per station. | |
| MuonVal::MatrixBranch< unsigned char > & | m_pat_nMisTruthPhiMeas {m_tree.newMatrix<unsigned char>("pat_NMisTruthPhiMeas", 0)} |
| Number of mismatched truth phi measurements per station. | |
| MuonVal::MatrixBranch< unsigned char > & | m_pat_nPileupNonPrecMeas {m_tree.newMatrix<unsigned char>("pat_NPileupNonPrecMeas", 0)} |
| Number of pileup trigger eta measurements per station. | |
| MuonVal::MatrixBranch< unsigned char > & | m_pat_nPileupPrecMeas {m_tree.newMatrix<unsigned char>("pat_NPileupPrecMeas", 0)} |
| Number of pileup precision measurements per station. | |
| MuonVal::MatrixBranch< unsigned char > & | m_pat_nPileupPhiMeas {m_tree.newMatrix<unsigned char>("pat_NPileupPhiMeas", 0)} |
| Number of pileup phi measurements per station. | |
| MuonVal::MatrixBranch< unsigned char > & | m_pat_nAllNonPrecMeas {m_tree.newMatrix<unsigned char>("pat_NAllNonPrecMeas", 0)} |
| Number of trigger eta measurements in the buckets crossed by the pattern, grouped by station. | |
| MuonVal::MatrixBranch< unsigned char > & | m_pat_nAllPrecMeas {m_tree.newMatrix<unsigned char>("pat_NAllPrecMeas", 0)} |
| Number of precision measurements in the buckets crossed by the pattern, grouped by station. | |
| MuonVal::MatrixBranch< unsigned char > & | m_pat_nAllPhiMeas {m_tree.newMatrix<unsigned char>("pat_NAllPhiMeas", 0)} |
| Number of phi measurements in the buckets crossed by the pattern, grouped by station. | |
| MuonVal::MatrixBranch< unsigned char > & | m_pat_MatchedToTruth {m_tree.newMatrix<unsigned char>("pat_truthMatched")} |
| Branch indicating which truth particles in the tree are associated to the i-th pattern. | |
| MuonVal::VectorBranch< float > & | m_roi_EtaMin {m_tree.newVector<float>("roi_EtaMin",-10.)} |
| ====== RoI info =========== | |
| MuonVal::VectorBranch< float > & | m_roi_EtaMax {m_tree.newVector<float>("roi_EtaMax",-10.)} |
| MuonVal::VectorBranch< float > & | m_roi_PhiMin {m_tree.newVector<float>("roi_PhiMin",-10.)} |
| MuonVal::VectorBranch< float > & | m_roi_PhiMax {m_tree.newVector<float>("roi_PhiMax",-10.)} |
| MuonVal::VectorBranch< float > & | m_roi_ZMin {m_tree.newVector<float>("roi_ZMin",-10.)} |
| MuonVal::VectorBranch< float > & | m_roi_ZMax {m_tree.newVector<float>("roi_ZMax",-10.)} |
| MuonVal::VectorBranch< float > & | m_muon_Eta {m_tree.newVector<float>("muon_Eta", -10.)} |
| ====== Fast Reco Muon info =========== | |
| MuonVal::VectorBranch< float > & | m_muon_Phi {m_tree.newVector<float>("muon_Phi", -10.)} |
| MuonVal::VectorBranch< float > & | m_muon_Pt {m_tree.newVector<float>("muon_Pt", -10.)} |
| MuonVal::VectorBranch< short > & | m_muon_Q {m_tree.newVector<short>("muon_Q", 0)} |
| MuonVal::VectorBranch< unsigned char > & | m_muon_MatchedToPattern {m_tree.newVector<unsigned char>("muon_patMatched")} |
| MuonR4::SpacePointPerLayerSorter | m_spSorter {} |
| 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 27 of file MuonFastRecoTester.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 39 of file MuonFastRecoTester.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
|
privateinherited |
Typedef for convenience.
Definition at line 214 of file AthHistogramming.h.
|
private |
Definition at line 40 of file MuonFastRecoTester.h.
|
strongprivate |
Enum for different types of pattern hit content branches.
| Enumerator | |
|---|---|
| eReco | |
| eTruth | |
| ePileup | |
| eMismatched | |
| eAll | |
Definition at line 84 of file MuonFastRecoTester.h.
|
strongprivate |
Enum for measurement types.
| Enumerator | |
|---|---|
| Prec | |
| NonPrec | |
| Phi | |
| nTypes | |
Definition at line 38 of file MuonFastRecoTester.h.
|
virtualdefault |
| 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.
|
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.
|
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.
|
overridevirtual |
Execute method.
Implements AthAlgorithm.
Definition at line 119 of file MuonFastRecoTester.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.
|
private |
Fill the info associated to fast reco muons.
| muonCont | Pointer to the fast muon container |
| patternCont | Pointer to the global pattern container, needed to match muons to patterns |
Definition at line 458 of file MuonFastRecoTester.cxx.
|
private |
Fill the info associated to the global patterns into the tree.
| patternCont | Pointer to the global pattern container |
| truthHits | Map of truth particle hits, needed to match patterns to truth |
| spContainers | Vector of pointers to space point containers, needed to compute pattern hit counts |
Definition at line 349 of file MuonFastRecoTester.cxx.
|
private |
Fill the RoI information into the tree.
| roiCollection | Pointer to the RoI collection |
Definition at line 308 of file MuonFastRecoTester.cxx.
|
private |
Fill the space point information into the tree.
| spc | Pointer to the space point container |
| patternCont | Pointer to the global pattern container, needed to match spacepoints to patterns |
| truthHits | Map of truth particle hits |
| spTester | Space point branches |
| spTypeBranch | Branch for space point types |
| spMatchedToPatternBranch | Branch for space point matches to patterns |
| spMatchedToTruthBranch | Branch for space point matches to truth |
Definition at line 319 of file MuonFastRecoTester.cxx.
|
private |
Fill the truth particle information into the tree.
| truthHits | Map of truth particle hits |
| spContainers | Vector of pointers to space point containers, needed for truth hit counts |
Track which layers already have a spacepoint to avoid double counting. This is done per station.
Select the measurement type
Select the truth particle
Filling truth hit counts. We cannot use directly the segments because we have sim hits that haven't made it into spacepoints due to inefficiencies
Select the buckets in this station
Geometric (sanity) check: sector & side
Definition at line 194 of file MuonFastRecoTester.cxx.
|
private |
Fill the truth particle map.
| truthSegments | Pointer to the truth segments |
| roiCollection | Pointer to the RoI collection, needed to match truth particles to RoIs in seeded reco |
In seeded reco, we want to include only truth particles that are in the RoIs
Check eta
Check phi
Definition at line 167 of file MuonFastRecoTester.cxx.
|
inlinevirtualinherited |
Get filter decision:
Definition at line 93 of file AthCommonAlgorithm.h.
|
overridevirtual |
Definition at line 115 of file MuonFastRecoTester.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.
|
overridevirtual |
Definition at line 60 of file MuonFastRecoTester.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.
|
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 |
Update the hit counts for a given pattern branch type.
| type | The pattern branch type |
| patIdx | Index of the pattern |
| hitSt | Station index of the hit |
| sp | Pointer to the space point |
| isSecondaryMatched | if the spacepoint has a secondary measurement and it is matched to truth |
Definition at line 478 of file MuonFastRecoTester.cxx.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.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 |
Definition at line 114 of file MuonFastRecoTester.h.
|
private |
Definition at line 149 of file MuonFastRecoTester.h.
|
private |
Number of trigger eta measurements per station.
Definition at line 154 of file MuonFastRecoTester.h.
|
private |
|
private |
|
private |
Definition at line 150 of file MuonFastRecoTester.h.
|
private |
Definition at line 151 of file MuonFastRecoTester.h.
|
private |
====== Truth particle block ===========
properties of truth particles
Definition at line 148 of file MuonFastRecoTester.h.
|
private |
Definition at line 122 of file MuonFastRecoTester.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 |
Definition at line 123 of file MuonFastRecoTester.h.
|
private |
Definition at line 125 of file MuonFastRecoTester.h.
|
private |
Definition at line 127 of file MuonFastRecoTester.h.
|
privateinherited |
Cached Message Stream.
Definition at line 250 of file AthHistogramming.h.
|
private |
|
private |
Definition at line 229 of file MuonFastRecoTester.h.
|
private |
Definition at line 226 of file MuonFastRecoTester.h.
|
private |
Definition at line 227 of file MuonFastRecoTester.h.
|
private |
Definition at line 228 of file MuonFastRecoTester.h.
|
privateinherited |
Instance name.
Definition at line 247 of file AthHistogramming.h.
|
private |
Definition at line 108 of file MuonFastRecoTester.h.
|
private |
Definition at line 141 of file MuonFastRecoTester.h.
|
private |
Definition at line 144 of file MuonFastRecoTester.h.
|
private |
Definition at line 135 of file MuonFastRecoTester.h.
|
private |
Definition at line 138 of file MuonFastRecoTester.h.
|
private |
|
private |
Branch indicating which truth particles in the tree are associated to the i-th pattern.
We can have in principle multiple truth particles associated to the same pattern.
Definition at line 214 of file MuonFastRecoTester.h.
|
private |
|
private |
====== Global Pattern block ===========
pattern count
Definition at line 163 of file MuonFastRecoTester.h.
|
private |
Number of trigger eta measurements in the buckets crossed by the pattern, grouped by station.
Definition at line 206 of file MuonFastRecoTester.h.
|
private |
Number of phi measurements in the buckets crossed by the pattern, grouped by station.
Definition at line 210 of file MuonFastRecoTester.h.
|
private |
Number of precision measurements in the buckets crossed by the pattern, grouped by station.
Definition at line 208 of file MuonFastRecoTester.h.
|
private |
Number of mismatched truth trigger eta measurements per station.
Definition at line 192 of file MuonFastRecoTester.h.
|
private |
Number of mismatched truth phi measurements per station.
Definition at line 196 of file MuonFastRecoTester.h.
|
private |
Number of mismatched truth precision measurements per station.
Definition at line 194 of file MuonFastRecoTester.h.
|
private |
Number of trigger eta measurements per station.
Definition at line 178 of file MuonFastRecoTester.h.
|
private |
|
private |
Number of pileup trigger eta measurements per station.
Definition at line 199 of file MuonFastRecoTester.h.
|
private |
|
private |
Number of pileup precision measurements per station.
Definition at line 201 of file MuonFastRecoTester.h.
|
private |
|
private |
|
private |
Number of truth trigger eta measurements per station.
Definition at line 185 of file MuonFastRecoTester.h.
|
private |
|
private |
Number of truth precision measurements per station.
Definition at line 187 of file MuonFastRecoTester.h.
|
private |
Definition at line 166 of file MuonFastRecoTester.h.
|
private |
pattern primary & secondary sectors (different if the pattern is in the sector overlap)
Definition at line 168 of file MuonFastRecoTester.h.
|
private |
Definition at line 169 of file MuonFastRecoTester.h.
|
private |
|
private |
Definition at line 111 of file MuonFastRecoTester.h.
|
privateinherited |
Name of the ROOT output stream (file).
Definition at line 88 of file AthHistogramAlgorithm.h.
|
private |
Definition at line 218 of file MuonFastRecoTester.h.
|
private |
|
private |
Definition at line 220 of file MuonFastRecoTester.h.
|
private |
Definition at line 219 of file MuonFastRecoTester.h.
|
private |
Definition at line 222 of file MuonFastRecoTester.h.
|
private |
Definition at line 221 of file MuonFastRecoTester.h.
|
private |
Definition at line 120 of file MuonFastRecoTester.h.
|
privateinherited |
Definition at line 91 of file AthHistogramAlgorithm.h.
|
private |
Definition at line 107 of file MuonFastRecoTester.h.
|
private |
Branch indicating which space points in the tree are associated to the i-th pattern.
Definition at line 140 of file MuonFastRecoTester.h.
|
private |
Branch indicating which space points in the tree are associated to the i-th truth particle.
Definition at line 143 of file MuonFastRecoTester.h.
|
private |
Definition at line 231 of file MuonFastRecoTester.h.
|
private |
====== Spacepoint block ===========
Branch dumping all the space points from the difference buckets
Definition at line 134 of file MuonFastRecoTester.h.
|
private |
Type of spacepoints: 1 for trigger eta, 2 for precision, 3 for only-phi.
Definition at line 137 of file MuonFastRecoTester.h.
|
privateinherited |
Name of the ROOT output stream (file).
Definition at line 228 of file AthHistogramming.h.
|
private |
Definition at line 104 of file MuonFastRecoTester.h.
|
privateinherited |
The map of TTree names to their pointers.
Definition at line 217 of file AthHistogramming.h.
|
private |
Definition at line 117 of file MuonFastRecoTester.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.
|
private |
Definition at line 129 of file MuonFastRecoTester.h.