Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::SplittingToStatusTask Class Reference
Inheritance diagram for Hal::SplittingToStatusTask:
Hal::EventAna Hal::Task

Public Member Functions

 SplittingToStatusTask (const SplittingToStatusTask &other)
 
virtual void AddCut (const Cut &, Option_t *)
 
virtual void Exec (Option_t *opt="")
 
SplittingToStatusTaskoperator= (const SplittingToStatusTask &other)
 
- Public Member Functions inherited from Hal::EventAna
 EventAna ()
 
 EventAna (const EventAna &ana)
 
EventAnaoperator= (const EventAna &other)
 
virtual void AddTags (TString tag)
 
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

virtual Task::EInitFlag CheckFormat ()
 
virtual Task::EInitFlag Init ()
 
- 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 ()
 
Int_t GetTaskID () const
 
virtual void LinkCollections ()
 
virtual void ProcessEvent ()
 
virtual void InitNewCutContainer ()
 
virtual void CheckCutContainerCollections ()
 
virtual PackageReport () const
 
 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

Definition at line 22 of file SplittingToStatusTask.h.

Constructor & Destructor Documentation

◆ SplittingToStatusTask() [1/2]

Hal::SplittingToStatusTask::SplittingToStatusTask ( )

Definition at line 24 of file SplittingToStatusTask.cxx.

◆ SplittingToStatusTask() [2/2]

Hal::SplittingToStatusTask::SplittingToStatusTask ( const SplittingToStatusTask & other)

Definition at line 70 of file SplittingToStatusTask.cxx.

◆ ~SplittingToStatusTask()

Hal::SplittingToStatusTask::~SplittingToStatusTask ( )
virtual

Definition at line 26 of file SplittingToStatusTask.cxx.

Member Function Documentation

◆ AddCut()

virtual void Hal::SplittingToStatusTask::AddCut ( const Cut & cut,
Option_t * opt )
inlinevirtual

add cut object

Parameters
cut
optcan be "fast", with multiplying factor "{AxB}" (where A is number of added cuts, and B is jump in collection value), like "{A}" (then cut is added with collection number A), also mixed versions like "fast+{AxB}" and "fast+{A}" can be used. For two track analysis option "sig" add cut only for signal pairs and "bckg" only for background pairs. It's also possible to add in this way pure real or pure imaginary cuts. For example by adding TrackXCut with "im" option TrackComplexCut(TrackVirtualCut, TrackXCut) is added.

Reimplemented from Hal::EventAna.

Definition at line 32 of file SplittingToStatusTask.h.

◆ CheckFormat()

Task::EInitFlag Hal::SplittingToStatusTask::CheckFormat ( )
protectedvirtual

check if format set in analysis is ok

Returns

Reimplemented from Hal::EventAna.

Definition at line 28 of file SplittingToStatusTask.cxx.

◆ Exec()

void Hal::SplittingToStatusTask::Exec ( Option_t * opt = "")
virtual

called for each event

Parameters
optnot used

Reimplemented from Hal::EventAna.

Definition at line 43 of file SplittingToStatusTask.cxx.

◆ Init()

Task::EInitFlag Hal::SplittingToStatusTask::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 36 of file SplittingToStatusTask.cxx.

◆ operator=()

SplittingToStatusTask & Hal::SplittingToStatusTask::operator= ( const SplittingToStatusTask & other)

Definition at line 73 of file SplittingToStatusTask.cxx.


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