EventFilter
EcalRawToDigi
interface
DCCSCBlock.h
Go to the documentation of this file.
1
#ifndef DCCSCBLOCK_HH
2
#define DCCSCBLOCK_HH
3
4
#include <iostream>
5
#include <memory>
6
#include <cstdint>
7
#include <string>
8
#include <vector>
9
#include <map>
10
#include <utility>
11
12
#include <
DataFormats/EcalDigi/interface/EcalDigiCollections.h
>
13
#include <
DataFormats/EcalRawData/interface/EcalRawDataCollections.h
>
14
#include <
DataFormats/EcalDetId/interface/EcalDetIdCollections.h
>
15
#include <
FWCore/MessageLogger/interface/MessageLogger.h
>
16
17
#include "
DCCFEBlock.h
"
18
19
class
DCCEventBlock
;
20
class
DCCDataUnpacker
;
21
22
class
DCCSCBlock
:
public
DCCFEBlock
{
23
//to implement
24
25
public
:
26
DCCSCBlock
(
DCCDataUnpacker
*u,
EcalElectronicsMapper
*
m
,
DCCEventBlock
*
e
,
bool
unpack
,
bool
forceToKeepFRdata);
27
28
void
updateCollectors
()
override
;
29
30
protected
:
31
int
unpackXtalData
(
unsigned
int
stripID,
unsigned
int
xtalID)
override
;
32
void
fillEcalElectronicsError
(std::unique_ptr<EcalElectronicsIdCollection> *)
override
;
33
34
EEDetId
*
pDetId_
;
35
EEDataFrame
*
pDFId_
;
36
37
std::unique_ptr<EEDigiCollection> *
digis_
;
38
39
// to restructure as common collections to DCCTowerBlock, to inherit from DCCFEBlock
40
std::unique_ptr<EEDetIdCollection> *
invalidGains_
;
41
std::unique_ptr<EEDetIdCollection> *
invalidGainsSwitch_
;
42
std::unique_ptr<EEDetIdCollection> *
invalidChIds_
;
43
};
44
45
#endif
DCCEventBlock
Definition:
DCCEventBlock.h:29
MessageLogger.h
DCCFEBlock::unpack
int unpack(const uint64_t **data, unsigned int *dwToEnd, bool zs, unsigned int expectedTowerID)
Definition:
DCCFEBlock.cc:22
DCCSCBlock::invalidGainsSwitch_
std::unique_ptr< EEDetIdCollection > * invalidGainsSwitch_
Definition:
DCCSCBlock.h:41
EcalDetIdCollections.h
DCCDataUnpacker
Definition:
DCCDataUnpacker.h:49
DCCSCBlock::invalidChIds_
std::unique_ptr< EEDetIdCollection > * invalidChIds_
Definition:
DCCSCBlock.h:42
DCCSCBlock
Definition:
DCCSCBlock.h:22
EcalRawDataCollections.h
visualization-live-secondInstance_cfg.m
m
Definition:
visualization-live-secondInstance_cfg.py:78
DCCFEBlock.h
EcalDigiCollections.h
EEDetId
Definition:
EEDetId.h:14
DCCSCBlock::invalidGains_
std::unique_ptr< EEDetIdCollection > * invalidGains_
Definition:
DCCSCBlock.h:40
DCCSCBlock::DCCSCBlock
DCCSCBlock(DCCDataUnpacker *u, EcalElectronicsMapper *m, DCCEventBlock *e, bool unpack, bool forceToKeepFRdata)
Definition:
DCCSCBlock.cc:7
DCCSCBlock::digis_
std::unique_ptr< EEDigiCollection > * digis_
Definition:
DCCSCBlock.h:37
EcalElectronicsMapper
Definition:
EcalElectronicsMapper.h:36
DCCSCBlock::updateCollectors
void updateCollectors() override
Definition:
DCCSCBlock.cc:11
DCCSCBlock::fillEcalElectronicsError
void fillEcalElectronicsError(std::unique_ptr< EcalElectronicsIdCollection > *) override
Definition:
DCCSCBlock.cc:269
DCCSCBlock::pDetId_
EEDetId * pDetId_
Definition:
DCCSCBlock.h:34
DCCSCBlock::unpackXtalData
int unpackXtalData(unsigned int stripID, unsigned int xtalID) override
Definition:
DCCSCBlock.cc:22
EEDataFrame
Definition:
EEDataFrame.h:12
DCCSCBlock::pDFId_
EEDataFrame * pDFId_
Definition:
DCCSCBlock.h:35
DCCFEBlock
Definition:
DCCFEBlock.h:22
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
Generated for CMSSW Reference Manual by
1.8.16