ATLAS Offline Software
|
This header ties the generic definitions in this package. More...
Namespaces | |
CombinatorialSeedSolver | |
HoughHelpers | |
SegmentFit | |
SegmentFitHelpers | |
Classes | |
class | BucketDumperAlg |
class | CalibratedSpacePoint |
The calibrated Space point is created during the calibration process. More... | |
class | EtaHoughTransformAlg |
Algorithm to handle the eta hough transform. More... | |
struct | HoughEventData_impl |
Templated event data class for the phase-2 muon hough transform. More... | |
class | HoughMaximum |
Data class to represent an eta maximum in hough space. More... | |
class | ISpacePointCalibrator |
Interface class to refine the space point calibration with an external seed. More... | |
class | MdtDigitizationTool |
class | MdtMeasViewAlg |
class | MdtSegmentFitter |
class | MdtSegmentSeedGenerator |
Helper class to generate valid seeds for the segment fit. More... | |
class | MeasurementMarkerAlg |
class | MM_DigitizationTool |
class | MmFastDigiTool |
class | MuonDigitizationTool |
Barebone implementation of the I/O infrastructure for all MuonDigitizationTools. More... | |
class | PatternCnvAlg |
The MuonPatternCnvAlg converts the SegmentSeeds produced by the R4 pattern recognition chain into the segment seeds that can be consumed by the legacy muon segment maker. More... | |
class | PhiHoughTransformAlg |
Algorithm to handle the phi hough transform. More... | |
class | PrdMultiTruthMaker |
class | PrepDataToSimHitAssocAlg |
The PrepDataToSimHitAssocAlg matches the uncalibrated measurements to the MuonSimHits or to the MuonSDO objects. More... | |
class | RpcClusteringAlg |
class | RpcFastDigiTool |
class | RpcMeasViewAlg |
class | RpcRdoToRpcPrepDataTool |
class | Segment |
Placeholder for what will later be the muon segment EDM representation. More... | |
class | SegmentAmbiSolver |
class | SegmentCnvAlg |
The SegmentCnvAlg converts the SegmentSeeds produced by the R4 pattern recognition chain into the segment seeds that can be consumed by the legacy muon segment maker. More... | |
class | SegmentFitParDecorAlg |
Algorithm to decorate the segment fit parameters in the chamber's frame onto the xAOD::MuonSegment Additionally, the ElementLinks to the associated measurements are decorated. More... | |
struct | SegmentFitResult |
class | SegmentFittingAlg |
Algorithm to handle segment fits More... | |
class | SegmentMarkerAlg |
class | SegmentSeed |
Representation of a segment seed (a fully processed hough maximum) produced by the hough transform. More... | |
class | SegmentViewAlg |
class | SimHitCsvDumperAlg |
class | SpacePoint |
The muon space point is the combination of two uncalibrated measurements one of them measures the eta and the other the phi coordinate. More... | |
class | SpacePointBucket |
: The muon space point bucket represents a collection of points that will bre processed together in the pattern seeding. More... | |
class | SpacePointCalibrator |
class | SpacePointCsvDumperAlg |
class | SpacePointMakerAlg |
class | SpacePointPerLayerSorter |
The SpacePointPerLayerSorter groups the space points by their layer Identifier. More... | |
class | sTgcFastDigiTool |
class | sTgcMeasViewAlg |
class | TgcFastDigiTool |
class | TruthMeasMarkerAlg |
class | TruthOverlay |
class | TruthSegmentCsvDumperAlg |
class | TruthSegmentMaker |
class | xRpcMeasToRpcTrkPrdCnvAlg |
Conversion algorithm to turn xAOD::RpcMeasurements into Trk::RpcPrepData. More... | |
Functions | |
double | houghTanTheta (const Amg::Vector3D &v) |
Returns the hough tanTheta [y] / [z]. More... | |
double | houghTanPhi (const Amg::Vector3D &v) |
: Returns the hough tanPhi [x] / [z] More... | |
Amg::Vector3D | multiply (const CalibratedSpacePoint::Covariance_t &mat, const Amg::Vector3D &v) |
Multiplies a 3D vector with the covariance matrix which can be either 2x2 or 3x3 matrix. More... | |
Amg::Vector2D | multiply (const CalibratedSpacePoint::Covariance_t &mat, const Amg::Vector2D &v) |
Multiplies a 2D vector with the covariance matrix which has to be a 2x2 matrix. More... | |
CalibratedSpacePoint::Covariance_t | inverse (const CalibratedSpacePoint::Covariance_t &mat) |
Inverts the parsed matrix. More... | |
double | contract (const CalibratedSpacePoint::Covariance_t &mat, const Amg::Vector3D &a, const Amg::Vector3D &b) |
double | contract (const CalibratedSpacePoint::Covariance_t &mat, const Amg::Vector2D &a, const Amg::Vector2D &b) |
double | contract (const CalibratedSpacePoint::Covariance_t &mat, const Amg::Vector3D &a) |
double | contract (const CalibratedSpacePoint::Covariance_t &mat, const Amg::Vector2D &a) |
std::string | toString (const CalibratedSpacePoint::Covariance_t &mat) |
Returns the matrix in string. More... | |
void | sortByLayer (std::vector< const SpacePoint * > &spacePoints) |
Sorts the space points in a vector by z. More... | |
const | AmgSymMatrix (2) &SpacePoint |
HitVec | stripSmartPtr (const SpacePointBucket &bucket) |
const xAOD::MuonSimHit * | getTruthMatchedHit (const xAOD::UncalibratedMeasurement &prdHit) |
Returns the MuonSimHit, if there's any, matched to the uncalibrated muon measurement. More... | |
std::unordered_set< const xAOD::MuonSimHit * > | getMatchingSimHits (const xAOD::MuonSegment &segment) |
: Returns all sim hits matched to a xAOD::MuonSegment More... | |
std::unordered_set< const xAOD::MuonSimHit * > | getMatchingSimHits (const std::vector< const SpacePoint * > &spacePoints) |
Returns all sim hits that are matched to a collection of space points. More... | |
std::unordered_set< const xAOD::MuonSimHit * > | getMatchingSimHits (const std::vector< const CalibratedSpacePoint * > &measurements) |
Returns all sim hits that are matched to a collection of calibrated space points. More... | |
std::unordered_set< const xAOD::MuonSimHit * > | getMatchingSimHits (const Segment &seg) |
Returns all sim hits that are matched to the reconstructed segment. More... | |
std::unordered_set< const xAOD::MuonSimHit * > | getMatchingSimHits (const SegmentSeed &seed) |
Returns all sim hits that are matched to the segmentSeed. More... | |
std::unordered_set< const xAOD::MuonSimHit * > | getMatchingSimHits (const SpacePointBucket &bucket) |
Returns all sim hits that are matched to the spacePoint bucket. More... | |
constexpr double | sign (const double x) |
Returns the sign of a number. More... | |
constexpr unsigned int | sumUp (unsigned k) |
Calculates the sum of 1 + 2 +3 +4 +... More... | |
template<unsigned int n> | |
constexpr unsigned int | vecIdxFromSymMat (unsigned int i, unsigned k) |
If a n-dimensional Matrix is symmetric, it has n* (n+1) /2 parameters The following function returns the global index when filling the content of the matrix into a vector via for (i = 0; i < n; ++i) { for (k =i; k<n; ++k){ } }. More... | |
template<int n> | |
constexpr std::array< unsigned, 2 > | symMatIdxFromVec (unsigned int k) |
Translates back the global index into the two matrix access indices under the assumption that the matrix is symmetric. More... | |
double | driftCov (const CalibratedSpacePoint &dcHit) |
constexpr bool | passRangeCut (const std::array< double, 2 > &cutRange, const double value) |
MuonR4::SegmentFitResult::HitVec | copy (const MuonR4::SegmentFitResult::HitVec &hits) |
MuonR4::SegmentFitResult | copy (const MuonR4::SegmentFitResult &toCopy) |
bool | removeBeamSpot (MuonR4::SegmentFitResult::HitVec &hits) |
This header ties the generic definitions in this package.
: The sTgcMeasViewAlg takes all sTgcStrip, sTgcWire & sTgcPad measurements and pushes them into a common sTgcMeasContainer which is a SG::VIEW_ELEMENTS container
: The RpcMeasViewAlg takes the BI & legacy Rpc measurements and pushes them into a common RpcMeasurmentContainer which is a SG::VIEW_ELEMENTS container
: The MdtMeasViewAlg takes the MdtMeasurments && the MdtTwinMeasurements and combined them into a common MdtDriftCircleContainer
The MuonStripCsvDumperAlg reads the RpcStripContainer and dumps information to csv files The files are used for the algorithm development in acts.
The CsvMuonSimHitDumper reads a Simulation Hit container for muons and dumps information to csv files.
Set of helper functions to fetch the links to the xAOD::MuonSimHits from the uncalibrated measurements.
copyright am arsch
the accumulator, and the peak finder.
The links are decorated by the PrepDataToSimHitAssocAlg which is residing inside the MuonTruthAlgsR4 package. Before using these functions ensure that the algorithms are ran accordingly
using MuonR4::ActsPeakFinderForMuon = typedef Acts::HoughTransformUtils::PeakFinders::IslandsAroundMax<HoughHitType> |
Definition at line 24 of file MuonHoughDefs.h.
using MuonR4::ActsPeakFinderForMuonCfg = typedef Acts::HoughTransformUtils::PeakFinders::IslandsAroundMaxConfig |
Definition at line 26 of file MuonHoughDefs.h.
using MuonR4::CalibSpacePointPtr = typedef ISpacePointCalibrator::CalibSpacePointPtr |
Definition at line 23 of file SpacePointCalibrator.cxx.
using MuonR4::CalibSpacePointVec = typedef ISpacePointCalibrator::CalibSpacePointVec |
Definition at line 22 of file SpacePointCalibrator.cxx.
using MuonR4::Covariance_t = typedef CalibratedSpacePoint::Covariance_t |
Definition at line 8 of file CalibratedSpacePoint.cxx.
using MuonR4::EtaHoughMaxContainer = typedef DataVector<HoughMaximum> |
Definition at line 14 of file MuonPatternContainer.h.
using MuonR4::HitType = typedef SegmentFitResult::HitType |
Definition at line 36 of file MdtSegmentFitter.cxx.
Definition at line 9 of file SpacePointPerLayerSorter.cxx.
using MuonR4::HoughEventData = typedef HoughEventData_impl<ActsPeakFinderForMuon, ActsPeakFinderForMuonCfg> |
Definition at line 71 of file HoughEventData.h.
using MuonR4::HoughHitType = typedef HoughMaximum::HitType |
Definition at line 18 of file MuonHoughDefs.h.
using MuonR4::HoughPlane = typedef Acts::HoughTransformUtils::HoughPlane<HoughHitType> |
Definition at line 20 of file MuonHoughDefs.h.
Definition at line 21 of file MeasurementMarkerAlg.cxx.
typedef SG::WriteDecorHandle< PrdCont_t, bool > MuonR4::MarkerHandle_t |
Definition at line 20 of file MeasurementMarkerAlg.cxx.
Definition at line 13 of file MeasurementMarkerAlg.cxx.
typedef ElementLink< PrdCont_t > MuonR4::PrdLink_t |
Definition at line 17 of file MeasurementMarkerAlg.cxx.
using MuonR4::PrdLinkVec = typedef std::vector<PrdLink_t> |
Definition at line 18 of file SegmentFitParDecorAlg.cxx.
using MuonR4::PrdLinkVec_t = typedef std::vector<PrdLink_t> |
Definition at line 18 of file MeasurementMarkerAlg.cxx.
Definition at line 57 of file SegmentFittingAlg.cxx.
Definition at line 14 of file MeasurementMarkerAlg.cxx.
typedef std::vector< SegLink_t > MuonR4::SegLinkVec_t |
Definition at line 15 of file MeasurementMarkerAlg.cxx.
using MuonR4::SegmentContainer = typedef DataVector<Segment> |
Definition at line 16 of file MuonPatternContainer.h.
using MuonR4::SegmentSeedContainer = typedef DataVector<SegmentSeed> |
Definition at line 15 of file MuonPatternContainer.h.
using MuonR4::SegmentVec = typedef SegmentAmbiSolver::SegmentVec |
Definition at line 10 of file SegmentAmbiSolver.cxx.
using MuonR4::SegPars = typedef xAOD::MeasVector<toInt(ParamDefs::nPars)> |
Definition at line 15 of file SegmentFitParDecorAlg.cxx.
using MuonR4::SpacePointContainer = typedef DataVector<SpacePointBucket> |
Definition at line 94 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/MuonSpacePoint/SpacePointContainer.h.
using MuonR4::State = typedef CalibratedSpacePoint::State |
Definition at line 24 of file SpacePointCalibrator.cxx.
using MuonR4::TechIdx_t = typedef Muon::MuonStationIndex::TechnologyIndex |
Definition at line 19 of file SegmentFitParDecorAlg.cxx.
Definition at line 23 of file MeasurementMarkerAlg.cxx.
const MuonR4::AmgSymMatrix | ( | 2 | ) | & |
Definition at line 150 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/SpacePoint.cxx.
double MuonR4::contract | ( | const CalibratedSpacePoint::Covariance_t & | mat, |
const Amg::Vector2D & | a | ||
) |
double MuonR4::contract | ( | const CalibratedSpacePoint::Covariance_t & | mat, |
const Amg::Vector2D & | a, | ||
const Amg::Vector2D & | b | ||
) |
Definition at line 27 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/UtilFunctions.cxx.
double MuonR4::contract | ( | const CalibratedSpacePoint::Covariance_t & | mat, |
const Amg::Vector3D & | a | ||
) |
double MuonR4::contract | ( | const CalibratedSpacePoint::Covariance_t & | mat, |
const Amg::Vector3D & | a, | ||
const Amg::Vector3D & | b | ||
) |
Definition at line 13 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/UtilFunctions.cxx.
MuonR4::SegmentFitResult MuonR4::copy | ( | const MuonR4::SegmentFitResult & | toCopy | ) |
Definition at line 39 of file SegmentFittingAlg.cxx.
MuonR4::SegmentFitResult::HitVec MuonR4::copy | ( | const MuonR4::SegmentFitResult::HitVec & | hits | ) |
Definition at line 32 of file SegmentFittingAlg.cxx.
double MuonR4::driftCov | ( | const CalibratedSpacePoint & | dcHit | ) |
Definition at line 22 of file MdtSegmentSeedGenerator.cxx.
std::unordered_set< const xAOD::MuonSimHit * > MuonR4::getMatchingSimHits | ( | const Segment & | seg | ) |
Returns all sim hits that are matched to the reconstructed segment.
Definition at line 71 of file MuonSimHitHelpers.cxx.
std::unordered_set< const xAOD::MuonSimHit * > MuonR4::getMatchingSimHits | ( | const SegmentSeed & | seed | ) |
Returns all sim hits that are matched to the segmentSeed.
Definition at line 83 of file MuonSimHitHelpers.cxx.
std::unordered_set< const xAOD::MuonSimHit * > MuonR4::getMatchingSimHits | ( | const SpacePointBucket & | bucket | ) |
Returns all sim hits that are matched to the spacePoint bucket.
Definition at line 77 of file MuonSimHitHelpers.cxx.
std::unordered_set< const xAOD::MuonSimHit * > MuonR4::getMatchingSimHits | ( | const std::vector< const CalibratedSpacePoint * > & | measurements | ) |
Returns all sim hits that are matched to a collection of calibrated space points.
Definition at line 55 of file MuonSimHitHelpers.cxx.
std::unordered_set< const xAOD::MuonSimHit * > MuonR4::getMatchingSimHits | ( | const std::vector< const SpacePoint * > & | spacePoints | ) |
Returns all sim hits that are matched to a collection of space points.
For each spacepoint, the hit truth matching to the primary and secondary prd are retrieved. The secondary hit is only added if it's different from the primary one.
Definition at line 40 of file MuonSimHitHelpers.cxx.
std::unordered_set< const xAOD::MuonSimHit * > MuonR4::getMatchingSimHits | ( | const xAOD::MuonSegment & | segment | ) |
: Returns all sim hits matched to a xAOD::MuonSegment
Definition at line 24 of file MuonSimHitHelpers.cxx.
const xAOD::MuonSimHit * MuonR4::getTruthMatchedHit | ( | const xAOD::UncalibratedMeasurement & | prdHit | ) |
Returns the MuonSimHit, if there's any, matched to the uncalibrated muon measurement.
Definition at line 13 of file MuonSimHitHelpers.cxx.
double MuonR4::houghTanPhi | ( | const Amg::Vector3D & | v | ) |
: Returns the hough tanPhi [x] / [z]
v | Arbitrary direction vector |
Definition at line 18 of file SegmentFitterEventData.cxx.
double MuonR4::houghTanTheta | ( | const Amg::Vector3D & | v | ) |
Returns the hough tanTheta [y] / [z].
v | Arbitrary direction vector |
Definition at line 14 of file SegmentFitterEventData.cxx.
CalibratedSpacePoint::Covariance_t MuonR4::inverse | ( | const CalibratedSpacePoint::Covariance_t & | mat | ) |
Inverts the parsed matrix.
Definition at line 65 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/UtilFunctions.cxx.
Amg::Vector2D MuonR4::multiply | ( | const CalibratedSpacePoint::Covariance_t & | mat, |
const Amg::Vector2D & | v | ||
) |
Multiplies a 2D vector with the covariance matrix which has to be a 2x2 matrix.
Otherwise, an exception is thrown
mat | Matrix variant |
v | Vector which shall be transformed |
Definition at line 52 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/UtilFunctions.cxx.
Amg::Vector3D MuonR4::multiply | ( | const CalibratedSpacePoint::Covariance_t & | mat, |
const Amg::Vector3D & | v | ||
) |
Multiplies a 3D vector with the covariance matrix which can be either 2x2 or 3x3 matrix.
In the former case, only the x-y components are transformed
mat | Matrix variant |
v | Vector which shall be transformed |
Definition at line 40 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/UtilFunctions.cxx.
|
constexpr |
Definition at line 27 of file MdtSegmentSeedGenerator.cxx.
bool MuonR4::removeBeamSpot | ( | MuonR4::SegmentFitResult::HitVec & | hits | ) |
|
constexpr |
Returns the sign of a number.
Definition at line 11 of file MatrixUtils.h.
void MuonR4::sortByLayer | ( | std::vector< const SpacePoint * > & | spacePoints | ) |
Sorts the space points in a vector by z.
spacePoints | List of hits to be sorted |
Definition at line 80 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/UtilFunctions.cxx.
|
inline |
Definition at line 10 of file SpacePointPerLayerSorter.cxx.
|
constexpr |
|
constexpr |
Translates back the global index into the two matrix access indices under the assumption that the matrix is symmetric.
k | Global index |
Definition at line 41 of file MatrixUtils.h.
std::string MuonR4::toString | ( | const CalibratedSpacePoint::Covariance_t & | mat | ) |
Returns the matrix in string.
Definition at line 75 of file MuonSpectrometer/MuonPhaseII/Event/MuonSpacePoint/src/UtilFunctions.cxx.
|
constexpr |
If a n-dimensional Matrix is symmetric, it has n* (n+1) /2 parameters The following function returns the global index when filling the content of the matrix into a vector via for (i = 0; i < n; ++i) { for (k =i; k<n; ++k){ } }.
i | Index of the row |
j | : Index of the column |
Definition at line 28 of file MatrixUtils.h.