1 #include <ConstField.h>
3 #include <FieldManager.h>
4 #include <KalmanFitterRefTrack.h>
5 #include <StateOnPlane.h>
7 #include <TrackPoint.h>
9 #include <MaterialEffects.h>
10 #include <RKTrackRep.h>
11 #include <TGeoMaterialInterface.h>
13 #include <EventDisplay.h>
15 #include <PlanarMeasurement.h>
17 #include <TEveManager.h>
18 #include <TGeoManager.h>
22 #include "TDatabasePDG.h"
31 new TGeoManager(
"Geometry",
"Geane geometry");
32 TGeoManager::Import(
"genfitGeom.root");
49 TVector3 pos(0, 0, 0);
50 TVector3 mom(0, 0, 3);
64 double detectorResolution(0.001);
65 TMatrixDSym hitCov(2);
67 hitCov *= detectorResolution*detectorResolution;
71 TVectorD hitCoords(2);
93 fitTrack.checkConsistency();
96 fitter->processTrack(&fitTrack);
99 fitTrack.getFittedState().Print();
102 fitTrack.checkConsistency();
105 display->addEvent(&fitTrack);
Abstract base class for Kalman fitter and derived fitting algorithms.
Abstract base class for a track representation.
Event display designed to run with Genfit.
static FieldManager * getInstance()
Get singleton instance.
void init(AbsBField *b)
set the magnetic field here. Magnetic field classes must be derived from AbsBField.
Kalman filter implementation with linearization around a reference track.
void init(AbsMaterialInterface *matIfc)
set the material interface here. Material interface classes must be derived from AbsMaterialInterface...
Measurement class implementing a planar hit geometry (1 or 2D).
AbsTrackRep with 5D track parameterization in plane coordinates: (q/p, u', v', u, v)
AbsMaterialInterface implementation for use with ROOT's TGeoManager.
Object containing AbsMeasurement and AbsFitterInfo objects.
Collection of TrackPoint objects, AbsTrackRep objects and FitStatus objects.
std::shared_ptr< genfit::DetPlane > SharedPlanePtr
Shared Pointer to a DetPlane.
int main(int argc, char **argv)
Run all tests.