Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
Utilities
BinningTools
interface
BaseBinFinder.h
Go to the documentation of this file.
1
#ifndef BaseBinFinder_H
2
#define BaseBinFinder_H
3
12
template
<
class
T>
13
class
BaseBinFinder
{
14
public
:
15
16
BaseBinFinder
() {};
17
18
virtual
~BaseBinFinder
(){}
19
21
virtual
int
binIndex
(
T
pos
)
const
=0;
22
24
virtual
int
binIndex
(
int
i
)
const
=0;
25
27
virtual
T
binPosition
(
int
ind)
const
= 0;
28
29
private
:
30
// int theNbins;
31
32
};
33
#endif
34
i
int i
Definition:
DBlmapReader.cc:9
pos
Definition:
Histograms.cc:18
BaseBinFinder::binIndex
virtual int binIndex(T pos) const =0
Return the index of bin at given position.
BaseBinFinder::BaseBinFinder
BaseBinFinder()
Definition:
BaseBinFinder.h:16
BaseBinFinder::binPosition
virtual T binPosition(int ind) const =0
The middle of the ind-th bin.
BaseBinFinder
Definition:
BaseBinFinder.h:13
BaseBinFinder::~BaseBinFinder
virtual ~BaseBinFinder()
Definition:
BaseBinFinder.h:18
T
long double T
Definition:
Basic3DVectorLD.h:59
Generated for CMSSW Reference Manual by
1.8.5