Main Page
Namespaces
Classes
Package Documentation
EventFilter
CastorRawToDigi
interface
CastorCtdcPacker.h
Go to the documentation of this file.
1
#ifndef EVENTFILTER_CASTORRAWTODIGI_CASTORCTDCPACKER_H
2
#define EVENTFILTER_CASTORRAWTODIGI_CASTORCTDCPACKER_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
CastorCtdcPacker
{
14
public
:
15
16
void
pack
(
int
fedid,
int
dccnumber,
17
int
nl1a,
int
orbitn,
int
bcn,
18
const
CastorCollections
&
inputs
,
19
const
CastorElectronicsMap
& emap,
20
FEDRawData
&
output
);
21
private
:
22
int
findSamples
(
const
DetId
& did,
const
CastorCollections
& inputs,
23
unsigned
short
*
buffer
,
int
&
presamples
);
24
};
25
26
#endif
CastorCtdcPacker
Definition:
CastorCtdcPacker.h:13
hcalTTPDigis_cfi.presamples
presamples
Definition:
hcalTTPDigis_cfi.py:9
edmScanValgrind.buffer
buffer
Definition:
edmScanValgrind.py:171
convertSQLitetoXML_cfg.output
output
Definition:
convertSQLitetoXML_cfg.py:32
CastorCollections.h
PatBasicFWLiteJetAnalyzer_Selector_cfg.inputs
inputs
Definition:
PatBasicFWLiteJetAnalyzer_Selector_cfg.py:40
CastorCtdcPacker::pack
void pack(int fedid, int dccnumber, int nl1a, int orbitn, int bcn, const CastorCollections &inputs, const CastorElectronicsMap &emap, FEDRawData &output)
Definition:
CastorCtdcPacker.cc:40
CastorCollections
Definition:
CastorCollections.h:17
FEDRawData
Definition:
FEDRawData.h:20
HcalDigiCollections.h
CastorElectronicsMap.h
DetId
Definition:
DetId.h:18
CastorElectronicsMap
Definition:
CastorElectronicsMap.h:30
CastorCtdcPacker::findSamples
int findSamples(const DetId &did, const CastorCollections &inputs, unsigned short *buffer, int &presamples)
Definition:
CastorCtdcPacker.cc:28
FEDRawData.h
Generated for CMSSW Reference Manual by
1.8.11