CbmRoot
Loading...
Searching...
No Matches
PairAnalysisCutGroup Class Reference

#include <PairAnalysisCutGroup.h>

Inheritance diagram for PairAnalysisCutGroup:
[legend]
Collaboration diagram for PairAnalysisCutGroup:
[legend]

Public Types

enum class  ETruthValues { kCompAND = kTRUE , kCompOR = kFALSE }
 

Public Member Functions

 PairAnalysisCutGroup (Bool_t compOperator=static_cast< Bool_t >(ETruthValues::kCompOR))
 
 PairAnalysisCutGroup (const char *name, const char *title, Bool_t compOperator=static_cast< Bool_t >(ETruthValues::kCompOR))
 
virtual ~PairAnalysisCutGroup ()
 
virtual void Init ()
 
virtual Bool_t IsSelected (Double_t *const values)
 
virtual Bool_t IsSelected (TObject *track)
 
virtual Bool_t IsSelected (TList *)
 
void AddCut (AnalysisCuts *fCut)
 
void SetCompOperator (Bool_t compOperator)
 
virtual void Print (const Option_t *option="") const
 
virtual void SetFilterMask (UInt_t mask)
 
virtual UInt_t GetFilterMask () const
 
virtual void SetSelected (Bool_t dec)
 
virtual UInt_t Selected () const
 
virtual Long64_t Merge (TCollection *)
 
virtual TList * GetOutput ()
 
virtual TObject * GetStatistics (Option_t *) const
 

Private Member Functions

 ClassDef (AnalysisCuts, 1)
 

Private Attributes

TList fCutGroupList
 
Bool_t fCompOperator
 
UInt_t fFilterMask
 
Bool_t fSelected
 

Detailed Description

Definition at line 23 of file PairAnalysisCutGroup.h.

Member Enumeration Documentation

◆ ETruthValues

Enumerator
kCompAND 
kCompOR 

Definition at line 26 of file PairAnalysisCutGroup.h.

Constructor & Destructor Documentation

◆ PairAnalysisCutGroup() [1/2]

PairAnalysisCutGroup::PairAnalysisCutGroup ( Bool_t compOperator = static_cast< Bool_t >(ETruthValues::kCompOR))

◆ PairAnalysisCutGroup() [2/2]

PairAnalysisCutGroup::PairAnalysisCutGroup ( const char * name,
const char * title,
Bool_t compOperator = static_cast<Bool_t>(ETruthValues::kCompOR) )

Definition at line 31 of file PairAnalysisCutGroup.cxx.

◆ ~PairAnalysisCutGroup()

PairAnalysisCutGroup::~PairAnalysisCutGroup ( )
virtual

Definition at line 42 of file PairAnalysisCutGroup.cxx.

Member Function Documentation

◆ AddCut()

void PairAnalysisCutGroup::AddCut ( AnalysisCuts * fCut)

Definition at line 101 of file PairAnalysisCutGroup.cxx.

References fCutGroupList.

◆ ClassDef()

AnalysisCuts::ClassDef ( AnalysisCuts ,
1  )
privateinherited

◆ GetFilterMask()

virtual UInt_t AnalysisCuts::GetFilterMask ( ) const
inlinevirtualinherited

◆ GetOutput()

virtual TList * AnalysisCuts::GetOutput ( )
inlinevirtualinherited

Definition at line 29 of file AnalysisCuts.h.

◆ GetStatistics()

virtual TObject * AnalysisCuts::GetStatistics ( Option_t * ) const
inlinevirtualinherited

Definition at line 30 of file AnalysisCuts.h.

◆ Init()

void PairAnalysisCutGroup::Init ( )
virtual

Reimplemented from AnalysisCuts.

Definition at line 50 of file PairAnalysisCutGroup.cxx.

References fCutGroupList.

◆ IsSelected() [1/3]

Bool_t PairAnalysisCutGroup::IsSelected ( Double_t *const values)
virtual

if (selectionResult==kFALSE) break; //Save loops vs. additional check?

Reimplemented from AnalysisCuts.

Definition at line 59 of file PairAnalysisCutGroup.cxx.

References fCompOperator, fCutGroupList, and kCompOR.

Referenced by IsSelected().

◆ IsSelected() [2/3]

virtual Bool_t PairAnalysisCutGroup::IsSelected ( TList * )
inlinevirtual

Implements AnalysisCuts.

Definition at line 43 of file PairAnalysisCutGroup.h.

◆ IsSelected() [3/3]

Bool_t PairAnalysisCutGroup::IsSelected ( TObject * track)
virtual

PairAnalysisVarManager::SetFillMap(fUsedVars);

selection

Reimplemented from AnalysisCuts.

Definition at line 82 of file PairAnalysisCutGroup.cxx.

References PairAnalysisVarManager::Fill(), PairAnalysisVarManager::GetData(), and IsSelected().

◆ Merge()

virtual Long64_t AnalysisCuts::Merge ( TCollection * )
inlinevirtualinherited

Definition at line 28 of file AnalysisCuts.h.

◆ Print()

void PairAnalysisCutGroup::Print ( const Option_t * option = "") const
virtual

Definition at line 121 of file PairAnalysisCutGroup.cxx.

References fCompOperator, fCutGroupList, and kCompAND.

◆ Selected()

virtual UInt_t AnalysisCuts::Selected ( ) const
inlinevirtualinherited

Definition at line 26 of file AnalysisCuts.h.

References AnalysisCuts::fSelected.

Referenced by AnalysisFilter::IsSelected().

◆ SetCompOperator()

void PairAnalysisCutGroup::SetCompOperator ( Bool_t compOperator)

Definition at line 111 of file PairAnalysisCutGroup.cxx.

References fCompOperator.

◆ SetFilterMask()

virtual void AnalysisCuts::SetFilterMask ( UInt_t mask)
inlinevirtualinherited

Definition at line 23 of file AnalysisCuts.h.

References AnalysisCuts::fFilterMask.

◆ SetSelected()

Member Data Documentation

◆ fCompOperator

Bool_t PairAnalysisCutGroup::fCompOperator
private

Definition at line 53 of file PairAnalysisCutGroup.h.

Referenced by IsSelected(), Print(), and SetCompOperator().

◆ fCutGroupList

TList PairAnalysisCutGroup::fCutGroupList
private

Definition at line 52 of file PairAnalysisCutGroup.h.

Referenced by AddCut(), Init(), IsSelected(), and Print().

◆ fFilterMask

UInt_t AnalysisCuts::fFilterMask
privateinherited

◆ fSelected

Bool_t AnalysisCuts::fSelected
privateinherited

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