Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::BoostTask Class Reference

#include <BoostTask.h>

Inheritance diagram for Hal::BoostTask:
Hal::EventAna Hal::Task

Public Member Functions

 BoostTask ()
 
 BoostTask (Double_t vx, Double_t vy, Double_t vz)
 
 BoostTask (Double_t vz)
 
void SetBoost (Double_t vx, Double_t vy, Double_t vz, Option_t *opt="")
 
void SetBoost (Double_t vz, Option_t *opt="")
 
void Exec (Option_t *opt)
 
- Public Member Functions inherited from Hal::EventAna
 EventAna ()
 
 EventAna (const EventAna &ana)
 
EventAnaoperator= (const EventAna &other)
 
virtual void AddTags (TString tag)
 
virtual void AddCut (const Cut &cut, Option_t *opt="")
 
virtual void AddCutMonitor (const CutMonitor &mon, Option_t *opt="")
 
virtual void AddCutsAndMonitors (const CutsAndMonitors &monCuts)
 
virtual void SetOption (Option_t *opt)
 
void SetFormatOption (EFormatOption option)
 
virtual void SetComment (TString comment)
 
virtual void SetFormat (Event *format, EFormatDepth depth=EFormatDepth::kAll)
 
virtual void FinishTask ()
 
virtual ~EventAna ()
 
- Public Member Functions inherited from Hal::Task
 Task ()
 

Protected Member Functions

Task::EInitFlag Init ()
 
virtual PackageReport () const
 
- Protected Member Functions inherited from Hal::EventAna
TString GetInputFileName () const
 
void SetInputFileName (TString name)
 
virtual void InitMemoryMap ()
 
Bool_t IsInChain () const
 
void MarkAsInChain ()
 
void AddToAnaMetadata (Package *main_pack, TObject *obj) const
 
Task::EInitFlag InitCutContainer ()
 
virtual Task::EInitFlag CheckFormat ()
 
Int_t GetTaskID () const
 
virtual void LinkCollections ()
 
virtual void ProcessEvent ()
 
virtual void InitNewCutContainer ()
 
virtual void CheckCutContainerCollections ()
 
 EventAna (ECutUpdate tiers)
 
- Protected Member Functions inherited from Hal::Task
void GoToDir (TString name)
 

Additional Inherited Members

- Public Types inherited from Hal::EventAna
enum class  EFormatOption {
  kCompress , kNoCompress , kKeepSource , kNoKeepSource ,
  kDirectAccess , kNoDirectAccess , kReaderAccess , kNoReaderAcces ,
  kDisableChecking , kStandardAcess
}
 
- Public Types inherited from Hal::Task
enum class  EInitFlag { kSUCCESS , kERROR , kFATAL }
 
- Protected Types inherited from Hal::EventAna
enum  eBitFormat {
  kCompression = 0 , kSource = 1 , kDirectAcesss = 2 , kReader = 3 ,
  kChecking = 4
}
 
- Protected Attributes inherited from Hal::EventAna
Int_t fFormatOption
 
UInt_t fProcessedEvents
 
Int_t fMixSize
 
Int_t fEventCollectionsNo
 
Int_t fCurrentEventCollectionID
 
const ECutUpdate fTiers
 
TDatabasePDG * fPDG
 
CutContainerfCutContainer
 
MemoryMapManagerfMemoryMap
 
EventfCurrentEvent
 
TString fComment
 
Int_t fInit
 

Detailed Description

basic class for boosting events, currently boost only oryginal event in tree

Definition at line 24 of file BoostTask.h.

Constructor & Destructor Documentation

◆ BoostTask() [1/3]

Hal::BoostTask::BoostTask ( )

default ctor

Definition at line 24 of file BoostTask.cxx.

◆ BoostTask() [2/3]

Hal::BoostTask::BoostTask ( Double_t vx,
Double_t vy,
Double_t vz )

constructor

Parameters
vxx boost component
vyy boost component
vzz boost component

Definition at line 26 of file BoostTask.cxx.

◆ BoostTask() [3/3]

Hal::BoostTask::BoostTask ( Double_t vz)

constructor

Parameters
vzx boost component

Definition at line 29 of file BoostTask.cxx.

◆ ~BoostTask()

Hal::BoostTask::~BoostTask ( )
virtual

Definition at line 68 of file BoostTask.cxx.

Member Function Documentation

◆ Exec()

void Hal::BoostTask::Exec ( Option_t * opt)
virtual

called for each event

Parameters
optnot used

Reimplemented from Hal::EventAna.

Definition at line 45 of file BoostTask.cxx.

◆ Init()

Task::EInitFlag Hal::BoostTask::Init ( )
protectedvirtual

initialize task, in principle all derived classes should usually call this method, this method do following steps:

  1. SetInputFile() - set name of the input file
  2. SetFormatOption(EFormatOption::kReaderAccess) - set reader format if no format is set
  1. InitNewCutContainer() - init new container if no container is set
  2. CheckCutContainerCollections()
  3. LinkCollections()
  4. fCutContainer->Init(GetTaskID())
Returns
status of initialization

Reimplemented from Hal::EventAna.

Definition at line 31 of file BoostTask.cxx.

◆ Report()

Package * Hal::BoostTask::Report ( ) const
protectedvirtual

create report that will be saved, derived classes should call this method for base class and add own objects

Returns
report from analysis

Reimplemented from Hal::EventAna.

Definition at line 58 of file BoostTask.cxx.

◆ SetBoost() [1/2]

void Hal::BoostTask::SetBoost ( Double_t vx,
Double_t vy,
Double_t vz,
Option_t * opt = "" )

set boost direction

Parameters
vxx component of velocity
vyy component of velocity
vzz component of velocity
optnot used

Definition at line 50 of file BoostTask.cxx.

◆ SetBoost() [2/2]

void Hal::BoostTask::SetBoost ( Double_t vz,
Option_t * opt = "" )
Parameters
vzz component of velocity
optnot used

Definition at line 56 of file BoostTask.cxx.


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