FairRoot/PandaRoot
|
#include <PndPatternDBGenerator.h>
Public Member Functions | |
PndPatternDBGenerator () | |
virtual | ~PndPatternDBGenerator () |
void | SetOutputFilename (TString filename="patternDB.root") |
Protected Member Functions | |
virtual void | SetParContainers () |
virtual InitStatus | Init () |
virtual void | Exec (Option_t *opt) |
virtual void | FinishTask () |
Private Member Functions | |
void | GenerateTrackPatterns () |
HitSectorMap | FillSectorHitMap (HitArray sttHitArray) |
PndPatterns | FillSectorPatterns (HitArray hitArray, PndMCTrack *mcTrack) |
PndPatterns | FillTrackPatterns (HitArray hitArray, PndMCTrack *mcTrack) |
void | AddPatternsToTree (PndPatterns patterns, TTree *tree) |
Private Attributes | |
PndGeoSttPar * | fSttParameters |
TClonesArray * | fEventHeader |
TClonesArray * | fTubeArray |
TClonesArray * | fSttHitArray |
TClonesArray * | fMCTrackArray |
TClonesArray * | trackCands |
TFile * | foutputFile |
TTree * | fsectorPatternTree |
TTree * | ftrackPatternTree |
PndPattern * | bPattern |
int | sttBranchID |
int | mcTrackID |
TString | foutputFilename |
int | nTotalTracks |
int | nMultipleMCTrackLinks |
Definition at line 21 of file PndPatternDBGenerator.h.
PndPatternDBGenerator::PndPatternDBGenerator | ( | ) |
Definition at line 19 of file PndPatternDBGenerator.cxx.
|
virtual |
Definition at line 39 of file PndPatternDBGenerator.cxx.
|
private |
Definition at line 191 of file PndPatternDBGenerator.cxx.
References bPattern.
Referenced by GenerateTrackPatterns().
|
protectedvirtual |
Definition at line 86 of file PndPatternDBGenerator.cxx.
References GenerateTrackPatterns().
|
private |
Definition at line 143 of file PndPatternDBGenerator.cxx.
References fTubeArray, and PndSttTube::GetSectorID().
Referenced by FillSectorPatterns().
|
private |
Definition at line 153 of file PndPatternDBGenerator.cxx.
References PndPattern::AddMomentum(), PndPattern::AddTubeID(), FillSectorHitMap(), PndMCTrack::GetMomentum(), PndPattern::IsEmpty(), PndPattern::RaisePatternCount(), and PndPattern::SetSectorID().
Referenced by GenerateTrackPatterns().
|
private |
Definition at line 174 of file PndPatternDBGenerator.cxx.
References PndPattern::AddMomentum(), PndPattern::AddTubeID(), PndMCTrack::GetMomentum(), PndPattern::IsEmpty(), PndPattern::RaisePatternCount(), and PndPattern::SetSectorID().
Referenced by GenerateTrackPatterns().
|
protectedvirtual |
Definition at line 89 of file PndPatternDBGenerator.cxx.
References foutputFile, fsectorPatternTree, ftrackPatternTree, nMultipleMCTrackLinks, and nTotalTracks.
|
private |
Definition at line 100 of file PndPatternDBGenerator.cxx.
References AddPatternsToTree(), FillSectorPatterns(), FillTrackPatterns(), fsectorPatternTree, ftrackPatternTree, mcTrackID, nMultipleMCTrackLinks, nTotalTracks, sttBranchID, and trackCands.
Referenced by Exec().
|
protectedvirtual |
Definition at line 46 of file PndPatternDBGenerator.cxx.
References bPattern, fEventHeader, PndSttMapCreator::FillTubeArray(), fMCTrackArray, foutputFile, foutputFilename, fsectorPatternTree, fSttHitArray, fSttParameters, ftrackPatternTree, fTubeArray, mcTrackID, sttBranchID, and trackCands.
|
inline |
|
protectedvirtual |
Definition at line 42 of file PndPatternDBGenerator.cxx.
References fSttParameters, and rtdb.
|
private |
Definition at line 52 of file PndPatternDBGenerator.h.
Referenced by AddPatternsToTree(), and Init().
|
private |
Definition at line 42 of file PndPatternDBGenerator.h.
Referenced by Init().
|
private |
Definition at line 45 of file PndPatternDBGenerator.h.
Referenced by Init().
|
private |
Definition at line 48 of file PndPatternDBGenerator.h.
Referenced by FinishTask(), and Init().
|
private |
Definition at line 56 of file PndPatternDBGenerator.h.
Referenced by Init(), and SetOutputFilename().
|
private |
Definition at line 49 of file PndPatternDBGenerator.h.
Referenced by FinishTask(), GenerateTrackPatterns(), and Init().
|
private |
Definition at line 44 of file PndPatternDBGenerator.h.
Referenced by Init().
|
private |
Definition at line 41 of file PndPatternDBGenerator.h.
Referenced by Init(), and SetParContainers().
|
private |
Definition at line 50 of file PndPatternDBGenerator.h.
Referenced by FinishTask(), GenerateTrackPatterns(), and Init().
|
private |
Definition at line 43 of file PndPatternDBGenerator.h.
Referenced by FillSectorHitMap(), and Init().
|
private |
Definition at line 55 of file PndPatternDBGenerator.h.
Referenced by GenerateTrackPatterns(), and Init().
|
private |
Definition at line 59 of file PndPatternDBGenerator.h.
Referenced by FinishTask(), and GenerateTrackPatterns().
|
private |
Definition at line 58 of file PndPatternDBGenerator.h.
Referenced by FinishTask(), and GenerateTrackPatterns().
|
private |
Definition at line 54 of file PndPatternDBGenerator.h.
Referenced by GenerateTrackPatterns(), and Init().
|
private |
Definition at line 46 of file PndPatternDBGenerator.h.
Referenced by GenerateTrackPatterns(), and Init().