EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
Program to demonstrate the usage of PHGenFit. More...
#include <vector>
#include <boost/make_shared.hpp>
#include <phfield/PHFieldUtility.h>
#include <TVector3.h>
#include <TMatrixDSym.h>
#include <TF1.h>
#include <TH1D.h>
#include <TH2D.h>
#include <TProfile.h>
#include <TFile.h>
#include <TTree.h>
#include <TCanvas.h>
#include <TROOT.h>
#include <TStyle.h>
#include <TMath.h>
#include <TRandom.h>
#include <GenFit/AbsTrackRep.h>
#include <GenFit/RKTrackRep.h>
#include <GenFit/StateOnPlane.h>
#include <phgenfit/Fitter.h>
#include <phgenfit/Track.h>
#include <phgenfit/Measurement.h>
#include <phgenfit/PlanarMeasurement.h>
Go to the source code of this file.
Macros | |
#define | SMART(expr) boost::shared_ptr<expr> |
#define | NEW(expr) boost::make_shared<expr> |
#define | LogDEBUG std::cout<<"DEBUG: "<<__LINE__<<"\n" |
#define | NLAYERS 7 |
Functions | |
int | main (int argc, char **argv) |
Program to demonstrate the usage of PHGenFit.
Definition in file testPHGenFit.cc.
#define LogDEBUG std::cout<<"DEBUG: "<<__LINE__<<"\n" |
Definition at line 44 of file testPHGenFit.cc.
View newest version in sPHENIX GitHub at line 44 of file testPHGenFit.cc
#define NEW | ( | expr | ) | boost::make_shared<expr> |
Definition at line 14 of file testPHGenFit.cc.
View newest version in sPHENIX GitHub at line 14 of file testPHGenFit.cc
#define NLAYERS 7 |
Referenced by main().
#define SMART | ( | expr | ) | boost::shared_ptr<expr> |
Definition at line 13 of file testPHGenFit.cc.
View newest version in sPHENIX GitHub at line 13 of file testPHGenFit.cc
int main | ( | int | argc, |
char ** | argv | ||
) |
Initiallize Geometry, Field, Fitter
Build TrackRep from particle assumption
Initiallize track with seed from pattern recognition
Create measurements
Add measurements to track
Fit the track
Event display
Definition at line 53 of file testPHGenFit.cc.
View newest version in sPHENIX GitHub at line 53 of file testPHGenFit.cc
References PHGenFit::Track::addMeasurements(), PHFieldUtility::BuildFieldMap(), c3, PHFieldUtility::DefaultFieldConfig(), PHGenFit::Track::extrapolateToLine(), genfit::StateOnPlane::getMom(), genfit::StateOnPlane::getState(), n, NLAYERS, pid, pos(), PHGenFit::Fitter::processTrack(), T, Acts::UnitConstants::u, and v.