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 };
49 
50 #endif
static const int KCHIP_EC_RANGE
Definition: ESDigiToRaw.h:33
~ESDigiToRaw() override
Definition: ESDigiToRaw.cc:54
const edm::EDGetTokenT< ESDigiCollection > ESDigiToken_
Definition: ESDigiToRaw.h:41
const int formatMajor_
Definition: ESDigiToRaw.h:44
const ESDataFormatter * ESDataFormatter_
Definition: ESDigiToRaw.h:38
uint64_t Word64
Definition: ESDigiToRaw.h:28
int fedId_[2][2][40][40]
Definition: ESDigiToRaw.h:36
void produce(edm::StreamID, edm::Event &e, const edm::EventSetup &es) const override
Definition: ESDigiToRaw.cc:58
const bool debug_
Definition: ESDigiToRaw.h:43
unsigned long long uint64_t
Definition: Time.h:15
const edm::FileInPath lookup_
Definition: ESDigiToRaw.h:42
const std::string label_
Definition: ESDigiToRaw.h:39
ESDigiToRaw(const edm::ParameterSet &ps)
Definition: ESDigiToRaw.cc:14
static const int KCHIP_BC_RANGE
Definition: ESDigiToRaw.h:32
const std::string instanceName_
Definition: ESDigiToRaw.h:40
static const int BXMAX
Definition: ESDigiToRaw.h:30
const int formatMinor_
Definition: ESDigiToRaw.h:45
static const int LHC_BX_RANGE
Definition: ESDigiToRaw.h:31
uint32_t Word32
Definition: ESDigiToRaw.h:27