|
ATLAS Offline Software
|
#include <TrkObjToString.h>
|
enum | MeasurementType {
Pixel,
SCT,
TRT,
CSC,
RPC,
TGC,
MDT,
MM,
sTGC,
Hole,
CompetingROT,
PseudoMeasurement,
Segment,
Unknown
} |
|
|
static MeasurementType | type (const Trk::PrepRawData *prd) |
|
static MeasurementType | type (const Trk::MeasurementBase *meas) |
|
static MeasurementType | type (const Trk::TrkDetElementBase *detEl) |
|
static std::string | typeName (MeasurementType type) |
| Returns a very short summary of the object type. More...
|
|
static std::string | typeName (const Trk::MeasurementBase &mb) |
| Returns a very short summary of mb. More...
|
|
static QString | name (const Trk::MeasurementBase &mb) |
|
static QString | name (const Trk::TrackParameters &mb) |
|
static QString | name (const Trk::MaterialEffectsBase &mb) |
|
static QString | name (const Trk::FitQualityImpl &mb) |
|
static QString | shortInfo (const Trk::MeasurementBase &mb) |
|
static QString | shortInfo (const Trk::TrackParameters &tp) |
|
static QString | shortInfo (const Trk::MaterialEffectsBase &me) |
|
static QString | shortInfo (const Trk::FitQualityImpl &fqos) |
|
static QStringList | fullInfo (const Trk::MeasurementBase &tp) |
| Returns list of key, value, key, value etc. More...
|
|
static QStringList | fullInfo (const Trk::TrackParameters &tp) |
| Returns list of key, value, key, value etc. More...
|
|
static QStringList | fullInfo (const Trk::MaterialEffectsBase &tp) |
| Returns list of key, value, key, value etc. More...
|
|
static QStringList | fullInfo (const Trk::FitQualityImpl &tp) |
| Returns list of key, value, key, value etc. More...
|
|
static void | addBaseROTInfo (QString &info, const Trk::MeasurementBase &mb) |
|
static void | addFullInfo (QStringList &info, const Trk::RIO_OnTrack *) |
|
static void | addFullInfo (QStringList &info, const Trk::CompetingRIOsOnTrack *) |
|
static void | addFullInfo (QStringList &info, const Trk::PseudoMeasurementOnTrack *) |
|
static void | addFullInfo (QStringList &info, const Trk::Segment *) |
|
Definition at line 37 of file TrkObjToString.h.
◆ MeasurementType
Enumerator |
---|
Pixel | |
SCT | |
TRT | |
CSC | |
RPC | |
TGC | |
MDT | |
MM | |
sTGC | |
Hole | |
CompetingROT | |
PseudoMeasurement | |
Segment | |
Unknown | |
Definition at line 39 of file TrkObjToString.h.
◆ addBaseROTInfo()
◆ addFullInfo() [1/4]
Definition at line 557 of file TrkObjToString.cxx.
559 info+=
"Contains IDs";
562 for (
unsigned int n = 0;
n < nrio;
n++)
565 if (
n<(nrio-1)) rots+=
", ";
◆ addFullInfo() [2/4]
◆ addFullInfo() [3/4]
Definition at line 449 of file TrkObjToString.cxx.
456 locParams.append(
", ");
459 locParams.append(
")");
463 info+=
"Cluster Ambiguity";
464 info+=
pix->hasClusterAmbiguity () ?
"True":
"False";
466 info+=
pix->isFake () ?
"True":
"False";
481 switch (trt->
side()){
497 info+=
"Time over threshold";
524 switch (mdt->
side()){
◆ addFullInfo() [4/4]
◆ fullInfo() [1/4]
Returns list of key, value, key, value etc.
Definition at line 350 of file TrkObjToString.cxx.
351 QStringList
info(
"Chi^2");
◆ fullInfo() [2/4]
Returns list of key, value, key, value etc.
Definition at line 359 of file TrkObjToString.cxx.
367 info.append(
"Energy loss");
378 info.append(
"Delta phi");
384 info+=
"Not yet implemented.";
◆ fullInfo() [3/4]
Returns list of key, value, key, value etc.
Definition at line 394 of file TrkObjToString.cxx.
397 QStringList
info (
"Local");
400 if (meas.localParameters().contains(
Trk::loc1)) {
403 if (meas.localParameters ().dimension()==2 ) {
404 posInfo.append(
", ");
407 posInfo.append(
") [CLHEP::mm]");
410 info+= QString(
"[no 'Local' parameters available]");
◆ fullInfo() [4/4]
Returns list of key, value, key, value etc.
Definition at line 331 of file TrkObjToString.cxx.
334 QStringList
info (
"Local");
341 for (
int i = 0;
i<
tp.parameters().
rows();
i++){
◆ name() [1/4]
◆ name() [2/4]
◆ name() [3/4]
Definition at line 144 of file TrkObjToString.cxx.
147 std::string tmpname =
typeName( tmptype );
151 if (!crot)
return {
"Error!"};
154 case Pixel: { tmpname+=
"Pix";
break; }
155 case SCT: { tmpname+=
"SCT";
break; }
156 case TRT: { tmpname+=
"TRT";
break; }
157 case CSC: { tmpname+=
"CSC";
break; }
158 case RPC: { tmpname+=
"RPC";
break; }
159 case TGC: { tmpname+=
"TGC";
break; }
160 case MDT: { tmpname+=
"MDT";
break; }
161 case MM: { tmpname+=
"MM";
break; }
162 case sTGC: { tmpname+=
"sTGC";
break; }
176 return {tmpname.c_str()};
◆ name() [4/4]
Definition at line 180 of file TrkObjToString.cxx.
182 if (
tp.covariance())
name=
"Measured";
190 if (
name==
"") std::cout<<
"Unknown type of parameter"<<
tp<<std::endl;
191 return name+=QString(
" Parameters");
◆ shortInfo() [1/4]
◆ shortInfo() [2/4]
Definition at line 278 of file TrkObjToString.cxx.
286 info.append(
"Energy loss [MeV]: ");
289 info.append(
" +/- ");
293 info.append(
" +/- ");
302 info.append(
"Delta phi: (");
304 info.append(
" +/- ");
306 info.append(
"), Delta theta: (");
308 info.append(
" +/- ");
313 info=
"Not yet implemented.";
◆ shortInfo() [3/4]
◆ shortInfo() [4/4]
◆ type() [1/3]
◆ type() [2/3]
◆ type() [3/3]
◆ typeName() [1/2]
◆ typeName() [2/2]
Returns a very short summary of the object type.
Definition at line 87 of file TrkObjToString.h.
90 case Pixel:
return std::string(
"Pix RIO_OnTrack");
91 case SCT:
return std::string(
"SCT RIO_OnTrack");
92 case TRT:
return std::string(
"TRT RIO_OnTrack");
93 case CSC:
return std::string(
"CSC RIO_OnTrack");
94 case RPC:
return std::string(
"RPC RIO_OnTrack");
95 case TGC:
return std::string(
"TGC RIO_OnTrack");
96 case MDT:
return std::string(
"MDT RIO_OnTrack");
97 case MM:
return std::string(
"MM RIO_OnTrack");
98 case sTGC:
return std::string(
"sTGC RIO_OnTrack");
99 case Hole:
return std::string(
"Hole");
102 case Segment:
return std::string(
"Segment");
103 case Unknown:
return std::string(
"Unknown");
105 return std::string(
"Error!");
The documentation for this class was generated from the following files:
Trk::DriftCircleSide side() const
returns the side on which the drift radius is.
double deltaPhi() const
returns the
double sigmaMinusDeltaE() const
returns the negative side
Trk::DriftCircleStatus status() const
returns the status of the drift radius calibration.
@ NONE
it was not possible to determine the which side of the straw the track passed;
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
static void addBaseROTInfo(QString &info, const Trk::MeasurementBase &mb)
Eigen::Matrix< double, 2, 1 > Vector2D
Dummy class used to allow special convertors to be called for surfaces owned by a detector element.
double chiSquared() const
returns the of the overall track fit
Class to represent calibrated clusters formed from TGC strips.
value_type get_compact() const
Get the compact id.
An RpcReadoutElement corresponds to a single RPC module; therefore typicaly a barrel muon station con...
@ loc2
generic first and second local coordinate
bool highLevel() const
returns true if the high level threshold was passed
virtual bool type(PrepRawDataType type) const =0
Interface method checking the type.
Class to represent calibrated clusters formed from RPC strips.
static QString str(const QString &s)
double driftTime() const
Returns the value of the drift time used to obtain the drift radius.
@ UNDECIDED
sign of drift radius has not been determined
Class to handle pseudo-measurements in fitters and on track objects.
represents the full description of deflection and e-loss of a track in material.
virtual const RIO_OnTrack & rioOnTrack(unsigned int) const =0
returns the RIO_OnTrack (also known as ROT) objects depending on the integer.
double sigmaDeltaTheta() const
returns the
std::string toString(CscStripStatus cstat)
Return a string description of a CSC cluster status flag.
Trk::DriftCircleSide side() const
Returns the side on which the drift radius is wrt to the track.
virtual unsigned int numberOfContainedROTs() const =0
Number of RIO_OnTracks to be contained by this CompetingRIOsOnTrack.
@ CORRUPT
the measurement is corrupt, but for some reason has been left on a track.
@ RIGHT
the drift radius is positive (see Trk::AtaStraightLine)
static QString name(const Trk::MeasurementBase &mb)
Base class for all CompetingRIOsOnTack implementations, extends the common MeasurementBase.
double deltaE() const
returns the
A TgcReadoutElement corresponds to a single TGC chamber; therefore typically a TGC station contains s...
static MeasurementType type(const Trk::PrepRawData *prd)
@ NODRIFTTIME
drift time was not used - drift radius is 0.
Trk::DriftCircleStatus status() const
Returns the status of the drift radius calibration.
Class to represent calibrated clusters formed from TGC strips.
@ DECIDED
sign of drift radius has been determined
int numberDoF() const
returns the number of degrees of freedom of the overall track or vertex fit as integer
Class to represent calibrated clusters formed from TGC strips.
double timeOverThreshold() const
returns time over threshold in ns for valid digits; zero otherwise
This class represents the corrected MDT measurements, where the corrections include the effects of wi...
const LocalParameters & localParameters() const
Interface method to get the LocalParameters.
int dimension() const
Dimension of this localParameters() vector.
static std::string typeName(MeasurementType type)
Returns a very short summary of the object type.
Class to represent the calibrated clusters created from CSC strips.
const EnergyLoss * energyLoss() const
returns the energy loss object.
class holding information about momentum reduction and an additional noise term due to significant en...
const double mb
1mb to cm2
Identifier identify() const
return the identifier -extends MeasurementBase
const ScatteringAngles * scatteringAngles() const
returns the MCS-angles object.
CscClusterStatus status() const
Returns Csc position measurement status flag.
double sigmaDeltaPhi() const
returns the
static void addFullInfo(QStringList &info, const Trk::RIO_OnTrack *)
@ LEFT
the drift radius is negative (see Trk::AtaStraightLine)
double deltaTheta() const
returns the
unsigned int indexOfMaxAssignProb() const
Index of the ROT with the highest assignment probability.
double sigmaPlusDeltaE() const
returns the positive side