BOSS 7.0.7
BESIII Offline Software System
Loading...
Searching...
No Matches
Criteria Struct Reference

#include <Criteria.h>

Public Member Functions

 Criteria (double inv_min=0.10, double inv_max=0.18)
 
virtual bool check (const GammaPair &gp) const
 

Public Attributes

double _inv_min
 
double _inv_max
 

Detailed Description

Definition at line 52 of file Criteria.h.

Constructor & Destructor Documentation

◆ Criteria()

Criteria::Criteria ( double  inv_min = 0.10,
double  inv_max = 0.18 
)
inline

Definition at line 54 of file Criteria.h.

54:_inv_min(inv_min), _inv_max(inv_max){;}
double _inv_max
Definition: Criteria.h:56
double _inv_min
Definition: Criteria.h:55

Member Function Documentation

◆ check()

virtual bool Criteria::check ( const GammaPair gp) const
inlinevirtual

Definition at line 57 of file Criteria.h.

58 {
59 // std::cout<<"gp.inv_m"<<gp.inv_m<<" inv_min"<<_inv_min<<std::endl;
60 if( gp.inv_m> _inv_min && gp.inv_m < _inv_max) return true;
61 else return false;
62 }
double inv_m
Definition: Criteria.h:32

Referenced by Pi0::apply_criteria().

Member Data Documentation

◆ _inv_max

double Criteria::_inv_max

Definition at line 56 of file Criteria.h.

Referenced by check().

◆ _inv_min

double Criteria::_inv_min

Definition at line 55 of file Criteria.h.

Referenced by check().


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