Main Page
Namespaces
Classes
Package Documentation
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
CSCTFUnpacker::CSCTFUnpacker
CSCTFUnpacker(const edm::ParameterSet &pset)
Definition:
CSCTFUnpacker.cc:34
CSCTFUnpacker::producer
edm::InputTag producer
Definition:
CSCTFUnpacker.h:36
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
CSCTFUnpacker::m_minBX
int m_minBX
Definition:
CSCTFUnpacker.h:24
FEDRawDataCollection.h
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
CSCTFUnpacker::Raw_token
edm::EDGetTokenT< FEDRawDataCollection > Raw_token
Definition:
CSCTFUnpacker.h:38
CSCTFUnpacker
Definition:
CSCTFUnpacker.h:22
edm::EDGetTokenT< FEDRawDataCollection >
HltBtagPostValidation_cff.c
c
Definition:
HltBtagPostValidation_cff.py:31
CSCTFUnpacker::m_maxBX
int m_maxBX
Definition:
CSCTFUnpacker.h:24
ParameterSet.h
EDProducer.h
CSCTFUnpacker::~CSCTFUnpacker
~CSCTFUnpacker(void) override
Definition:
CSCTFUnpacker.cc:87
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
edm::EventSetup
Definition:
EventSetup.h:57
CSCTFUnpacker::swapME1strips
bool swapME1strips
Definition:
CSCTFUnpacker.h:25
CSCTFEvent.h
CSCTriggerMapping
Definition:
CSCTriggerMapping.h:23
CSCTFEvent
Definition:
CSCTFEvent.h:7
edm::stream::EDProducer
Definition:
EDProducer.h:38
CSCTFUnpacker::mapping
CSCTriggerMapping * mapping
Definition:
CSCTFUnpacker.h:27
edm::InputTag
Definition:
InputTag.h:15
FEDRawData.h
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:72
CSCTFUnpacker::tfEvent
CSCTFEvent tfEvent
Definition:
CSCTFUnpacker.h:29
ConsumesCollector.h
FEDNumbering.h
Generated for CMSSW Reference Manual by
1.8.11