Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DQM
HcalCommon
src
ValueAxis.cc
Go to the documentation of this file.
1
2
#include "
DQM/HcalCommon/interface/ValueAxis.h
"
3
4
namespace
hcaldqm
5
{
6
using namespace
constants
;
7
namespace
axis
8
{
9
ValueAxis::ValueAxis
():
10
Axis
(), _vtype(
fEnergy
)
11
{}
12
13
ValueAxis::ValueAxis
(
AxisType
type
,
ValueType
vtype,
bool
log
):
14
Axis
(
vtitle
[vtype], type,
fValue
,
vnbins
[vtype],
15
vmin
[vtype],
vmax
[vtype], log), _vtype(vtype)
16
{
17
this->
_setup
();
18
}
19
20
ValueAxis::ValueAxis
(
AxisType
type
,
ValueType
vtype,
int
n
,
21
double
min
,
double
max
,
std::string
title
,
bool
log
):
22
Axis
(title, type,
fValue
, n, min, max, log), _vtype(vtype)
23
{
24
this->
_setup
();
25
}
26
27
/* virtual */
int
ValueAxis::getBin
(
int
value
)
28
{
29
// only LS type right now
30
int
r
=1;
31
switch
(
_vtype
)
32
{
33
case
fLS
:
34
r =
value
;
35
break
;
36
default
:
37
r = 1;
38
break
;
39
}
40
41
return
r
;
42
}
43
44
/* virtual */
int
ValueAxis::getBin
(
double
v
)
45
{
46
return
1;
47
}
48
49
/* virtual */
void
ValueAxis::_setup
()
50
{
51
}
52
}
53
}
54
55
56
57
indexGen.title
title
Definition:
indexGen.py:48
type
type
Definition:
HCALResponse.h:21
hcaldqm::axis::AxisType
AxisType
Definition:
Axis.h:32
relativeConstraints.value
tuple value
Definition:
relativeConstraints.py:54
hcaldqm::axis::ValueType
ValueType
Definition:
ValueAxis.h:21
hcaldqm::axis::ValueAxis::_vtype
ValueType _vtype
Definition:
ValueAxis.h:113
findQualityFiles.v
v
Definition:
findQualityFiles.py:177
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
hcaldqm::axis::ValueAxis::_setup
virtual void _setup()
Definition:
ValueAxis.cc:49
hcaldqm::axis::Axis
Definition:
Axis.h:50
hcaldqm::axis::ValueAxis::getBin
virtual int getBin(int)
Definition:
ValueAxis.cc:27
dqm-mbProfile.log
tuple log
Definition:
dqm-mbProfile.py:17
hcaldqm::axis::vmax
double const vmax[nValueType]
Definition:
ValueAxis.h:69
min
T min(T a, T b)
Definition:
MathUtil.h:58
hcaldqm::axis::fValue
Definition:
Axis.h:41
hcaldqm::axis::vmin
double const vmin[nValueType]
Definition:
ValueAxis.h:65
hcaldqm::axis::fEnergy
Definition:
ValueAxis.h:26
hcaldqm::axis::vtitle
std::string const vtitle[nValueType]
Definition:
ValueAxis.h:57
constants
gen::n
int n
Definition:
Cascade2Hadronizer.cc:79
hcaldqm::axis::ValueAxis::ValueAxis
ValueAxis()
Definition:
ValueAxis.cc:9
bookConverter.max
max
Definition:
bookConverter.py:166
alignCSCRings.r
list r
Definition:
alignCSCRings.py:92
hcaldqm::axis::vnbins
int const vnbins[nValueType]
Definition:
ValueAxis.h:74
hcaldqm::axis::fLS
Definition:
ValueAxis.h:36
ValueAxis.h
Generated for CMSSW Reference Manual by
1.8.5