![]() |
ATLAS Offline Software
|
#include <CscSegmentUtilTool.h>
Public Member Functions | |
| CscSegmentUtilTool (const std::string &type, const std::string &name, const IInterface *parent) | |
| virtual | ~CscSegmentUtilTool ()=default |
| virtual StatusCode | initialize () |
| std::unique_ptr< std::vector< std::unique_ptr< Muon::MuonSegment > > > | getMuonSegments (Identifier eta_id, Identifier phi_id, ICscSegmentFinder::ChamberTrkClusters &eta_clus, ICscSegmentFinder::ChamberTrkClusters &phi_clus, const Amg::Vector3D &lpos000, const EventContext &ctx) const |
| Muon::MuonSegmentCombination * | get4dMuonSegmentCombination (Identifier eta_id, Identifier phi_id, ICscSegmentFinder::ChamberTrkClusters &eta_clus, ICscSegmentFinder::ChamberTrkClusters &phi_clus, const Amg::Vector3D &lpos000, const EventContext &ctx) const |
| Muon::MuonSegmentCombination * | get4dMuonSegmentCombination (const Muon::MuonSegmentCombination *Muon2dSegComb, const EventContext &ctx) const |
| Muon::MuonSegmentCombination * | get2dMuonSegmentCombination (Identifier eta_id, Identifier phi_id, ICscSegmentFinder::ChamberTrkClusters &eta_clus, ICscSegmentFinder::ChamberTrkClusters &phi_clus, const Amg::Vector3D &lpos000, const EventContext &ctx, int etaStat=0, int phiStat=0) const |
| void | spoiled_count (const ICscSegmentFinder::RioList &rios, double threshold, int &nspoil, int &nunspoil) |
| void | spoiled_count (const ICscSegmentFinder::RioList &rios, int &nspoil, int &nunspoil) |
| void | spoiled_count (const ICscSegmentFinder::RioList &rios, int &nspoil, int &nunspoil, int &spoilmap) |
| void | fit_rio_residual (const Trk::PlaneSurface &ssrf, bool dump, const ICscSegmentFinder::RioList &clus, unsigned int irclu, double &res, double &dres, double &rs, double &drs) const |
| virtual void | spoiled_count (const std::vector< const Trk::RIO_OnTrack * > &rios, double threshold, int &nspoil, int &nunspoil)=0 |
| virtual void | spoiled_count (const std::vector< const Trk::RIO_OnTrack * > &rios, int &nspoil, int &nunspoil)=0 |
| virtual void | spoiled_count (const std::vector< const Trk::RIO_OnTrack * > &rios, int &nspoil, int &nunspoil, int &spoilmap)=0 |
| virtual void | fit_rio_residual (const Trk::PlaneSurface &ssrf, bool dump, const std::vector< const Trk::RIO_OnTrack * > &clus, unsigned int irclu, double &res, double &dres, double &rs, double &drs) const =0 |
| ServiceHandle< StoreGateSvc > & | evtStore () |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. | |
| const ServiceHandle< StoreGateSvc > & | detStore () const |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. | |
| virtual StatusCode | sysInitialize () override |
| Perform system initialization for an algorithm. | |
| virtual StatusCode | sysStart () override |
| Handle START transition. | |
| virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. | |
| virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. | |
| Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T, V, H > &t) |
| void | updateVHKA (Gaudi::Details::PropertyBase &) |
| MsgStream & | msg () const |
| bool | msgLvl (const MSG::Level lvl) const |
Static Public Member Functions | |
| static const InterfaceID & | interfaceID () |
Protected Member Functions | |
| void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
| remove all handles from I/O resolution | |
| std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > | renounce (T &h) |
| void | extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps) |
| Add StoreName to extra input/output deps as needed. | |
Private Types | |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
| Muon::MuonSegment * | build_segment (const ICscSegmentFinder::Segment &seg, bool measphi, Identifier chid, bool use2Lay, const EventContext &ctx) const |
| void | fit_rio_segment (const Trk::PlaneSurface &ssrf, bool dump, const ICscSegmentFinder::RioList &clus, double &s0, double &s1, double &d0, double &d1, double &d01, double &chsq, double &zshift) const |
| void | fit_residual (const ICscSegmentFinder::TrkClusters &clus, const Amg::Vector3D &lpos000, unsigned int irclu, double &res, double &dres, const EventContext &ctx) const |
| void | find_2dsegments (bool measphi, int station, int eta, int phi, const ICscSegmentFinder::ChamberTrkClusters &clus, const Amg::Vector3D &lpos000, ICscSegmentFinder::Segments &segs, double localPos, double localSlope, const EventContext &ctx) const |
| void | find_2dseg3hit (bool measphi, int station, int eta, int phi, const ICscSegmentFinder::ChamberTrkClusters &clus, const Amg::Vector3D &lpos000, ICscSegmentFinder::Segments &segs, ICscSegmentFinder::Segments &segs4hit, double localPos, double localSlope, const EventContext &ctx) const |
| void | find_2dseg2hit (bool measphi, int station, int eta, int phi, int layStat, const ICscSegmentFinder::ChamberTrkClusters &clus, const Amg::Vector3D &lpos000, ICscSegmentFinder::Segments &segs, double localPos, double localSlope, const EventContext &ctx) const |
| void | add_2dsegments (ICscSegmentFinder::Segments &segs4, ICscSegmentFinder::Segments &segs3) const |
| Adds 3-hit segments to 4-hit segments. | |
| void | add_2dseg2hits (ICscSegmentFinder::Segments &segs, ICscSegmentFinder::Segments &segs2, int layStat) const |
| bool | unique_hits (ICscSegmentFinder::TrkClusters &fitclus, ICscSegmentFinder::Segments &segs) const |
| Method for checking whether three hit segments are already part of 4 hit segments. | |
| void | get2dSegments (Identifier eta_id, Identifier phi_id, ICscSegmentFinder::ChamberTrkClusters &eta_clus, ICscSegmentFinder::ChamberTrkClusters &phi_clus, ICscSegmentFinder::Segments &etasegs, ICscSegmentFinder::Segments &phisegs, const Amg::Vector3D &lpos000, const EventContext &ctx, int etaStat=0, int phiStat=0) const |
| Muon::MuonSegment * | make_4dMuonSegment (const Muon::MuonSegment &rsg, const Muon::MuonSegment &psg, bool use2LaySegsEta, bool use2LaySegsPhi) const |
| int | find_outlier_cluster (const ICscSegmentFinder::TrkClusters &clus, const Amg::Vector3D &lpos000, double &returned_chsq, const EventContext &ctx) const |
| void | fit_segment (const ICscSegmentFinder::TrkClusters &clus, const Amg::Vector3D &lpos000, double &s0, double &s1, double &d0, double &d1, double &d01, double &chsq, double &time, double &dtime, double &zshift, const EventContext &ctx, int outlierLayer=-1) const |
| void | fit_detailCalcPart1 (const ICscSegmentFinder::TrkClusters &clus, const Amg::Vector3D &lpos000, double &s0, double &s1, double &d0, double &d1, double &d01, double &chsq, bool &measphi, double &time, double &dtime, double &zshift, bool IsSlopeGive, int outlierHitLayer, const EventContext &ctx) const |
| void | fit_detailCalcPart2 (double q0, double q1, double q2, double q01, double q11, double q02, double &s0, double &s1, double &d0, double &d1, double &d01, double &chsq) const |
| double | getDefaultError (Identifier id, bool measphi, const Muon::CscPrepData *prd, const EventContext &ctx) const |
| void | getRios (const ICscSegmentFinder::Segment &seg, ICscSegmentFinder::MbaseList *prios, bool measphi, const EventContext &ctx) const |
| double | matchLikelihood (const Muon::MuonSegment &rsg, const Muon::MuonSegment &psg) const |
| bool | isGood (const uint32_t stripHashId, const EventContext &ctx) const |
| int | stripStatusBit (const uint32_t stripHashId, const EventContext &ctx) const |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Static Private Member Functions | |
| static double | pdf_sig (const double x) |
| static double | pdf_bkg (const double x) |
| static double | qratio_like (const double pdf_sig, const double pdf_bkg) |
Private Attributes | |
| Gaudi::Property< double > | m_max_chisquare_tight {this, "max_chisquare_tight", 16, "for outlier removal"} |
| Gaudi::Property< double > | m_max_chisquare_loose {this, "max_chisquare_loose", 2000, "for outlier removal"} |
| Gaudi::Property< double > | m_max_chisquare {this, "max_chisquare", 25} |
| Gaudi::Property< double > | m_max_slope_r {this, "max_slope_r", 0.2} |
| Gaudi::Property< double > | m_max_slope_phi {this, "max_slope_phi", 0.2} |
| Gaudi::Property< double > | m_min_xylike {this, "min_xylike", -1, "Minimum value used for xy matching of 4D segments"} |
| Gaudi::Property< double > | m_fitsegment_tantheta_tolerance {this, "tantheta_update_tolerance", 0.0001} |
| Gaudi::Property< double > | m_IPerror {this, "IPerror", 250} |
| Gaudi::Property< float > | m_cluster_error_scaler {this, "cluster_error_scaler", 1} |
| Gaudi::Property< int > | m_nunspoil {this, "UnspoiledHits", -1} |
| Gaudi::Property< int > | m_max_3hitseg_sharehit {this, "max_3hitseg_sharedhit", 0} |
| Gaudi::Property< unsigned int > | m_max_seg_per_chamber {this, "max_seg_per_chamber", 50} |
| Gaudi::Property< bool > | m_x5data {this, "X5data", false} |
| Gaudi::Property< bool > | m_zshift {this, "zshift", true} |
| Gaudi::Property< bool > | m_IPconstraint {this, "IPconstraint", true} |
| Gaudi::Property< bool > | m_allEtaPhiMatches {this, "allEtaPhiMatches", true} |
| Gaudi::Property< bool > | m_TightenChi2 {this, "TightenChi2", true} |
| Gaudi::Property< bool > | m_remove4Overlap {this, "Remove4Overlap", true} |
| Gaudi::Property< bool > | m_remove3Overlap {this, "Remove3Overlap", true} |
| ToolHandle< Muon::ICscClusterOnTrackCreator > | m_rotCreator |
| ServiceHandle< Muon::IMuonIdHelperSvc > | m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"} |
| SG::ReadCondHandleKey< CscCondDbData > | m_readKey {this, "ReadKey", "CscCondDbData", "Key of CscCondDbData"} |
| SG::ReadHandleKey< xAOD::EventInfo > | m_eventInfo {this, "EventInfo", "EventInfo", "event info"} |
| SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > | m_DetectorManagerKey |
| 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 |
Definition at line 35 of file CscSegmentUtilTool.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| CscSegmentUtilTool::CscSegmentUtilTool | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Definition at line 78 of file CscSegmentUtilTool.cxx.
|
virtualdefault |
|
private |
Definition at line 1279 of file CscSegmentUtilTool.cxx.
|
private |
Adds 3-hit segments to 4-hit segments.
Definition at line 1146 of file CscSegmentUtilTool.cxx.
|
private |
Definition at line 762 of file CscSegmentUtilTool.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.
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 85 of file AthCommonDataStore.h.
|
protectedinherited |
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
|
private |
Definition at line 1504 of file CscSegmentUtilTool.cxx.
|
private |
Definition at line 1403 of file CscSegmentUtilTool.cxx.
|
private |
Definition at line 1046 of file CscSegmentUtilTool.cxx.
|
private |
Definition at line 390 of file CscSegmentUtilTool.cxx.
|
private |
Definition at line 226 of file CscSegmentUtilTool.cxx.
|
private |
Definition at line 1597 of file CscSegmentUtilTool.cxx.
|
private |
Definition at line 450 of file CscSegmentUtilTool.cxx.
| void CscSegmentUtilTool::fit_rio_residual | ( | const Trk::PlaneSurface & | ssrf, |
| bool | dump, | ||
| const ICscSegmentFinder::RioList & | clus, | ||
| unsigned int | irclu, | ||
| double & | res, | ||
| double & | dres, | ||
| double & | rs, | ||
| double & | drs ) const |
Definition at line 603 of file CscSegmentUtilTool.cxx.
|
pure virtualinherited |
|
private |
Definition at line 504 of file CscSegmentUtilTool.cxx.
|
private |
Definition at line 209 of file CscSegmentUtilTool.cxx.
|
virtual |
Implements ICscSegmentUtilTool.
Definition at line 148 of file CscSegmentUtilTool.cxx.
|
private |
Definition at line 2015 of file CscSegmentUtilTool.cxx.
|
virtual |
Implements ICscSegmentUtilTool.
Definition at line 1635 of file CscSegmentUtilTool.cxx.
|
virtual |
Implements ICscSegmentUtilTool.
Definition at line 1738 of file CscSegmentUtilTool.cxx.
|
private |
Definition at line 2147 of file CscSegmentUtilTool.cxx.
|
virtual |
Implements ICscSegmentUtilTool.
Definition at line 116 of file CscSegmentUtilTool.cxx.
|
private |
Definition at line 2111 of file CscSegmentUtilTool.cxx.
|
virtual |
Definition at line 84 of file CscSegmentUtilTool.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.
|
inlinestaticinherited |
Definition at line 33 of file ICscSegmentUtilTool.h.
|
privatevirtual |
Implements ICscSegmentUtilTool.
Definition at line 2285 of file CscSegmentUtilTool.cxx.
|
private |
Definition at line 1754 of file CscSegmentUtilTool.cxx.
|
private |
Definition at line 2168 of file CscSegmentUtilTool.cxx.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
overridevirtualinherited |
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
|
staticprivate |
Definition at line 2253 of file CscSegmentUtilTool.cxx.
|
staticprivate |
Definition at line 2235 of file CscSegmentUtilTool.cxx.
|
staticprivate |
|
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.
| void CscSegmentUtilTool::spoiled_count | ( | const ICscSegmentFinder::RioList & | rios, |
| double | threshold, | ||
| int & | nspoil, | ||
| int & | nunspoil ) |
Definition at line 694 of file CscSegmentUtilTool.cxx.
| void CscSegmentUtilTool::spoiled_count | ( | const ICscSegmentFinder::RioList & | rios, |
| int & | nspoil, | ||
| int & | nunspoil ) |
Definition at line 712 of file CscSegmentUtilTool.cxx.
| void CscSegmentUtilTool::spoiled_count | ( | const ICscSegmentFinder::RioList & | rios, |
| int & | nspoil, | ||
| int & | nunspoil, | ||
| int & | spoilmap ) |
Definition at line 730 of file CscSegmentUtilTool.cxx.
|
pure virtualinherited |
|
pure virtualinherited |
|
pure virtualinherited |
|
private |
Definition at line 2291 of file CscSegmentUtilTool.cxx.
|
overridevirtualinherited |
Perform system initialization for an algorithm.
We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.
Reimplemented in asg::AsgMetadataTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and DerivationFramework::CfAthAlgTool.
|
overridevirtualinherited |
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
|
private |
Method for checking whether three hit segments are already part of 4 hit segments.
Definition at line 2082 of file CscSegmentUtilTool.cxx.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
private |
Definition at line 100 of file CscSegmentUtilTool.h.
|
private |
Definition at line 90 of file CscSegmentUtilTool.h.
|
private |
Definition at line 112 of file CscSegmentUtilTool.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
private |
Definition at line 110 of file CscSegmentUtilTool.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
private |
Definition at line 87 of file CscSegmentUtilTool.h.
|
private |
Definition at line 107 of file CscSegmentUtilTool.h.
|
private |
Definition at line 99 of file CscSegmentUtilTool.h.
|
private |
Definition at line 88 of file CscSegmentUtilTool.h.
|
private |
Definition at line 93 of file CscSegmentUtilTool.h.
|
private |
Definition at line 83 of file CscSegmentUtilTool.h.
|
private |
Definition at line 82 of file CscSegmentUtilTool.h.
|
private |
Definition at line 81 of file CscSegmentUtilTool.h.
|
private |
Definition at line 95 of file CscSegmentUtilTool.h.
|
private |
Definition at line 85 of file CscSegmentUtilTool.h.
|
private |
Definition at line 84 of file CscSegmentUtilTool.h.
|
private |
Definition at line 86 of file CscSegmentUtilTool.h.
|
private |
Definition at line 92 of file CscSegmentUtilTool.h.
|
private |
Definition at line 109 of file CscSegmentUtilTool.h.
|
private |
Definition at line 103 of file CscSegmentUtilTool.h.
|
private |
Definition at line 102 of file CscSegmentUtilTool.h.
|
private |
Definition at line 105 of file CscSegmentUtilTool.h.
|
private |
Definition at line 101 of file CscSegmentUtilTool.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.
|
private |
Definition at line 97 of file CscSegmentUtilTool.h.
|
private |
Definition at line 98 of file CscSegmentUtilTool.h.