#include <PndFtsRecoHit2.h>
Definition at line 19 of file PndFtsRecoHit2.h.
PndFtsRecoHit2::PndFtsRecoHit2 |
( |
| ) |
|
Definition at line 41 of file PndFtsRecoHit2.cxx.
Referenced by clone().
static const int NparHitRep
Class for measurements in wire detectors (Straw tubes and drift chambers) which do not measure the co...
PndFtsRecoHit2::PndFtsRecoHit2 |
( |
PndFtsHit * |
currenthit | ) |
|
Definition at line 48 of file PndFtsRecoHit2.cxx.
References PndFtsTube::GetHalfLength(), PndFtsHit::GetIsochrone(), PndFtsHit::GetIsochroneError(), PndFtsTube::GetPosition(), PndFtsMapCreator::GetTubeFromTubeID(), PndFtsHit::GetTubeID(), PndFtsTube::GetWireDirection(), i, NparHitRep, genfit::AbsMeasurement::rawHitCoords_, genfit::AbsMeasurement::rawHitCov_, rtdb, and genfit::WireMeasurement::setMaxDistance().
50 FairRuntimeDb*
rtdb = FairRunAna::Instance()->GetRuntimeDb();
58 TVector3 wiredirection2 = tube->
GetHalfLength() * wiredirection;
60 TVector3 wire1, wire2;
61 wire1 = cenposition - wiredirection2;
62 wire2 = cenposition + wiredirection2;
TVector3 GetWireDirection() const
PndFtsTube * GetTubeFromTubeID(Int_t tubeid)
static const int NparHitRep
Class for measurements in wire detectors (Straw tubes and drift chambers) which do not measure the co...
TVector3 GetPosition() const
void setMaxDistance(double d)
Double_t GetHalfLength() const
Double_t GetIsochrone() const
Double_t GetIsochroneError() const
Definition at line 85 of file PndFtsRecoHit2.cxx.
References genfit::TrackCandHit::getDetId(), PndFtsTube::GetHalfLength(), genfit::TrackCandHit::getHitId(), PndFtsHit::GetIsochrone(), PndFtsHit::GetIsochroneError(), PndFtsTube::GetPosition(), PndFtsHit::GetTubeID(), PndFtsTube::GetWireDirection(), i, NparHitRep, genfit::AbsMeasurement::rawHitCoords_, genfit::AbsMeasurement::rawHitCov_, genfit::AbsMeasurement::setDetId(), genfit::AbsMeasurement::setHitId(), and genfit::WireMeasurement::setMaxDistance().
95 TVector3 wiredirection2 = tube->
GetHalfLength() * wiredirection;
97 TVector3 wire1, wire2;
98 wire1 = cenposition - wiredirection2;
99 wire2 = cenposition + wiredirection2;
TVector3 GetWireDirection() const
static const int NparHitRep
Class for measurements in wire detectors (Straw tubes and drift chambers) which do not measure the co...
TVector3 GetPosition() const
void setMaxDistance(double d)
Double_t GetHalfLength() const
Double_t GetIsochrone() const
Double_t GetIsochroneError() const
virtual PndFtsRecoHit2::~PndFtsRecoHit2 |
( |
| ) |
|
|
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 PndFtsRecoHit2::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: