Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Properties
_
a
c
d
e
f
l
m
o
p
s
t
u
v
+
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
SimCalorimetry
HcalSimAlgos
interface
HcalCoderFactory.h
Go to the documentation of this file.
1
#ifndef HcalSimAlgos_HcalCoderFactory_h
2
#define HcalSimAlgos_HcalCoderFactory_h
3
4
#include <memory>
5
#include "
CalibFormats/HcalObjects/interface/HcalDbService.h
"
6
#include "
CalibFormats/HcalObjects/interface/HcalCoder.h
"
7
8
class
HcalCoderFactory
{
9
public
:
10
enum
CoderType
{
DB
,
NOMINAL
};
11
12
HcalCoderFactory
(
CoderType
coderType);
13
14
void
setDbService
(
const
HcalDbService
*
service
) {
theDbService
=
service
; }
15
17
std::unique_ptr<HcalCoder>
coder
(
const
DetId
& detId)
const
;
18
19
private
:
20
CoderType
theCoderType
;
21
const
HcalDbService
*
theDbService
;
22
};
23
24
#endif
HcalCoderFactory::theDbService
const HcalDbService * theDbService
Definition:
HcalCoderFactory.h:21
HcalCoderFactory::CoderType
CoderType
Definition:
HcalCoderFactory.h:10
HcalDbService
Definition:
HcalDbService.h:23
HcalCoderFactory::HcalCoderFactory
HcalCoderFactory(CoderType coderType)
Definition:
HcalCoderFactory.cc:5
service
Definition:
service.py:1
DetId
Definition:
DetId.h:17
HcalCoderFactory::setDbService
void setDbService(const HcalDbService *service)
Definition:
HcalCoderFactory.h:14
HcalCoderFactory::NOMINAL
Definition:
HcalCoderFactory.h:10
HcalCoderFactory::DB
Definition:
HcalCoderFactory.h:10
HcalCoderFactory
Definition:
HcalCoderFactory.h:8
HcalCoderFactory::theCoderType
CoderType theCoderType
Definition:
HcalCoderFactory.h:20
HcalCoder.h
HcalCoderFactory::coder
std::unique_ptr< HcalCoder > coder(const DetId &detId) const
user gets control of the pointer
Definition:
HcalCoderFactory.cc:7
HcalDbService.h
Generated for CMSSW Reference Manual by
1.8.14