Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
Validation
RecoMET
bin
include
HistoData.h
Go to the documentation of this file.
1
#ifndef HISTO_DATA__H
2
#define HISTO_DATA__H
3
4
#include <string>
5
6
class
HistoData
{
7
public
:
8
9
HistoData
(std::string Name,
int
Number);
10
virtual
~HistoData
();
11
12
// Getters
13
std::string
GetName
() {
return
name
; }
14
std::string
GetValueX
() {
return
x_value
; }
15
unsigned
short
GetType
() {
return
type
; }
16
int
GetNumber
() {
return
number
; }
17
//int GetNBinsX() { return nbinsx; }
18
//int GetNBinsY() { return nbinsy; }
19
//float GetMinX() { return xmin; }
20
//float GetMaxX() { return xmax; }
21
//float GetMinY() { return ymin; }
22
//float GetMaxY() { return ymax; }
23
24
// Setters
25
void
SetType
(
unsigned
short
Type
) {
type
=
Type
; }
26
void
SetValueX
(std::string
Value
) {
x_value
=
Value
; }
27
//void SetBinsX(int N, float MinX, float MaxX) { nbinsx = N; xmin = MinX; xmax = MaxX; }
28
void
SetValueY
(std::string
Value
) {
y_value
=
Value
; }
29
//void SetBinsY(int N, float MinY, float MaxY) { nbinsy = N; ymin = MinY; ymax = MaxY; }
30
31
// Misc Functions
32
void
Clear
() { memset(
this
,0,
sizeof
(
struct
HistoData
)); }
33
void
Dump
();
34
35
private
:
36
37
std::string
name
;
38
std::string
x_value
,
y_value
;
39
int
number
;
40
unsigned
short
type
;
41
//int nbinsx, nbinsy;
42
//float xmin, xmax;
43
//float ymin, ymax;
44
45
};
46
47
#endif // HISTO_DATA__H
HistoData::GetType
unsigned short GetType()
Definition:
HistoData.h:15
type
type
Definition:
HCALResponse.h:22
HistoData::GetNumber
int GetNumber()
Definition:
HistoData.h:16
susybsm::HSCParticleType::Type
Type
Definition:
HSCParticle.h:20
HistoData::y_value
std::string y_value
Definition:
HistoData.h:38
HistoData::HistoData
HistoData(std::string Name, int Number)
HistoData::SetValueY
void SetValueY(std::string Value)
Definition:
HistoData.h:28
HistoData::type
unsigned short type
Definition:
HistoData.h:40
reco::JetExtendedAssociation::Value
reco::JetExtendedAssociation::JetExtendedData Value
Definition:
JetExtendedAssociation.h:28
HistoData::number
int number
Definition:
HistoData.h:39
HistoData::name
std::string name
Definition:
HistoData.h:37
HistoData::~HistoData
virtual ~HistoData()
HistoData
Definition:
HistoData.h:6
HistoData::x_value
std::string x_value
Definition:
HistoData.h:38
HistoData::GetName
std::string GetName()
Definition:
HistoData.h:13
HistoData::SetValueX
void SetValueX(std::string Value)
Definition:
HistoData.h:26
HistoData::Dump
void Dump()
HistoData::SetType
void SetType(unsigned short Type)
Definition:
HistoData.h:25
HistoData::Clear
void Clear()
Definition:
HistoData.h:32
HistoData::GetValueX
std::string GetValueX()
Definition:
HistoData.h:14
Generated for CMSSW Reference Manual by
1.8.5