![]() |
ATLAS Offline Software
|
#include <MuonHoughTransformTester.h>
Classes | |
| struct | ObjectMatching |
Public Types | |
| using | TruthHitCol = std::unordered_set<const xAOD::MuonSimHit*> |
Public Member Functions | |
| virtual | ~MuonHoughTransformTester ()=default |
| virtual StatusCode | initialize () override |
| virtual StatusCode | execute () override |
| 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 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. | |
| 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 | |
| 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::vector< ObjectMatching > | matchWithTruth (const ActsTrk::GeometryContext &gctx, const MuonR4::SegmentSeedContainer &seedContainer, const xAOD::MuonSegmentContainer &segmentContainer, const xAOD::MuonSegmentContainer *truthSegments) const |
| unsigned int | countOnSameSide (const ActsTrk::GeometryContext &gctx, const xAOD::MuonSegment &truthSeg, const MuonR4::Segment &recoSeg) const |
| Calculates how many measurements from the segment fit have the same drift sign as when evaluated with the truth parameters. | |
| void | fillChamberInfo (const MuonGMR4::SpectrometerSector *chamber) |
| Fill the current chamber info into the output. | |
| void | fillTruthInfo (const ActsTrk::GeometryContext &gctx, const xAOD::MuonSegment *truthSegment) |
| Fill the associated truth information into the tree. | |
| void | fillBucketInfo (const MuonR4::SpacePointBucket &bucket) |
| Fill the hit summary info of the associated bucket. | |
| void | fillSeedInfo (const ObjectMatching &obj) |
| Fill the info associated to the seed. | |
| void | fillSegmentInfo (const ActsTrk::GeometryContext &gctx, const ObjectMatching &obj) |
| Fill the info assciated to the segment. | |
| 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 {"MuonEtaHoughTest","MuonEtaHoughTransformTest"} |
| SG::ReadHandleKey< xAOD::MuonSegmentContainer > | m_truthSegmentKey {this, "TruthSegmentKey","MuonTruthSegments", "truth segment container"} |
| Key to the truth segment. | |
| SG::ReadDecorHandleKeyArray< xAOD::MuonSegmentContainer > | m_truthSegLinkKeys {this, "TruthSegLinkKeys", {}} |
| Declare the dependencies on the decorations. | |
| Gaudi::Property< std::vector< std::string > > | m_truthLinks {this, "TruthSegLinks", {"simHitLinks", "truthParticleLink"}} |
| Name of the decorations for the truth segment. | |
| SG::ReadHandleKey< xAOD::MuonSegmentContainer > | m_recoSegKey {this, "SegmentKey", "MuonSegmentsFromR4"} |
| Key to the xAOD::MuonSegment container. | |
| Gaudi::Property< std::vector< std::string > > | m_recoSegLinks {this, "RecoSegLinks", {"truthSegmentLink", "truthParticleLink"}} |
| name of the truth link decorations for the reco segment container | |
| SG::ReadHandleKeyArray< MuonR4::SegmentSeedContainer > | m_patternSeedKeys {this, "SegmentSeedKeys", {"MuonHoughStationSegmentSeeds"}} |
| List of the two segment seed containers from which the segments are buiit (Complets the pattern finding step). | |
| SG::ReadHandleKeyArray< MuonR4::SpacePointContainer > | m_spKeys {this, "SpacePointKeys", {"MuonSpacePoints"}} |
| List of the space point containers in the event legacy + NSW containers. | |
| SG::ReadHandleKey< ActsTrk::GeometryContext > | m_geoCtxKey {this, "AlignmentKey", "ActsAlignment", "cond handle key"} |
| Tracking geometry context. | |
| ServiceHandle< Muon::IMuonIdHelperSvc > | m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"} |
| Gaudi::Property< bool > | m_isMC {this, "isMC", false, "Toggle whether the job is ran on MC or not"} |
| Gaudi::Property< bool > | m_writeSpacePoints |
| MuonVal::ScalarBranch< int > & | m_out_chamberIndex {m_tree.newScalar<int>("chamberIndex")} |
| ====== Common block: Filled for all entries =========== | |
| MuonVal::ScalarBranch< short > & | m_out_stationSide {m_tree.newScalar<short>("stationSide")} |
| +1 for A-, -1 of C-side | |
| MuonVal::ScalarBranch< int > & | m_out_stationPhi {m_tree.newScalar<int>("stationPhi")} |
| phi index of the station | |
| MuonVal::ScalarBranch< float > & | m_out_bucketStart {m_tree.newScalar<float>("bucketStart", 1)} |
| MuonVal::ScalarBranch< float > & | m_out_bucketEnd {m_tree.newScalar<float>("bucketEnd", -1)} |
| MuonVal::ScalarBranch< float > & | m_out_bucketHitGap {m_tree.newScalar<float>("bucketHiGap", 0.)} |
| std::shared_ptr< SpacePointTesterModule > | m_spTester {} |
| Branch dumping all the space points from the difference buckets. | |
| MuonVal::MatrixBranch< unsigned char > & | m_spMatchedToPattern {m_tree.newMatrix<unsigned char>("seedMatchedSp")} |
| Branch indicating which space points in the tree are associated to the i-th pattern. | |
| MuonVal::MatrixBranch< unsigned char > & | m_spMatchedToSegment {m_tree.newMatrix<unsigned char>("segmentMatchedSp")} |
| Branch indicating which space points in the tree are associated to the i-th segment. | |
| MuonVal::ScalarBranch< unsigned char > & | m_out_nSpacePoints {m_tree.newScalar<unsigned char>("bucketNHits",0)} |
| Number of all space points in the bucket. | |
| MuonVal::ScalarBranch< unsigned char > & | m_out_nPrecSpacePoints {m_tree.newScalar<unsigned char>("bucketNPrecMeas",0)} |
| Number of precision hits in the bucket. | |
| MuonVal::ScalarBranch< unsigned char > & | m_out_nPhiSpacePoints {m_tree.newScalar<unsigned char>("bucketNPhiMeass",0)} |
| Number of phi hits in the bucket. | |
| MuonVal::ScalarBranch< unsigned char > & | m_out_nTrueSpacePoints {m_tree.newScalar<unsigned char>("bucketNTrueMeas",0)} |
| Number of all space points in the bucket. | |
| MuonVal::ScalarBranch< unsigned char > & | m_out_nTruePrecSpacePoints {m_tree.newScalar<unsigned char>("bucketNTruePrecMeas",0)} |
| Number of precision hits in the bucket. | |
| MuonVal::ScalarBranch< unsigned char > & | m_out_nTruePhiSpacePoints {m_tree.newScalar<unsigned char>("bucketNTruePhiMeass",0)} |
| Number of phi hits in the bucket. | |
| MuonVal::ScalarBranch< bool > & | m_out_hasTruth {m_tree.newScalar<bool>("hasTruth",false)} |
| ======= Truth block: Filled if we have a truth match. ============ | |
| MuonVal::ScalarBranch< float > & | m_out_gen_Eta {m_tree.newScalar<float>("genEta",-10.)} |
| global particle properties | |
| MuonVal::ScalarBranch< float > & | m_out_gen_Phi {m_tree.newScalar<float>("genPhi",-10.)} |
| MuonVal::ScalarBranch< float > & | m_out_gen_Pt {m_tree.newScalar<float>("genPt",-10.)} |
| MuonVal::ScalarBranch< short > & | m_out_gen_Q {m_tree.newScalar<short>("genQ", 0)} |
| MuonVal::ScalarBranch< float > & | m_out_gen_y0 {m_tree.newScalar<float>("genY0", 0.0)} |
| Truth - segment parameters. | |
| MuonVal::ScalarBranch< float > & | m_out_gen_tantheta {m_tree.newScalar<float>("genTanTheta", 0.0)} |
| MuonVal::ScalarBranch< float > & | m_out_gen_tanphi {m_tree.newScalar<float>("genTanPhi", 0.0)} |
| MuonVal::ScalarBranch< float > & | m_out_gen_x0 {m_tree.newScalar<float>("genX0", 0.0)} |
| MuonVal::ScalarBranch< float > & | m_out_gen_time {m_tree.newScalar<float>("genTime", 0.0)} |
| MuonVal::ScalarBranch< int > & | m_out_gen_truthOrigin {m_tree.newScalar<int>("genTruthOrigin", -1)} |
| MuonVal::ScalarBranch< int > & | m_out_gen_truthType {m_tree.newScalar<int>("genTruthType", -1)} |
| MuonVal::ScalarBranch< unsigned short > & | m_out_gen_nHits {m_tree.newScalar<unsigned short>("genNHits",0)} |
| Truth - hit count summary. | |
| MuonVal::ScalarBranch< unsigned short > & | m_out_gen_nRPCHits {m_tree.newScalar<unsigned short>("genNRpcHits",0)} |
| MuonVal::ScalarBranch< unsigned short > & | m_out_gen_nMDTHits {m_tree.newScalar<unsigned short>("genNMdtHits",0)} |
| MuonVal::ScalarBranch< unsigned short > & | m_out_gen_nTGCHits {m_tree.newScalar<unsigned short>("genNTgcHits",0)} |
| MuonVal::ScalarBranch< unsigned short > & | m_out_gen_nNswHits {m_tree.newScalar<unsigned short>("genNNswHits",0)} |
| MuonVal::ScalarBranch< unsigned short > & | m_out_gen_nMmHits {m_tree.newScalar<unsigned short>("genNMmHits",0)} |
| MuonVal::ScalarBranch< unsigned short > & | m_out_gen_nSTGCHits {m_tree.newScalar<unsigned short>("genNsTgcHits",0)} |
| MuonVal::ScalarBranch< float > & | m_out_gen_minYhit {m_tree.newScalar<float>("genMinYhit", 1.0)} |
| MuonVal::ScalarBranch< float > & | m_out_gen_maxYhit {m_tree.newScalar<float>("genMaxYhit", -1.0)} |
| MuonVal::ScalarBranch< unsigned > & | m_out_seed_n {m_tree.newScalar<unsigned>("nSeeds", 0)} |
| ========== Seed block: Filled when we have one or multiple seeds ============= seed count | |
| MuonVal::VectorBranch< unsigned short > & | m_out_seed_hasPhiExtension {m_tree.newVector<unsigned short>("seedHasPhiExtension", false)} |
| MuonVal::VectorBranch< unsigned short > & | m_out_seed_nMatchedHits {m_tree.newVector<unsigned short>("seedTruthMatchedHits", false)} |
| MuonVal::VectorBranch< float > & | m_out_seed_y0 {m_tree.newVector<float>("seedY0", 0.0)} |
| MuonVal::VectorBranch< float > & | m_out_seed_x0 {m_tree.newVector<float>("seedX0", 0.0)} |
| MuonVal::VectorBranch< float > & | m_out_seed_tantheta {m_tree.newVector<float>("seedTanTheta", 0.0)} |
| MuonVal::VectorBranch< float > & | m_out_seed_tanphi {m_tree.newVector<float>("seedTanPhi", 0.0)} |
| MuonVal::VectorBranch< float > & | m_out_seed_minYhit {m_tree.newVector<float>("seedMinYhit", 1.0)} |
| MuonVal::VectorBranch< float > & | m_out_seed_maxYhit {m_tree.newVector<float>("seedMaxYhit", -1.0)} |
| MuonVal::VectorBranch< unsigned short > & | m_out_seed_nHits {m_tree.newVector<unsigned short>("seedNHits", 0)} |
| MuonVal::VectorBranch< unsigned short > & | m_out_seed_nPrecHits {m_tree.newVector<unsigned short>("seedNPrecHits", 0)} |
| MuonVal::VectorBranch< unsigned short > & | m_out_seed_nEtaHits {m_tree.newVector<unsigned short>("seedNEtaHits", 0)} |
| MuonVal::VectorBranch< unsigned short > & | m_out_seed_nPhiHits {m_tree.newVector<unsigned short>("seedNPhiHits", 0)} |
| MuonVal::VectorBranch< unsigned short > & | m_out_seed_nMdt {m_tree.newVector<unsigned short>("seedNMdtHits", 0)} |
| MuonVal::VectorBranch< unsigned short > & | m_out_seed_nRpc {m_tree.newVector<unsigned short>("seedNRpcHits", 0)} |
| MuonVal::VectorBranch< unsigned short > & | m_out_seed_nTgc {m_tree.newVector<unsigned short>("seedNTgcHits", 0)} |
| MuonVal::VectorBranch< unsigned short > & | m_out_seed_nsTgcStrip {m_tree.newVector<unsigned short>("seedNsTgcStripHits", 0)} |
| MuonVal::VectorBranch< unsigned short > & | m_out_seed_nsTgcWire {m_tree.newVector<unsigned short>("seedNsTgcWireHits", 0)} |
| MuonVal::VectorBranch< unsigned short > & | m_out_seed_nsTgcPad {m_tree.newVector<unsigned short>("seedNsTgcPadHits", 0)} |
| MuonVal::VectorBranch< unsigned short > & | m_out_seed_nMmEta {m_tree.newVector<unsigned short>("seedNMmHitsEta", 0)} |
| MuonVal::VectorBranch< unsigned short > & | m_out_seed_nMmStereo {m_tree.newVector<unsigned short>("seedNMmHitsStereo", 0)} |
| MuonVal::VectorBranch< unsigned short > & | m_out_seed_nTrueHits {m_tree.newVector<unsigned short>("seedNTrueHits", 0)} |
| Labelled hits from the pattern visualization tool. | |
| MuonVal::VectorBranch< unsigned short > & | m_out_seed_nTruePrecHits {m_tree.newVector<unsigned short>("seedNTruePrecHits", 0)} |
| MuonVal::VectorBranch< unsigned short > & | m_out_seed_nTruePhiHits {m_tree.newVector<unsigned short>("seedNTruePhiHits", 0)} |
| MuonVal::VectorBranch< unsigned short > & | m_out_seed_nTrueEtaHits {m_tree.newVector<unsigned short>("seedNTrueEtaHits", 0)} |
| MuonVal::VectorBranch< unsigned char > & | m_out_seed_ledToSegment {m_tree.newVector<unsigned char>("seedConvertedToSegment",false)} |
| MuonVal::ScalarBranch< unsigned > & | m_out_segment_n {m_tree.newScalar<unsigned>("nSegments", 0)} |
| ========== Segment block: Filled when we have one or multiple segments ============= | |
| MuonVal::VectorBranch< float > & | m_out_segment_chi2 {m_tree.newVector<float>("segmentChi2", -1.)} |
| MuonVal::VectorBranch< uint16_t > & | m_out_segment_nDoF {m_tree.newVector<uint16_t>("segmentNdoF", 0)} |
| MuonVal::VectorBranch< bool > & | m_out_segment_hasTimeFit {m_tree.newVector<bool>("segmentHasTimeFit", false)} |
| MuonVal::VectorBranch< uint16_t > & | m_out_segment_fitIter {m_tree.newVector<uint16_t>("segmentFitIterations", 0)} |
| MuonVal::VectorBranch< bool > & | m_out_segment_hasPhi {m_tree.newVector<bool>("segmentHasPhiHits", false)} |
| MuonVal::VectorBranch< float > & | m_out_segment_y0 {m_tree.newVector<float>("segmentY0", 0.0)} |
| MuonVal::VectorBranch< float > & | m_out_segment_x0 {m_tree.newVector<float>("segmentX0", 0.0)} |
| MuonVal::VectorBranch< float > & | m_out_segment_tantheta {m_tree.newVector<float>("segmentTanTheta", 0.0)} |
| MuonVal::VectorBranch< float > & | m_out_segment_tanphi {m_tree.newVector<float>("segmentTanPhi", 0.0)} |
| MuonVal::VectorBranch< float > & | m_out_segment_time {m_tree.newVector<float>("segmentTime", 0.)} |
| MuonVal::VectorBranch< float > & | m_out_segment_err_y0 {m_tree.newVector<float>("segmentErrY0", -1.0)} |
| MuonVal::VectorBranch< float > & | m_out_segment_err_x0 {m_tree.newVector<float>("segmentErrX0", -1.0)} |
| MuonVal::VectorBranch< float > & | m_out_segment_err_tantheta {m_tree.newVector<float>("segmentErrTanTheta", -1.0)} |
| MuonVal::VectorBranch< float > & | m_out_segment_err_tanphi {m_tree.newVector<float>("segmentErrTanPhi", -1.0)} |
| MuonVal::VectorBranch< float > & | m_out_segment_err_time {m_tree.newVector<float>("segmentErrTime", -1.0)} |
| MuonVal::VectorBranch< unsigned short > & | m_out_segment_truthMatchedHits {m_tree.newVector<unsigned short>("segmentTruthMatchedHits", 0)} |
| MuonVal::VectorBranch< unsigned short > & | m_out_segment_nMdtHits {m_tree.newVector<unsigned short>("segmentNMdtHits", 0)} |
| MuonVal::VectorBranch< unsigned short > & | m_out_segment_nRpcEtaHits {m_tree.newVector<unsigned short>("segmentNRpcEtaHits", 0)} |
| MuonVal::VectorBranch< unsigned short > & | m_out_segment_nRpcPhiHits {m_tree.newVector<unsigned short>("segmentNRpcPhiHits", 0)} |
| MuonVal::VectorBranch< unsigned short > & | m_out_segment_nTgcEtaHits {m_tree.newVector<unsigned short>("segmentNTgcEtaHits", 0)} |
| MuonVal::VectorBranch< unsigned short > & | m_out_segment_nTgcPhiHits {m_tree.newVector<unsigned short>("segmentNTgcPhiHits", 0)} |
| MuonVal::VectorBranch< unsigned short > & | m_out_segment_nMmEtaHits {m_tree.newVector<unsigned short>("segmentNMmEtaHits", 0)} |
| MuonVal::VectorBranch< unsigned short > & | m_out_segment_nMmStereoHits {m_tree.newVector<unsigned short>("segmentNMmStereoHits", 0)} |
| MuonVal::VectorBranch< unsigned short > & | m_out_segment_nsTgcStripHits {m_tree.newVector<unsigned short>("segmentNsTgcStripHits", 0)} |
| MuonVal::VectorBranch< unsigned short > & | m_out_segment_nsTgcWireHits {m_tree.newVector<unsigned short>("segmentNsTgcWireHits", 0)} |
| MuonVal::VectorBranch< unsigned short > & | m_out_segment_nsTgcPadpHits {m_tree.newVector<unsigned short>("segmentNsTgcPadHits", 0)} |
| MuonVal::VectorBranch< unsigned short > & | m_out_segment_nTrueHits {m_tree.newVector<unsigned short>("segmentNTrueHits", 0)} |
| Labelled hits from the pattern visualization tool. | |
| MuonVal::VectorBranch< unsigned short > & | m_out_segment_nTruePrecHits {m_tree.newVector<unsigned short>("segmentNTruePrecHits", 0)} |
| MuonVal::VectorBranch< unsigned short > & | m_out_segment_nTruePhiHits {m_tree.newVector<unsigned short>("segmentNTruePhiHits", 0)} |
| MuonVal::VectorBranch< unsigned short > & | m_out_segment_nTrueEtaHits {m_tree.newVector<unsigned short>("segmentNTrueEtaHits", 0)} |
| MuonVal::VectorBranch< float > & | m_out_segment_minYhit {m_tree.newVector<float>("segmentMinYhit", 1.0)} |
| MuonVal::VectorBranch< float > & | m_out_segment_maxYhit {m_tree.newVector<float>("segmentMaxYhit", -1.0)} |
| ToolHandle< MuonValR4::IPatternVisualizationTool > | m_visionTool {this, "VisualizationTool", ""} |
| Pattern visualization tool. | |
| const MuonGMR4::MuonDetectorManager * | m_detMgr {nullptr} |
| 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 |
| 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 MuonHoughTransformTester.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.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
|
privateinherited |
Typedef for convenience.
Definition at line 214 of file AthHistogramming.h.
| using MuonValR4::MuonHoughTransformTester::TruthHitCol = std::unordered_set<const xAOD::MuonSimHit*> |
Definition at line 47 of file MuonHoughTransformTester.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 412 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 297 of file AthHistogramming.cxx.
|
protectedinherited |
Simplify the booking and registering (into THistSvc) of TEfficiency.
Definition at line 131 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 545 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.
|
private |
Calculates how many measurements from the segment fit have the same drift sign as when evaluated with the truth parameters.
| gctx | Geometry context to fetch the alignment constants |
| truthSeg | Reference to the truth segment |
| recoSeg | Reference to the reco segment. |
Definition at line 84 of file MuonHoughTransformTester.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 235 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 |
Definition at line 222 of file MuonHoughTransformTester.cxx.
|
protectedinherited |
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
|
overridevirtualinherited |
Return the list of extra output dependencies.
This list is extended to include symlinks implied by inheritance relations.
Definition at line 50 of file AthAlgorithm.cxx.
|
private |
Fill the hit summary info of the associated bucket.
Definition at line 328 of file MuonHoughTransformTester.cxx.
|
private |
Fill the current chamber info into the output.
| chamber | Pointer to the reference sector to which the view belongs to |
Definition at line 258 of file MuonHoughTransformTester.cxx.
|
private |
Fill the info associated to the seed.
| obj | Pointer to the matching object connecting the seeds & segment & truth |
Definition at line 366 of file MuonHoughTransformTester.cxx.
|
private |
Fill the info assciated to the segment.
| obj | Pointer to the matching object connecting the seeds & segment & truth |
Definition at line 481 of file MuonHoughTransformTester.cxx.
|
private |
Fill the associated truth information into the tree.
| truthSegment | Pointer to the truth parameters in form of a segment |
| gctx | Geometry context for the alignment of the spectrometer sector |
Definition at line 263 of file MuonHoughTransformTester.cxx.
|
overridevirtual |
Definition at line 218 of file MuonHoughTransformTester.cxx.
|
protectedinherited |
Simplify the retrieval of registered TGraphs.
Definition at line 477 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 183 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 |
The collection of readHandle keys should be either 1 or 2
Definition at line 45 of file MuonHoughTransformTester.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 |
Step 1 Loop over all reconstructed segments && fill them into the association table
Next loop over all seeds
Don't recycle the used seeds again
Find the best matching truth segment
find the best matching segment
Finally loop over all truth segments and push back the unused ones
Check that the segment is not used yet
Definition at line 99 of file MuonHoughTransformTester.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 575 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.
|
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 AthAlgorithm.
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 363 of file AthHistogramming.cxx.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
private |
Definition at line 289 of file MuonHoughTransformTester.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 |
Definition at line 79 of file AthAlgorithm.h.
|
private |
Tracking geometry context.
Definition at line 113 of file MuonHoughTransformTester.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 115 of file MuonHoughTransformTester.h.
|
private |
Definition at line 118 of file MuonHoughTransformTester.h.
|
privateinherited |
Cached Message Stream.
Definition at line 250 of file AthHistogramming.h.
|
privateinherited |
Instance name.
Definition at line 247 of file AthHistogramming.h.
|
private |
Definition at line 133 of file MuonHoughTransformTester.h.
|
private |
Definition at line 134 of file MuonHoughTransformTester.h.
|
private |
Definition at line 132 of file MuonHoughTransformTester.h.
|
private |
====== Common block: Filled for all entries ===========
chamber index field
Definition at line 126 of file MuonHoughTransformTester.h.
|
private |
|
private |
Definition at line 188 of file MuonHoughTransformTester.h.
|
private |
Definition at line 187 of file MuonHoughTransformTester.h.
|
private |
|
private |
Definition at line 180 of file MuonHoughTransformTester.h.
|
private |
Definition at line 183 of file MuonHoughTransformTester.h.
|
private |
Definition at line 182 of file MuonHoughTransformTester.h.
|
private |
Definition at line 179 of file MuonHoughTransformTester.h.
|
private |
Definition at line 184 of file MuonHoughTransformTester.h.
|
private |
Definition at line 181 of file MuonHoughTransformTester.h.
|
private |
Definition at line 164 of file MuonHoughTransformTester.h.
|
private |
Definition at line 165 of file MuonHoughTransformTester.h.
|
private |
Definition at line 166 of file MuonHoughTransformTester.h.
|
private |
Definition at line 170 of file MuonHoughTransformTester.h.
|
private |
Definition at line 169 of file MuonHoughTransformTester.h.
|
private |
Definition at line 172 of file MuonHoughTransformTester.h.
|
private |
Definition at line 174 of file MuonHoughTransformTester.h.
|
private |
Definition at line 175 of file MuonHoughTransformTester.h.
|
private |
Definition at line 171 of file MuonHoughTransformTester.h.
|
private |
|
private |
======= Truth block: Filled if we have a truth match. ============
existence of a truth match
Definition at line 160 of file MuonHoughTransformTester.h.
|
private |
|
private |
|
private |
Number of all space points in the bucket.
Definition at line 144 of file MuonHoughTransformTester.h.
|
private |
|
private |
|
private |
Number of all space points in the bucket.
Definition at line 151 of file MuonHoughTransformTester.h.
|
private |
Definition at line 196 of file MuonHoughTransformTester.h.
|
private |
Definition at line 232 of file MuonHoughTransformTester.h.
|
private |
Definition at line 208 of file MuonHoughTransformTester.h.
|
private |
Definition at line 207 of file MuonHoughTransformTester.h.
|
private |
========== Seed block: Filled when we have one or multiple seeds ============= seed count
Definition at line 192 of file MuonHoughTransformTester.h.
|
private |
Definition at line 212 of file MuonHoughTransformTester.h.
|
private |
Definition at line 210 of file MuonHoughTransformTester.h.
|
private |
Definition at line 198 of file MuonHoughTransformTester.h.
|
private |
Definition at line 215 of file MuonHoughTransformTester.h.
|
private |
Definition at line 222 of file MuonHoughTransformTester.h.
|
private |
Definition at line 223 of file MuonHoughTransformTester.h.
|
private |
Definition at line 213 of file MuonHoughTransformTester.h.
|
private |
Definition at line 211 of file MuonHoughTransformTester.h.
|
private |
Definition at line 216 of file MuonHoughTransformTester.h.
|
private |
Definition at line 220 of file MuonHoughTransformTester.h.
|
private |
Definition at line 218 of file MuonHoughTransformTester.h.
|
private |
Definition at line 219 of file MuonHoughTransformTester.h.
|
private |
Definition at line 217 of file MuonHoughTransformTester.h.
|
private |
Definition at line 230 of file MuonHoughTransformTester.h.
|
private |
Labelled hits from the pattern visualization tool.
Definition at line 227 of file MuonHoughTransformTester.h.
|
private |
Definition at line 229 of file MuonHoughTransformTester.h.
|
private |
Definition at line 228 of file MuonHoughTransformTester.h.
|
private |
Definition at line 204 of file MuonHoughTransformTester.h.
|
private |
Definition at line 203 of file MuonHoughTransformTester.h.
|
private |
Definition at line 202 of file MuonHoughTransformTester.h.
|
private |
Definition at line 201 of file MuonHoughTransformTester.h.
|
private |
Definition at line 241 of file MuonHoughTransformTester.h.
|
private |
Definition at line 260 of file MuonHoughTransformTester.h.
|
private |
Definition at line 259 of file MuonHoughTransformTester.h.
|
private |
Definition at line 261 of file MuonHoughTransformTester.h.
|
private |
Definition at line 258 of file MuonHoughTransformTester.h.
|
private |
Definition at line 257 of file MuonHoughTransformTester.h.
|
private |
Definition at line 244 of file MuonHoughTransformTester.h.
|
private |
Definition at line 247 of file MuonHoughTransformTester.h.
|
private |
Definition at line 243 of file MuonHoughTransformTester.h.
|
private |
Definition at line 284 of file MuonHoughTransformTester.h.
|
private |
Definition at line 283 of file MuonHoughTransformTester.h.
|
private |
========== Segment block: Filled when we have one or multiple segments =============
Definition at line 237 of file MuonHoughTransformTester.h.
|
private |
Definition at line 242 of file MuonHoughTransformTester.h.
|
private |
Definition at line 265 of file MuonHoughTransformTester.h.
|
private |
Definition at line 271 of file MuonHoughTransformTester.h.
|
private |
Definition at line 272 of file MuonHoughTransformTester.h.
|
private |
Definition at line 266 of file MuonHoughTransformTester.h.
|
private |
Definition at line 267 of file MuonHoughTransformTester.h.
|
private |
Definition at line 275 of file MuonHoughTransformTester.h.
|
private |
Definition at line 273 of file MuonHoughTransformTester.h.
|
private |
Definition at line 274 of file MuonHoughTransformTester.h.
|
private |
Definition at line 268 of file MuonHoughTransformTester.h.
|
private |
Definition at line 269 of file MuonHoughTransformTester.h.
|
private |
Definition at line 280 of file MuonHoughTransformTester.h.
|
private |
Labelled hits from the pattern visualization tool.
Definition at line 277 of file MuonHoughTransformTester.h.
|
private |
Definition at line 279 of file MuonHoughTransformTester.h.
|
private |
Definition at line 278 of file MuonHoughTransformTester.h.
|
private |
Definition at line 253 of file MuonHoughTransformTester.h.
|
private |
Definition at line 252 of file MuonHoughTransformTester.h.
|
private |
Definition at line 254 of file MuonHoughTransformTester.h.
|
private |
Definition at line 264 of file MuonHoughTransformTester.h.
|
private |
Definition at line 251 of file MuonHoughTransformTester.h.
|
private |
Definition at line 250 of file MuonHoughTransformTester.h.
|
private |
|
private |
|
private |
List of the two segment seed containers from which the segments are buiit (Complets the pattern finding step).
Definition at line 109 of file MuonHoughTransformTester.h.
|
privateinherited |
Name of the ROOT output stream (file).
Definition at line 88 of file AthHistogramAlgorithm.h.
|
private |
Key to the xAOD::MuonSegment container.
Definition at line 105 of file MuonHoughTransformTester.h.
|
private |
name of the truth link decorations for the reco segment container
Definition at line 107 of file MuonHoughTransformTester.h.
|
privateinherited |
Definition at line 91 of file AthHistogramAlgorithm.h.
|
private |
List of the space point containers in the event legacy + NSW containers.
Definition at line 111 of file MuonHoughTransformTester.h.
|
private |
Branch indicating which space points in the tree are associated to the i-th pattern.
Definition at line 139 of file MuonHoughTransformTester.h.
|
private |
Branch indicating which space points in the tree are associated to the i-th segment.
Definition at line 141 of file MuonHoughTransformTester.h.
|
private |
Branch dumping all the space points from the difference buckets.
Definition at line 137 of file MuonHoughTransformTester.h.
|
privateinherited |
Name of the ROOT output stream (file).
Definition at line 228 of file AthHistogramming.h.
|
private |
Definition at line 96 of file MuonHoughTransformTester.h.
|
privateinherited |
The map of TTree names to their pointers.
Definition at line 217 of file AthHistogramming.h.
|
private |
Name of the decorations for the truth segment.
Definition at line 103 of file MuonHoughTransformTester.h.
|
private |
Declare the dependencies on the decorations.
Definition at line 101 of file MuonHoughTransformTester.h.
|
private |
Key to the truth segment.
Definition at line 99 of file MuonHoughTransformTester.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.
|
private |
Pattern visualization tool.
Definition at line 287 of file MuonHoughTransformTester.h.
|
private |
Definition at line 120 of file MuonHoughTransformTester.h.