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

#include <FairBoxSetDraw.h>

Inheritance diagram for FairBoxSetDraw:
FairTask FairHitDraw

Public Member Functions

 FairBoxSetDraw ()
 
 FairBoxSetDraw (const char *name, FairDataSourceI *dataSource, Int_t iVerbose=1)
 
 FairBoxSetDraw (const char *name, Int_t iVerbose=1)
 
virtual ~FairBoxSetDraw ()
 
virtual Double_t GetTimeWindowPlus ()
 
virtual Double_t GetTimeWindowMinus ()
 
virtual void SetVerbose (Int_t iVerbose)
 
virtual void SetBoxDimensions (Double_t x, Double_t y, Double_t z)
 
virtual void SetTimeWindowMinus (Double_t val)
 
virtual void SetTimeWindowPlus (Double_t val)
 
virtual void Exec (Option_t *option)
 
FairBoxSetCreateBoxSet ()
 
void Reset ()
 
- 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 void SetParContainers ()
 
virtual InitStatus Init ()
 
virtual void Finish ()
 
virtual TVector3 GetVector (TObject *obj)=0
 
virtual Int_t GetValue (TObject *obj, Int_t i)
 
virtual void AddBoxes (FairBoxSet *set, TObject *obj, Int_t i=0)
 
- 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
 
FairEventManagerfEventManager = nullptr
 
FairBoxSetfq = nullptr
 
Double_t fX {0.3}
 
Double_t fY {0.3}
 
Double_t fZ {0.3}
 
Double_t fTimeWindowPlus {0.}
 
Double_t fTimeWindowMinus {0.}
 
FairDataSourceIfDataSource = nullptr
 
- 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 40 of file FairBoxSetDraw.h.

Constructor & Destructor Documentation

FairBoxSetDraw::FairBoxSetDraw ( )

Default constructor

Definition at line 32 of file FairBoxSetDraw.cxx.

FairBoxSetDraw::FairBoxSetDraw ( const char *  name,
FairDataSourceI dataSource,
Int_t  iVerbose = 1 
)

Standard constructor

Parameters
nameName of task
dataSourceInput source of the data to be displayed
iVerboseVerbosity level

Definition at line 37 of file FairBoxSetDraw.cxx.

FairBoxSetDraw::FairBoxSetDraw ( const char *  name,
Int_t  iVerbose = 1 
)

Legacy constructor Sets the input dataSource to nullptr which sets it to read in TClonesArray

Parameters
nameName of task
iVerboseVerbosity level

Definition at line 43 of file FairBoxSetDraw.cxx.

FairBoxSetDraw::~FairBoxSetDraw ( )
virtual

Destructor

Definition at line 131 of file FairBoxSetDraw.cxx.

Member Function Documentation

void FairBoxSetDraw::AddBoxes ( FairBoxSet set,
TObject *  obj,
Int_t  i = 0 
)
protectedvirtual

Definition at line 104 of file FairBoxSetDraw.cxx.

FairBoxSet * FairBoxSetDraw::CreateBoxSet ( )

Definition at line 115 of file FairBoxSetDraw.cxx.

void FairBoxSetDraw::Exec ( Option_t *  option)
virtual

Executed task

Definition at line 70 of file FairBoxSetDraw.cxx.

void FairBoxSetDraw::Finish ( )
protectedvirtual

Action after each event

Reimplemented from FairTask.

Definition at line 136 of file FairBoxSetDraw.cxx.

virtual Double_t FairBoxSetDraw::GetTimeWindowMinus ( )
inlinevirtual

Definition at line 64 of file FairBoxSetDraw.h.

virtual Double_t FairBoxSetDraw::GetTimeWindowPlus ( )
inlinevirtual

Definition at line 63 of file FairBoxSetDraw.h.

Int_t FairBoxSetDraw::GetValue ( TObject *  obj,
Int_t  i 
)
protectedvirtual

Definition at line 113 of file FairBoxSetDraw.cxx.

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

Implemented in FairHitDraw.

InitStatus FairBoxSetDraw::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 49 of file FairBoxSetDraw.cxx.

void FairBoxSetDraw::Reset ( )

Definition at line 138 of file FairBoxSetDraw.cxx.

virtual void FairBoxSetDraw::SetBoxDimensions ( Double_t  x,
Double_t  y,
Double_t  z 
)
inlinevirtual

Definition at line 68 of file FairBoxSetDraw.h.

void FairBoxSetDraw::SetParContainers ( )
protectedvirtual

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

Reimplemented from FairTask.

Definition at line 133 of file FairBoxSetDraw.cxx.

void FairBoxSetDraw::SetTimeWindowMinus ( Double_t  val)
virtual

Definition at line 127 of file FairBoxSetDraw.cxx.

void FairBoxSetDraw::SetTimeWindowPlus ( Double_t  val)
virtual

Definition at line 129 of file FairBoxSetDraw.cxx.

virtual void FairBoxSetDraw::SetVerbose ( Int_t  iVerbose)
inlinevirtual

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

Definition at line 67 of file FairBoxSetDraw.h.

Member Data Documentation

FairDataSourceI* FairBoxSetDraw::fDataSource = nullptr
protected

Definition at line 106 of file FairBoxSetDraw.h.

FairEventManager* FairBoxSetDraw::fEventManager = nullptr
protected

Definition at line 98 of file FairBoxSetDraw.h.

FairBoxSet* FairBoxSetDraw::fq = nullptr
protected

Definition at line 99 of file FairBoxSetDraw.h.

Double_t FairBoxSetDraw::fTimeWindowMinus {0.}
protected

Definition at line 105 of file FairBoxSetDraw.h.

Double_t FairBoxSetDraw::fTimeWindowPlus {0.}
protected

Definition at line 104 of file FairBoxSetDraw.h.

Int_t FairBoxSetDraw::fVerbose
protected

Definition at line 88 of file FairBoxSetDraw.h.

Double_t FairBoxSetDraw::fX {0.3}
protected

Definition at line 100 of file FairBoxSetDraw.h.

Double_t FairBoxSetDraw::fY {0.3}
protected

Definition at line 101 of file FairBoxSetDraw.h.

Double_t FairBoxSetDraw::fZ {0.3}
protected

Definition at line 102 of file FairBoxSetDraw.h.


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