CMS 3D CMS Logo

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 // system include files
23 #include <memory>
24 
25 // user include files
31 
33 
35 
36 //
37 // class decleration
38 //
39 
41 public:
42  explicit GctDigiToRaw(const edm::ParameterSet&);
43 
44 private: // methods
45  void produce(edm::StreamID, edm::Event&, const edm::EventSetup&) const final;
46 
47  void print(FEDRawData& data) const;
48 
49 private: // members
50  // input tokens
66  // pack flags
67  const bool packRctEm_;
68  const bool packRctCalo_;
69 
70  // FED numbers
71  const int fedId_;
72 
73  // print out for each event
74  const bool verbose_;
75 
76  // counter events
77  mutable std::atomic<int> counter_;
78 };
79 
80 #endif
edm::StreamID
Definition: StreamID.h:30
GctDigiToRaw::tokenGctHtMiss_
edm::EDGetTokenT< L1GctHtMissCollection > tokenGctHtMiss_
Definition: GctDigiToRaw.h:61
GctDigiToRaw::tokenCaloRegion_
edm::EDGetTokenT< L1CaloRegionCollection > tokenCaloRegion_
Definition: GctDigiToRaw.h:64
GctFormatTranslateMCLegacy.h
GctDigiToRaw::tokenPut_
edm::EDPutTokenT< FEDRawDataCollection > tokenPut_
Definition: GctDigiToRaw.h:65
edm::EDGetTokenT< L1GctEmCandCollection >
GctDigiToRaw::produce
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const final
Definition: GctDigiToRaw.cc:77
edm::EDPutTokenT< FEDRawDataCollection >
GctDigiToRaw::packRctEm_
const bool packRctEm_
Definition: GctDigiToRaw.h:67
GctDigiToRaw::GctDigiToRaw
GctDigiToRaw(const edm::ParameterSet &)
Definition: GctDigiToRaw.cc:39
GctDigiToRaw::tokenGctHFRingEtSums_
edm::EDGetTokenT< L1GctHFRingEtSumsCollection > tokenGctHFRingEtSums_
Definition: GctDigiToRaw.h:59
GctDigiToRaw::print
void print(FEDRawData &data) const
Definition: GctDigiToRaw.cc:202
GctDigiToRaw
Definition: GctDigiToRaw.h:40
GctDigiToRaw::verbose_
const bool verbose_
Definition: GctDigiToRaw.h:74
FEDRawData.h
FEDRawData
Definition: FEDRawData.h:19
GctDigiToRaw::fedId_
const int fedId_
Definition: GctDigiToRaw.h:71
GctDigiToRaw::tokenGctJetCounts_
edm::EDGetTokenT< L1GctJetCountsCollection > tokenGctJetCounts_
Definition: GctDigiToRaw.h:62
EDGetToken.h
GctDigiToRaw::packRctCalo_
const bool packRctCalo_
Definition: GctDigiToRaw.h:68
edm::global::EDProducer
Definition: EDProducer.h:32
GctDigiToRaw::tokenGctHFBitCounts_
edm::EDGetTokenT< L1GctHFBitCountsCollection > tokenGctHFBitCounts_
Definition: GctDigiToRaw.h:60
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
GctDigiToRaw::counter_
std::atomic< int > counter_
Definition: GctDigiToRaw.h:77
GctDigiToRaw::tokenGctJetCand_tauJets_
edm::EDGetTokenT< L1GctJetCandCollection > tokenGctJetCand_tauJets_
Definition: GctDigiToRaw.h:55
GctDigiToRaw::tokenL1GctEmCand_isoEm_
edm::EDGetTokenT< L1GctEmCandCollection > tokenL1GctEmCand_isoEm_
Definition: GctDigiToRaw.h:51
edm::EventSetup
Definition: EventSetup.h:57
GctDigiToRaw::tokenCaloEm_
edm::EDGetTokenT< L1CaloEmCollection > tokenCaloEm_
Definition: GctDigiToRaw.h:63
GctDigiToRaw::tokenGctEtTotal_
edm::EDGetTokenT< L1GctEtTotalCollection > tokenGctEtTotal_
Definition: GctDigiToRaw.h:56
Frameworkfwd.h
GctDigiToRaw::tokenGctEtMiss_
edm::EDGetTokenT< L1GctEtMissCollection > tokenGctEtMiss_
Definition: GctDigiToRaw.h:58
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
GctDigiToRaw::tokenGctJetCand_forJets_
edm::EDGetTokenT< L1GctJetCandCollection > tokenGctJetCand_forJets_
Definition: GctDigiToRaw.h:54
GctDigiToRaw::tokenGctJetCand_cenJets_
edm::EDGetTokenT< L1GctJetCandCollection > tokenGctJetCand_cenJets_
Definition: GctDigiToRaw.h:53
GctDigiToRaw::tokenL1GctEmCand_nonIsoEm_
edm::EDGetTokenT< L1GctEmCandCollection > tokenL1GctEmCand_nonIsoEm_
Definition: GctDigiToRaw.h:52
ParameterSet.h
EDProducer.h
GctDigiToRaw::tokenGctEtHad_
edm::EDGetTokenT< L1GctEtHadCollection > tokenGctEtHad_
Definition: GctDigiToRaw.h:57
edm::Event
Definition: Event.h:73