EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicRoot/blob/master/PndTools/generalTools/PndEventCounterTask.h>
Public Member Functions | |
PndEventCounterTask (const char *name="Event Counter", Int_t nev=1, Int_t talk=1) | |
virtual | ~PndEventCounterTask () |
virtual void | SetParContainers () |
virtual InitStatus | Init () |
virtual InitStatus | ReInit () |
virtual void | Exec (Option_t *opt) |
void | SetVerbose (Int_t iVerbose) |
void | SetAnnounce (Int_t iann) |
void | SetNEvts (Int_t n) |
Int_t | GetEventCount () const |
Double_t | GetTime () |
Public Member Functions inherited from FairTask | |
FairTask () | |
FairTask (const char *name, Int_t iVerbose=1) | |
virtual | ~FairTask () |
void | InitTask () |
void | ReInitTask () |
void | SetParTask () |
virtual void | FinishTask () |
virtual void | FinishEvent () |
void | SetVerbose (Int_t iVerbose) |
void | SetInputPersistance (Bool_t val) |
void | CheckInputPersistance (TString branchName) |
Private Member Functions | |
void | StartTimer () |
ClassDef (PndEventCounterTask, 1) | |
Private Attributes | |
Bool_t | fInitialiezed |
Int_t | fEvtCounter |
Int_t | fEvtTalk |
Int_t | fNEvts |
Double_t | fTimeOffset |
TStopwatch | fTimer |
Additional Inherited Members | |
Protected Member Functions inherited from FairTask | |
virtual void | Finish () |
void | InitTasks () |
void | ReInitTasks () |
void | SetParTasks () |
void | FinishTasks () |
void | FinishEvents () |
Protected Attributes inherited from FairTask | |
Int_t | fVerbose |
Int_t | fInputPersistance |
Indicates if input branch is persistant. | |
FairLogger * | fLogger |
Definition at line 10 of file PndEventCounterTask.h.
View newest version in sPHENIX GitHub at line 10 of file PndEventCounterTask.h
PndEventCounterTask::PndEventCounterTask | ( | const char * | name = "Event Counter" , |
Int_t | nev = 1 , |
||
Int_t | talk = 1 |
||
) |
Definition at line 9 of file PndEventCounterTask.cxx.
View newest version in sPHENIX GitHub at line 9 of file PndEventCounterTask.cxx
References fTimer.
|
virtual |
Definition at line 23 of file PndEventCounterTask.cxx.
View newest version in sPHENIX GitHub at line 23 of file PndEventCounterTask.cxx
|
private |
|
virtual |
Definition at line 36 of file PndEventCounterTask.cxx.
View newest version in sPHENIX GitHub at line 36 of file PndEventCounterTask.cxx
References fEvtCounter, fEvtTalk, fInitialiezed, fNEvts, fTimeOffset, fTimer, FairTask::fVerbose, printf(), StartTimer(), and t.
|
inline |
Definition at line 22 of file PndEventCounterTask.h.
View newest version in sPHENIX GitHub at line 22 of file PndEventCounterTask.h
References fEvtCounter.
|
inline |
Definition at line 23 of file PndEventCounterTask.h.
View newest version in sPHENIX GitHub at line 23 of file PndEventCounterTask.h
References fTimer.
|
inlinevirtual |
Intialisation at begin of run. To be implemented in the derived class. Success If not kSUCCESS, task will be set inactive.
Reimplemented from FairTask.
Definition at line 16 of file PndEventCounterTask.h.
View newest version in sPHENIX GitHub at line 16 of file PndEventCounterTask.h
References kSUCCESS.
|
inlinevirtual |
Reinitialisation. To be implemented in the derived class. Success If not kSUCCESS, task will be set inactive.
Reimplemented from FairTask.
Definition at line 17 of file PndEventCounterTask.h.
View newest version in sPHENIX GitHub at line 17 of file PndEventCounterTask.h
References kSUCCESS.
|
inline |
Definition at line 20 of file PndEventCounterTask.h.
View newest version in sPHENIX GitHub at line 20 of file PndEventCounterTask.h
References fEvtTalk.
|
inline |
Definition at line 21 of file PndEventCounterTask.h.
View newest version in sPHENIX GitHub at line 21 of file PndEventCounterTask.h
|
inlinevirtual |
Intialise parameter containers. To be implemented in the derived class.
Reimplemented from FairTask.
Definition at line 15 of file PndEventCounterTask.h.
View newest version in sPHENIX GitHub at line 15 of file PndEventCounterTask.h
|
inline |
Definition at line 19 of file PndEventCounterTask.h.
View newest version in sPHENIX GitHub at line 19 of file PndEventCounterTask.h
References FairTask::fVerbose.
|
private |
Definition at line 28 of file PndEventCounterTask.cxx.
View newest version in sPHENIX GitHub at line 28 of file PndEventCounterTask.cxx
References fEvtCounter, fInitialiezed, fTimeOffset, and fTimer.
Referenced by Exec().
|
private |
Definition at line 28 of file PndEventCounterTask.h.
View newest version in sPHENIX GitHub at line 28 of file PndEventCounterTask.h
Referenced by Exec(), GetEventCount(), and StartTimer().
|
private |
Definition at line 29 of file PndEventCounterTask.h.
View newest version in sPHENIX GitHub at line 29 of file PndEventCounterTask.h
Referenced by Exec(), and SetAnnounce().
|
private |
Definition at line 27 of file PndEventCounterTask.h.
View newest version in sPHENIX GitHub at line 27 of file PndEventCounterTask.h
Referenced by Exec(), and StartTimer().
|
private |
Definition at line 30 of file PndEventCounterTask.h.
View newest version in sPHENIX GitHub at line 30 of file PndEventCounterTask.h
Referenced by Exec(), and SetNEvts().
|
private |
Definition at line 31 of file PndEventCounterTask.h.
View newest version in sPHENIX GitHub at line 31 of file PndEventCounterTask.h
Referenced by Exec(), and StartTimer().
|
private |
Definition at line 32 of file PndEventCounterTask.h.
View newest version in sPHENIX GitHub at line 32 of file PndEventCounterTask.h
Referenced by Exec(), GetTime(), PndEventCounterTask(), and StartTimer().