FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairPointSetDraw Class Referenceabstract

#include <FairPointSetDraw.h>

Inheritance diagram for FairPointSetDraw:
FairTask FairHitPointSetDraw FairMCPointDraw

Public Member Functions

 FairPointSetDraw ()
 
 FairPointSetDraw (const char *name, FairDataSourceI *dataSource, Color_t color, Style_t mstyle, Int_t iVerbose=1)
 
 FairPointSetDraw (const char *name, Color_t color, Style_t mstyle, Int_t iVerbose=1)
 
virtual ~FairPointSetDraw ()
 
void SetVerbose (Int_t iVerbose)
 
virtual void Exec (Option_t *option)
 
void Reset ()
 
virtual void SetUseTimeOffset (Bool_t val)
 
virtual void SetDataSource (FairDataSourceI *source)
 
- 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)
 
virtual void ExecuteTask (Option_t *option="0")
 
void SetOutputBranchPersistent (TString, Bool_t)
 
Bool_t IsOutputBranchPersistent (TString)
 
void SetStreamProcessing (Bool_t val=kTRUE)
 

Protected Member Functions

virtual TVector3 GetVector (TObject *obj)=0
 
virtual void SetParContainers ()
 
virtual InitStatus Init ()
 
virtual void Finish ()
 
- Protected Member Functions inherited from FairTask
virtual InitStatus ReInit ()
 
void InitTasks ()
 
void ReInitTasks ()
 
virtual void ExecuteTasks (Option_t *option)
 
void SetParTasks ()
 
void FinishTasks ()
 
void FinishEvents ()
 

Protected Attributes

Int_t fVerbose
 
TEvePointSet * fq = nullptr
 
Color_t fColor
 
Style_t fStyle
 
Bool_t fUseTimeOffset = kTRUE
 
- Protected Attributes inherited from FairTask
Int_t fVerbose
 
Int_t fInputPersistance
 Indicates if input branch is persistant. More...
 
FairLoggerfLogger
 
Bool_t fStreamProcessing
 

Detailed Description

Definition at line 32 of file FairPointSetDraw.h.

Constructor & Destructor Documentation

FairPointSetDraw::FairPointSetDraw ( )

Default constructor

Definition at line 30 of file FairPointSetDraw.cxx.

FairPointSetDraw::FairPointSetDraw ( const char *  name,
FairDataSourceI dataSource,
Color_t  color,
Style_t  mstyle,
Int_t  iVerbose = 1 
)

Standard constructor

Parameters
nameName of task
dataSourceInput data container for data to be displayed
colorColor of points
mstyleStyle of points
iVerboseVerbosity level

Definition at line 46 of file FairPointSetDraw.cxx.

FairPointSetDraw::FairPointSetDraw ( const char *  name,
Color_t  color,
Style_t  mstyle,
Int_t  iVerbose = 1 
)

Legacy constructor Input data source will be set to nullptr which implicitly activates the read in via TClonesArray branch

Parameters
nameName of task
colorColor of points
mstyleStyle of points
iVerboseVerbosity level

Definition at line 38 of file FairPointSetDraw.cxx.

FairPointSetDraw::~FairPointSetDraw ( )
virtual

Destructor

Definition at line 120 of file FairPointSetDraw.cxx.

Member Function Documentation

void FairPointSetDraw::Exec ( Option_t *  option)
virtual

Executed task

< corrects a point time (with only time-of-flight) to event time + ToF to match with TimeLimits tmin, tmax

Definition at line 76 of file FairPointSetDraw.cxx.

void FairPointSetDraw::Finish ( )
protectedvirtual

Action after each event

Reimplemented from FairTask.

Definition at line 125 of file FairPointSetDraw.cxx.

virtual TVector3 FairPointSetDraw::GetVector ( TObject *  obj)
protectedpure virtual

Implemented in FairHitPointSetDraw, and FairMCPointDraw.

InitStatus FairPointSetDraw::Init ( )
protectedvirtual

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 59 of file FairPointSetDraw.cxx.

void FairPointSetDraw::Reset ( )

Definition at line 127 of file FairPointSetDraw.cxx.

virtual void FairPointSetDraw::SetDataSource ( FairDataSourceI source)
inlinevirtual

Definition at line 68 of file FairPointSetDraw.h.

void FairPointSetDraw::SetParContainers ( )
protectedvirtual

Intialise parameter containers. To be implemented in the derived class.

Reimplemented from FairTask.

Definition at line 122 of file FairPointSetDraw.cxx.

virtual void FairPointSetDraw::SetUseTimeOffset ( Bool_t  val)
inlinevirtual

Definition at line 66 of file FairPointSetDraw.h.

void FairPointSetDraw::SetVerbose ( Int_t  iVerbose)
inline

Set verbosity level. For this task and all of the subtasks.

Definition at line 61 of file FairPointSetDraw.h.

Member Data Documentation

Color_t FairPointSetDraw::fColor
protected

Definition at line 80 of file FairPointSetDraw.h.

TEvePointSet* FairPointSetDraw::fq = nullptr
protected

Definition at line 79 of file FairPointSetDraw.h.

Style_t FairPointSetDraw::fStyle
protected

Definition at line 81 of file FairPointSetDraw.h.

Bool_t FairPointSetDraw::fUseTimeOffset = kTRUE
protected

Definition at line 82 of file FairPointSetDraw.h.

Int_t FairPointSetDraw::fVerbose
protected

Definition at line 74 of file FairPointSetDraw.h.


The documentation for this class was generated from the following files: