Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
EventFilter
EcalDigiToRaw
interface
BlockFormatter.h
Go to the documentation of this file.
1
#ifndef BLOCKFORMATTER_H
2
#define BLOCKFORMATTER_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 <
DataFormats/FEDRawData/interface/FEDRawDataCollection.h
>
12
13
14
15
class
EcalDigiToRaw
;
16
17
18
class
BlockFormatter
{
19
public
:
20
typedef
uint64_t
Word64
;
21
typedef
uint16_t
Word16
;
22
23
BlockFormatter
();
24
~BlockFormatter
();
25
void
SetParam
(
EcalDigiToRaw
*
base
);
26
static
const
int
kCardsPerTower
= 5;
// Number of VFE cards per trigger tower
27
void
DigiToRaw
(
FEDRawDataCollection
* productRawData);
28
void
print
(
FEDRawData
&
rawdata
);
29
// void CleanUp(FEDRawDataCollection* productRawData);
30
void
CleanUp
(
FEDRawDataCollection
* productRawData,
31
std::map
<
int
, std::map<int,int> >* FEDorder);
32
void
PrintSizes
(
FEDRawDataCollection
* productRawData);
33
34
protected
:
35
bool
debug_
;
36
37
bool
doBarrel_
;
38
bool
doEndCap_
;
39
bool
doTCC_
;
40
bool
doSR_
;
41
bool
doTower_
;
42
43
std::vector<int32_t> *
plistDCCId_
;
44
45
int
*
pcounter_
;
46
int
*
porbit_number_
;
47
int
*
pbx_
;
48
int
*
plv1_
;
49
int
*
prunnumber_
;
50
51
52
};
53
54
55
56
#endif
57
58
newFWLiteAna.base
tuple base
Main Program
Definition:
newFWLiteAna.py:92
BlockFormatter::DigiToRaw
void DigiToRaw(FEDRawDataCollection *productRawData)
Definition:
BlockFormatter.cc:39
BlockFormatter::Word16
uint16_t Word16
Definition:
BlockFormatter.h:21
FEDRawDataCollection.h
BlockFormatter::pcounter_
int * pcounter_
Definition:
BlockFormatter.h:45
BlockFormatter::print
void print(FEDRawData &rawdata)
Definition:
BlockFormatter.cc:109
Association.map
dictionary map
Definition:
Association.py:196
BlockFormatter::CleanUp
void CleanUp(FEDRawDataCollection *productRawData, std::map< int, std::map< int, int > > *FEDorder)
Definition:
BlockFormatter.cc:125
BlockFormatter::kCardsPerTower
static const int kCardsPerTower
Definition:
BlockFormatter.h:26
BlockFormatter::plistDCCId_
std::vector< int32_t > * plistDCCId_
Definition:
BlockFormatter.h:43
BlockFormatter::debug_
bool debug_
Definition:
BlockFormatter.h:35
BlockFormatter::PrintSizes
void PrintSizes(FEDRawDataCollection *productRawData)
Definition:
BlockFormatter.cc:202
BlockFormatter::doBarrel_
bool doBarrel_
Definition:
BlockFormatter.h:37
FEDRawData
Definition:
FEDRawData.h:22
BlockFormatter::pbx_
int * pbx_
Definition:
BlockFormatter.h:47
BlockFormatter::BlockFormatter
BlockFormatter()
Definition:
BlockFormatter.cc:14
EcalDigiCollections.h
BlockFormatter::plv1_
int * plv1_
Definition:
BlockFormatter.h:48
BlockFormatter::doTCC_
bool doTCC_
Definition:
BlockFormatter.h:39
BlockFormatter
Definition:
BlockFormatter.h:18
EcalDigiToRaw
Definition:
EcalDigiToRaw.h:49
cond::uint64_t
unsigned long long uint64_t
Definition:
Time.h:15
BlockFormatter::doTower_
bool doTower_
Definition:
BlockFormatter.h:41
FEDRawDataCollection
Definition:
FEDRawDataCollection.h:21
BlockFormatter::SetParam
void SetParam(EcalDigiToRaw *base)
Definition:
BlockFormatter.cc:21
BlockFormatter::prunnumber_
int * prunnumber_
Definition:
BlockFormatter.h:49
BlockFormatter::doEndCap_
bool doEndCap_
Definition:
BlockFormatter.h:38
BlockFormatter::porbit_number_
int * porbit_number_
Definition:
BlockFormatter.h:46
FEDRawData.h
BlockFormatter::doSR_
bool doSR_
Definition:
BlockFormatter.h:40
lumiPlot.rawdata
dictionary rawdata
Definition:
lumiPlot.py:393
BlockFormatter::Word64
uint64_t Word64
Definition:
BlockFormatter.h:20
BlockFormatter::~BlockFormatter
~BlockFormatter()
Definition:
BlockFormatter.cc:17
Generated for CMSSW Reference Manual by
1.8.5