Belle II Software development
Selector Class Referenceabstract

Abstract base class for curl track selectors. More...

#include <Selector.h>

Inheritance diagram for Selector:
SelectorCut SelectorMVA

Public Member Functions

 Selector ()
 Constructor.
 
virtual ~Selector ()
 Destructor.
 
virtual float getResponse (Particle *, Particle *)=0
 returns selector response after comparing the two particles higher values indicate a higher certainty that the two reconstructed particles correspond to the same underlying true particle
 
virtual std::vector< float > getVariables (Particle *, Particle *)=0
 returns vector of variables used by the selector
 
virtual float getOptimalResponseCut ()
 returns optimal cut to use with selector
 
virtual void initialize ()
 initialise selector if needed
 
virtual void finalize ()
 finalise selector if needed
 
virtual void collectTrainingInfo (Particle *, Particle *)
 collect information for training for mva or other selectors
 

Detailed Description

Abstract base class for curl track selectors.

Definition at line 22 of file Selector.h.

Constructor & Destructor Documentation

◆ Selector()

Selector ( )
inline

Constructor.

Definition at line 26 of file Selector.h.

26{};

◆ ~Selector()

virtual ~Selector ( )
inlinevirtual

Destructor.

Definition at line 29 of file Selector.h.

29{};

Member Function Documentation

◆ collectTrainingInfo()

virtual void collectTrainingInfo ( Particle ,
Particle  
)
inlinevirtual

collect information for training for mva or other selectors

Reimplemented in SelectorMVA.

Definition at line 49 of file Selector.h.

49{};

◆ finalize()

virtual void finalize ( )
inlinevirtual

finalise selector if needed

Reimplemented in SelectorMVA.

Definition at line 46 of file Selector.h.

46{};

◆ getOptimalResponseCut()

virtual float getOptimalResponseCut ( )
inlinevirtual

returns optimal cut to use with selector

Reimplemented in SelectorMVA.

Definition at line 40 of file Selector.h.

40{return 0.5;};

◆ getResponse()

virtual float getResponse ( Particle ,
Particle  
)
pure virtual

returns selector response after comparing the two particles higher values indicate a higher certainty that the two reconstructed particles correspond to the same underlying true particle

Implemented in SelectorCut, and SelectorMVA.

◆ getVariables()

virtual std::vector< float > getVariables ( Particle ,
Particle  
)
pure virtual

returns vector of variables used by the selector

Implemented in SelectorCut, and SelectorMVA.

◆ initialize()

virtual void initialize ( )
inlinevirtual

initialise selector if needed

Reimplemented in SelectorMVA.

Definition at line 43 of file Selector.h.

43{};

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