hlit-ana
0.0.0
|
Resonance task. More...
#include <HlitTaskRsn.h>
Public Member Functions | |
HlitTaskRsn (const char *name="HlitTaskRsn", const char *title="HlitTaskRsn title") | |
virtual | ~HlitTaskRsn () |
virtual void | Init (Option_t *option) |
Init function. More... | |
virtual void | Exec (Option_t *option) |
User's function. More... | |
virtual void | Finish (Option_t *option) |
User's function executed after all sub tasks. More... | |
void | SetNSkip (Long64_t nSkip) |
Sets number of skipped tracks. More... | |
virtual void | Add (TTask *task) |
Adds task. More... | |
virtual void | ExecuteTask (Option_t *option) |
virtual void | ExecuteTasks (Option_t *option) |
virtual void | ExecPost (Option_t *option) |
User's function executed after all sub tasks. More... | |
void | SetParent (HlitTask *task) |
Sets parent task. More... | |
HlitTask * | GetParent () const |
Returns parent task. More... | |
TList * | GetOutput () const |
Returns output list. More... | |
virtual void | Browse (TBrowser *b) |
Browse elements. More... | |
virtual void | Export (TDirectory *root) |
Export tasks to TDirectory. More... | |
Protected Attributes | |
HlitTask * | fParent |
Partent task. | |
TList * | fOutput |
Output. | |
Private Attributes | |
HlitEvent * | fEvent |
Current event. | |
Double_t * | fFillTmp |
Tmp value for filling histogram. | |
THnSparse * | fSigBg |
Signal Background. | |
THnSparse * | fBgLikePP |
Background like sign ++. | |
THnSparse * | fBgLikeMM |
Background like sign –. | |
THnSparse * | fBgEventMixPM |
Background Event mixing +-. | |
Long64_t | fNSkip |
Skip N tracks (just for testing) | |
Resonance task.
Definition at line 16 of file HlitTaskRsn.h.
HlitTaskRsn::HlitTaskRsn | ( | const char * | name = "HlitTaskRsn" , |
const char * | title = "HlitTaskRsn title" |
||
) |
Default constructor
Definition at line 15 of file HlitTaskRsn.cxx.
|
virtual |
|
virtualinherited |
|
virtualinherited |
Browse elements.
b | Pointer to browser |
Definition at line 179 of file HlitTask.cxx.
References HlitTask::fOutput.
|
virtual |
User's function.
option | Task option |
Main function to process resonance study
Reimplemented from HlitTask.
Definition at line 56 of file HlitTaskRsn.cxx.
References fBgLikeMM, fBgLikePP, fEvent, fFillTmp, fNSkip, HlitTask::fParent, fSigBg, HlitTrack::GetCharge(), HlitEvent::GetNTrack(), HlitTask::GetOutput(), HlitTrack::GetPx(), HlitTrack::GetPy(), and HlitEvent::GetTrack().
|
virtualinherited |
User's function executed after all sub tasks.
option | Task option / |
Definition at line 169 of file HlitTask.cxx.
Referenced by HlitTask::ExecuteTask(), and HlitTask::ExecuteTasks().
|
virtualinherited |
Execute current task
Definition at line 44 of file HlitTask.cxx.
References HlitTask::Exec(), HlitTask::ExecPost(), and HlitTask::ExecuteTasks().
Referenced by HlitAnalysisSelector::Process().
|
virtualinherited |
Execute all the subtasks of a task.
Definition at line 87 of file HlitTask.cxx.
References HlitTask::Exec(), HlitTask::ExecPost(), and HlitTask::ExecuteTasks().
Referenced by HlitTask::ExecuteTask(), and HlitTask::ExecuteTasks().
|
virtualinherited |
Export tasks to TDirectory.
root | Root directory |
Definition at line 185 of file HlitTask.cxx.
References HlitTask::Export(), and HlitTask::fOutput.
Referenced by HlitTask::Export().
|
virtual |
User's function executed after all sub tasks.
option | Task option |
Reimplemented from HlitTask.
Definition at line 108 of file HlitTaskRsn.cxx.
References fSigBg.
|
inlineinherited |
Returns output list.
Definition at line 79 of file HlitTask.h.
References HlitTask::fOutput.
Referenced by Exec(), and HlitAnalysisSelector::Init().
|
inlineinherited |
Returns parent task.
Definition at line 77 of file HlitTask.h.
References HlitTask::fParent.
|
virtual |
Init function.
option | Inti option |
Initialize histograms for resonance study
Reimplemented from HlitTask.
Definition at line 30 of file HlitTaskRsn.cxx.
References fBgLikeMM, fBgLikePP, fFillTmp, HlitTask::fOutput, fSigBg, and HlitTask::Init().
|
inline |
Sets number of skipped tracks.
nSkip | Number of skipped tracks |
Definition at line 33 of file HlitTaskRsn.h.
References fNSkip.
|
inlineinherited |
Sets parent task.
task | Parent task |
Definition at line 76 of file HlitTask.h.
References HlitTask::fParent.