BOSS 7.0.6
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, [email protected], 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:
22
24 {}
26 {}
27 virtual ~EvtAbsBinning()
28 {}
29
30 virtual EvtAbsBinning<T>* clone() const = 0;
31 virtual int getBin(const T& point) const = 0;
32 virtual T getBinPoint(int bin) const = 0;
33 virtual double size(int bin) const = 0;
34
35 virtual int nTypes() const = 0;
36
37 virtual char* typeLabel(int i) const
38 {
39 char* a = new char[128];
40 sprintf(a,"%d",i);
41 return a;
42 }
43
44};
45
46#endif
*******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
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)