test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GctDigiToRaw.h
Go to the documentation of this file.
1 #ifndef GctDigiToRaw_h
2 #define GctDigiToRaw_h
3 
4 // -*- C++ -*-
5 //
6 // Package: GctDigiToRaw
7 // Class: GctDigiToRaw
8 //
16 //
17 // Original Author: Jim Brooke
18 // Created: Wed Nov 1 11:57:10 CET 2006
19 //
20 //
21 
22 
23 // system include files
24 #include <memory>
25 
26 // user include files
32 
34 
36 
37 //
38 // class decleration
39 //
40 
41 class GctDigiToRaw : public edm::EDProducer {
42  public:
43  explicit GctDigiToRaw(const edm::ParameterSet&);
44  ~GctDigiToRaw();
45 
46  private: // methods
47  virtual void beginJob();
48  virtual void produce(edm::Event&, const edm::EventSetup&);
49  virtual void endJob() ;
50 
51  void print(FEDRawData& data);
52 
53  private: // members
54 
55  // input tokens
70 
71  // pack flags
72  bool packRctEm_;
74 
75  // FED numbers
76  int fedId_;
77 
78  // print out for each event
79  bool verbose_;
80 
81  // counter events
82  int counter_;
83 
84  // digi to block converter
86 
87 };
88 
89 #endif
edm::EDGetTokenT< L1GctHFBitCountsCollection > tokenGctHFBitCounts_
Definition: GctDigiToRaw.h:65
edm::EDGetTokenT< L1GctJetCandCollection > tokenGctJetCand_forJets_
Definition: GctDigiToRaw.h:59
bool packRctCalo_
Definition: GctDigiToRaw.h:73
edm::EDGetTokenT< L1GctEmCandCollection > tokenL1GctEmCand_isoEm_
Definition: GctDigiToRaw.h:56
edm::EDGetTokenT< L1CaloEmCollection > tokenCaloEm_
Definition: GctDigiToRaw.h:68
virtual void endJob()
edm::EDGetTokenT< L1GctJetCandCollection > tokenGctJetCand_tauJets_
Definition: GctDigiToRaw.h:60
edm::EDGetTokenT< L1GctHtMissCollection > tokenGctHtMiss_
Definition: GctDigiToRaw.h:66
edm::EDGetTokenT< L1GctEtTotalCollection > tokenGctEtTotal_
Definition: GctDigiToRaw.h:61
edm::EDGetTokenT< L1CaloRegionCollection > tokenCaloRegion_
Definition: GctDigiToRaw.h:69
edm::EDGetTokenT< L1GctJetCountsCollection > tokenGctJetCounts_
Definition: GctDigiToRaw.h:67
virtual void produce(edm::Event &, const edm::EventSetup &)
Definition: GctDigiToRaw.cc:89
GctDigiToRaw(const edm::ParameterSet &)
Definition: GctDigiToRaw.cc:40
edm::EDGetTokenT< L1GctJetCandCollection > tokenGctJetCand_cenJets_
Definition: GctDigiToRaw.h:58
edm::EDGetTokenT< L1GctEtMissCollection > tokenGctEtMiss_
Definition: GctDigiToRaw.h:63
void print(FEDRawData &data)
edm::EDGetTokenT< L1GctEtHadCollection > tokenGctEtHad_
Definition: GctDigiToRaw.h:62
edm::EDGetTokenT< L1GctHFRingEtSumsCollection > tokenGctHFRingEtSums_
Definition: GctDigiToRaw.h:64
Unpacks/packs the MC Legacy data originally produced by the GctBlockPacker class. ...
edm::EDGetTokenT< L1GctEmCandCollection > tokenL1GctEmCand_nonIsoEm_
Definition: GctDigiToRaw.h:57
virtual void beginJob()
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
GctFormatTranslateMCLegacy formatTranslator_
Definition: GctDigiToRaw.h:85