CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HcalRawToDigi.h
Go to the documentation of this file.
1 #ifndef HcalRawToDigi_h
2 #define HcalRawToDigi_h
3 
20 
26 
31 
33 public:
34  explicit HcalRawToDigi(const edm::ParameterSet& ps);
35  ~HcalRawToDigi() override;
36  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
37  void produce(edm::Event&, const edm::EventSetup&) override;
38 
39 private:
45  std::vector<int> fedUnpackList_;
46  const int firstFED_;
49 
50  // input configs for additional QIE10 samples
51  std::vector<int> saveQIE10DataNSamples_;
52  std::vector<std::string> saveQIE10DataTags_;
53 
54  // input configs for additional QIE11 samples
55  std::vector<int> saveQIE11DataNSamples_;
56  std::vector<std::string> saveQIE11DataTags_;
57 
61 
62  // maps to easily associate nSamples to
63  // the tag for additional qie10 and qie11 info
64  std::unordered_map<int, std::string> saveQIE10Info_;
65  std::unordered_map<int, std::string> saveQIE11Info_;
66 
67  struct Statistics {
69  int max_ho, ave_ho;
70  int max_hf, ave_hf;
71  int max_tp, ave_tp;
75  } stats_;
76 };
77 
78 #endif
HcalDataFrameFilter filter_
Definition: HcalRawToDigi.h:44
const bool unpackTTP_
Definition: HcalRawToDigi.h:47
std::unordered_map< int, std::string > saveQIE11Info_
Definition: HcalRawToDigi.h:65
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::vector< std::string > saveQIE10DataTags_
Definition: HcalRawToDigi.h:52
~HcalRawToDigi() override
void produce(edm::Event &, const edm::EventSetup &) override
edm::ESGetToken< HcalDbService, HcalDbRecord > tok_dbService_
Definition: HcalRawToDigi.h:41
const int expectedOrbitMessageTime_
Definition: HcalRawToDigi.h:59
std::vector< int > saveQIE11DataNSamples_
Definition: HcalRawToDigi.h:55
const bool complainEmptyData_
Definition: HcalRawToDigi.h:58
std::string electronicsMapLabel_
Definition: HcalRawToDigi.h:60
struct HcalRawToDigi::Statistics stats_
const bool unpackZDC_
Definition: HcalRawToDigi.h:47
const bool unpackCalib_
Definition: HcalRawToDigi.h:47
HcalRawToDigi(const edm::ParameterSet &ps)
std::unordered_map< int, std::string > saveQIE10Info_
Definition: HcalRawToDigi.h:64
const bool silent_
Definition: HcalRawToDigi.h:58
std::vector< int > fedUnpackList_
Definition: HcalRawToDigi.h:45
std::vector< int > saveQIE10DataNSamples_
Definition: HcalRawToDigi.h:51
unsigned long long uint64_t
Definition: Time.h:13
const int unpackerMode_
Definition: HcalRawToDigi.h:59
HcalUnpacker unpacker_
Definition: HcalRawToDigi.h:43
const int firstFED_
Definition: HcalRawToDigi.h:46
edm::EDGetTokenT< FEDRawDataCollection > tok_data_
Definition: HcalRawToDigi.h:40
std::vector< std::string > saveQIE11DataTags_
Definition: HcalRawToDigi.h:56
edm::ESGetToken< HcalElectronicsMap, HcalElectronicsMapRcd > tok_electronicsMap_
Definition: HcalRawToDigi.h:42