#include <PndLmdIdealFitTask.h>
Definition at line 43 of file PndLmdIdealFitTask.h.
PndLmdIdealFitTask::PndLmdIdealFitTask |
( |
| ) |
|
PndLmdIdealFitTask::~PndLmdIdealFitTask |
( |
| ) |
|
|
virtual |
void PndLmdIdealFitTask::Exec |
( |
Option_t * |
opt | ) |
|
|
virtual |
Definition at line 114 of file PndLmdIdealFitTask.cxx.
References fClustArray, fDigiArray, fMCPointArray, fRecoArray, fTCandArray, fTrackArray, fVerbose, PndSdsHit::GetClusterIndex(), PndSdsCluster::GetDigiIndex(), PndTrackCandHit::GetHitId(), PndSdsDigi::GetIndex(), PndTrackCand::GetNHits(), PndSdsMCPoint::GetPosition(), PndTrackCand::GetSortedHit(), and track.
115 std::cout <<
"PndLmdLinFitTask::Exec" << std::endl;
117 if (
fTrackArray == 0) Fatal(
"PndLmdLinFitTask::Exec",
"No TrackArray");
124 std::cout <<
" -I- PndLmdLinFitTask: contains " << ntcand
125 <<
" RhoCandidates" << std::endl;
127 std::cout <<
" Detailed Debug info on the candidates:" << std::endl;
128 unsigned int index = 12345;
130 for (Int_t itr = 0; itr < ntcand; ++itr) {
132 std::cout <<
"TrackCand no. " << itr <<
" has " << trcnd->
GetNHits()
133 <<
" hits." << std::endl;
134 std::cout <<
"Point: \t Index: " << std::endl;
135 for (
unsigned int ihit = 0; ihit < trcnd->
GetNHits();
140 std::cout << ihit <<
"\t" << index << std::endl;
154 std::cout <<
" -I- PndLmdIdealFitTask: start Fitting " << std::endl;
158 const int numPts = trcnd->
GetNHits();
163 std::cout <<
"Track: " <<
track <<
" Points: " << numPts << std::endl;
175 firstPoint->Momentum(trueTrack);
183 new PndLinTrack(
"Lumi", truePos.X(), trueTrack.X() / trueTrack.Z(),
184 truePos.Y(), trueTrack.Y() / trueTrack.Z(), truePos.Z(),
185 trueTrack.Z(), 0, fhit, lhit,
track);
193 std::cout <<
"Fitting done" << std::endl;
TClonesArray * fTCandArray
Int_t GetIndex(int i=0) const
PndTrackCandHit GetSortedHit(UInt_t i)
Class for digitised strip hits.
TClonesArray * fTrackArray
TClonesArray * fRecoArray
Int_t GetDigiIndex(Int_t i) const
TClonesArray * fMCPointArray
TVector3 GetPosition() const
TClonesArray * fClustArray
TClonesArray * fDigiArray
Int_t GetClusterIndex() const
InitStatus PndLmdIdealFitTask::Init |
( |
| ) |
|
|
virtual |
Definition at line 61 of file PndLmdIdealFitTask.cxx.
References fClustArray, fClustBranchName, fDigiArray, fDigiBranchName, fMCPointArray, fMCPointBranchName, fRecoArray, fRecoBranchName, fTCandArray, fTCandBranchName, and fTrackArray.
63 FairRootManager* ioman = FairRootManager::Instance();
66 Error(
"PndLmdLinFitTask::Init",
"RootManager not instantiated!");
74 Error(
"PndLmdLinFitTask::Init",
"trackcand-array not found!");
81 Error(
"PndLmdLinFitTask::Init",
"reco-array not found!");
88 Error(
"PndLmdLinFitTask::Init",
"MCPoint-array not found!");
95 Error(
"PndLmdLinFitTask::Init",
"digi-array not found!");
102 Error(
"PndLmdLinFitTask::Init",
"clust-array not found!");
107 ioman->Register(
"LMDTrack",
"PndLmd",
fTrackArray, kTRUE);
109 std::cout <<
"-I- PndLmdLinFitTask: Initialisation successfull" << std::endl;
TClonesArray * fTCandArray
TClonesArray * fTrackArray
TClonesArray * fRecoArray
TClonesArray * fMCPointArray
TClonesArray * fClustArray
TString fMCPointBranchName
TClonesArray * fDigiArray
TClonesArray* PndLmdIdealFitTask::fClustArray |
|
protected |
TString PndLmdIdealFitTask::fClustBranchName |
|
protected |
TClonesArray* PndLmdIdealFitTask::fDigiArray |
|
protected |
TString PndLmdIdealFitTask::fDigiBranchName |
|
protected |
Int_t PndLmdIdealFitTask::fEvent |
|
protected |
TClonesArray* PndLmdIdealFitTask::fMCPointArray |
|
protected |
TString PndLmdIdealFitTask::fMCPointBranchName |
|
protected |
TClonesArray* PndLmdIdealFitTask::fRecoArray |
|
protected |
TString PndLmdIdealFitTask::fRecoBranchName |
|
protected |
TClonesArray* PndLmdIdealFitTask::fTCandArray |
|
protected |
TString PndLmdIdealFitTask::fTCandBranchName |
|
protected |
TClonesArray* PndLmdIdealFitTask::fTrackArray |
|
protected |
Int_t PndLmdIdealFitTask::fTrackcount |
|
protected |
Double_t PndLmdIdealFitTask::fz0 = 1099. |
|
staticprotected |
The documentation for this class was generated from the following files: