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

#include <PairAnalysisCutCombi.h>

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

Public Types

enum class  ECutType { kAll = 0 , kAny }
 

Public Member Functions

 PairAnalysisCutCombi ()
 
 PairAnalysisCutCombi (const char *name, const char *title)
 
virtual ~PairAnalysisCutCombi ()
 
void AddCut (AnalysisCuts *cuts, AnalysisCuts *range)
 
void SetCutType (ECutType type)
 
ECutType GetCutType () const
 
Int_t GetNCuts ()
 
virtual Bool_t IsSelected (Double_t *const values)
 
virtual Bool_t IsSelected (TObject *track)
 
virtual Bool_t IsSelected (TList *)
 
virtual UInt_t GetSelectedCutsMask () const
 
virtual void Print (const Option_t *option="") const
 
virtual void Init ()
 
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

 PairAnalysisCutCombi (const PairAnalysisCutCombi &c)
 
PairAnalysisCutCombioperator= (const PairAnalysisCutCombi &c)
 
 ClassDef (AnalysisCuts, 1)
 

Private Attributes

UShort_t fNActiveCuts
 
UInt_t fActiveCutsMask
 
UInt_t fSelectedCutsMask
 
ECutType fCutType
 
AnalysisCutsfRangeCuts [kNmaxCuts]
 
AnalysisCutsfCuts [kNmaxCuts]
 
UInt_t fFilterMask
 
Bool_t fSelected
 

Static Private Attributes

static const Int_t kNmaxCuts = 30
 

Detailed Description

Definition at line 24 of file PairAnalysisCutCombi.h.

Member Enumeration Documentation

◆ ECutType

enum class PairAnalysisCutCombi::ECutType
strong
Enumerator
kAll 
kAny 

Definition at line 27 of file PairAnalysisCutCombi.h.

Constructor & Destructor Documentation

◆ PairAnalysisCutCombi() [1/3]

PairAnalysisCutCombi::PairAnalysisCutCombi ( )

◆ PairAnalysisCutCombi() [2/3]

PairAnalysisCutCombi::PairAnalysisCutCombi ( const char * name,
const char * title )

Definition at line 48 of file PairAnalysisCutCombi.cxx.

References fCuts, fRangeCuts, and kNmaxCuts.

◆ ~PairAnalysisCutCombi()

PairAnalysisCutCombi::~PairAnalysisCutCombi ( )
virtual

Definition at line 65 of file PairAnalysisCutCombi.cxx.

References fCuts, fRangeCuts, and kNmaxCuts.

◆ PairAnalysisCutCombi() [3/3]

PairAnalysisCutCombi::PairAnalysisCutCombi ( const PairAnalysisCutCombi & c)
private

Member Function Documentation

◆ AddCut()

void PairAnalysisCutCombi::AddCut ( AnalysisCuts * cuts,
AnalysisCuts * range )

Definition at line 77 of file PairAnalysisCutCombi.cxx.

References fActiveCutsMask, fCuts, fNActiveCuts, fRangeCuts, kNmaxCuts, and SETBIT.

◆ ClassDef()

AnalysisCuts::ClassDef ( AnalysisCuts ,
1  )
privateinherited

◆ GetCutType()

ECutType PairAnalysisCutCombi::GetCutType ( ) const
inline

Definition at line 43 of file PairAnalysisCutCombi.h.

References fCutType.

◆ GetFilterMask()

virtual UInt_t AnalysisCuts::GetFilterMask ( ) const
inlinevirtualinherited

◆ GetNCuts()

Int_t PairAnalysisCutCombi::GetNCuts ( )
inline

Definition at line 44 of file PairAnalysisCutCombi.h.

References fNActiveCuts.

◆ GetOutput()

virtual TList * AnalysisCuts::GetOutput ( )
inlinevirtualinherited

Definition at line 29 of file AnalysisCuts.h.

◆ GetSelectedCutsMask()

virtual UInt_t PairAnalysisCutCombi::GetSelectedCutsMask ( ) const
inlinevirtual

Definition at line 56 of file PairAnalysisCutCombi.h.

References fSelectedCutsMask.

◆ GetStatistics()

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

Definition at line 30 of file AnalysisCuts.h.

◆ Init()

virtual void AnalysisCuts::Init ( )
inlinevirtualinherited

Reimplemented in PairAnalysisCutGroup.

Definition at line 22 of file AnalysisCuts.h.

Referenced by AnalysisFilter::Init().

◆ IsSelected() [1/3]

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

◆ IsSelected() [2/3]

virtual Bool_t PairAnalysisCutCombi::IsSelected ( TList * )
inlinevirtual

Implements AnalysisCuts.

Definition at line 51 of file PairAnalysisCutCombi.h.

◆ IsSelected() [3/3]

Bool_t PairAnalysisCutCombi::IsSelected ( TObject * track)
virtual

selection

Reimplemented from AnalysisCuts.

Definition at line 95 of file PairAnalysisCutCombi.cxx.

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

◆ Merge()

virtual Long64_t AnalysisCuts::Merge ( TCollection * )
inlinevirtualinherited

Definition at line 28 of file AnalysisCuts.h.

◆ operator=()

PairAnalysisCutCombi & PairAnalysisCutCombi::operator= ( const PairAnalysisCutCombi & c)
private

◆ Print()

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

Definition at line 146 of file PairAnalysisCutCombi.cxx.

References fCuts, fCutType, fNActiveCuts, fRangeCuts, and kAll.

◆ Selected()

virtual UInt_t AnalysisCuts::Selected ( ) const
inlinevirtualinherited

Definition at line 26 of file AnalysisCuts.h.

References AnalysisCuts::fSelected.

Referenced by AnalysisFilter::IsSelected().

◆ SetCutType()

void PairAnalysisCutCombi::SetCutType ( ECutType type)
inline

Definition at line 40 of file PairAnalysisCutCombi.h.

References fCutType.

◆ SetFilterMask()

virtual void AnalysisCuts::SetFilterMask ( UInt_t mask)
inlinevirtualinherited

Definition at line 23 of file AnalysisCuts.h.

References AnalysisCuts::fFilterMask.

◆ SetSelected()

Member Data Documentation

◆ fActiveCutsMask

UInt_t PairAnalysisCutCombi::fActiveCutsMask
private

Definition at line 64 of file PairAnalysisCutCombi.h.

Referenced by AddCut(), and IsSelected().

◆ fCuts

AnalysisCuts* PairAnalysisCutCombi::fCuts[kNmaxCuts]
private

◆ fCutType

ECutType PairAnalysisCutCombi::fCutType
private

Definition at line 67 of file PairAnalysisCutCombi.h.

Referenced by GetCutType(), IsSelected(), Print(), and SetCutType().

◆ fFilterMask

UInt_t AnalysisCuts::fFilterMask
privateinherited

◆ fNActiveCuts

UShort_t PairAnalysisCutCombi::fNActiveCuts
private

Definition at line 63 of file PairAnalysisCutCombi.h.

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

◆ fRangeCuts

AnalysisCuts* PairAnalysisCutCombi::fRangeCuts[kNmaxCuts]
private

◆ fSelected

Bool_t AnalysisCuts::fSelected
privateinherited

◆ fSelectedCutsMask

UInt_t PairAnalysisCutCombi::fSelectedCutsMask
private

Definition at line 66 of file PairAnalysisCutCombi.h.

Referenced by GetSelectedCutsMask(), and IsSelected().

◆ kNmaxCuts

const Int_t PairAnalysisCutCombi::kNmaxCuts = 30
staticprivate

Definition at line 61 of file PairAnalysisCutCombi.h.

Referenced by AddCut(), PairAnalysisCutCombi(), and ~PairAnalysisCutCombi().


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