Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::TwoTrackAnaChain Class Reference
Inheritance diagram for Hal::TwoTrackAnaChain:
Hal::TwoTrackAna Hal::MultiTrackAna Hal::TrackAna Hal::EventAna Hal::Task

Public Member Functions

 TwoTrackAnaChain (Bool_t use_background)
 
virtual void AddAnalysis (TwoTrackAna *ana)
 
virtual void FinishTask ()
 
- Public Member Functions inherited from Hal::TwoTrackAna
 TwoTrackAna (Bool_t use_background=kFALSE)
 
 TwoTrackAna (const TwoTrackAna &ana)
 
TwoTrackAnaoperator= (const TwoTrackAna &other)
 
void SetMixSize (Int_t mixsize)
 
void ProceedWithEmtyEvents (Bool_t proceed)
 
virtual void SetOption (Option_t *option)
 
void EnableNonIdentical ()
 
- Public Member Functions inherited from Hal::MultiTrackAna
 MultiTrackAna (const MultiTrackAna &ana)
 
MultiTrackAnaoperator= (const MultiTrackAna &other)
 
void SetMixSize (Int_t to_mix)
 
void SetFormatBuffered (Event *format)
 
- Public Member Functions inherited from Hal::TrackAna
 TrackAna (const TrackAna &ana)
 
TrackAnaoperator= (const TrackAna &other)
 
virtual 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)
 
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

void RemoveTask (Int_t no)
 
void ProcessEvent ()
 
void ProcessPair ()
 
void ProcessPair2 ()
 
void ProcessPair_Mixed ()
 
void ProcessPair2_Mixed ()
 
void ProcessPair_Perfect ()
 
void ProcessPair2_Perfect ()
 
void ProcessPair_Rotated ()
 
void ProcessPair2_Rotated ()
 
void ProcessPair_Hemisphere ()
 
void ProcessPair2_Hemisphere ()
 
void ProcessPair_ChargedId ()
 
void ProcessPair_ChargedNId ()
 
void ProcessPair_Charged2 ()
 
void ProcessPair2_Charged2 ()
 
void ProcessPair_Charged3 ()
 
void ProcessPair2_Charged3 ()
 
void ProcessTrack ()
 
virtual void FinishEventNonIdentical ()
 
virtual void FinishEventIdentical ()
 
virtual PackageReport () const
 
virtual void LinkTask (TwoTrackAna *ana) const
 
virtual void UnlinkTask (TwoTrackAna *ana) const
 
virtual void SynchronizeCutContainers (TwoTrackAna *ana, Bool_t end) const
 
virtual Task::EInitFlag Init ()
 
- Protected Member Functions inherited from Hal::TwoTrackAna
virtual void SetTags ()
 
Bool_t IdenticalParticles () const
 
virtual void SetPairHiddenInfo ()
 
virtual void DeleteHiddenPairInfo ()
 
virtual void InitNewCutContainer ()
 
virtual void CheckCutContainerCollections ()
 
virtual void LinkCollections ()
 
- Protected Member Functions inherited from Hal::MultiTrackAna
virtual Task::EInitFlag CheckFormat ()
 
 MultiTrackAna (ECutUpdate tiers)
 
- Protected Member Functions inherited from Hal::TrackAna
 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 ()
 
Int_t GetTaskID () const
 
 EventAna (ECutUpdate tiers)
 
- Protected Member Functions inherited from Hal::Task
void GoToDir (TString name)
 

Additional Inherited Members

- Public Types inherited from Hal::TwoTrackAna
enum  EAnaMode {
  kPerfectPairs , kPerfectPairsID , kPerfectPairsNID , kMixedPairs ,
  kMixedPairsID , kMixedPairsNID , kRotatedPairs , kRotatedPairsID ,
  kRotatedPairsNID , kHemispherePairs , kHemispherePairsID , kHemispherePairsNID ,
  kNoBackgroundID , kNoBackgroundNID , kNoBackground , kCharged ,
  kChargedID2 , kChargedID3 , kChargedNID2 , kChargedNID3
}
 
- 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 }
 
- Static Public Member Functions inherited from Hal::TwoTrackAna
static TString BackgroundOptionMixed ()
 
static TString BackgroundOptionPerfect ()
 
static TString BackgroundOptionRotated ()
 
static TString BackgroundOptionHemisphere ()
 
static TString BackgroundOptionCharge ()
 
static TString BackgroundOptionNoBackground ()
 
static TwoTrack::PairType GetPairType (EAnaMode mode)
 
- Protected Types inherited from Hal::EventAna
enum  eBitFormat {
  kCompression = 0 , kSource = 1 , kDirectAcesss = 2 , kReader = 3 ,
  kChecking = 4
}
 
- Protected Attributes inherited from Hal::TwoTrackAna
EAnaMode fBackgroundMode
 
Int_t fCurrentPairCollectionID
 
Int_t fTwoTrackCollectionsNo
 
Int_t fTwoTrackCollectionsNoBackground
 
TwoTrackfCurrentSignalPair
 
TwoTrackfCurrentBackgroundPair
 
- 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
 

Detailed Description

Definition at line 21 of file TwoTrackAnaChain.h.

Constructor & Destructor Documentation

◆ TwoTrackAnaChain() [1/2]

Hal::TwoTrackAnaChain::TwoTrackAnaChain ( )

Definition at line 34 of file TwoTrackAnaChain.cxx.

◆ TwoTrackAnaChain() [2/2]

Hal::TwoTrackAnaChain::TwoTrackAnaChain ( Bool_t use_background)

default constructor

Parameters
use_backgroundtrue if background must be used

Definition at line 30 of file TwoTrackAnaChain.cxx.

◆ ~TwoTrackAnaChain()

Hal::TwoTrackAnaChain::~TwoTrackAnaChain ( )
virtual

Definition at line 425 of file TwoTrackAnaChain.cxx.

Member Function Documentation

◆ AddAnalysis()

void Hal::TwoTrackAnaChain::AddAnalysis ( TwoTrackAna * ana)
virtual

add subtask to chain

Parameters
ana

Definition at line 72 of file TwoTrackAnaChain.cxx.

◆ FinishEventIdentical()

void Hal::TwoTrackAnaChain::FinishEventIdentical ( )
protectedvirtual

finish event where pairs in signal are made from identical particles

Reimplemented from Hal::TwoTrackAna.

Definition at line 323 of file TwoTrackAnaChain.cxx.

◆ FinishEventNonIdentical()

void Hal::TwoTrackAnaChain::FinishEventNonIdentical ( )
protectedvirtual

finish event where pairs in signal are made from identical particles

Reimplemented from Hal::TwoTrackAna.

Definition at line 268 of file TwoTrackAnaChain.cxx.

◆ FinishTask()

void Hal::TwoTrackAnaChain::FinishTask ( )
virtual

called at the end of analysis save resutls

Reimplemented from Hal::TwoTrackAna.

Definition at line 107 of file TwoTrackAnaChain.cxx.

◆ Init()

Task::EInitFlag Hal::TwoTrackAnaChain::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::TwoTrackAna.

Definition at line 137 of file TwoTrackAnaChain.cxx.

◆ LinkTask()

void Hal::TwoTrackAnaChain::LinkTask ( TwoTrackAna * ana) const
protectedvirtual

overwrite ana data holders with this data holders

Parameters
ana

Definition at line 385 of file TwoTrackAnaChain.cxx.

◆ ProcessEvent()

void Hal::TwoTrackAnaChain::ProcessEvent ( )
protectedvirtual

process event, can be be overwritten in derived classes

Reimplemented from Hal::TwoTrackAna.

Definition at line 50 of file TwoTrackAnaChain.cxx.

◆ ProcessPair()

void Hal::TwoTrackAnaChain::ProcessPair ( )
protectedvirtual

process pair of identical particles in signal

Reimplemented from Hal::TwoTrackAna.

Definition at line 156 of file TwoTrackAnaChain.cxx.

◆ ProcessPair2()

void Hal::TwoTrackAnaChain::ProcessPair2 ( )
protectedvirtual

process pair of non-identical particles in signal

Reimplemented from Hal::TwoTrackAna.

Definition at line 163 of file TwoTrackAnaChain.cxx.

◆ ProcessPair2_Charged2()

void Hal::TwoTrackAnaChain::ProcessPair2_Charged2 ( )
protectedvirtual

process pair of identical particles in charged background (where singlal is made from non-identical particles)

Reimplemented from Hal::TwoTrackAna.

Definition at line 247 of file TwoTrackAnaChain.cxx.

◆ ProcessPair2_Charged3()

void Hal::TwoTrackAnaChain::ProcessPair2_Charged3 ( )
protectedvirtual

process pair of identical particles in charged background (where singlal is made from non-identical particles)

Reimplemented from Hal::TwoTrackAna.

Definition at line 261 of file TwoTrackAnaChain.cxx.

◆ ProcessPair2_Hemisphere()

void Hal::TwoTrackAnaChain::ProcessPair2_Hemisphere ( )
protectedvirtual

process pair of non-identical particles in hemisphere background

Reimplemented from Hal::TwoTrackAna.

Definition at line 219 of file TwoTrackAnaChain.cxx.

◆ ProcessPair2_Mixed()

void Hal::TwoTrackAnaChain::ProcessPair2_Mixed ( )
protectedvirtual

process pair of non-identical particles in mixed background

Reimplemented from Hal::TwoTrackAna.

Definition at line 177 of file TwoTrackAnaChain.cxx.

◆ ProcessPair2_Perfect()

void Hal::TwoTrackAnaChain::ProcessPair2_Perfect ( )
protectedvirtual

process pair of identical non-particles in perfect background

Reimplemented from Hal::TwoTrackAna.

Definition at line 191 of file TwoTrackAnaChain.cxx.

◆ ProcessPair2_Rotated()

void Hal::TwoTrackAnaChain::ProcessPair2_Rotated ( )
protectedvirtual

process pair of non-identical particles in rotated background

Reimplemented from Hal::TwoTrackAna.

Definition at line 205 of file TwoTrackAnaChain.cxx.

◆ ProcessPair_Charged2()

void Hal::TwoTrackAnaChain::ProcessPair_Charged2 ( )
protectedvirtual

process pair of non-identical particles in charged background (where singlal is made from identical particles)

Reimplemented from Hal::TwoTrackAna.

Definition at line 240 of file TwoTrackAnaChain.cxx.

◆ ProcessPair_Charged3()

void Hal::TwoTrackAnaChain::ProcessPair_Charged3 ( )
protectedvirtual

process pair of non-identical particles in charged background (where singlal is made from identical particles)

Reimplemented from Hal::TwoTrackAna.

Definition at line 254 of file TwoTrackAnaChain.cxx.

◆ ProcessPair_ChargedId()

void Hal::TwoTrackAnaChain::ProcessPair_ChargedId ( )
protectedvirtual

process pair of identical particles in charged background

Reimplemented from Hal::TwoTrackAna.

Definition at line 226 of file TwoTrackAnaChain.cxx.

◆ ProcessPair_ChargedNId()

void Hal::TwoTrackAnaChain::ProcessPair_ChargedNId ( )
protectedvirtual

process pair of non-identical particles in charged background

Reimplemented from Hal::TwoTrackAna.

Definition at line 233 of file TwoTrackAnaChain.cxx.

◆ ProcessPair_Hemisphere()

void Hal::TwoTrackAnaChain::ProcessPair_Hemisphere ( )
protectedvirtual

process pair of identical particles in hemisphere background

Reimplemented from Hal::TwoTrackAna.

Definition at line 212 of file TwoTrackAnaChain.cxx.

◆ ProcessPair_Mixed()

void Hal::TwoTrackAnaChain::ProcessPair_Mixed ( )
protectedvirtual

process pair of identical particles in mixed background

Reimplemented from Hal::TwoTrackAna.

Definition at line 170 of file TwoTrackAnaChain.cxx.

◆ ProcessPair_Perfect()

void Hal::TwoTrackAnaChain::ProcessPair_Perfect ( )
protectedvirtual

process pair of identical particles in perfect background

Reimplemented from Hal::TwoTrackAna.

Definition at line 184 of file TwoTrackAnaChain.cxx.

◆ ProcessPair_Rotated()

void Hal::TwoTrackAnaChain::ProcessPair_Rotated ( )
protectedvirtual

process pair of identical particles in rotated background

Reimplemented from Hal::TwoTrackAna.

Definition at line 198 of file TwoTrackAnaChain.cxx.

◆ ProcessTrack()

void Hal::TwoTrackAnaChain::ProcessTrack ( )
protectedvirtual

method for processing track, should be overwritten in derived class if they process tracks

Reimplemented from Hal::MultiTrackAna.

Definition at line 65 of file TwoTrackAnaChain.cxx.

◆ RemoveTask()

void Hal::TwoTrackAnaChain::RemoveTask ( Int_t no)
protected

Definition at line 36 of file TwoTrackAnaChain.cxx.

◆ Report()

Package * Hal::TwoTrackAnaChain::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::TwoTrackAna.

Definition at line 57 of file TwoTrackAnaChain.cxx.

◆ SynchronizeCutContainers()

void Hal::TwoTrackAnaChain::SynchronizeCutContainers ( TwoTrackAna * ana,
Bool_t end ) const
protectedvirtual

synchronize cut monitors and cuts

Parameters
ana
end- if yes then links to higher cuts are linked - this value should be true before ana->Init() and false later

Definition at line 411 of file TwoTrackAnaChain.cxx.

◆ UnlinkTask()

void Hal::TwoTrackAnaChain::UnlinkTask ( TwoTrackAna * ana) const
protectedvirtual

disconnect ana data holders with this data holders

Parameters
ana

Definition at line 401 of file TwoTrackAnaChain.cxx.


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