FairRoot/PandaRoot
|
#include <math.h>
#include "TString.h"
#include "TROOT.h"
#include "TSystem.h"
#include "TH1.h"
#include "TH2.h"
#include "TCanvas.h"
#include "TLine.h"
#include "TLorentzVector.h"
#include "TStyle.h"
#include "TRandom.h"
#include "TStopwatch.h"
#include "TGraph.h"
#include "TSpectrum2.h"
#include <stdio.h>
#include <iostream>
#include <iomanip>
#include "FairLogger.h"
#include "FairRuntimeDb.h"
#include "FairParRootFileIo.h"
#include "PndFtsHit.h"
#include "FairMCPoint.h"
#include "FairHit.h"
#include "AnalysisTools/PndAnalysis.h"
#include "AnalysisTools/Fitter/Rho4CFitter.h"
#include "AnalysisTools/Fitter/RhoKinVtxFitter.h"
#include "AnalysisTools/Fitter/RhoKinFitter.h"
#include "AnalysisTools/PndAnaPidCombiner.h"
#include "AnalysisTools/PndAnaPidSelector.h"
#include "FairRunSim.h"
#include "PndMultiField.h"
#include "PndMCTrack.h"
#include "PndFtsHoughTrackCand.h"
Go to the source code of this file.
Macros | |
#define | HOUGH_TEST |
Functions | |
int | PlotMCTracks (int iEvent, TString branchName, TString tcaName, TGraph *mcPoints, TFile *fSim=0) |
int | PlotMCTracksPrintBField (PndMultiField *fField, int iEvent, TString branchName, TString tcaName, TH2D *mcPoints) |
int | plotHoughTrackCand (PndFtsHoughTrackCand *trackCand, TGraph *returnTGraph) |
Double_t | MakeHoughParabolaFitwithBfield (PndMultiField *fField, Double_t pzinv, Double_t theta, Double_t weight, Double_t zOffset, Double_t hitshiftinx, Double_t zscaling, const Double_t c, const Bool_t keepBConstant, TGraph *ParabolaFitInXZPlane) |
int | DrawField (PndMultiField *fField, TH2F *Bfield) |
int | plotTrackCands (int iEvent) |
#define HOUGH_TEST |
Definition at line 9 of file plotTrackCands.C.
int DrawField | ( | PndMultiField * | fField, |
TH2F * | Bfield | ||
) |
Definition at line 493 of file plotTrackCands.C.
References Double_t, PndMultiField::GetFieldValue(), CAMath::Sqrt(), verbose, x, and z.
Referenced by plotTrackCands().
Double_t MakeHoughParabolaFitwithBfield | ( | PndMultiField * | fField, |
Double_t | pzinv, | ||
Double_t | theta, | ||
Double_t | weight, | ||
Double_t | zOffset, | ||
Double_t | hitshiftinx, | ||
Double_t | zscaling, | ||
const Double_t | c, | ||
const Bool_t | keepBConstant, | ||
TGraph * | ParabolaFitInXZPlane | ||
) |
Definition at line 334 of file plotTrackCands.C.
References a, Double_t, PndMultiField::GetFieldValue(), max(), sin(), sqrt(), and verbose.
int plotHoughTrackCand | ( | PndFtsHoughTrackCand * | trackCand, |
TGraph * | returnTGraph | ||
) |
Definition at line 288 of file plotTrackCands.C.
References Double_t, PndFtsHoughTrackCand::getPos(), PndFtsHoughTrackCand::getZLineParabola(), PndFtsHoughTrackCand::getZParabolaLine(), pos, x, and z.
Referenced by plotTrackCands().
int PlotMCTracks | ( | int | iEvent, |
TString | branchName, | ||
TString | tcaName, | ||
TGraph * | mcPoints, | ||
TFile * | fSim = 0 |
||
) |
Definition at line 75 of file plotTrackCands.C.
References Double_t, point, verbose, X, Y, and Z.
Referenced by plotTrackCands().
int PlotMCTracksPrintBField | ( | PndMultiField * | fField, |
int | iEvent, | ||
TString | branchName, | ||
TString | tcaName, | ||
TH2D * | mcPoints | ||
) |
Definition at line 166 of file plotTrackCands.C.
References Double_t, PndMultiField::GetFieldValue(), point, verbose, X, Y, and Z.
int plotTrackCands | ( | int | iEvent | ) |
Definition at line 569 of file plotTrackCands.C.
References BeamMomentum, DigiFile, Double_t, DrawField(), fField, fVerbose, PndFtsHit::GetLayerID(), PndFtsHit::GetSkewed(), hit, hits, PndMultiField::Init(), nHits, plotHoughTrackCand(), PlotMCTracks(), RecoFile, and TString.