Main Page
Namespaces
Classes
Package Documentation
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
//
17
// The block containing the trigger towers for a given FED
18
//
19
20
21
22
class
TCCBlockFormatter
:
public
BlockFormatter
{
23
public
:
24
25
TCCBlockFormatter
(
BlockFormatter::Config
const
&,
BlockFormatter::Params
const
&);
26
27
static
const
int
kCardsPerTower
= 5;
// Number of VFE cards per trigger tower
28
void
DigiToRaw
(
const
EcalTriggerPrimitiveDigi
& trigprim,
FEDRawData
&
rawdata
,
const
EcalElectronicsMapping
* TheMapping);
29
30
private
:
31
bool
AllTPsamples_
;
32
};
33
34
35
36
#endif
37
38
EcalTriggerPrimitiveDigi
Definition:
EcalTriggerPrimitiveDigi.h:18
EcalElectronicsMapping.h
FEDRawDataCollection.h
TCCBlockFormatter::TCCBlockFormatter
TCCBlockFormatter(BlockFormatter::Config const &, BlockFormatter::Params const &)
Definition:
TCCBlockFormatter.cc:15
FEDRawData
Definition:
FEDRawData.h:20
BlockFormatter.h
TCCBlockFormatter::DigiToRaw
void DigiToRaw(const EcalTriggerPrimitiveDigi &trigprim, FEDRawData &rawdata, const EcalElectronicsMapping *TheMapping)
Definition:
TCCBlockFormatter.cc:20
EcalDigiCollections.h
BlockFormatter
Definition:
BlockFormatter.h:15
EcalElectronicsMapping
Definition:
EcalElectronicsMapping.h:29
TCCBlockFormatter::AllTPsamples_
bool AllTPsamples_
Definition:
TCCBlockFormatter.h:31
matplotRender.rawdata
rawdata
Definition:
matplotRender.py:824
FEDRawData.h
TCCBlockFormatter
Definition:
TCCBlockFormatter.h:22
BlockFormatter::Params
Definition:
BlockFormatter.h:30
TCCBlockFormatter::kCardsPerTower
static const int kCardsPerTower
Definition:
TCCBlockFormatter.h:27
BlockFormatter::Config
Definition:
BlockFormatter.h:20
Generated for CMSSW Reference Manual by
1.8.11