Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
#include <MuonCalibExtendedSegment.h>
A segment plus everything one can dream of knowing about it.
Definition at line 27 of file MuonCalibExtendedSegment.h.
◆ CscHitPtr
◆ CscHitVec
◆ MdtHitPtr
◆ MdtHitVec
◆ RpcHitPtr
◆ RpcHitVec
◆ TgcHitPtr
◆ TgcHitVec
◆ MuonCalibExtendedSegment()
Constructor taking input track.
add associated track
Definition at line 28 of file MuonCalibExtendedSegment.cxx.
29 MuonFixedIdManipulator idManip;
31 MuonCalibTrackSummary::ChamberHitSummary* currentChamberSummary =
nullptr;
34 const MuonFixedId&
id = mdt_hit->identify();
37 log << MSG::WARNING <<
"invalid MDT id!" <<
endmsg;
43 MuonFixedId chId = idManip.chamberIdentifier(
id);
45 bool measuresPhi = idManip.measuresPhi(
id);
46 bool isMdt =
id.is_mdt();
47 bool isFirst = isMdt ?
id.mdtMultilayer() == 1 : !measuresPhi;
50 if (!currentChamberSummary || currentChamberSummary->chId != chId) {
55 MuonCalibTrackSummary::ChamberHitSummary::Projection&
proj =
56 isFirst ? currentChamberSummary->etaProjection() : currentChamberSummary->phiProjection();
66 if (idManip.isEndcap(
id)) {
81 if (currentChamberSummary->nMdtHitsMl1() > 0 && currentChamberSummary->nMdtHitsMl2() && currentChamberSummary->nhits() > 3) {
86 MuonFixedId
id = rpc_hit->identify();
89 log << MSG::WARNING <<
"invalid RPC id!" <<
endmsg;
95 MuonFixedId chId = idManip.chamberIdentifier(
id);
97 bool measuresPhi = idManip.measuresPhi(
id);
98 bool isMdt =
id.is_mdt();
99 bool isFirst = isMdt ?
id.mdtMultilayer() == 1 : measuresPhi;
102 if (!currentChamberSummary || currentChamberSummary->chId != chId) {
107 MuonCalibTrackSummary::ChamberHitSummary::Projection&
proj =
108 isFirst ? currentChamberSummary->etaProjection() : currentChamberSummary->phiProjection();
120 if (currentChamberSummary->netaHits() > 0 && currentChamberSummary->nphiHits() > 0) {
131 const MuonFixedId&
id = tgc_hit->identify();
134 log << MSG::WARNING <<
"invalid TGC id!" <<
endmsg;
140 MuonFixedId chId = idManip.chamberIdentifier(
id);
142 bool measuresPhi = idManip.measuresPhi(
id);
143 bool isMdt =
id.is_mdt();
144 bool isFirst = isMdt ?
id.mdtMultilayer() == 1 : measuresPhi;
147 if (!currentChamberSummary || currentChamberSummary->chId != chId) {
152 MuonCalibTrackSummary::ChamberHitSummary::Projection&
proj =
153 isFirst ? currentChamberSummary->etaProjection() : currentChamberSummary->phiProjection();
170 if (currentChamberSummary->netaHits() > 0 && currentChamberSummary->nphiHits() > 0) {
176 const MuonFixedId&
id = csc_hit->identify();
179 log << MSG::WARNING <<
"invalid CSC id!" <<
endmsg;
185 MuonFixedId chId = idManip.chamberIdentifier(
id);
187 bool measuresPhi = idManip.measuresPhi(
id);
188 bool isMdt =
id.is_mdt();
189 bool isFirst = isMdt ?
id.mdtMultilayer() == 1 : measuresPhi;
192 if (!currentChamberSummary || currentChamberSummary->chId != chId) {
197 MuonCalibTrackSummary::ChamberHitSummary::Projection&
proj =
198 isFirst ? currentChamberSummary->etaProjection() : currentChamberSummary->phiProjection();
212 if (currentChamberSummary->netaHits() > 2 && currentChamberSummary->nphiHits() > 2) {
◆ addCloseHit() [1/8]
void MuonCalib::MuonCalibSegment::addCloseHit |
( |
const CscHitPtr & |
hit | ) |
|
|
inherited |
◆ addCloseHit() [2/8]
void MuonCalib::MuonCalibSegment::addCloseHit |
( |
const MdtHitPtr & |
hit | ) |
|
|
inherited |
◆ addCloseHit() [3/8]
void MuonCalib::MuonCalibSegment::addCloseHit |
( |
const RpcHitPtr & |
hit | ) |
|
|
inherited |
◆ addCloseHit() [4/8]
void MuonCalib::MuonCalibSegment::addCloseHit |
( |
const TgcHitPtr & |
hit | ) |
|
|
inherited |
◆ addCloseHit() [5/8]
◆ addCloseHit() [6/8]
◆ addCloseHit() [7/8]
◆ addCloseHit() [8/8]
add the tgc hit to the set nearby the segment
Version using the smart pointers
Definition at line 203 of file MuonCalibSegment.cxx.
◆ addHitOnTrack() [1/8]
void MuonCalib::MuonCalibSegment::addHitOnTrack |
( |
const CscHitPtr & |
hit | ) |
|
|
inherited |
◆ addHitOnTrack() [2/8]
void MuonCalib::MuonCalibSegment::addHitOnTrack |
( |
const MdtHitPtr & |
hit | ) |
|
|
inherited |
◆ addHitOnTrack() [3/8]
void MuonCalib::MuonCalibSegment::addHitOnTrack |
( |
const RpcHitPtr & |
hit | ) |
|
|
inherited |
◆ addHitOnTrack() [4/8]
void MuonCalib::MuonCalibSegment::addHitOnTrack |
( |
const TgcHitPtr & |
hit | ) |
|
|
inherited |
◆ addHitOnTrack() [5/8]
◆ addHitOnTrack() [6/8]
◆ addHitOnTrack() [7/8]
◆ addHitOnTrack() [8/8]
◆ author()
int MuonCalib::MuonCalibSegment::author |
( |
| ) |
const |
|
inherited |
◆ chi2()
double MuonCalib::MuonCalibSegment::chi2 |
( |
| ) |
const |
|
inherited |
◆ closeHits()
unsigned int MuonCalib::MuonCalibSegment::closeHits |
( |
| ) |
const |
|
inherited |
◆ copy()
◆ cscClose() [1/2]
◆ cscClose() [2/2]
◆ cscCloseHits()
unsigned int MuonCalib::MuonCalibSegment::cscCloseHits |
( |
| ) |
const |
|
inherited |
◆ cscHitsOnTrack()
unsigned int MuonCalib::MuonCalibSegment::cscHitsOnTrack |
( |
| ) |
const |
|
inherited |
◆ cscHOT() [1/2]
◆ cscHOT() [2/2]
◆ deltaHits()
unsigned int MuonCalib::MuonCalibSegment::deltaHits |
( |
| ) |
const |
|
inherited |
◆ direction()
retrieve local direction of segment (on station level) retrieve the transformation from local chamber coordinates into global coordinates
Definition at line 186 of file MuonCalibSegment.cxx.
◆ dump() [1/2]
std::string MuonCalib::MuonCalibExtendedSegment::dump |
( |
| ) |
const |
◆ dump() [2/2]
std::ostream & MuonCalib::MuonCalibSegment::dump |
( |
std::ostream & |
stream | ) |
const |
|
inherited |
◆ dumpPars()
std::string MuonCalib::MuonCalibExtendedSegment::dumpPars |
( |
| ) |
const |
◆ dumpSummary()
std::string MuonCalib::MuonCalibExtendedSegment::dumpSummary |
( |
| ) |
const |
◆ emptyTubes()
unsigned int MuonCalib::MuonCalibSegment::emptyTubes |
( |
| ) |
const |
|
inherited |
◆ error_dtheta()
double MuonCalib::MuonCalibSegment::error_dtheta |
( |
| ) |
const |
|
inherited |
◆ error_dy0()
double MuonCalib::MuonCalibSegment::error_dy0 |
( |
| ) |
const |
|
inherited |
◆ fittedT0()
double MuonCalib::MuonCalibSegment::fittedT0 |
( |
| ) |
const |
|
inherited |
◆ globalDirection()
Amg::Vector3D MuonCalib::MuonCalibSegment::globalDirection |
( |
| ) |
const |
|
inherited |
◆ globalPosition()
Amg::Vector3D MuonCalib::MuonCalibSegment::globalPosition |
( |
| ) |
const |
|
inherited |
◆ hasFittedT0()
bool MuonCalib::MuonCalibSegment::hasFittedT0 |
( |
| ) |
const |
|
inherited |
◆ hitsOnTrack()
unsigned int MuonCalib::MuonCalibSegment::hitsOnTrack |
( |
| ) |
const |
|
inherited |
◆ hitsPerML()
unsigned int MuonCalib::MuonCalibSegment::hitsPerML |
( |
int |
ML | ) |
const |
|
inherited |
◆ idSet()
const IdSet& MuonCalib::MuonCalibExtendedSegment::idSet |
( |
| ) |
const |
|
inline |
◆ localToGlobal()
◆ mdtClose() [1/2]
◆ mdtClose() [2/2]
◆ mdtCloseHits()
unsigned int MuonCalib::MuonCalibSegment::mdtCloseHits |
( |
| ) |
const |
|
inherited |
◆ mdtHitsOnTrack()
unsigned int MuonCalib::MuonCalibSegment::mdtHitsOnTrack |
( |
| ) |
const |
|
inherited |
◆ mdtHOT() [1/2]
◆ mdtHOT() [2/2]
◆ missedHits()
unsigned int MuonCalib::MuonCalibSegment::missedHits |
( |
| ) |
const |
|
inherited |
number of missed hits of this segment (out of time + empty tubes)
Definition at line 140 of file MuonCalibSegment.cxx.
◆ outOfTimeHits()
unsigned int MuonCalib::MuonCalibSegment::outOfTimeHits |
( |
| ) |
const |
|
inherited |
◆ position()
◆ qualityFlag()
unsigned int MuonCalib::MuonCalibSegment::qualityFlag |
( |
| ) |
const |
|
inherited |
◆ rawHitAssociationMap() [1/2]
◆ rawHitAssociationMap() [2/2]
access to list of tracks the segment was associated to
add associated track access raw hit assocation map
Definition at line 54 of file MuonCalibExtendedSegment.h.
◆ refineMdtSelection()
void MuonCalib::MuonCalibSegment::refineMdtSelection |
( |
const std::vector< unsigned int > & |
new_selection | ) |
|
|
inherited |
move trck hits to close hits
Definition at line 93 of file MuonCalibSegment.cxx.
96 log << MSG::WARNING <<
"MuonCalibSegment::refineMdtSelection: Wrong size of vector!" <<
endmsg;
102 for (
unsigned int i = 0;
i < old_hit_vec.size();
i++) {
103 if (!new_selection[
i]) {
◆ rpcClose() [1/2]
◆ rpcClose() [2/2]
◆ rpcCloseHits()
unsigned int MuonCalib::MuonCalibSegment::rpcCloseHits |
( |
| ) |
const |
|
inherited |
◆ rpcHitsOnTrack()
unsigned int MuonCalib::MuonCalibSegment::rpcHitsOnTrack |
( |
| ) |
const |
|
inherited |
◆ rpcHOT() [1/2]
◆ rpcHOT() [2/2]
◆ set()
◆ setAuthor()
void MuonCalib::MuonCalibSegment::setAuthor |
( |
int |
author | ) |
|
|
inherited |
◆ setErrors()
void MuonCalib::MuonCalibSegment::setErrors |
( |
double |
error_dy0, |
|
|
double |
error_dtheta |
|
) |
| |
|
inherited |
◆ setFittedT0()
void MuonCalib::MuonCalibSegment::setFittedT0 |
( |
double |
t0 | ) |
|
|
inherited |
◆ setSegment()
◆ summary()
◆ tgcClose() [1/2]
◆ tgcClose() [2/2]
◆ tgcCloseHits()
unsigned int MuonCalib::MuonCalibSegment::tgcCloseHits |
( |
| ) |
const |
|
inherited |
◆ tgcHitsOnTrack()
unsigned int MuonCalib::MuonCalibSegment::tgcHitsOnTrack |
( |
| ) |
const |
|
inherited |
◆ tgcHOT() [1/2]
◆ tgcHOT() [2/2]
◆ m_author
int MuonCalib::MuonCalibSegment::m_author {-1} |
|
privateinherited |
◆ m_chi2
double MuonCalib::MuonCalibSegment::m_chi2 {FLT_MAX} |
|
privateinherited |
◆ m_cscCloseHits
CscHitVec MuonCalib::MuonCalibSegment::m_cscCloseHits |
|
privateinherited |
◆ m_cscHitsOnTrack
CscHitVec MuonCalib::MuonCalibSegment::m_cscHitsOnTrack |
|
privateinherited |
◆ m_dtheta
double MuonCalib::MuonCalibSegment::m_dtheta {FLT_MAX} |
|
privateinherited |
◆ m_dy0
double MuonCalib::MuonCalibSegment::m_dy0 {FLT_MAX} |
|
privateinherited |
◆ m_fittedT0
◆ m_idSet
IdSet MuonCalib::MuonCalibExtendedSegment::m_idSet |
|
private |
◆ m_localDirection
Amg::Vector3D MuonCalib::MuonCalibSegment::m_localDirection {0., 0., 0.} |
|
privateinherited |
◆ m_localPosition
Amg::Vector3D MuonCalib::MuonCalibSegment::m_localPosition {0., 0., 0.} |
|
privateinherited |
◆ m_localToGlobal
◆ m_mdtCloseHits
MdtHitVec MuonCalib::MuonCalibSegment::m_mdtCloseHits |
|
privateinherited |
◆ m_mdtHitsOnTrack
MdtHitVec MuonCalib::MuonCalibSegment::m_mdtHitsOnTrack |
|
privateinherited |
◆ m_qualityFlag
unsigned int MuonCalib::MuonCalibSegment::m_qualityFlag {0} |
|
privateinherited |
◆ m_rawHitAssociationMap
◆ m_rpcCloseHits
RpcHitVec MuonCalib::MuonCalibSegment::m_rpcCloseHits |
|
privateinherited |
◆ m_rpcHitsOnTrack
RpcHitVec MuonCalib::MuonCalibSegment::m_rpcHitsOnTrack |
|
privateinherited |
◆ m_summary
◆ m_tgcCloseHits
TgcHitVec MuonCalib::MuonCalibSegment::m_tgcCloseHits |
|
privateinherited |
◆ m_tgcHitsOnTrack
TgcHitVec MuonCalib::MuonCalibSegment::m_tgcHitsOnTrack |
|
privateinherited |
◆ s_dummy_ctor_dbl
constexpr double MuonCalib::MuonCalibSegment::s_dummy_ctor_dbl {-99999.} |
|
staticconstexprprivateinherited |
The documentation for this class was generated from the following files:
void addCloseHit(MdtCalibHitBase *hit)
add the mdt hit to the set nearby the segment
unsigned int hitsOnTrack() const
retrieve the sum of all XxxCalibHits assigned to the MuonCalibSegment
CscHitVec m_cscHitsOnTrack
set of CscCalibHitBase s assigned to the segment
std::set< MuonFixedIdManipulator::PhiStationIndex > phiStationLayers
set of phi layers on the track
MdtHitVec m_mdtHitsOnTrack
hits
double m_dtheta
error on local direction
StationIndex
enum defining station layers
const CscHitVec & cscHOT() const
retrieve the full set of CscCalibHitBase s assigned to this segment
unsigned int emptyTubes() const
number of empty tubes of this segment
static constexpr double s_dummy_ctor_dbl
std::vector< MdtHitPtr > MdtHitVec
std::vector< ALFA_RawData_p1 > t0
PhiStationIndex
enum defining trigger phi layers
unsigned int outOfTimeHits() const
number of hits out of time of this segment
TgcHitVec m_tgcCloseHits
set of tgc hits nearby the segment
bool hasFittedT0() const
check whether t0 was fitted
const Amg::Vector3D & position() const
retrieve local position of segment (on station level)
MuonCalibTrackSummary m_summary
track summary
std::shared_ptr< const RpcCalibHitBase > RpcHitPtr
typedef for a collection of RpcCalibHitBase s
Amg::Vector3D globalPosition() const
retrieve global position
MdtHitVec m_mdtCloseHits
set of mdt hits nearby the segment
bool isValid(const T &p)
Av: we implement here an ATLAS-sepcific convention: all particles which are 99xxxxx are fine.
IMessageSvc * getMessageSvc(bool quiet=false)
const RpcHitVec & rpcHOT() const
retrieve the full set of RpcCalibHitBase s assigned to this segment
const Amg::Vector3D & direction() const
retrieve local direction of segment (on station level) retrieve the transformation from local chamber...
std::string dump() const
dump counts to string
MuonCalibSegment(double chi2, const Amg::Vector3D &pos, const Amg::Vector3D &dir, const Amg::Transform3D &locToGlo, unsigned int qualityFlag=0)
constructor fully initializing the segment-parameters, do we need default constructor?
unsigned int mdtCloseHits() const
retrieve the number of nearby mdt hits.
std::set< MuonFixedIdManipulator::PhiStationIndex > phiEtaStationLayers
set of phi layers which also have eta hits on the track
const TgcHitVec & tgcHOT() const
retrieve the full set of TgcCalibHitBase s assigned to this segment
std::string dumpSummary() const
dump track summary to string
unsigned int cscCloseHits() const
retrieve the number of nearby csc hits.
RpcHitVec m_rpcHitsOnTrack
set of RpcCalibHitBase s assigned to the segment
unsigned int tgcCloseHits() const
retrieve the number of nearby tgc hits.
const CscHitVec & cscClose() const
retrieve the full set of nearby mdt hits of this segment.
double m_dy0
error on local position
double m_fittedT0
fitted t0
std::vector< ChamberHitSummary > chamberHitSummary
unsigned int rpcCloseHits() const
retrieve the number of nearby rpc hits.
std::shared_ptr< const CscCalibHitBase > CscHitPtr
typedef for a collection of CscCalibHitBase s
int author() const
retrieve the segment author
RpcHitVec m_rpcCloseHits
set of rpc hits nearby the segment
std::set< MuonFixedIdManipulator::StationIndex > precisionStationLayers
set of precision layers on the track
Eigen::Matrix< double, 3, 1 > Vector3D
TgcHitVec m_tgcHitsOnTrack
set of TgcCalibHitBase s assigned to the segment
std::string dumpPars() const
dump track parameters to string
const TgcHitVec & tgcClose() const
retrieve the full set of nearby mdt hits of this segment.
double error_dtheta() const
retrieve error angle
void addHitOnTrack(MdtCalibHitBase *hit)
add the MdtCalibHitBase to the set assigned to the segment
Amg::Vector3D m_localPosition
position in station (local) coordinates
Amg::Vector3D globalDirection() const
retrieve global direction
MuonCalibRawHitAssociationMap m_rawHitAssociationMap
list of tracks to which the segment was associated
std::set< MuonFixedIdManipulator::StationIndex > goodPrecisionStationLayers
set of precision layers with (MDT: two multi layers, CSC: at least 2 eta and phi hits) on the track
const RpcHitVec & rpcClose() const
retrieve the full set of nearby mdt hits of this segment.
CscHitVec m_cscCloseHits
set of csc hits nearby the segment
unsigned int nmdtHitsBelowADCCut
double error_dy0() const
retrieve error position
double chi2() const
retrieve chi2
std::shared_ptr< const TgcCalibHitBase > TgcHitPtr
typedef for a collection of TgcCalibHitBase s
const MdtHitVec & mdtHOT() const
retrieve the full set of MdtCalibHitBase s assigned to this segment
IdSet m_idSet
set with Identifiers on segment
Amg::Transform3D m_localToGlobal
transformation local->global
unsigned int m_qualityFlag
flag describing the fit quality
bool hasBarrelLayersWithRPC
bool hasEndcapLayersWithTGC
Amg::Vector3D m_localDirection
direction in station (local) coordinates
const Amg::Transform3D & localToGlobal() const
const MdtHitVec & mdtClose() const
retrieve the full set of nearby mdt hits of this segment.
std::shared_ptr< MdtCalibHitBase > MdtHitPtr
typedef for a collection of MdtCalibHitBase s
Muon::NSW_PadTriggerSegment segment(const NSWL1::PadTrigger &data)
double m_chi2
goodness of (DC)fit