Main Page
Namespaces
Classes
Package Documentation
src
CondFormats
Calibration
interface
BlobComplex.h
Go to the documentation of this file.
1
#ifndef BlobComplex_h
2
#define BlobComplex_h
3
4
#include "
CondFormats/Serialization/interface/Serializable.h
"
5
6
#include <vector>
7
#include <utility>
8
9
struct
BlobComplexData
{
10
BlobComplexData
(){
11
a
= 0;
12
b
= 0;
13
}
14
15
16
void
fill
(
unsigned
int
&serial);
17
void
print
()
const
;
18
bool
operator ==
(
const
BlobComplexData
&rhs)
const
;
19
bool
operator !=
(
const
BlobComplexData
&rhs)
const
20
{
return
!(*
this
== rhs); }
21
22
unsigned
int
a
,
b
;
23
std::vector<unsigned int>
values
;
24
25
COND_SERIALIZABLE
;
26
};
27
28
struct
BlobComplexContent
{
29
BlobComplexContent
() {}
30
31
void
fill
(
unsigned
int
&serial);
32
void
print
()
const
;
33
bool
operator ==
(
const
BlobComplexContent
&rhs)
const
;
34
bool
operator !=
(
const
BlobComplexContent
&rhs)
const
35
{
return
!(*
this
== rhs); }
36
37
typedef
std::pair<BlobComplexData, unsigned int>
Data
;
38
39
Data
data1
;
40
Data
data2
;
41
Data
data3
;
42
43
COND_SERIALIZABLE
;
44
};
45
46
struct
BlobComplexObjects
{
47
BlobComplexObjects
() {
48
a
= 0;
49
b
= 0;
50
}
51
52
void
fill
(
unsigned
int
&serial);
53
void
print
()
const
;
54
bool
operator ==
(
const
BlobComplexObjects
&rhs)
const
;
55
bool
operator !=
(
const
BlobComplexObjects
&rhs)
const
56
{
return
!(*
this
== rhs); }
57
58
unsigned
int
a
,
b
;
59
std::vector<BlobComplexContent>
content
;
60
61
COND_SERIALIZABLE
;
62
};
63
64
struct
BlobComplex
{
65
BlobComplex
() {}
66
67
void
fill
(
unsigned
int
&serial);
68
void
print
()
const
;
69
bool
operator ==
(
const
BlobComplex
&rhs)
const
;
70
bool
operator !=
(
const
BlobComplex
&rhs)
const
71
{
return
!(*
this
== rhs); }
72
73
std::vector<BlobComplexObjects>
objects
;
74
75
COND_SERIALIZABLE
;
76
};
77
78
#endif
BlobComplexData::BlobComplexData
BlobComplexData()
Definition:
BlobComplex.h:10
BlobComplexData::fill
void fill(unsigned int &serial)
Definition:
BlobComplex.cc:5
BlobComplexContent::Data
std::pair< BlobComplexData, unsigned int > Data
Definition:
BlobComplex.h:37
BlobComplexContent::data3
Data data3
Definition:
BlobComplex.h:41
BlobComplexData::a
unsigned int a
Definition:
BlobComplex.h:22
BlobComplexData
Definition:
BlobComplex.h:9
BlobComplexContent
Definition:
BlobComplex.h:28
BlobComplexData::b
unsigned int b
Definition:
BlobComplex.h:22
BlobComplexObjects
Definition:
BlobComplex.h:46
BlobComplexObjects::b
unsigned int b
Definition:
BlobComplex.h:58
BlobComplexData::operator!=
bool operator!=(const BlobComplexData &rhs) const
Definition:
BlobComplex.h:19
BlobComplex::objects
std::vector< BlobComplexObjects > objects
Definition:
BlobComplex.h:73
BlobComplexData::print
void print() const
Definition:
BlobComplex.cc:13
BlobComplexContent::data1
Data data1
Definition:
BlobComplex.h:39
BlobComplex
Definition:
BlobComplex.h:64
BlobComplexContent::BlobComplexContent
BlobComplexContent()
Definition:
BlobComplex.h:29
BlobComplexObjects::content
std::vector< BlobComplexContent > content
Definition:
BlobComplex.h:59
BlobComplexData::values
std::vector< unsigned int > values
Definition:
BlobComplex.h:23
BlobComplexObjects::BlobComplexObjects
BlobComplexObjects()
Definition:
BlobComplex.h:47
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:38
BlobComplex::BlobComplex
BlobComplex()
Definition:
BlobComplex.h:65
BlobComplexData::operator==
bool operator==(const BlobComplexData &rhs) const
Definition:
BlobComplex.cc:23
Serializable.h
BlobComplexContent::data2
Data data2
Definition:
BlobComplex.h:40
Generated for CMSSW Reference Manual by
1.8.11