Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
L1Trigger
TextToDigi
plugins
RawToText.h
Go to the documentation of this file.
1
#ifndef RAWTOTEXT_H
2
#define RAWTOTEXT_H
3
4
/*\class RawToText
5
*\description conversion of GCT raw to text formats
6
based on and reverses J.Brooke's TextToRaw
7
*\usage trigger pattern tests
8
*\author Nuno Leonardo (CERN)
9
*\date 07.08
10
*/
11
12
// system include files
13
#include <memory>
14
#include <string>
15
#include <fstream>
16
// user include files
17
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
18
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
19
#include "
FWCore/Framework/interface/Event.h
"
20
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
21
22
#include "
DataFormats/FEDRawData/interface/FEDRawData.h
"
23
24
25
class
RawToText
:
public
edm::EDAnalyzer
{
26
public
:
27
explicit
RawToText
(
const
edm::ParameterSet
&);
28
~RawToText
();
29
30
private
:
31
virtual
void
beginJob
();
32
virtual
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&);
33
virtual
void
endJob
();
34
35
private
:
36
37
// FED collection label
38
edm::InputTag
inputLabel_
;
39
40
// ID of the FED to emulate
41
int
fedId_
;
42
43
// File to write
44
std::string
filename_
;
45
std::ofstream
file_
;
46
47
int
nevt_
;
48
};
49
50
#endif
RawToText::fedId_
int fedId_
Definition:
RawToText.h:41
Event.h
RawToText::RawToText
RawToText(const edm::ParameterSet &)
Definition:
RawToText.cc:16
RawToText::file_
std::ofstream file_
Definition:
RawToText.h:45
Frameworkfwd.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
RawToText
Definition:
RawToText.h:25
ParameterSet.h
RawToText::filename_
std::string filename_
Definition:
RawToText.h:44
RawToText::endJob
virtual void endJob()
Definition:
RawToText.cc:79
RawToText::~RawToText
~RawToText()
Definition:
RawToText.cc:25
edm::EventSetup
Definition:
EventSetup.h:44
edm::EDAnalyzer
Definition:
EDAnalyzer.h:27
EDAnalyzer.h
RawToText::inputLabel_
edm::InputTag inputLabel_
Definition:
RawToText.h:38
RawToText::nevt_
int nevt_
Definition:
RawToText.h:47
RawToText::analyze
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition:
RawToText.cc:28
edm::InputTag
Definition:
InputTag.h:17
FEDRawData.h
edm::ParameterSet
Definition:
ParameterSet.h:35
edm::Event
Definition:
Event.h:59
RawToText::beginJob
virtual void beginJob()
Definition:
RawToText.cc:67
Generated for CMSSW Reference Manual by
1.8.5