Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
testPHGenFit.cc File Reference

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>
+ Include dependency graph for testPHGenFit.cc:

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)
 

Detailed Description

Program to demonstrate the usage of PHGenFit.

Author
Haiwang Yu yuhw@.nosp@m.nmsu.nosp@m..edu

Definition in file testPHGenFit.cc.

Macro Definition Documentation

#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

Function Documentation

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(), PHFieldUtility::DefaultFieldConfig(), PHGenFit::Track::extrapolateToLine(), genfit::StateOnPlane::getMom(), genfit::StateOnPlane::getState(), n, NLAYERS, train_ambiguity_solver::pid, Acts::Test::pos, PHGenFit::Fitter::processTrack(), Acts::UnitConstants::T, physmon_ckf_tracking::u, and testSigmaEff::v.

+ Here is the call graph for this function: