CMS 3D CMS Logo

DTuROSDigiToRaw.h
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
11 //
12 //--------------------------------------------------
13 #ifndef DTRawToDigi_DTuROSDigiToRaw_h
14 #define DTRawToDigi_DTuROSDigiToRaw_h
15 
29 
30 #include <string>
31 
32 class DTReadOutMapping;
33 
35 public:
38 
40  ~DTuROSDigiToRaw() override;
41 
43  void produce(edm::Event& e, const edm::EventSetup& c) override;
44 
47 
48 private:
49  unsigned int eventNum;
50 
52 
53  bool debug_;
54 
55  int nfeds_;
56 
57  std::vector<int> feds_;
58 
60 
61  std::vector<int> wslts[DOCESLOTS];
62 
63  // Operations
64 
65  //process data
66 
67  void process(int DTuROSFED,
71 
72  // utilities
73  void clear();
74 
75  int theCRT(int ddu, int ros);
76 
77  int theSLT(int ddu, int ros, int rob);
78 
79  int theLNK(int ddu, int ros, int rob);
80 
82 
84 };
85 #endif
FEDNumbering.h
Handle.h
DTuROSDigiToRaw::theLNK
int theLNK(int ddu, int ros, int rob)
Definition: DTuROSDigiToRaw.cc:317
DTuROSDigiToRaw::dslts
int dslts[DOCESLOTS]
Definition: DTuROSDigiToRaw.h:59
ESHandle.h
DTLayerId.h
edm::EDGetTokenT< DTDigiCollection >
FEDRawDataCollection
Definition: FEDRawDataCollection.h:18
DTuROSDigiToRaw::nfeds_
int nfeds_
Definition: DTuROSDigiToRaw.h:55
DTuROSControlData.h
EDProducer.h
DTuROSDigiToRaw::fillRawData
bool fillRawData(edm::Event &e, const edm::EventSetup &c, FEDRawDataCollection &data)
Generate and fill FED raw data for a full event.
Definition: DTuROSDigiToRaw.cc:54
edm::Handle< DTDigiCollection >
DTuROSDigiToRaw::Raw_token
edm::EDGetTokenT< DTDigiCollection > Raw_token
Definition: DTuROSDigiToRaw.h:83
edm::ESHandle< DTReadOutMapping >
DTuROSDigiToRaw::feds_
std::vector< int > feds_
Definition: DTuROSDigiToRaw.h:57
DTuROSDigiToRaw::debug_
bool debug_
Definition: DTuROSDigiToRaw.h:53
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
DTuROSDigiToRaw::DTuROSDigiToRaw
DTuROSDigiToRaw(const edm::ParameterSet &pset)
Constructor.
Definition: DTuROSDigiToRaw.cc:26
DTuROSDigiToRaw::process
void process(int DTuROSFED, edm::Handle< DTDigiCollection > digis, edm::ESHandle< DTReadOutMapping > mapping, FEDRawDataCollection &data)
Definition: DTuROSDigiToRaw.cc:70
DOCESLOTS
static const int DOCESLOTS
Definition: DTuROSControlData.h:19
FEDRawDataCollection.h
DTuROSDigiToRaw::bslts
int bslts[DOCESLOTS]
Definition: DTuROSDigiToRaw.h:59
edm::stream::EDProducer
Definition: EDProducer.h:38
DTuROSDigiToRaw::getDTDigiInputTag
edm::InputTag getDTDigiInputTag()
Definition: DTuROSDigiToRaw.h:81
edm::EventSetup
Definition: EventSetup.h:57
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
DTuROSDigiToRaw
Definition: DTuROSDigiToRaw.h:34
InputTag.h
DTuROSDigiToRaw::theSLT
int theSLT(int ddu, int ros, int rob)
Definition: DTuROSDigiToRaw.cc:303
DTuROSDigiToRaw::theCRT
int theCRT(int ddu, int ros)
Definition: DTuROSDigiToRaw.cc:290
DTuROSDigiToRaw::DTDigiInputTag_
edm::InputTag DTDigiInputTag_
Definition: DTuROSDigiToRaw.h:51
DTuROSDigiToRaw::eventNum
unsigned int eventNum
Definition: DTuROSDigiToRaw.h:49
EventSetup.h
DTuROSDigiToRaw::clear
void clear()
Definition: DTuROSDigiToRaw.cc:280
DTuROSDigiToRaw::produce
void produce(edm::Event &e, const edm::EventSetup &c) override
Produce digis out of raw data.
Definition: DTuROSDigiToRaw.cc:43
DTuROSDigiToRaw::wslts
std::vector< int > wslts[DOCESLOTS]
Definition: DTuROSDigiToRaw.h:61
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
ConsumesCollector.h
DTDigiCollection.h
DTuROSDigiToRaw::~DTuROSDigiToRaw
~DTuROSDigiToRaw() override
Destructor.
Definition: DTuROSDigiToRaw.cc:41
ParameterSet.h
edm::Event
Definition: Event.h:73
taus_updatedMVAIds_cff.mapping
mapping
Definition: taus_updatedMVAIds_cff.py:28
edm::InputTag
Definition: InputTag.h:15
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
DTReadOutMapping
Definition: DTReadOutMapping.h:62
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37