#include <PndGemRecoHit2.h>
Definition at line 38 of file PndGemRecoHit2.h.
PndGemRecoHit2::PndGemRecoHit2 |
( |
| ) |
|
Definition at line 46 of file PndGemRecoHit2.cxx.
Referenced by clone().
Measurement class implementing a planar hit geometry (1 or 2D).
static const Int_t fNparHitRep
Definition at line 74 of file PndGemRecoHit2.cxx.
References CAMath::Cos(), Double_t, fGeoFile, genfit::TrackCandHit::getDetId(), PndGemHit::GetDp(), PndGemHit::GetDr(), genfit::TrackCandHit::getHitId(), genfit::TrackCandHit::getPlaneId(), Pi, genfit::AbsMeasurement::rawHitCoords_, genfit::AbsMeasurement::rawHitCov_, genfit::AbsMeasurement::setDetId(), genfit::AbsMeasurement::setHitId(), genfit::PlanarMeasurement::setPlane(), CAMath::Sin(), CAMath::Sqrt(), and TString.
85 FairRootManager* ioman = FairRootManager::Instance();
90 Double_t hitX = hit->GetX(), hitY = hit->GetY();
91 Double_t phiAValue = TMath::ATan(hitX/hitY);
93 else if ( hitX < 0 ) phiAValue += 2.*
TMath::Pi();
95 TVector3 oo (0.,0.,hit->GetZ()),
102 rawHitCoords_[1] = 0.;
boost::shared_ptr< genfit::DetPlane > SharedPlanePtr
Shared Pointer to a DetPlane.
static T Sqrt(const T &x)
Measurement class implementing a planar hit geometry (1 or 2D).
static const Int_t fNparHitRep
virtual void setPlane(const SharedPlanePtr &physicalPlane, int planeId=-1)
PndGemRecoHit2::~PndGemRecoHit2 |
( |
| ) |
|
|
virtual |
virtual const AbsHMatrix* genfit::PlanarMeasurement::constructHMatrix |
( |
const AbsTrackRep * |
| ) |
const |
|
virtualinherited |
virtual std::vector<MeasurementOnPlane*> genfit::PlanarMeasurement::constructMeasurementsOnPlane |
( |
const StateOnPlane & |
state | ) |
const |
|
virtualinherited |
Construct MeasurementOnPlane on plane of the state and wrt the states TrackRep. The state will usually be the prediction or reference state, and has to be defined AT the measurement. The AbsMeasurement will be projected onto the plane. It's possible to make corrections to the coordinates here (e.g. by using the state coordinates). Usually the vector will contain only one element. But in the case of e.g. a WireMeasurement, it will be 2 (left and right).
Implements genfit::AbsMeasurement.
virtual SharedPlanePtr genfit::PlanarMeasurement::constructPlane |
( |
const StateOnPlane & |
state | ) |
const |
|
virtualinherited |
Construct (virtual) detector plane (use state's AbsTrackRep). It's possible to make corrections to the plane here. The state should be defined somewhere near the measurement. For virtual planes, the state will be extrapolated to the POCA to point (SpacepointMeasurement) or line (WireMeasurement), and from this info the plane will be constructed.
Implements genfit::AbsMeasurement.
int genfit::AbsMeasurement::getDetId |
( |
| ) |
const |
|
inlineinherited |
unsigned int genfit::AbsMeasurement::getDim |
( |
| ) |
const |
|
inlineinherited |
int genfit::AbsMeasurement::getHitId |
( |
| ) |
const |
|
inlineinherited |
virtual int genfit::AbsMeasurement::getLeftRightResolution |
( |
| ) |
const |
|
inlinevirtualinherited |
int genfit::PlanarMeasurement::getPlaneId |
( |
| ) |
const |
|
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::AbsMeasurement::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 |
virtual void genfit::PlanarMeasurement::setPlane |
( |
const SharedPlanePtr & |
physicalPlane, |
|
|
int |
planeId = -1 |
|
) |
| |
|
inlinevirtualinherited |
void genfit::AbsMeasurement::setRawHitCoords |
( |
const TVectorD & |
coords | ) |
|
|
inlineinherited |
void genfit::AbsMeasurement::setRawHitCov |
( |
const TMatrixDSym & |
cov | ) |
|
|
inlineinherited |
void genfit::PlanarMeasurement::setStripV |
( |
bool |
v = true | ) |
|
|
inlineinherited |
void genfit::AbsMeasurement::setTrackPoint |
( |
TrackPoint * |
tp | ) |
|
|
inlineinherited |
int genfit::AbsMeasurement::detId_ |
|
protectedinherited |
const Int_t PndGemRecoHit2::fNparHitRep = 2 |
|
staticprivate |
int genfit::AbsMeasurement::hitId_ |
|
protectedinherited |
SharedPlanePtr genfit::PlanarMeasurement::physicalPlane_ |
|
protectedinherited |
int genfit::PlanarMeasurement::planeId_ |
|
protectedinherited |
TVectorD genfit::AbsMeasurement::rawHitCoords_ |
|
protectedinherited |
TMatrixDSym genfit::AbsMeasurement::rawHitCov_ |
|
protectedinherited |
bool genfit::PlanarMeasurement::stripV_ |
|
protectedinherited |
TrackPoint* genfit::AbsMeasurement::trackPoint_ |
|
protectedinherited |
The documentation for this class was generated from the following files: