#include <PndMvdIdealTrackFinderTask.h>
PndMvdIdealTrackFinderTask::PndMvdIdealTrackFinderTask |
( |
| ) |
|
Default constructor
Definition at line 22 of file PndMvdIdealTrackFinderTask.cxx.
23 FairTask(
"MVD Ideal Track Finding Task"),
TString fClusterBranchStrip
TClonesArray * fTrackCandArray
std::map< Int_t, PndTrackCand * > fTrackCandMap
TClonesArray * fStripDigiArray
TClonesArray * fTrackArray
TClonesArray * fStripHitArray
TClonesArray * fStripClusterArray
TClonesArray * fPixelClusterArray
TClonesArray * fPixelDigiArray
TClonesArray * fPixelHitArray
TString fClusterBranchPixel
PndMvdIdealTrackFinderTask::~PndMvdIdealTrackFinderTask |
( |
| ) |
|
|
virtual |
void PndMvdIdealTrackFinderTask::AddAndExpand |
( |
Int_t |
trackID, |
|
|
Int_t |
detnum, |
|
|
Int_t |
iHit, |
|
|
PndSdsHit * |
theHit |
|
) |
| |
|
private |
void PndMvdIdealTrackFinderTask::ClearTrackCandMap |
( |
| ) |
|
|
private |
void PndMvdIdealTrackFinderTask::Exec |
( |
Option_t * |
opt | ) |
|
|
virtual |
Virtual method Exec
Definition at line 154 of file PndMvdIdealTrackFinderTask.cxx.
References AddAndExpand(), ClearTrackCandMap(), Double_t, fMcArray, fPixelClusterArray, fPixelDigiArray, fPixelHitArray, fStripClusterArray, fStripDigiArray, fStripHitArray, fTrackCandArray, fTrackCandMap, fVerbose, PndSdsHit::GetClusterIndex(), PndSdsDigi::GetDetID(), PndSdsCluster::GetDigiIndex(), PndSdsDigi::GetIndex(), i, and PrintResult().
159 Fatal(
"Exec",
"No trackCandArray");
166 for (Int_t iHit = 0; iHit < nPixelHits; iHit++){
170 if (apixeldigi->
GetIndex(0) == -1)
continue;
177 for (Int_t iHit = 0; iHit < nStripHits; iHit++){
181 if (astripdigi->
GetIndex(0) == -1)
continue;
191 Double_t eventTime = FairRootManager::Instance()->GetEventTime();
192 kIt->second->SetTimeStamp(eventTime);
void AddAndExpand(Int_t trackID, Int_t detnum, Int_t iHit, PndSdsHit *theHit)
Class to store the Digis which belong to one cluster This class holds the information which Digi belo...
TClonesArray * fTrackCandArray
Int_t GetIndex(int i=0) const
Class for digitised strip hits.
std::map< Int_t, PndTrackCand * > fTrackCandMap
TClonesArray * fStripDigiArray
TClonesArray * fStripHitArray
Int_t GetDigiIndex(Int_t i) const
TClonesArray * fStripClusterArray
TClonesArray * fPixelClusterArray
TClonesArray * fPixelDigiArray
TClonesArray * fPixelHitArray
Data class to store the digi output of a pixel module.
Int_t GetClusterIndex() const
InitStatus PndMvdIdealTrackFinderTask::Init |
( |
| ) |
|
|
virtual |
Definition at line 82 of file PndMvdIdealTrackFinderTask.cxx.
References fClusterBranchPixel, fClusterBranchStrip, fDigiBranchPixel, fDigiBranchStrip, fHitBranchPixel, fHitBranchStrip, fMcArray, fMcBranch, fPixelClusterArray, fPixelDigiArray, fPixelHitArray, fStripClusterArray, fStripDigiArray, fStripHitArray, fTrackArray, fTrackBranch, and fTrackCandArray.
85 FairRootManager* ioman = FairRootManager::Instance();
89 std::cout <<
"-E- PndMvdIdealTrackFinderTask::Init: "
90 <<
"RootManager not instantiated!" << std::endl;
97 std::cout <<
"-W- PndMvdIdealTrackFinderTask::Init: " <<
"No fStripHitArray!" << std::endl;
103 std::cout <<
"-W- PndMvdIdealTrackFinderTask::Init: " <<
"No fPixelHitArray!" << std::endl;
109 std::cout <<
"-W- PndMvdIdealTrackFinderTask::Init: " <<
"No StripclusterArray!" << std::endl;
114 std::cout <<
"-W- PndMvdIdealTrackFinderTask::Init: " <<
"No PixelclusterArray!" << std::endl;
121 std::cout <<
"-W- PndMvdIdealTrackFinderTask::Init: " <<
"No StripdigiArray!" << std::endl;
127 std::cout <<
"-W- PndMvdIdealTrackFinderTask::Init: " <<
"No PixeldigiArray!" << std::endl;
133 std::cout <<
"-W- PndMvdIdealTrackFinderTask::Init: " <<
"No mcArray!" << std::endl;
139 std::cout <<
"-W- PndMvdIdealTrackFinderTask::Init: " <<
"No trackArray!" << std::endl;
146 std::cout <<
"-I- PndMvdIdealTrackFinderTask: Initialisation successfull" << std::endl;
TString fClusterBranchStrip
TClonesArray * fTrackCandArray
TClonesArray * fStripDigiArray
TClonesArray * fTrackArray
TClonesArray * fStripHitArray
TClonesArray * fStripClusterArray
TClonesArray * fPixelClusterArray
TClonesArray * fPixelDigiArray
TClonesArray * fPixelHitArray
TString fClusterBranchPixel
void PndMvdIdealTrackFinderTask::PrintResult |
( |
| ) |
|
Definition at line 237 of file PndMvdIdealTrackFinderTask.cxx.
References fPixelHitArray, fStripHitArray, fTrackCandMap, PndTrackCandHit::GetDetId(), PndTrackCandHit::GetHitId(), PndTrackCand::GetNHits(), PndTrackCand::GetSortedHit(), and i.
Referenced by Exec().
239 std::cout <<
"**** TrackFinding *****" << std::endl;
241 for (std::map<Int_t, PndTrackCand*>::const_iterator kIt=
fTrackCandMap.begin();
243 std::cout <<
"TrackID: " << kIt->first << std::endl;
245 unsigned int detId, hitId;
246 for (
unsigned int i = 0;
i < trackCand->
GetNHits();
i++){
252 std::cout <<
"Detector no. " << detId <<
": "<< *myHit;
255 std::cout << std::endl;
PndTrackCandHit GetSortedHit(UInt_t i)
std::map< Int_t, PndTrackCand * > fTrackCandMap
TClonesArray * fStripHitArray
TClonesArray * fPixelHitArray
void PndMvdIdealTrackFinderTask::ProduceHits |
( |
| ) |
|
|
private |
void PndMvdIdealTrackFinderTask::Register |
( |
| ) |
|
|
private |
InitStatus PndMvdIdealTrackFinderTask::ReInit |
( |
| ) |
|
|
virtual |
void PndMvdIdealTrackFinderTask::Reset |
( |
| ) |
|
|
private |
void PndMvdIdealTrackFinderTask::SetParContainers |
( |
| ) |
|
|
virtual |
void PndMvdIdealTrackFinderTask::SetVerbose |
( |
Int_t |
verbose | ) |
|
|
inline |
TString PndMvdIdealTrackFinderTask::fClusterBranchPixel |
|
private |
TString PndMvdIdealTrackFinderTask::fClusterBranchStrip |
|
private |
TString PndMvdIdealTrackFinderTask::fDigiBranchPixel |
|
private |
TString PndMvdIdealTrackFinderTask::fDigiBranchStrip |
|
private |
TString PndMvdIdealTrackFinderTask::fHitBranchPixel |
|
private |
TString PndMvdIdealTrackFinderTask::fHitBranchStrip |
|
private |
TClonesArray* PndMvdIdealTrackFinderTask::fMcArray |
|
private |
TString PndMvdIdealTrackFinderTask::fMcBranch |
|
private |
TClonesArray* PndMvdIdealTrackFinderTask::fPixelClusterArray |
|
private |
TClonesArray* PndMvdIdealTrackFinderTask::fPixelDigiArray |
|
private |
TClonesArray* PndMvdIdealTrackFinderTask::fPixelHitArray |
|
private |
TClonesArray* PndMvdIdealTrackFinderTask::fStripClusterArray |
|
private |
TClonesArray* PndMvdIdealTrackFinderTask::fStripDigiArray |
|
private |
TClonesArray* PndMvdIdealTrackFinderTask::fStripHitArray |
|
private |
TClonesArray* PndMvdIdealTrackFinderTask::fTrackArray |
|
private |
TString PndMvdIdealTrackFinderTask::fTrackBranch |
|
private |
TClonesArray* PndMvdIdealTrackFinderTask::fTrackCandArray |
|
private |
The documentation for this class was generated from the following files: