Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
();
26
~TCCBlockFormatter
();
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
37
#endif
38
39
EcalTriggerPrimitiveDigi
Definition:
EcalTriggerPrimitiveDigi.h:18
EcalElectronicsMapping.h
FEDRawDataCollection.h
FEDRawData
Definition:
FEDRawData.h:22
BlockFormatter.h
TCCBlockFormatter::DigiToRaw
void DigiToRaw(const EcalTriggerPrimitiveDigi &trigprim, FEDRawData &rawdata, const EcalElectronicsMapping *TheMapping)
Definition:
TCCBlockFormatter.cc:24
EcalDigiCollections.h
BlockFormatter
Definition:
BlockFormatter.h:18
EcalElectronicsMapping
Definition:
EcalElectronicsMapping.h:32
TCCBlockFormatter::AllTPsamples_
bool AllTPsamples_
Definition:
TCCBlockFormatter.h:31
TCCBlockFormatter::~TCCBlockFormatter
~TCCBlockFormatter()
Definition:
TCCBlockFormatter.cc:20
FEDRawData.h
lumiPlot.rawdata
dictionary rawdata
Definition:
lumiPlot.py:393
TCCBlockFormatter
Definition:
TCCBlockFormatter.h:22
TCCBlockFormatter::kCardsPerTower
static const int kCardsPerTower
Definition:
TCCBlockFormatter.h:27
TCCBlockFormatter::TCCBlockFormatter
TCCBlockFormatter()
Definition:
TCCBlockFormatter.cc:15
Generated for CMSSW Reference Manual by
1.8.5