BOSS 7.1.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtAbsBinning< T > Class Template Referenceabstract

#include <EvtAbsBinning.hh>

Public Member Functions

 EvtAbsBinning ()
 
 EvtAbsBinning (const EvtAbsBinning< T > &other)
 
virtual ~EvtAbsBinning ()
 
virtual EvtAbsBinning< T > * clone () const =0
 
virtual int getBin (const T &point) const =0
 
virtual T getBinPoint (int bin) const =0
 
virtual double size (int bin) const =0
 
virtual int nTypes () const =0
 
virtual char * typeLabel (int i) const
 

Detailed Description

template<class T>
class EvtAbsBinning< T >

Definition at line 20 of file EvtAbsBinning.hh.

Constructor & Destructor Documentation

◆ EvtAbsBinning() [1/2]

template<class T >
EvtAbsBinning< T >::EvtAbsBinning ( )
inline

Definition at line 23 of file EvtAbsBinning.hh.

24 {}

◆ EvtAbsBinning() [2/2]

template<class T >
EvtAbsBinning< T >::EvtAbsBinning ( const EvtAbsBinning< T > &  other)
inline

Definition at line 25 of file EvtAbsBinning.hh.

26 {}

◆ ~EvtAbsBinning()

template<class T >
virtual EvtAbsBinning< T >::~EvtAbsBinning ( )
inlinevirtual

Definition at line 27 of file EvtAbsBinning.hh.

28 {}

Member Function Documentation

◆ clone()

template<class T >
virtual EvtAbsBinning< T > * EvtAbsBinning< T >::clone ( ) const
pure virtual

◆ getBin()

template<class T >
virtual int EvtAbsBinning< T >::getBin ( const T &  point) const
pure virtual

◆ getBinPoint()

template<class T >
virtual T EvtAbsBinning< T >::getBinPoint ( int  bin) const
pure virtual

◆ nTypes()

template<class T >
virtual int EvtAbsBinning< T >::nTypes ( ) const
pure virtual

◆ size()

template<class T >
virtual double EvtAbsBinning< T >::size ( int  bin) const
pure virtual

◆ typeLabel()

template<class T >
virtual char * EvtAbsBinning< T >::typeLabel ( int  i) const
inlinevirtual

Definition at line 37 of file EvtAbsBinning.hh.

38 {
39 char* a = new char[128];
40 sprintf(a,"%d",i);
41 return a;
42 }
sprintf(cut,"kal_costheta0_em>-0.93&&kal_costheta0_em<0.93&&kal_pxy0_em>=0.05+%d*0.1&&kal_pxy0_em<0.15+%d*0.1&&NGch>=2", j, j)

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