CMS 3D CMS Logo

HcalRawToDigi.h
Go to the documentation of this file.
1 #ifndef HcalRawToDigi_h
2 #define HcalRawToDigi_h
3 
20 
23 
26 
28 
30 {
31 public:
32  explicit HcalRawToDigi(const edm::ParameterSet& ps);
33  ~HcalRawToDigi() override;
34  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
35  void produce(edm::Event& , const edm::EventSetup&) override;
36 private:
40  std::vector<int> fedUnpackList_;
41  const int firstFED_;
44 
45  // input configs for additional QIE10 samples
46  std::vector<int> saveQIE10DataNSamples_;
47  std::vector<std::string> saveQIE10DataTags_;
48 
49  // input configs for additional QIE11 samples
50  std::vector<int> saveQIE11DataNSamples_;
51  std::vector<std::string> saveQIE11DataTags_;
52 
56 
57  // maps to easily associate nSamples to
58  // the tag for additional qie10 and qie11 info
59  std::unordered_map<int, std::string> saveQIE10Info_;
60  std::unordered_map<int, std::string> saveQIE11Info_;
61 
62 
63  struct Statistics {
65  int max_ho, ave_ho;
66  int max_hf, ave_hf;
67  int max_tp, ave_tp;
71  } stats_;
72 };
73 
74 #endif
HcalDataFrameFilter filter_
Definition: HcalRawToDigi.h:39
const bool unpackTTP_
Definition: HcalRawToDigi.h:42
std::unordered_map< int, std::string > saveQIE11Info_
Definition: HcalRawToDigi.h:60
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::vector< std::string > saveQIE10DataTags_
Definition: HcalRawToDigi.h:47
~HcalRawToDigi() override
void produce(edm::Event &, const edm::EventSetup &) override
const int expectedOrbitMessageTime_
Definition: HcalRawToDigi.h:54
std::vector< int > saveQIE11DataNSamples_
Definition: HcalRawToDigi.h:50
const bool complainEmptyData_
Definition: HcalRawToDigi.h:53
std::string electronicsMapLabel_
Definition: HcalRawToDigi.h:55
struct HcalRawToDigi::Statistics stats_
const bool unpackZDC_
Definition: HcalRawToDigi.h:42
const bool unpackCalib_
Definition: HcalRawToDigi.h:42
HcalRawToDigi(const edm::ParameterSet &ps)
std::unordered_map< int, std::string > saveQIE10Info_
Definition: HcalRawToDigi.h:59
const bool silent_
Definition: HcalRawToDigi.h:53
std::vector< int > fedUnpackList_
Definition: HcalRawToDigi.h:40
std::vector< int > saveQIE10DataNSamples_
Definition: HcalRawToDigi.h:46
unsigned long long uint64_t
Definition: Time.h:15
const int unpackerMode_
Definition: HcalRawToDigi.h:54
HcalUnpacker unpacker_
Definition: HcalRawToDigi.h:38
const int firstFED_
Definition: HcalRawToDigi.h:41
edm::EDGetTokenT< FEDRawDataCollection > tok_data_
Definition: HcalRawToDigi.h:37
std::vector< std::string > saveQIE11DataTags_
Definition: HcalRawToDigi.h:51