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