EventFilter
CSCTFRawToDigi
interface
CSCTFUnpacker.h
Go to the documentation of this file.
1
#ifndef CSCTFUnpacker_h
2
#define CSCTFUnpacker_h
3
4
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
5
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
6
#include <
FWCore/ParameterSet/interface/ParameterSet.h
>
7
#include <
FWCore/Utilities/interface/InputTag.h
>
8
9
//CSC Track Finder Raw Data Format
10
#include "
EventFilter/CSCTFRawToDigi/src/CSCTFEvent.h
"
11
12
//FEDRawData
13
#include "
DataFormats/FEDRawData/interface/FEDRawData.h
"
14
#include "
DataFormats/FEDRawData/interface/FEDNumbering.h
"
15
#include "
DataFormats/FEDRawData/interface/FEDRawDataCollection.h
"
16
17
#include <vector>
18
#include <string>
19
20
class
CSCTriggerMapping
;
21
22
class
CSCTFUnpacker
:
public
edm::stream::EDProducer
<> {
23
private
:
24
int
m_minBX
,
m_maxBX
;
25
bool
swapME1strips
;
26
27
CSCTriggerMapping
*
mapping
;
// redundant, but needed
28
29
CSCTFEvent
tfEvent
;
// TF data container
30
31
// geometry may not be properly set in CSC TF data
32
// make an artificial assignment of each of 12 SPs (slots 6-11 and 16-21) to 12 sectors (1-12, 0-not assigned)
33
std::vector<int>
slot2sector
;
34
35
// label of the module which produced raw data
36
edm::InputTag
producer
;
37
38
edm::EDGetTokenT<FEDRawDataCollection>
Raw_token
;
39
40
public
:
41
void
produce
(
edm::Event
&
e
,
const
edm::EventSetup
&
c
)
override
;
42
43
CSCTFUnpacker
(
const
edm::ParameterSet
&
pset
);
44
~CSCTFUnpacker
(
void
)
override
;
45
};
46
47
#endif
FEDNumbering.h
CSCTFUnpacker::m_maxBX
int m_maxBX
Definition:
CSCTFUnpacker.h:24
CSCTFUnpacker::~CSCTFUnpacker
~CSCTFUnpacker(void) override
Definition:
CSCTFUnpacker.cc:87
CSCTFUnpacker::swapME1strips
bool swapME1strips
Definition:
CSCTFUnpacker.h:25
edm::EDGetTokenT< FEDRawDataCollection >
CSCTFUnpacker::CSCTFUnpacker
CSCTFUnpacker(const edm::ParameterSet &pset)
Definition:
CSCTFUnpacker.cc:34
CSCTFEvent.h
CSCTriggerMapping
Definition:
CSCTriggerMapping.h:23
EDProducer.h
FEDRawData.h
CSCTFUnpacker
Definition:
CSCTFUnpacker.h:22
CSCTFUnpacker::tfEvent
CSCTFEvent tfEvent
Definition:
CSCTFUnpacker.h:29
CSCTFUnpacker::mapping
CSCTriggerMapping * mapping
Definition:
CSCTFUnpacker.h:27
edm::ParameterSet
Definition:
ParameterSet.h:47
CSCTFUnpacker::m_minBX
int m_minBX
Definition:
CSCTFUnpacker.h:24
FEDRawDataCollection.h
edm::stream::EDProducer
Definition:
EDProducer.h:38
edm::EventSetup
Definition:
EventSetup.h:57
HltBtagPostValidation_cff.c
c
Definition:
HltBtagPostValidation_cff.py:31
InputTag.h
CSCTFUnpacker::producer
edm::InputTag producer
Definition:
CSCTFUnpacker.h:36
CSCTFUnpacker::produce
void produce(edm::Event &e, const edm::EventSetup &c) override
Definition:
CSCTFUnpacker.cc:92
CSCTFUnpacker::slot2sector
std::vector< int > slot2sector
Definition:
CSCTFUnpacker.h:33
ConsumesCollector.h
CSCTFEvent
Definition:
CSCTFEvent.h:7
ParameterSet.h
edm::Event
Definition:
Event.h:73
edm::InputTag
Definition:
InputTag.h:15
CSCTFUnpacker::Raw_token
edm::EDGetTokenT< FEDRawDataCollection > Raw_token
Definition:
CSCTFUnpacker.h:38
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
Generated for CMSSW Reference Manual by
1.8.16