src
EventFilter
EcalDigiToRaw
interface
TCCBlockFormatter.h
Go to the documentation of this file.
1
#ifndef TCCBLOCKFORMATTER_H
2
#define TCCBLOCKFORMATTER_H
3
4
#include <iostream>
5
#include <vector>
6
#include <map>
7
8
#include "
DataFormats/EcalDigi/interface/EcalDigiCollections.h
"
9
#include "
DataFormats/FEDRawData/interface/FEDRawDataCollection.h
"
10
#include "
DataFormats/FEDRawData/interface/FEDRawData.h
"
11
#include "
EventFilter/EcalDigiToRaw/interface/BlockFormatter.h
"
12
13
#include "
Geometry/EcalMapping/interface/EcalElectronicsMapping.h
"
14
15
//
16
// The block containing the trigger towers for a given FED
17
//
18
19
class
TCCBlockFormatter
:
public
BlockFormatter
{
20
public
:
21
TCCBlockFormatter
(
BlockFormatter::Config
const
&,
BlockFormatter::Params
const
&);
22
23
static
const
int
kCardsPerTower
= 5;
// Number of VFE cards per trigger tower
24
void
DigiToRaw
(
const
EcalTriggerPrimitiveDigi
& trigprim,
25
FEDRawData
& rawdata,
26
const
EcalElectronicsMapping
* TheMapping);
27
28
private
:
29
bool
AllTPsamples_
;
30
};
31
32
#endif
EcalTriggerPrimitiveDigi
Definition:
EcalTriggerPrimitiveDigi.h:16
EcalElectronicsMapping.h
FEDRawDataCollection.h
TCCBlockFormatter::TCCBlockFormatter
TCCBlockFormatter(BlockFormatter::Config const &, BlockFormatter::Params const &)
Definition:
TCCBlockFormatter.cc:13
FEDRawData
Definition:
FEDRawData.h:19
BlockFormatter.h
TCCBlockFormatter::DigiToRaw
void DigiToRaw(const EcalTriggerPrimitiveDigi &trigprim, FEDRawData &rawdata, const EcalElectronicsMapping *TheMapping)
Definition:
TCCBlockFormatter.cc:17
EcalDigiCollections.h
BlockFormatter
Definition:
BlockFormatter.h:13
EcalElectronicsMapping
Definition:
EcalElectronicsMapping.h:28
TCCBlockFormatter::AllTPsamples_
bool AllTPsamples_
Definition:
TCCBlockFormatter.h:29
FEDRawData.h
TCCBlockFormatter
Definition:
TCCBlockFormatter.h:19
BlockFormatter::Params
Definition:
BlockFormatter.h:28
TCCBlockFormatter::kCardsPerTower
static const int kCardsPerTower
Definition:
TCCBlockFormatter.h:23
BlockFormatter::Config
Definition:
BlockFormatter.h:18
Generated for CMSSW Reference Manual by
1.8.14