test
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
13
class
CastorPacker
{
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
CastorPacker::findSamples
int findSamples(const DetId &did, const CastorCollections &inputs, unsigned short *buffer, int &presamples)
Definition:
CastorPacker.cc:24
CastorPacker
Definition:
CastorPacker.h:13
SiPixelRawToDigiRegional_cfi.inputs
tuple inputs
Definition:
SiPixelRawToDigiRegional_cfi.py:8
CastorCollections.h
CastorCollections
Definition:
CastorCollections.h:17
FEDRawData
Definition:
FEDRawData.h:20
HcalDigiCollections.h
CastorElectronicsMap.h
DetId
Definition:
DetId.h:18
convertSQLitetoXML_cfg.output
tuple output
Definition:
convertSQLitetoXML_cfg.py:32
CastorElectronicsMap
Definition:
CastorElectronicsMap.h:30
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