FairRoot/PandaRoot
|
The default reconstruction tasks. More...
#include <PndMasterRecoTask.h>
Classes | |
struct | recoTaskList |
struct of the task list This struct avoids to retrieve tasks using the integer value (misleading), but uses an easier scheme. The enum is "k" + the class name, i.e. "kPndTrkTracking2" for the class PndTracking2. The function PrintTaskList() can be used to check the list of the tasks and the corresponding number. More... | |
Public Member Functions | |
PndMasterRecoTask (TString fOptions="") | |
Default constructor with options This string can be: "" -> default settings full setup "day1" -> Setup for day1 experiment: no GEM, FTS1234, NO DISC, NO RICH "gem" (added to "day1") -> Setup for day1 experiment with 3 GEM planes "fts1256" (added to "day1") -> Setup for day1 experiment with FTS1256 insted of FTS1234 "mulitkalman" -> Run kalman tasks with all 5 hypothesis for a TrackCand Example: "day1+gem+fts1256" means day1 setup + GEM planes + fst1256. More... | |
virtual | ~PndMasterRecoTask () |
Destructor. More... | |
void | PrintTaskList () |
It prints the list of tasks. More... | |
virtual void | SetPersistency (Bool_t pers=kTRUE) |
Set the persistency of all the tasks This function has to be implemented for each master task, since different tasks use different functions to change the persistency of the output TClonesArrays. More... | |
void | SetVerbose (Int_t iVerbose=1) |
Set the Verbosity to all the tasks. More... | |
void | SetVerbose (Int_t nTask, Int_t iVerbose) |
Set the Verbosity to a single task. More... | |
FairTask * | GetTask (Int_t nTask) |
Return the pointer to a single task. More... | |
virtual void | SetParContainers () |
virtual InitStatus | Init () |
virtual InitStatus | ReInit () |
virtual void | Exec (Option_t *opt) |
Bool_t | GetPersistency () |
Protected Attributes | |
std::vector< PndPersistencyTask * > | fBranchTasks |
std::vector< FairTask * > | fStandardTasks |
std::map< PndPersistencyTask *, bool > | fFixedPersistency |
Private Attributes | |
struct PndMasterRecoTask::recoTaskList | reco |
TString | fOptions |
Options parsed to the reconstruction. More... | |
The default reconstruction tasks.
This class includes all the reconstruction tasks which need to be used in the default reconstruction macros.
Definition at line 20 of file PndMasterRecoTask.h.
PndMasterRecoTask::PndMasterRecoTask | ( | TString | options = "" | ) |
Default constructor with options This string can be: "" -> default settings full setup "day1" -> Setup for day1 experiment: no GEM, FTS1234, NO DISC, NO RICH "gem" (added to "day1") -> Setup for day1 experiment with 3 GEM planes "fts1256" (added to "day1") -> Setup for day1 experiment with FTS1256 insted of FTS1234 "mulitkalman" -> Run kalman tasks with all 5 hypothesis for a TrackCand Example: "day1+gem+fts1256" means day1 setup + GEM planes + fst1256.
Default Constructor.
Here all the reconstruction tasks are added to the task, with the standard settings. A check is done after each task if the tasklist enum is broken or not. At the end the event counter is added (each 100 events), and the verbosity is set to 0 to all the tasks (it can be changed afterwards with SetVerbosity() functions.
Definition at line 31 of file PndMasterRecoTask.cxx.
References Add(), PndIdealTrackFinder::AddBranchName(), PndTrackSmearTask::AddInputTrackBranch(), PndMasterTask::fBranchTasks, PndMasterTask::fFixedPersistency, fOptions, PndTrkTracking2::NoMvdAloneTracking(), recoKalman, PndRecoMultiKalmanTask::SetBusyCut(), PndRecoKalmanTask::SetBusyCut(), PndRecoMultiKalmanTask::SetFitHypotheses(), PndTrkTracking2::SetInputBranchName(), PndMissingPzCleanerTask::SetInputTrackBranch(), PndIdealTrackFinder::SetOutputBranchName(), PndIdealTrackFinder::SetRelativeMomentumSmearing(), PndMissingPzCleanerTask::SetRemoveTrack(), PndRecoKalmanTask::SetTrackInBranchName(), PndRecoKalmanTask2::SetTrackInBranchName(), PndRecoMultiKalmanTask2::SetTrackInBranchName(), PndRecoMultiKalmanTask::SetTrackInBranchName(), PndIdealTrackFinder::SetTrackingEfficiency(), PndRecoMultiKalmanTask2::SetTrackOutBranchName(), PndRecoKalmanTask2::SetTrackOutBranchName(), PndRecoKalmanTask::SetTrackOutBranchName(), PndRecoMultiKalmanTask::SetTrackOutBranchName(), PndRecoMultiKalmanTask::SetTrackRep(), PndRecoKalmanTask::SetTrackRep(), PndIdealTrackFinder::SetTrackSelector(), PndMasterTask::SetVerbose(), PndIdealTrackFinder::SetVertexSmearing(), SttMvdGemTracking, trackFts, tracking, and TString.
|
virtual |
|
virtualinherited |
Reimplemented in PndMvdQATask, and PndBufferTestTask.
Definition at line 50 of file PndBlackBoxTask.cxx.
|
inlineinherited |
Definition at line 32 of file PndPersistencyTask.h.
References PndPersistencyTask::fPersistency.
Referenced by PndLmdPixelHitProducerFast::GetPersistance(), PndMdtDigitization::Init(), PndMdtHitProducerIdeal::Init(), PndMdtClusterTask::Init(), PndFtsHitProducerRealFast::Init(), PndDiscTaskReconstruction::Init(), PndRichHitProducer::Init(), PndSttHitProducerRealFast::Init(), PndSttHelixHitProducer::Init(), PndDiscTaskPID::Init(), PndIdealTrackFinder::Init(), PndSttMvdGemTracking::Init(), PndMdtTrkProducer::Init(), PndFtsHitProducerRealFull::Init(), PndLmdPixelClusterTask::Init(), PndSttHitProducerRealFull::Init(), PndLmdStripClusterTask::Init(), PndEmcApdHitProducer::Init(), PndMissingPzCleanerTask::Init(), PndEmcMakeRecoHit::Init(), PndEmcMakeClusterOnline::Init(), PndTrackSmearTask::Init(), PndEmcFWEndcapTimebasedWaveforms::Init(), PndSttHitProducerIdeal::Init(), PndEmcFWEndcapDigi::Init(), PndFtsHitProducerIdeal::Init(), PndEmcMakeCluster::Init(), PndMdtPointsToWaveform::Init(), PndDiscTaskDigitization::Init(), PndEmcMakeDigi::Init(), PndSdsTimeWalkCorrTask::Init(), PndLmdPixelHitProducerFast::Init(), PndDrcHitFinder::Init(), PndRichHitFinder::Init(), PndEmcMakeCorr::Init(), PndFtofHitProducerIdeal::Init(), PndEmcHitsToWaveform::Init(), PndSciTDigiTask::Init(), PndDrcHitProducerIdeal::Init(), PndSdsHitProducerIdeal::Init(), PndSciTHitProducerIdeal::Init(), PndRecoMultiKalmanTask2::Init(), PndEmcHitProducer::Init(), PndDrcHitProducerReal::Init(), PndDskFLGHitProducerIdeal::Init(), PndEmcTmpWaveformToDigi::Init(), PndDrcDigiTask::Init(), PndEmcWaveformToDigi::Init(), PndSttMatchTracks::Init(), PndEmcWaveformToCalibratedDigi::Init(), PndTrkTracking2::Init(), PndSttFindTracks::Init(), PndEmcMultiWaveformToCalibratedDigi::Init(), PndRecoKalmanTask2::Init(), PndDrcTimeDigiTask::Init(), PndEmcExpClusterSplitter::Init(), PndFtsHoughTrackerTask::Init(), PndSdsNoiseProducer::Init(), PndEmcPhiBumpSplitter::Init(), PndSdsIdealRecoTask::Init(), PndSdsHybridHitProducer::Init(), PndRecoMultiKalmanTask::Init(), PndSdsIdealClusterTask::Init(), PndRecoKalmanTask::Init(), PndSdsStripHitProducerDif::Init(), PndGemDigitize::Init(), PndSdsStripHitProducer::Init(), PndGemFindHits::Init(), PndSdsPixelClusterTask::Init(), PndSdsStripClusterTask::Init(), PndMvdGemTrackFinderOnHits::Init(), PndBarrelTrackFinder::Init(), PndEmcFullDigiTask::PndEmcFullDigiTask(), PndEmcMakeBump::PndEmcMakeBump(), PndUnassignedHitsTask::RegisterBranches(), PndMvdClusterTask::SetPersistance(), PndMvdDigiTask::SetPersistance(), PndEmcMakeBump::SetStorageOfData(), and PndEmcFullDigiTask::StoreDigi().
|
inherited |
Return the pointer to a single task.
This function allows to retrieve the pointer of a task inside the task list, when you want to use some particular setter or change someting in the task.
nTask | Index of the task you want to modify. Instead of the integer you can use the enum "k" + task name (i.e. kMvdDigiTask, kSttHitProducerRealFast, etc...) |
Retrieve the pointer to a Task in the list
Definition at line 75 of file PndMasterTask.cxx.
|
virtualinherited |
Reimplemented in PndMvdQATask, and PndBufferTestTask.
Definition at line 43 of file PndBlackBoxTask.cxx.
|
inherited |
It prints the list of tasks.
Print the list of the task which are included in the list
This function print the task number, its title and its name. This can be important when it is needed to modify a particular task and the task number is needed. In any case, the use of enum should be preferred.
Definition at line 24 of file PndMasterTask.cxx.
|
virtualinherited |
Definition at line 25 of file PndBlackBoxTask.cxx.
|
virtualinherited |
|
virtualinherited |
Set the persistency of all the tasks This function has to be implemented for each master task, since different tasks use different functions to change the persistency of the output TClonesArrays.
fPersistency | Persistency level: 0 no TCA, 1 all TCA |
Set the Persistency of all the tasks in the same way
Reimplemented in PndMasterLocalRecoTask, PndMasterMultiPidTask, PndMasterPidTask, PndMasterDigiTask, PndMasterRecoIdealTask, and PndMasterSimTask.
Definition at line 66 of file PndMasterTask.cxx.
References PndMasterTask::fBranchTasks, and PndMasterTask::fFixedPersistency.
Referenced by PndMasterRunAna::AddDigiOnlyTasks(), and PndMasterRunAna::AddRecoTasks().
|
inherited |
Set the Verbosity to all the tasks.
iVerbose | Verbosity level: 0 no messages, the higher more messages |
Set the Verbosity of all the tasks at the same number
Definition at line 43 of file PndMasterTask.cxx.
References next.
Referenced by PndMasterDigiOnlyTask::PndMasterDigiOnlyTask(), PndMasterDigiTask::PndMasterDigiTask(), PndMasterLocalRecoTask::PndMasterLocalRecoTask(), PndMasterMultiPidTask::PndMasterMultiPidTask(), PndMasterPidTask::PndMasterPidTask(), PndMasterRecoIdealTask::PndMasterRecoIdealTask(), PndMasterRecoTask(), PndMasterSimTask::PndMasterSimTask(), and PndMasterTask::SetVerbose().
|
inherited |
Set the Verbosity to a single task.
This function has to be used when you want to change the verbosity to a single task
nTask | Index of the task you want to modify. Instead of the integer you can use the enum k + task name (i.e. kMvdDigiTask, hSttHitProducerRealFast |
iVerbose | Verbosity. 0 -> no messages; the higher -> more messages |
Set the Verbosity of a single task
Definition at line 57 of file PndMasterTask.cxx.
References PndMasterTask::SetVerbose().
|
protectedinherited |
Definition at line 80 of file PndMasterTask.h.
Referenced by PndMasterDigiOnlyTask::PndMasterDigiOnlyTask(), PndMasterRecoTask(), and PndMasterTask::SetPersistency().
|
protectedinherited |
Definition at line 82 of file PndMasterTask.h.
Referenced by PndMasterDigiOnlyTask::PndMasterDigiOnlyTask(), PndMasterRecoTask(), and PndMasterTask::SetPersistency().
|
private |
Options parsed to the reconstruction.
Definition at line 58 of file PndMasterRecoTask.h.
Referenced by PndMasterRecoTask().
|
protectedinherited |
Definition at line 81 of file PndMasterTask.h.
Referenced by PndMasterPidTask::PndMasterPidTask().
|
private |