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

#include <V0BasicFinder.h>

Inheritance diagram for Hal::V0BasicFinder:
Hal::TrackAna Hal::EventAna Hal::Task

Public Member Functions

void Write ()
 
virtual void Exec (Option_t *option)
 
void SetPDG (Int_t dau1, Int_t dau2, Int_t v0)
 
void SetV0Container (const V0Candidate &vo)
 
virtual void AddNegDauCut (const TrackCut &dau_neg, Option_t *opt="")
 
virtual void AddPosDauCut (const TrackCut &pos_cut, Option_t *opt="")
 
virtual void AddNegDauCutMon (const CutMonitor &mon, Option_t *opt="")
 
virtual void AddPosDauCutMon (const CutMonitor &mon, Option_t *opt="")
 
virtual void AddCandicateCut (const TwoTrackCut &obj, Option_t *opt="")
 
virtual void AddCandicateCutMon (const CutMonitor &mon, Option_t *opt="")
 
virtual void AddCut (const Cut &, Option_t *)
 
virtual void AddCutMonitor (const CutMonitor &, Option_t *)
 
virtual PackageReport () const
 
- Public Member Functions inherited from Hal::TrackAna
 TrackAna (const TrackAna &ana)
 
TrackAnaoperator= (const TrackAna &other)
 
virtual void SetOption (Option_t *option)
 
virtual void FinishTask ()
 
- Public Member Functions inherited from Hal::EventAna
 EventAna ()
 
 EventAna (const EventAna &ana)
 
EventAnaoperator= (const EventAna &other)
 
virtual void AddTags (TString tag)
 
virtual void AddCutsAndMonitors (const CutsAndMonitors &monCuts)
 
void SetFormatOption (EFormatOption option)
 
virtual void SetComment (TString comment)
 
virtual void SetFormat (Event *format, EFormatDepth depth=EFormatDepth::kAll)
 
virtual ~EventAna ()
 
- Public Member Functions inherited from Hal::Task
 Task ()
 

Protected Member Functions

virtual void ProcessEvent ()
 
virtual Task::EInitFlag Init ()
 
virtual void LinkCollections ()
 
- Protected Member Functions inherited from Hal::TrackAna
virtual void ProcessTrack ()
 
virtual void CheckCutContainerCollections ()
 
 TrackAna (ECutUpdate tiers)
 
- 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 InitNewCutContainer ()
 
 EventAna (ECutUpdate tiers)
 
- Protected Member Functions inherited from Hal::Task
void GoToDir (TString name)
 

Protected Attributes

Int_t fPosPdg
 
Int_t fNegPdg
 
Int_t fV0Pdg
 
Double_t fPosMass
 
Double_t fNegMass
 
Double_t fV0Mass
 
Bool_t fFirstV0Finder
 
Bool_t fWrite
 
V0CandidatefV0Candiate
 
TClonesArray * fV0Tracks
 
- Protected Attributes inherited from Hal::TrackAna
Int_t fTrackCollectionsNo
 
Int_t fCurrentTrackCollectionID
 
Int_t fTrackIndex
 
TrackfCurrentTrack
 
- 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
 

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
}
 

Detailed Description

basic class for finding V0 particles don't use AddCut AddCutMonitor mehtods here

Definition at line 29 of file V0BasicFinder.h.

Constructor & Destructor Documentation

◆ V0BasicFinder()

Hal::V0BasicFinder::V0BasicFinder ( )

Definition at line 35 of file V0BasicFinder.cxx.

◆ ~V0BasicFinder()

Hal::V0BasicFinder::~V0BasicFinder ( )
virtual

Definition at line 105 of file V0BasicFinder.cxx.

Member Function Documentation

◆ AddCandicateCut()

void Hal::V0BasicFinder::AddCandicateCut ( const TwoTrackCut & obj,
Option_t * opt = "" )
virtual

cut for V0 candidates

Parameters
obj
optcan be "fast"

Definition at line 125 of file V0BasicFinder.cxx.

◆ AddCandicateCutMon()

void Hal::V0BasicFinder::AddCandicateCutMon ( const CutMonitor & mon,
Option_t * opt = "" )
virtual

add cut monitor for V0 candidates

Parameters
mon
optnot used

Definition at line 127 of file V0BasicFinder.cxx.

◆ AddCut()

virtual void Hal::V0BasicFinder::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 99 of file V0BasicFinder.h.

◆ AddCutMonitor()

virtual void Hal::V0BasicFinder::AddCutMonitor ( const CutMonitor & mon,
Option_t * opt )
inlinevirtual

add cut monitor object

Parameters
mon
optoption of adding cut monitor. Following options are allowed: "bckg" to add only to background, "sig" to add only in singal (both flags are valid only for analysis where signal and background is present). Other options are like "{AxB}" where A is number of cut monitors, and B is jumb in collection number, eg. {2x3} mean adding cut with collection N, N+3. User might also set option like "{A}" where A is collection number. Combination of those options are allowed. Its's also possible to monitor pure "real" cuts or pure imaginary cuts but setting option "+re" or "+im" respectively

Reimplemented from Hal::EventAna.

Definition at line 100 of file V0BasicFinder.h.

◆ AddNegDauCut()

void Hal::V0BasicFinder::AddNegDauCut ( const TrackCut & dau_neg,
Option_t * opt = "" )
virtual

set cut for negative dauther

Parameters
dau_neg
optuse "fast" to create fast cut

Definition at line 107 of file V0BasicFinder.cxx.

◆ AddNegDauCutMon()

void Hal::V0BasicFinder::AddNegDauCutMon ( const CutMonitor & mon,
Option_t * opt = "" )
virtual

add cut monitor for negative dauther

Parameters
mon
optnot used

Definition at line 137 of file V0BasicFinder.cxx.

◆ AddPosDauCut()

void Hal::V0BasicFinder::AddPosDauCut ( const TrackCut & pos_cut,
Option_t * opt = "" )
virtual

set cut for positive daugher selection

Parameters
pos_cut
optuser fast" to create fast cut

Definition at line 116 of file V0BasicFinder.cxx.

◆ AddPosDauCutMon()

void Hal::V0BasicFinder::AddPosDauCutMon ( const CutMonitor & mon,
Option_t * opt = "" )
virtual

add cut monitor for postive daughther

Parameters
mon
optnot used

Definition at line 139 of file V0BasicFinder.cxx.

◆ Exec()

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

called for each event

Parameters
optnot used

Reimplemented from Hal::TrackAna.

Definition at line 100 of file V0BasicFinder.cxx.

◆ Init()

Task::EInitFlag Hal::V0BasicFinder::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::TrackAna.

Definition at line 48 of file V0BasicFinder.cxx.

◆ LinkCollections()

void Hal::V0BasicFinder::LinkCollections ( )
protectedvirtual

link collections

Reimplemented from Hal::TrackAna.

Definition at line 141 of file V0BasicFinder.cxx.

◆ ProcessEvent()

void Hal::V0BasicFinder::ProcessEvent ( )
protectedvirtual

process event, can be be overwritten in derived classes

Reimplemented from Hal::TrackAna.

Definition at line 84 of file V0BasicFinder.cxx.

◆ Report()

Package * Hal::V0BasicFinder::Report ( ) const
virtual

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::TrackAna.

Definition at line 76 of file V0BasicFinder.cxx.

◆ SetPDG()

void Hal::V0BasicFinder::SetPDG ( Int_t dau1,
Int_t dau2,
Int_t v0 )

assumed PDS's

Parameters
dau1postive daughter
dau2negative daughter
v0v0 particle

Definition at line 129 of file V0BasicFinder.cxx.

◆ SetV0Container()

void Hal::V0BasicFinder::SetV0Container ( const V0Candidate & vo)

defines the V0 candidate that will be used for creation of V0 VO candidate is responsigle for finding minimal distance between reconstructed particles, and momentum at this point (decay vertex)

Parameters
vo

Definition at line 135 of file V0BasicFinder.cxx.

◆ Write()

void Hal::V0BasicFinder::Write ( )
inline

Definition at line 47 of file V0BasicFinder.h.

Member Data Documentation

◆ fFirstV0Finder

Bool_t Hal::V0BasicFinder::fFirstV0Finder
protected

Definition at line 37 of file V0BasicFinder.h.

◆ fNegMass

Double_t Hal::V0BasicFinder::fNegMass
protected

Definition at line 35 of file V0BasicFinder.h.

◆ fNegPdg

Int_t Hal::V0BasicFinder::fNegPdg
protected

Definition at line 32 of file V0BasicFinder.h.

◆ fPosMass

Double_t Hal::V0BasicFinder::fPosMass
protected

Definition at line 34 of file V0BasicFinder.h.

◆ fPosPdg

Int_t Hal::V0BasicFinder::fPosPdg
protected

Definition at line 31 of file V0BasicFinder.h.

◆ fV0Candiate

V0Candidate* Hal::V0BasicFinder::fV0Candiate
protected

Definition at line 39 of file V0BasicFinder.h.

◆ fV0Mass

Double_t Hal::V0BasicFinder::fV0Mass
protected

Definition at line 36 of file V0BasicFinder.h.

◆ fV0Pdg

Int_t Hal::V0BasicFinder::fV0Pdg
protected

Definition at line 33 of file V0BasicFinder.h.

◆ fV0Tracks

TClonesArray* Hal::V0BasicFinder::fV0Tracks
protected

Definition at line 40 of file V0BasicFinder.h.

◆ fWrite

Bool_t Hal::V0BasicFinder::fWrite
protected

Definition at line 38 of file V0BasicFinder.h.


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