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()};
182 if (tp.covariance())
name=
"Measured";
190 if (
name==
"") std::cout<<
"Unknown type of parameter"<<tp<<std::endl;
191 return name+=QString(
" Parameters");
196 QString
name(
"Unknown");
204 return {
"FitQuality"};
242 info+=
"Not yet implemented.";
252 info.append(
"Local: (");
253 info.append( QString::number(mb.localParameters ()[
Trk::loc1] ) );
254 if (mb.localParameters ().dimension()==2 ) {
256 info.append( QString::number(mb.localParameters ()[
Trk::loc2] ) );
264 QString info (
"Local: (");
265 info+= QString::number(locPos[
Trk::loc1] );
267 info+= QString::number(locPos[
Trk::loc2] );
268 info+=
") [CLHEP::mm], P=";
270 info+=
" [MeV], |P|="+
VP1Msg::str(tp.momentum().mag()/CLHEP::GeV);
271 info+=
" [GeV], |Pt|="+
VP1Msg::str(tp.momentum().perp()/CLHEP::GeV);
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.";
322 QString info(
"(Chi^2, DOF)=(");
334 QStringList info (
"Local");
335 info+=
"("+QString::number(locPos[
Trk::loc1] ) +
", "+ QString::number(locPos[
Trk::loc2] )+
") [CLHEP::mm]";
337 info+=
VP1Msg::str(tp.momentum()/CLHEP::MeV)+
" [MeV], |P|=("+
VP1Msg::str(tp.momentum().mag()/CLHEP::GeV)+
") [GeV], |Pt|=("
338 +
VP1Msg::str(tp.momentum().perp()/CLHEP::GeV)+
") [GeV]";
340 QString parameters=
"(";
341 for (
int i = 0; i< tp.parameters().rows(); i++){
343 if (i<(tp.parameters().rows()-1)) parameters+=
", ";
345 info+=parameters+
")";
351 QStringList info(
"Chi^2");
354 info+=QString::number(fqos.
numberDoF()) ;
367 info.append(
"Energy loss");
371 info+=QString::number(meot->
energyLoss()->
deltaE()/CLHEP::MeV)+QString(
" +/- ")
378 info.append(
"Delta phi");
384 info+=
"Not yet implemented.";
397 QStringList info (
"Local");
404 posInfo.append(
", ");
407 posInfo.append(
") [CLHEP::mm]");
410 info+= QString(
"[no 'Local' parameters available]");
417 QString errInfo=QString(
"(") + QString::number(err(0,0));
425 errInfo+=QString::number(err(0,1));
429 info+=(QString(
"(") + QString::number(err(1,0))+QString(
",")+QString::number(err(1,1))+QString(
")"));
456 locParams.append(
", ");
459 locParams.append(
")");
463 info+=
"Cluster Ambiguity";
464 info+=
pix->hasClusterAmbiguity () ?
"True":
"False";
466 info+=
pix->isFake () ?
"True":
"False";
468 info+=QString::number(
pix->energyLoss ())+QString(
" [Mev]");
481 switch (trt->
side()){
496 info+=trt->
highLevel () ?
"True":
"False";
497 info+=
"Time over threshold";
524 switch (mdt->
side()){
538 info+=QString::number(mdt->
driftTime ())+QString(
" [CLHEP::ns]");
559 info+=
"Contains IDs";
562 for (
unsigned int n = 0; n < nrio; n++)
565 if (n<(nrio-1)) rots+=
", ";
value_type get_compact() const
Get the compact id.
Class to hold geometrical description of a silicon detector element.
Virtual base class of TRT readout elements.
Specific class to represent the pixel measurements.
Specific class to represent the SCT measurements.
Represents 'corrected' measurements from the TRT (for example, corrected for wire sag).
bool highLevel() const
returns true if the high level threshold was passed
Trk::DriftCircleSide side() const
returns the side on which the drift radius is.
double timeOverThreshold() const
returns time over threshold in ns for valid digits; zero otherwise
Trk::DriftCircleStatus status() const
returns the status of the drift radius calibration.
An RpcReadoutElement corresponds to a single RPC module; therefore typicaly a barrel muon station con...
A TgcReadoutElement corresponds to a single TGC chamber; therefore typically a TGC station contains s...
Class to represent the calibrated clusters created from CSC strips.
CscClusterStatus status() const
Returns Csc position measurement status flag.
Class to represent calibrated clusters formed from TGC strips.
This class represents the corrected MDT measurements, where the corrections include the effects of wi...
Trk::DriftCircleStatus status() const
Returns the status of the drift radius calibration.
double driftTime() const
Returns the value of the drift time used to obtain the drift radius.
Trk::DriftCircleSide side() const
Returns the side on which the drift radius is wrt to the track.
Class to represent calibrated clusters formed from RPC strips.
Class to represent calibrated clusters formed from TGC strips.
Class to represent calibrated clusters formed from TGC strips.
static void addFullInfo(QStringList &info, const Trk::RIO_OnTrack *)
static void addBaseROTInfo(QString &info, const Trk::MeasurementBase &mb)
static MeasurementType type(const Trk::PrepRawData *prd)
static QString name(const Trk::MeasurementBase &mb)
static QString shortInfo(const Trk::MeasurementBase &mb)
static std::string typeName(MeasurementType type)
Returns a very short summary of the object type.
static QStringList fullInfo(const Trk::MeasurementBase &tp)
Returns list of key, value, key, value etc.
Base class for all CompetingRIOsOnTack implementations, extends the common MeasurementBase.
virtual unsigned int numberOfContainedROTs() const =0
Number of RIO_OnTracks to be contained by this CompetingRIOsOnTrack.
unsigned int indexOfMaxAssignProb() const
Index of the ROT with the highest assignment probability.
virtual const RIO_OnTrack & rioOnTrack(unsigned int) const =0
returns the RIO_OnTrack (also known as ROT) objects depending on the integer.
double sigmaPlusDeltaE() const
returns the positive side
double sigmaMinusDeltaE() const
returns the negative side
double deltaE() const
returns the
class holding information about momentum reduction and an additional noise term due to significant en...
simple/trivial Implemenation class for fit the fit quality.
int numberDoF() const
returns the number of degrees of freedom of the overall track or vertex fit as integer
double chiSquared() const
returns the of the overall track fit
bool contains(ParamDefs par) const
The simple check for the clients whether the parameter is contained.
int dimension() const
Dimension of this localParameters() vector.
base class to integrate material effects on Trk::Track in a flexible way.
represents the full description of deflection and e-loss of a track in material.
const EnergyLoss * energyLoss() const
returns the energy loss object.
const ScatteringAngles * scatteringAngles() const
returns the MCS-angles object.
This class is the pure abstract base class for all fittable tracking measurements.
const LocalParameters & localParameters() const
Interface method to get the LocalParameters.
const Amg::MatrixX & localCovariance() const
Interface method to get the localError.
virtual bool type(PrepRawDataType type) const
Interface method checking the type.
Class to handle pseudo-measurements in fitters and on track objects.
Class to handle RIO On Tracks ROT) for InDet and Muons, it inherits from the common MeasurementBase.
Identifier identify() const
return the identifier -extends MeasurementBase
double sigmaDeltaPhi() const
returns the
double deltaPhi() const
returns the
double sigmaDeltaTheta() const
returns the
double deltaTheta() const
returns the
Base class for all TrackSegment implementations, extends the common MeasurementBase.
This is the base class for all tracking detector elements with read-out relevant information.
static QString str(const QString &s)
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
Eigen::Matrix< double, 2, 1 > Vector2D
std::string toString(CscStripStatus cstat)
Return a string description of a CSC cluster status flag.
ParametersT< TrackParametersDim, Charged, DiscSurface > AtaDisc
@ RIGHT
the drift radius is positive (see Trk::AtaStraightLine)
@ LEFT
the drift radius is negative (see Trk::AtaStraightLine)
@ NONE
it was not possible to determine the which side of the straw the track passed;
ParametersT< TrackParametersDim, Charged, PerigeeSurface > Perigee
ParametersT< TrackParametersDim, Charged, StraightLineSurface > AtaStraightLine
CurvilinearParametersT< TrackParametersDim, Charged, PlaneSurface > CurvilinearParameters
@ NODRIFTTIME
drift time was not used - drift radius is 0.
@ DECIDED
sign of drift radius has been determined
@ CORRUPT
the measurement is corrupt, but for some reason has been left on a track.
@ UNDECIDED
sign of drift radius has not been determined
@ loc2
generic first and second local coordinate
ParametersBase< TrackParametersDim, Charged > TrackParameters
ParametersT< TrackParametersDim, Charged, PlaneSurface > AtaPlane
ParametersT< TrackParametersDim, Charged, CylinderSurface > AtaCylinder
ParametersT< TrackParametersDim, Charged, ConeSurface > AtaCone