BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtAbsBinning.hh
Go to the documentation of this file.
1/*****************************************************************************
2 * Project: BaBar detector at the SLAC PEP-II B-factory
3 * Package: EvtGenBase
4 * File: $Id: EvtAbsBinning.hh,v 1.1.1.2 2007/10/26 05:03:14 pingrg Exp $
5 * Author: Alexei Dvoretskii, dvoretsk@slac.stanford.edu, 2001-2002
6 *
7 * Copyright (C) 2002 Caltech
8 *****************************************************************************/
9
10/*
11 * Data point to bin value mapping
12 */
13
14#ifndef EVT_ABS_BINNING_HH
15#define EVT_ABS_BINNING_HH
16#define BIN_OUTSIDE -1
17
18#include <stdio.h>
19
20template <class T> class EvtAbsBinning {
21public:
24 virtual ~EvtAbsBinning() {}
25
26 virtual EvtAbsBinning<T>* clone() const = 0;
27 virtual int getBin( const T& point ) const = 0;
28 virtual T getBinPoint( int bin ) const = 0;
29 virtual double size( int bin ) const = 0;
30
31 virtual int nTypes() const = 0;
32
33 virtual char* typeLabel( int i ) const {
34 char* a = new char[128];
35 sprintf( a, "%d", i );
36 return a;
37 }
38};
39
40#endif
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)
*******INTEGER m_nBinMax INTEGER m_NdiMax !No of bins in histogram for cell exploration division $ !Last vertex $ !Last active cell $ !Last cell in buffer $ !No of sampling when dividing cell $ !No of function total $ !Flag for random ceel for $ !Flag for type of for WtMax $ !Flag which decides whether vertices are included in the sampling $ entire domain is hyp !Maximum effective eevents per bin
Definition FoamA.h:85
EvtAbsBinning(const EvtAbsBinning< T > &other)
virtual EvtAbsBinning< T > * clone() const =0
virtual double size(int bin) const =0
virtual ~EvtAbsBinning()
virtual char * typeLabel(int i) const
virtual T getBinPoint(int bin) const =0
virtual int nTypes() const =0
virtual int getBin(const T &point) const =0