#include <PndHypIdealTrackFinderTask.h>
PndHypIdealTrackFinderTask::PndHypIdealTrackFinderTask |
( |
| ) |
|
PndHypIdealTrackFinderTask::~PndHypIdealTrackFinderTask |
( |
| ) |
|
|
virtual |
void PndHypIdealTrackFinderTask::AddAndExpand |
( |
Int_t |
trackID, |
|
|
Int_t |
detnum, |
|
|
Int_t |
iHit |
|
) |
| |
|
private |
void PndHypIdealTrackFinderTask::ClearTrackCandMap |
( |
| ) |
|
|
private |
void PndHypIdealTrackFinderTask::Exec |
( |
Option_t * |
opt | ) |
|
|
virtual |
Virtual method Exec
Definition at line 130 of file PndHypIdealTrackFinderTask.cxx.
References AddAndExpand(), ClearTrackCandMap(), fMcArray, fStripHitArray, fTrackArray, fTrackCandArray, fTrackCandMap, fVerbose, i, and PrintResult().
134 Fatal(
"Exec",
"No trackCandArray");
140 for (Int_t iHit = 0; iHit < nStripHits; iHit++){
155 for (std::map<Int_t,GFTrackCand*>::const_iterator ci=
fTrackCandMap.begin();
TClonesArray * fTrackArray
TClonesArray * fStripHitArray
void AddAndExpand(Int_t trackID, Int_t detnum, Int_t iHit)
Track candidate – a list of cluster indices.
std::map< Int_t, GFTrackCand * > fTrackCandMap
TClonesArray * fTrackCandArray
InitStatus PndHypIdealTrackFinderTask::Init |
( |
| ) |
|
|
virtual |
Definition at line 72 of file PndHypIdealTrackFinderTask.cxx.
References fHitBranchStrip, fMcArray, fMcBranch, fStripHitArray, fTrackArray, fTrackBranch, and fTrackCandArray.
75 FairRootManager* ioman = FairRootManager::Instance();
79 std::cout <<
"-E- PndHypIdealTrackFinderTask::Init: "
80 <<
"RootManager not instantiated!" << std::endl;
88 std::cout <<
"-W- PndHypIdealTrackFinderTask::Init: " <<
"No hitArray!" << std::endl;
107 std::cout <<
"-W- PndHypIdealTrackFinderTask::Init: " <<
"No mcArray!" << std::endl;
113 std::cout <<
"-W- PndHypIdealTrackFinderTask::Init: " <<
"No trackArray!" << std::endl;
122 std::cout <<
"-I- PndHypIdealTrackFinderTask: Initialisation successfull" << std::endl;
TClonesArray * fTrackArray
TClonesArray * fStripHitArray
TClonesArray * fTrackCandArray
void PndHypIdealTrackFinderTask::PrintResult |
( |
| ) |
|
Definition at line 193 of file PndHypIdealTrackFinderTask.cxx.
References fStripHitArray, fTrackCandMap, GFTrackCand::getHit(), GFTrackCand::getNHits(), and i.
Referenced by Exec().
195 std::cout <<
"**** TrackFinding *****" << std::endl;
197 for (std::map<Int_t, GFTrackCand*>::const_iterator ci=
fTrackCandMap.begin();
199 std::cout <<
"TrackID: " << ci->first << std::endl;
201 for (
unsigned int i = 0;
i < trackCand->
getNHits();
i++){
202 unsigned int detId, hitId;
203 trackCand->
getHit(
i, detId, hitId);
206 std::cout <<
"Detector no. " << detId <<
": "<< *myHit;
209 std::cout << std::endl;
TClonesArray * fStripHitArray
unsigned int getNHits() const
void getHit(unsigned int i, unsigned int &detId, unsigned int &hitId) const
Get detector ID and cluster index (hitId) for hit number i.
Track candidate – a list of cluster indices.
std::map< Int_t, GFTrackCand * > fTrackCandMap
void PndHypIdealTrackFinderTask::ProduceHits |
( |
| ) |
|
|
private |
void PndHypIdealTrackFinderTask::Register |
( |
| ) |
|
|
private |
InitStatus PndHypIdealTrackFinderTask::ReInit |
( |
| ) |
|
|
virtual |
void PndHypIdealTrackFinderTask::Reset |
( |
| ) |
|
|
private |
void PndHypIdealTrackFinderTask::SetParContainers |
( |
| ) |
|
|
virtual |
void PndHypIdealTrackFinderTask::SetVerbose |
( |
Int_t |
verbose | ) |
|
|
inline |
TString PndHypIdealTrackFinderTask::fHitBranchStrip |
|
private |
TClonesArray* PndHypIdealTrackFinderTask::fMcArray |
|
private |
TString PndHypIdealTrackFinderTask::fMcBranch |
|
private |
TClonesArray* PndHypIdealTrackFinderTask::fStripHitArray |
|
private |
TClonesArray* PndHypIdealTrackFinderTask::fTrackArray |
|
private |
TString PndHypIdealTrackFinderTask::fTrackBranch |
|
private |
TClonesArray* PndHypIdealTrackFinderTask::fTrackCandArray |
|
private |
Int_t PndHypIdealTrackFinderTask::fVerbose |
|
private |
The documentation for this class was generated from the following files: