CMS 3D CMS Logo

ESDigiToRaw.h
Go to the documentation of this file.
1 #ifndef ESDIGITORAW_H
2 #define ESDIGITORAW_H
3 
4 #include <memory>
5 #include <iostream>
6 #include <string>
7 #include <fstream>
8 
17 
19 
21 public:
22  ESDigiToRaw(const edm::ParameterSet& ps);
23  ~ESDigiToRaw() override;
24 
25  void produce(edm::StreamID, edm::Event& e, const edm::EventSetup& es) const override;
26 
27  typedef uint32_t Word32;
28  typedef uint64_t Word64;
29 
30  static const int BXMAX = 2808;
31  static const int LHC_BX_RANGE = 3564;
32  static const int KCHIP_BC_RANGE = 4096;
33  static const int KCHIP_EC_RANGE = 256;
34 
35 private:
36  int fedId_[2][2][40][40];
37 
43  const bool debug_;
44  const int formatMajor_;
45  const int formatMinor_;
46 };
47 
48 #endif
edm::StreamID
Definition: StreamID.h:30
Handle.h
MessageLogger.h
ESDigiToRaw
Definition: ESDigiToRaw.h:20
ESDigiToRaw::ESDigiToken_
const edm::EDGetTokenT< ESDigiCollection > ESDigiToken_
Definition: ESDigiToRaw.h:41
ESDigiToRaw::formatMinor_
const int formatMinor_
Definition: ESDigiToRaw.h:45
edm::EDGetTokenT< ESDigiCollection >
ESDigiToRaw::KCHIP_EC_RANGE
static const int KCHIP_EC_RANGE
Definition: ESDigiToRaw.h:33
FileInPath.h
edm::FileInPath
Definition: FileInPath.h:64
ESDigiToRaw::produce
void produce(edm::StreamID, edm::Event &e, const edm::EventSetup &es) const override
Definition: ESDigiToRaw.cc:58
ESDigiToRaw::fedId_
int fedId_[2][2][40][40]
Definition: ESDigiToRaw.h:36
EcalDigiCollections.h
ESDigiToRaw::formatMajor_
const int formatMajor_
Definition: ESDigiToRaw.h:44
edm::global::EDProducer
Definition: EDProducer.h:32
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:47
ESDigiToRaw::debug_
const bool debug_
Definition: ESDigiToRaw.h:43
ESDigiToRaw::ESDataFormatter_
const ESDataFormatter * ESDataFormatter_
Definition: ESDigiToRaw.h:38
Event.h
ESDigiToRaw::lookup_
const edm::FileInPath lookup_
Definition: ESDigiToRaw.h:42
ESDigiToRaw::Word64
uint64_t Word64
Definition: ESDigiToRaw.h:28
ESDataFormatter.h
edm::EventSetup
Definition: EventSetup.h:57
ESDataFormatter
Definition: ESDataFormatter.h:16
ESDigiToRaw::KCHIP_BC_RANGE
static const int KCHIP_BC_RANGE
Definition: ESDigiToRaw.h:32
ESDigiToRaw::label_
const std::string label_
Definition: ESDigiToRaw.h:39
ESDigiToRaw::BXMAX
static const int BXMAX
Definition: ESDigiToRaw.h:30
ESDigiToRaw::LHC_BX_RANGE
static const int LHC_BX_RANGE
Definition: ESDigiToRaw.h:31
EventSetup.h
ESDigiToRaw::instanceName_
const std::string instanceName_
Definition: ESDigiToRaw.h:40
ESDigiToRaw::ESDigiToRaw
ESDigiToRaw(const edm::ParameterSet &ps)
Definition: ESDigiToRaw.cc:14
cond::uint64_t
unsigned long long uint64_t
Definition: Time.h:13
ParameterSet.h
EDProducer.h
edm::Event
Definition: Event.h:73
ESDigiToRaw::Word32
uint32_t Word32
Definition: ESDigiToRaw.h:27
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
ESDigiToRaw::~ESDigiToRaw
~ESDigiToRaw() override
Definition: ESDigiToRaw.cc:53