CbmRoot
PairAnalysisCutCombi Class Reference

#include <PairAnalysisCutCombi.h>

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

Public Types

enum  CutType { kAll = 0, kAny }
 

Public Member Functions

 PairAnalysisCutCombi ()
 
 PairAnalysisCutCombi (const char *name, const char *title)
 
virtual ~PairAnalysisCutCombi ()
 
void AddCut (AnalysisCuts *cuts, AnalysisCuts *range)
 
void SetCutType (CutType type)
 
CutType 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 Types

enum  { kNmaxCuts = 30 }
 

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
 
CutType fCutType
 
AnalysisCutsfRangeCuts [kNmaxCuts]
 
AnalysisCutsfCuts [kNmaxCuts]
 
UInt_t fFilterMask
 
Bool_t fSelected
 

Detailed Description

Definition at line 20 of file PairAnalysisCutCombi.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
kNmaxCuts 

Definition at line 53 of file PairAnalysisCutCombi.h.

◆ CutType

Enumerator
kAll 
kAny 

Definition at line 23 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 53 of file PairAnalysisCutCombi.cxx.

References fCuts, fRangeCuts, i, and kNmaxCuts.

◆ ~PairAnalysisCutCombi()

PairAnalysisCutCombi::~PairAnalysisCutCombi ( )
virtual

Definition at line 69 of file PairAnalysisCutCombi.cxx.

References fCuts, fRangeCuts, i, 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 80 of file PairAnalysisCutCombi.cxx.

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

◆ ClassDef()

AnalysisCuts::ClassDef ( AnalysisCuts  ,
 
)
privateinherited

◆ GetCutType()

CutType PairAnalysisCutCombi::GetCutType ( ) const
inline

Definition at line 35 of file PairAnalysisCutCombi.h.

References fCutType.

◆ GetFilterMask()

virtual UInt_t AnalysisCuts::GetFilterMask ( ) const
inlinevirtualinherited

Definition at line 24 of file AnalysisCuts.h.

References AnalysisCuts::fFilterMask.

Referenced by AnalysisFilter::IsSelected().

◆ GetNCuts()

Int_t PairAnalysisCutCombi::GetNCuts ( )
inline

Definition at line 36 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 48 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 43 of file PairAnalysisCutCombi.h.

◆ IsSelected() [3/3]

Bool_t PairAnalysisCutCombi::IsSelected ( TObject *  track)
virtual

selection

Reimplemented from AnalysisCuts.

Definition at line 97 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 ( CutType  type)
inline

Definition at line 32 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()

virtual void AnalysisCuts::SetSelected ( Bool_t  dec)
inlinevirtualinherited

Member Data Documentation

◆ fActiveCutsMask

UInt_t PairAnalysisCutCombi::fActiveCutsMask
private

Definition at line 56 of file PairAnalysisCutCombi.h.

Referenced by AddCut(), and IsSelected().

◆ fCuts

AnalysisCuts* PairAnalysisCutCombi::fCuts[kNmaxCuts]
private

◆ fCutType

CutType PairAnalysisCutCombi::fCutType
private

Definition at line 60 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 55 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 59 of file PairAnalysisCutCombi.h.

Referenced by GetSelectedCutsMask(), and IsSelected().


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