#include <PndSttRecoHit2.h>
Definition at line 20 of file PndSttRecoHit2.h.
PndSttRecoHit2::PndSttRecoHit2 |
( |
| ) |
|
Definition at line 43 of file PndSttRecoHit2.cxx.
Referenced by clone().
Class for measurements in wire detectors (Straw tubes and drift chambers) which do not measure the co...
static const int NparHitRep
PndSttRecoHit2::PndSttRecoHit2 |
( |
PndSttHit * |
currenthit | ) |
|
Definition at line 50 of file PndSttRecoHit2.cxx.
References PndSttTube::GetHalfLength(), PndSttHit::GetIsochrone(), PndSttHit::GetIsochroneError(), PndSttTube::GetPosition(), PndSttMapCreator::GetTubeFromTubeID(), PndSttHit::GetTubeID(), PndSttTube::GetWireDirection(), i, NparHitRep, genfit::AbsMeasurement::rawHitCoords_, genfit::AbsMeasurement::rawHitCov_, rtdb, and genfit::WireMeasurement::setMaxDistance().
52 FairRuntimeDb*
rtdb = FairRunAna::Instance()->GetRuntimeDb();
60 TVector3 wiredirection2 = tube->
GetHalfLength() * wiredirection;
62 TVector3 wire1, wire2;
63 wire1 = cenposition - wiredirection2;
64 wire2 = cenposition + wiredirection2;
PndSttTube * GetTubeFromTubeID(Int_t tubeid)
Class for measurements in wire detectors (Straw tubes and drift chambers) which do not measure the co...
Double_t GetIsochrone() const
Double_t GetIsochroneError() const
void setMaxDistance(double d)
static const int NparHitRep
TVector3 GetWireDirection()
Definition at line 87 of file PndSttRecoHit2.cxx.
References genfit::TrackCandHit::getDetId(), PndSttTube::GetHalfLength(), genfit::TrackCandHit::getHitId(), PndSttHit::GetIsochrone(), PndSttHit::GetIsochroneError(), PndSttTube::GetPosition(), PndSttTubeMap::GetTube(), PndSttHit::GetTubeID(), PndSttTube::GetWireDirection(), i, PndSttTubeMap::Instance(), NparHitRep, genfit::AbsMeasurement::rawHitCoords_, genfit::AbsMeasurement::rawHitCov_, genfit::AbsMeasurement::setDetId(), genfit::AbsMeasurement::setHitId(), and genfit::WireMeasurement::setMaxDistance().
94 if (tubeArray !=
nullptr){
102 TVector3 wiredirection2 = tube->
GetHalfLength() * wiredirection;
104 TVector3 wire1, wire2;
105 wire1 = cenposition - wiredirection2;
106 wire2 = cenposition + wiredirection2;
PndSttTube * GetTube(int tubeId)
static PndSttTubeMap * Instance()
Class for measurements in wire detectors (Straw tubes and drift chambers) which do not measure the co...
Double_t GetIsochrone() const
Double_t GetIsochroneError() const
void setMaxDistance(double d)
static const int NparHitRep
TVector3 GetWireDirection()
virtual PndSttRecoHit2::~PndSttRecoHit2 |
( |
| ) |
|
|
virtual |
virtual const AbsHMatrix* genfit::WireMeasurement::constructHMatrix |
( |
const AbsTrackRep * |
| ) |
const |
|
virtualinherited |
virtual std::vector<MeasurementOnPlane*> genfit::WireMeasurement::constructMeasurementsOnPlane |
( |
const StateOnPlane & |
state | ) |
const |
|
virtualinherited |
Hits with a small drift distance get a higher weight, whereas hits with big drift distances become weighted down. When these initial weights are used by the DAF, the smoothed track will be closer to the real trajectory than if both sides are weighted with 0.5 regardless of the drift distance. This helps a lot when resolving l/r ambiguities with the DAF. The idea is that for the first iteration of the DAF, the wire positions are taken. For small drift radii, the wire position does not bend the fit away from the trajectory, whereas the wire position for hits with large drift radii is further away from the trajectory and will therefore bias the fit if not weighted down.
Implements genfit::AbsMeasurement.
Reimplemented in genfit::WirePointMeasurement.
virtual SharedPlanePtr genfit::WireMeasurement::constructPlane |
( |
const StateOnPlane & |
state | ) |
const |
|
virtualinherited |
int genfit::AbsMeasurement::getDetId |
( |
| ) |
const |
|
inlineinherited |
unsigned int genfit::AbsMeasurement::getDim |
( |
| ) |
const |
|
inlineinherited |
int genfit::AbsMeasurement::getHitId |
( |
| ) |
const |
|
inlineinherited |
virtual int genfit::WireMeasurement::getLeftRightResolution |
( |
| ) |
const |
|
inlinevirtualinherited |
double genfit::WireMeasurement::getMaxDistance |
( |
| ) |
|
|
inlineinherited |
const TVectorD& genfit::AbsMeasurement::getRawHitCoords |
( |
| ) |
const |
|
inlineinherited |
TVectorD& genfit::AbsMeasurement::getRawHitCoords |
( |
| ) |
|
|
inlineinherited |
const TMatrixDSym& genfit::AbsMeasurement::getRawHitCov |
( |
| ) |
const |
|
inlineinherited |
TMatrixDSym& genfit::AbsMeasurement::getRawHitCov |
( |
| ) |
|
|
inlineinherited |
TrackPoint* genfit::AbsMeasurement::getTrackPoint |
( |
| ) |
const |
|
inlineinherited |
virtual bool genfit::WireMeasurement::isLeftRightMeasurement |
( |
| ) |
const |
|
inlinevirtualinherited |
virtual void genfit::AbsMeasurement::Print |
( |
const Option_t * |
= "" | ) |
const |
|
virtualinherited |
void genfit::AbsMeasurement::setDetId |
( |
int |
detId | ) |
|
|
inlineinherited |
void genfit::AbsMeasurement::setHitId |
( |
int |
hitId | ) |
|
|
inlineinherited |
void genfit::WireMeasurement::setLeftRightResolution |
( |
int |
lr | ) |
|
|
inherited |
select how to resolve the left/right ambiguity: -1: negative (left) side on vector (track direction) x (wire direction) 0: auto select (take side with smallest distance to track) 1: positive (right) side on vector (track direction) x (wire direction)
void genfit::WireMeasurement::setMaxDistance |
( |
double |
d | ) |
|
|
inlineinherited |
void genfit::AbsMeasurement::setRawHitCoords |
( |
const TVectorD & |
coords | ) |
|
|
inlineinherited |
void genfit::AbsMeasurement::setRawHitCov |
( |
const TMatrixDSym & |
cov | ) |
|
|
inlineinherited |
void genfit::AbsMeasurement::setTrackPoint |
( |
TrackPoint * |
tp | ) |
|
|
inlineinherited |
int genfit::AbsMeasurement::detId_ |
|
protectedinherited |
int genfit::AbsMeasurement::hitId_ |
|
protectedinherited |
signed char genfit::WireMeasurement::leftRight_ |
|
protectedinherited |
double genfit::WireMeasurement::maxDistance_ |
|
protectedinherited |
const int PndSttRecoHit2::NparHitRep = 7 |
|
staticprotected |
TVectorD genfit::AbsMeasurement::rawHitCoords_ |
|
protectedinherited |
TMatrixDSym genfit::AbsMeasurement::rawHitCov_ |
|
protectedinherited |
TrackPoint* genfit::AbsMeasurement::trackPoint_ |
|
protectedinherited |
The documentation for this class was generated from the following files: