EventFilter
CastorRawToDigi
interface
CastorPacker.h
Go to the documentation of this file.
1
#ifndef EVENTFILTER_CASTORRAWTODIGI_CASTORPACKER_H
2
#define EVENTFILTER_CASTORRAWTODIGI_CASTORPACKER_H 1
3
4
#include "
DataFormats/HcalDigi/interface/HcalDigiCollections.h
"
5
#include "
DataFormats/FEDRawData/interface/FEDRawData.h
"
6
#include "
CondFormats/CastorObjects/interface/CastorElectronicsMap.h
"
7
#include "
EventFilter/CastorRawToDigi/interface/CastorCollections.h
"
8
13
class
CastorPacker
{
14
public
:
15
static
void
pack
(
int
fedid
,
16
int
dccnumber,
17
int
nl1a,
18
int
orbitn,
19
int
bcn,
20
const
CastorCollections
&
inputs
,
21
const
CastorElectronicsMap
& emap,
22
FEDRawData
&
output
);
23
24
private
:
25
static
int
findSamples
(
const
DetId
& did,
const
CastorCollections
&
inputs
,
unsigned
short
*
buffer
,
int
&
presamples
);
26
};
27
28
#endif
PixelMapPlotter.inputs
inputs
Definition:
PixelMapPlotter.py:490
hcalTTPDigis_cfi.presamples
presamples
Definition:
hcalTTPDigis_cfi.py:9
CastorPacker::findSamples
static int findSamples(const DetId &did, const CastorCollections &inputs, unsigned short *buffer, int &presamples)
Definition:
CastorPacker.cc:27
edmScanValgrind.buffer
buffer
Definition:
edmScanValgrind.py:171
CastorPacker
Definition:
CastorPacker.h:13
convertSQLitetoXML_cfg.output
output
Definition:
convertSQLitetoXML_cfg.py:72
CastorCollections.h
CastorCollections
Definition:
CastorCollections.h:16
FEDRawData
Definition:
FEDRawData.h:19
HcalDigiCollections.h
CastorElectronicsMap.h
DetId
Definition:
DetId.h:17
PixelSLinkDataInputSource_cfi.fedid
fedid
Definition:
PixelSLinkDataInputSource_cfi.py:6
CastorElectronicsMap
Definition:
CastorElectronicsMap.h:30
CastorPacker::pack
static void pack(int fedid, int dccnumber, int nl1a, int orbitn, int bcn, const CastorCollections &inputs, const CastorElectronicsMap &emap, FEDRawData &output)
Definition:
CastorPacker.cc:41
FEDRawData.h
Generated for CMSSW Reference Manual by
1.8.14