CbmRoot
PairAnalysisCutGroup Class Reference

#include <PairAnalysisCutGroup.h>

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

Public Types

enum  TruthValues { kCompAND = kTRUE, kCompOR = kFALSE }
 

Public Member Functions

 PairAnalysisCutGroup (Bool_t compOperator=kCompOR)
 
 PairAnalysisCutGroup (const char *name, const char *title, Bool_t compOperator=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

◆ TruthValues

Enumerator
kCompAND 
kCompOR 

Definition at line 26 of file PairAnalysisCutGroup.h.

Constructor & Destructor Documentation

◆ PairAnalysisCutGroup() [1/2]

PairAnalysisCutGroup::PairAnalysisCutGroup ( Bool_t  compOperator = kCompOR)

◆ PairAnalysisCutGroup() [2/2]

PairAnalysisCutGroup::PairAnalysisCutGroup ( const char *  name,
const char *  title,
Bool_t  compOperator = kCompOR 
)

Definition at line 27 of file PairAnalysisCutGroup.cxx.

◆ ~PairAnalysisCutGroup()

PairAnalysisCutGroup::~PairAnalysisCutGroup ( )
virtual

Definition at line 37 of file PairAnalysisCutGroup.cxx.

Member Function Documentation

◆ AddCut()

void PairAnalysisCutGroup::AddCut ( AnalysisCuts fCut)

Definition at line 91 of file PairAnalysisCutGroup.cxx.

References fCutGroupList.

◆ ClassDef()

AnalysisCuts::ClassDef ( AnalysisCuts  ,
 
)
privateinherited

◆ GetFilterMask()

virtual UInt_t AnalysisCuts::GetFilterMask ( ) const
inlinevirtualinherited

Definition at line 24 of file AnalysisCuts.h.

References AnalysisCuts::fFilterMask.

Referenced by AnalysisFilter::IsSelected().

◆ 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 44 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 52 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 40 of file PairAnalysisCutGroup.h.

◆ IsSelected() [3/3]

Bool_t PairAnalysisCutGroup::IsSelected ( TObject *  track)
virtual

PairAnalysisVarManager::SetFillMap(fUsedVars);

selection

Reimplemented from AnalysisCuts.

Definition at line 73 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 109 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 100 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()

virtual void AnalysisCuts::SetSelected ( Bool_t  dec)
inlinevirtualinherited

Member Data Documentation

◆ fCompOperator

Bool_t PairAnalysisCutGroup::fCompOperator
private

Definition at line 50 of file PairAnalysisCutGroup.h.

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

◆ fCutGroupList

TList PairAnalysisCutGroup::fCutGroupList
private

Definition at line 49 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: