ATLAS Offline Software
|
Typedefs | |
using | State = CalibratedSpacePoint::State |
Functions | |
double | chiSqTerm (const Amg::Vector3D &posInChamber, const Amg::Vector3D &dirInChamber, const SpacePoint &measurement, MsgStream &msg) |
Calculates the chi2 contribuation to a linear segment line from an uncalibrated measurement. More... | |
double | chiSqTermMdt (const Amg::Vector3D &posInChamber, const Amg::Vector3D &dirInChamber, const SpacePoint &measurement, MsgStream &msg) |
Calculates the chi2 contribuation to a linear segment line from an uncalibrated Mdt measurement. More... | |
double | chiSqTermStrip (const Amg::Vector3D &posInChamber, const Amg::Vector3D &dirInChamber, const SpacePoint &measurement, MsgStream &msg) |
Calculates the chi2 contribuation to a linear segment line from an uncalibrated strip measurement. More... | |
double | chiSqTerm (const Amg::Vector3D &posInChamber, const Amg::Vector3D &dirInChamber, const double timeShift, std::optional< double > arrivalTime, const CalibratedSpacePoint &measurement, MsgStream &msg) |
Calculates the chi2 contribution from the given measurement. More... | |
double | chiSqTermMdt (const Amg::Vector3D &posInChamber, const Amg::Vector3D &dirInChamber, const CalibratedSpacePoint &mdtSpacePoint, MsgStream &msg) |
Calculates the chi2 contribution from a mdt space point to the segment line. More... | |
double | chiSqTermStrip (const Amg::Vector3D &posInChamber, const Amg::Vector3D &dirInChamber, const double timeShift, std::optional< double > arrivalTime, const CalibratedSpacePoint &strip, MsgStream &msg) |
Calculates the chi2 contribution from a strip measurement to the segment line. More... | |
double | chiSqTermBeamspot (const Amg::Vector3D &posInChamber, const Amg::Vector3D &dirInChamber, const CalibratedSpacePoint &beamSpotMeas, MsgStream &msg) |
Calculates the chi2 contribution from an external beam spot constraint. More... | |
std::vector< int > | driftSigns (const Amg::Vector3D &posInChamber, const Amg::Vector3D &dirInChamber, const std::vector< const SpacePoint * > &uncalibHits, MsgStream &msg) |
Calculates whether a segment line travereses the tube measurements on the left (-1) or right (1) side of the tube wire. More... | |
std::vector< int > | driftSigns (const Amg::Vector3D &posInChamber, const Amg::Vector3D &dirInChamber, const std::vector< std::unique_ptr< CalibratedSpacePoint >> &calibHits, MsgStream &msg) |
Calculates whether a segment line travereses the tube measurements on the left (-1) or right (1) side of the tube wire. More... | |
int | driftSign (const Amg::Vector3D &posInChamber, const Amg::Vector3D &dirInChamber, const SpacePoint &uncalibHit, MsgStream &msg) |
Calculates whether a segement line travereses the tube measurement on the left (-1) or right (1) side of the tube wire. More... | |
int | driftSign (const Amg::Vector3D &posInChamber, const Amg::Vector3D &dirInChamber, const CalibratedSpacePoint &calibHit, MsgStream &msg) |
Calculates whether a segement line travereses the tube measurement on the left (-1) or right (1) side of the tube wire. More... | |
using MuonR4::SegmentFitHelpers::State = typedef CalibratedSpacePoint::State |
Definition at line 25 of file SegmentFitHelperFunctions.cxx.
double MuonR4::SegmentFitHelpers::chiSqTerm | ( | const Amg::Vector3D & | posInChamber, |
const Amg::Vector3D & | dirInChamber, | ||
const double | timeShift, | ||
std::optional< double > | arrivalTime, | ||
const CalibratedSpacePoint & | measurement, | ||
MsgStream & | msg | ||
) |
Calculates the chi2 contribution from the given measurement.
Currently, MdtDriftCircles, Rpc & Tgc as well as the Beamspot are supported
posInChamber | Position of the segment in the sector frame |
dirInChamber | Direction of flight of the segment expressed in the sector frame |
timeShift | Shift from the nominal arrival time, that's calculated as R / c. |
arrivalTime | Arrival time of the particle at the segment's refernce plane. If the arrival time is passed, the timing information of the measurement is explicitly taken into account. |
measurement | Space point to which the chi2 term is calculated |
msg | Reference to the callers msgStream. If the level is VERBOSE, then all relevant parameters are printed |
Definition at line 97 of file SegmentFitHelperFunctions.cxx.
double MuonR4::SegmentFitHelpers::chiSqTerm | ( | const Amg::Vector3D & | posInChamber, |
const Amg::Vector3D & | dirInChamber, | ||
const SpacePoint & | measurement, | ||
MsgStream & | msg | ||
) |
Calculates the chi2 contribuation to a linear segment line from an uncalibrated measurement.
Currently only Mdt, Tgc & Rpc are supported
posInChamber | Position of the chamber crossing expressed at z=0 |
dirInChamber | Segment direction inside the chamber |
measurement | Mdt measurement |
msg | Reference to the callers msgStream. If the level is VERBOSE, then all relevant parameters are printed |
Definition at line 28 of file SegmentFitHelperFunctions.cxx.
double MuonR4::SegmentFitHelpers::chiSqTermBeamspot | ( | const Amg::Vector3D & | posInChamber, |
const Amg::Vector3D & | dirInChamber, | ||
const CalibratedSpacePoint & | beamSpotMeas, | ||
MsgStream & | msg | ||
) |
Calculates the chi2 contribution from an external beam spot constraint.
posInChamber | Position of the segment in the sector frame |
dirInChamber | Direction of flight of the segment expressed in the sector frame |
beamSpotMeas | Strip measurement to consider. |
msg | Reference to the callers msgStream. If the level is VERBOSE, then all relevant parameters are printed |
Invalid spacepoints do not contribute to the chi2
Invalid spacepoints do not contribute to the chi2
Definition at line 188 of file SegmentFitHelperFunctions.cxx.
double MuonR4::SegmentFitHelpers::chiSqTermMdt | ( | const Amg::Vector3D & | posInChamber, |
const Amg::Vector3D & | dirInChamber, | ||
const CalibratedSpacePoint & | mdtSpacePoint, | ||
MsgStream & | msg | ||
) |
Calculates the chi2 contribution from a mdt space point to the segment line.
posInChamber | Position of the segment in the sector frame |
dirInChamber | Direction of flight of the segment expressed in the sector frame |
mdtSpacePoint | Space point to which the chi2 term is calculated |
msg | Reference to the callers msgStream. If the level is VERBOSE, then all relevant parameters are printed |
Invalid spacepoints do not contribute to the chi2
Invalid spacepoints do not contribute to the chi2
Definition at line 123 of file SegmentFitHelperFunctions.cxx.
double MuonR4::SegmentFitHelpers::chiSqTermMdt | ( | const Amg::Vector3D & | posInChamber, |
const Amg::Vector3D & | dirInChamber, | ||
const SpacePoint & | measurement, | ||
MsgStream & | msg | ||
) |
Calculates the chi2 contribuation to a linear segment line from an uncalibrated Mdt measurement.
posInChamber | Position of the chamber crossing expressed at z=0 |
dirInChamber | Segment direction inside the chamber |
measurement | Mdt measurement |
msg | Reference to the callers msgStream. If the level is VERBOSE, then all relevant parameters are printed |
Definition at line 50 of file SegmentFitHelperFunctions.cxx.
double MuonR4::SegmentFitHelpers::chiSqTermStrip | ( | const Amg::Vector3D & | posInChamber, |
const Amg::Vector3D & | dirInChamber, | ||
const double | timeShift, | ||
std::optional< double > | arrivalTime, | ||
const CalibratedSpacePoint & | strip, | ||
MsgStream & | msg | ||
) |
Calculates the chi2 contribution from a strip measurement to the segment line.
posInChamber | Position of the segment in the sector frame |
dirInChamber | Direction of flight of the segment expressed in the sector frame |
timeShift | Shift from the nominal arrival time, that's calculated as R / c. |
arrivalTime | Arrival time of the particle at the segment's refernce plane. If the arrival time is passed, the timing information of the measurement is explicitly taken into account. |
strip | Strip measurement to consider. |
msg | Reference to the callers msgStream. If the level is VERBOSE, then all relevant parameters are printed |
Invalid spacepoints do not contribute to the chi2
Invalid spacepoints do not contribute to the chi2
Definition at line 155 of file SegmentFitHelperFunctions.cxx.
double MuonR4::SegmentFitHelpers::chiSqTermStrip | ( | const Amg::Vector3D & | posInChamber, |
const Amg::Vector3D & | dirInChamber, | ||
const SpacePoint & | measurement, | ||
MsgStream & | msg | ||
) |
Calculates the chi2 contribuation to a linear segment line from an uncalibrated strip measurement.
Currently only Tgc & Rpc are supported
posInChamber | Position of the chamber crossing expressed at z=0 |
dirInChamber | Segment direction inside the chamber |
measurement | Mdt measurement |
msg | Reference to the callers msgStream. If the level is VERBOSE, then all relevant parameters are printed |
Definition at line 74 of file SegmentFitHelperFunctions.cxx.
int MuonR4::SegmentFitHelpers::driftSign | ( | const Amg::Vector3D & | posInChamber, |
const Amg::Vector3D & | dirInChamber, | ||
const CalibratedSpacePoint & | calibHit, | ||
MsgStream & | msg | ||
) |
Calculates whether a segement line travereses the tube measurement on the left (-1) or right (1) side of the tube wire.
Strip measurements & nullptrs are assigned with 0
posInChamber | Position of the segment in the sector frame |
dirInChamber | Direction of flight of the segment expressed in the sector frame |
calibHit | Calibrated hit to consider |
msg | Reference to the callers msgStream. If the level is VERBOSE, then all relevant parameters are printed |
Definition at line 245 of file SegmentFitHelperFunctions.cxx.
int MuonR4::SegmentFitHelpers::driftSign | ( | const Amg::Vector3D & | posInChamber, |
const Amg::Vector3D & | dirInChamber, | ||
const SpacePoint & | uncalibHit, | ||
MsgStream & | msg | ||
) |
Calculates whether a segement line travereses the tube measurement on the left (-1) or right (1) side of the tube wire.
Strip measurements & nullptrs are assigned with 0
posInChamber | Position of the segment in the sector frame |
dirInChamber | Direction of flight of the segment expressed in the sector frame |
uncalibHit | Uncalibrated hit to consider |
msg | Reference to the callers msgStream. If the level is VERBOSE, then all relevant parameters are printed |
Definition at line 232 of file SegmentFitHelperFunctions.cxx.
std::vector< int > MuonR4::SegmentFitHelpers::driftSigns | ( | const Amg::Vector3D & | posInChamber, |
const Amg::Vector3D & | dirInChamber, | ||
const std::vector< const SpacePoint * > & | uncalibHits, | ||
MsgStream & | msg | ||
) |
Calculates whether a segment line travereses the tube measurements on the left (-1) or right (1) side of the tube wire.
Strip measurements & nullptrs are assigned with 0
posInChamber | Position of the segment in the sector frame |
dirInChamber | Direction of flight of the segment expressed in the sector frame |
uncalibHits | List of uncalibrated measurements |
msg | Reference to the callers msgStream. If the level is VERBOSE, then all relevant parameters are printed |
Definition at line 210 of file SegmentFitHelperFunctions.cxx.
std::vector< int > MuonR4::SegmentFitHelpers::driftSigns | ( | const Amg::Vector3D & | posInChamber, |
const Amg::Vector3D & | dirInChamber, | ||
const std::vector< std::unique_ptr< CalibratedSpacePoint >> & | calibHits, | ||
MsgStream & | msg | ||
) |
Calculates whether a segment line travereses the tube measurements on the left (-1) or right (1) side of the tube wire.
Strip measurements & nullptrs are assigned with 0
posInChamber | Position of the segment in the sector frame |
dirInChamber | Direction of flight of the segment expressed in the sector frame |
calibHits | List of calibrated measurements |
msg | Reference to the callers msgStream. If the level is VERBOSE, then all relevant parameters are printed |
Definition at line 222 of file SegmentFitHelperFunctions.cxx.