Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
15
class
CastorPacker
{
16
public
:
17
18
void
pack
(
int
fedid,
int
dccnumber,
19
int
nl1a,
int
orbitn,
int
bcn,
20
const
CastorCollections
&
inputs
,
21
const
CastorElectronicsMap
& emap,
22
FEDRawData
&
output
);
23
private
:
24
int
findSamples
(
const
DetId
& did,
const
CastorCollections
& inputs,
25
unsigned
short
* buffer,
int
&presamples);
26
};
27
28
#endif
CastorPacker::findSamples
int findSamples(const DetId &did, const CastorCollections &inputs, unsigned short *buffer, int &presamples)
Definition:
CastorPacker.cc:24
CastorPacker
Definition:
CastorPacker.h:15
SiPixelRawToDigiRegional_cfi.inputs
tuple inputs
Definition:
SiPixelRawToDigiRegional_cfi.py:8
CastorCollections.h
CastorCollections
Definition:
CastorCollections.h:17
FEDRawData
Definition:
FEDRawData.h:22
HcalDigiCollections.h
CastorElectronicsMap.h
DetId
Definition:
DetId.h:20
convertSQLitetoXML_cfg.output
tuple output
Definition:
convertSQLitetoXML_cfg.py:32
CastorElectronicsMap
Definition:
CastorElectronicsMap.h:25
CastorPacker::pack
void pack(int fedid, int dccnumber, int nl1a, int orbitn, int bcn, const CastorCollections &inputs, const CastorElectronicsMap &emap, FEDRawData &output)
Definition:
CastorPacker.cc:36
FEDRawData.h
Generated for CMSSW Reference Manual by
1.8.5