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