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
BaseBinFinder
(){};
14
15
virtual
~BaseBinFinder
() {}
16
18
virtual
int
binIndex
(
T
pos
)
const
= 0;
19
21
virtual
int
binIndex
(
int
i
)
const
= 0;
22
24
virtual
T
binPosition
(
int
ind)
const
= 0;
25
26
private
:
27
// int theNbins;
28
};
29
#endif
mps_fire.i
i
Definition:
mps_fire.py:429
BaseBinFinder::binIndex
virtual int binIndex(T pos) const =0
Return the index of bin at given position.
BaseBinFinder::BaseBinFinder
BaseBinFinder()
Definition:
BaseBinFinder.h:13
BaseBinFinder::binPosition
virtual T binPosition(int ind) const =0
The middle of the ind-th bin.
pos
Definition:
PixelCalibBase.h:13
BaseBinFinder
Definition:
BaseBinFinder.h:11
BaseBinFinder::~BaseBinFinder
virtual ~BaseBinFinder()
Definition:
BaseBinFinder.h:15
T
long double T
Definition:
Basic3DVectorLD.h:48
Generated for CMSSW Reference Manual by
1.8.14