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
EventFilter
CastorRawToDigi
interface
CastorUnpacker.h
Go to the documentation of this file.
1
/* -*- C++ -*- */
2
#ifndef CastorUnpacker_h_included
3
#define CastorUnpacker_h_included 1
4
5
#include "
DataFormats/HcalDigi/interface/CastorDataFrame.h
"
6
#include "
DataFormats/HcalDigi/interface/HcalCalibDataFrame.h
"
7
#include "
DataFormats/HcalDigi/interface/HcalTriggerPrimitiveDigi.h
"
8
// #include "DataFormats/HcalDigi/interface/HcalHistogramDigi.h"
9
#include "
DataFormats/HcalDigi/interface/HcalUnpackerReport.h
"
10
#include "
DataFormats/FEDRawData/interface/FEDRawData.h
"
11
#include "
CondFormats/CastorObjects/interface/CastorElectronicsMap.h
"
12
#include <set>
13
#include "
EventFilter/CastorRawToDigi/interface/CastorRawCollections.h
"
14
15
class
CastorUnpacker
{
16
public
:
18
CastorUnpacker
(
int
sourceIdOffset,
int
beg,
int
end
);
19
void
setExpectedOrbitMessageTime
(
int
time
) {
expectedOrbitMessageTime_
=
time
; }
21
// void unpack(const FEDRawData& raw, const CastorElectronicsMap& emap, std::vector<HcalHistogramDigi>& histoDigis);
22
void
unpack
(
const
FEDRawData
& raw,
23
const
CastorElectronicsMap
& emap,
24
CastorRawCollections
& conts,
25
HcalUnpackerReport
&
report
,
26
bool
silent
=
false
);
27
28
private
:
29
int
sourceIdOffset_
;
30
int
startSample_
;
31
int
endSample_
;
32
int
expectedOrbitMessageTime_
;
33
std::set<CastorElectronicsId>
unknownIds_
,
34
unknownIdsTrig_
;
35
};
36
37
#endif // CastorUnpacker_h_included
CastorDataFrame.h
HcalTriggerPrimitiveDigi.h
CastorUnpacker::unknownIds_
std::set< CastorElectronicsId > unknownIds_
Definition:
CastorUnpacker.h:33
CastorUnpacker::unpack
void unpack(const FEDRawData &raw, const CastorElectronicsMap &emap, CastorRawCollections &conts, HcalUnpackerReport &report, bool silent=false)
For histograms, no begin and end.
Definition:
CastorUnpacker.cc:75
CastorUnpacker::unknownIdsTrig_
std::set< CastorElectronicsId > unknownIdsTrig_
Recorded to limit number of times a log message is generated.
Definition:
CastorUnpacker.h:33
CastorUnpacker::CastorUnpacker
CastorUnpacker(int sourceIdOffset, int beg, int end)
for normal data
Definition:
CastorUnpacker.cc:57
FEDRawData
Definition:
FEDRawData.h:19
CastorUnpacker::setExpectedOrbitMessageTime
void setExpectedOrbitMessageTime(int time)
Definition:
CastorUnpacker.h:19
CastorRawCollections
Definition:
CastorRawCollections.h:16
HcalUnpackerReport
Definition:
HcalUnpackerReport.h:14
CastorElectronicsMap.h
CastorUnpacker
Definition:
CastorUnpacker.h:15
HcalUnpackerReport.h
CastorRawCollections.h
protons_cff.time
time
Definition:
protons_cff.py:36
mps_fire.end
end
Definition:
mps_fire.py:242
CastorUnpacker::sourceIdOffset_
int sourceIdOffset_
number to subtract from the source id to get the dcc id
Definition:
CastorUnpacker.h:29
CastorElectronicsMap
Definition:
CastorElectronicsMap.h:30
CastorUnpacker::expectedOrbitMessageTime_
int expectedOrbitMessageTime_
Expected orbit bunch time (needed to evaluate time differences)
Definition:
CastorUnpacker.h:32
FEDRawData.h
HcalCalibDataFrame.h
edmIntegrityCheck.report
report
Definition:
edmIntegrityCheck.py:348
CastorUnpacker::startSample_
int startSample_
first sample from fed raw data to copy
Definition:
CastorUnpacker.h:30
CastorUnpacker::endSample_
int endSample_
last sample from fed raw data to copy (if present)
Definition:
CastorUnpacker.h:31
CastorRawToDigi_cfi.silent
silent
Definition:
CastorRawToDigi_cfi.py:27
Generated for CMSSW Reference Manual by
1.8.14