CMS 3D CMS Logo

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
HcalRawToDigi::Statistics::ave_calib
int ave_calib
Definition: HcalRawToDigi.h:73
Handle.h
HcalRawToDigi::saveQIE10DataTags_
std::vector< std::string > saveQIE10DataTags_
Definition: HcalRawToDigi.h:52
HcalRawToDigi::unpackZDC_
const bool unpackZDC_
Definition: HcalRawToDigi.h:47
HcalRawToDigi::unpackCalib_
const bool unpackCalib_
Definition: HcalRawToDigi.h:47
HcalRawToDigi::Statistics
Definition: HcalRawToDigi.h:67
HcalElectronicsMapRcd.h
HcalRawToDigi::tok_dbService_
edm::ESGetToken< HcalDbService, HcalDbRecord > tok_dbService_
Definition: HcalRawToDigi.h:41
edm::EDGetTokenT< FEDRawDataCollection >
HcalRawToDigi::Statistics::n
uint64_t n
Definition: HcalRawToDigi.h:74
EDProducer.h
HcalRawToDigi
Definition: HcalRawToDigi.h:32
HcalRawToDigi::Statistics::max_hf
int max_hf
Definition: HcalRawToDigi.h:70
HcalDataFrameFilter.h
HcalRawToDigi::saveQIE11Info_
std::unordered_map< int, std::string > saveQIE11Info_
Definition: HcalRawToDigi.h:65
HcalRawToDigi::unpackTTP_
const bool unpackTTP_
Definition: HcalRawToDigi.h:47
HcalRawToDigi::Statistics::ave_tp
int ave_tp
Definition: HcalRawToDigi.h:71
ESGetToken.h
HcalRawToDigi::Statistics::max_ho
int max_ho
Definition: HcalRawToDigi.h:69
HcalRawToDigi::~HcalRawToDigi
~HcalRawToDigi() override
Definition: HcalRawToDigi.cc:147
HcalRawToDigi::complainEmptyData_
const bool complainEmptyData_
Definition: HcalRawToDigi.h:58
HcalRawToDigi::saveQIE11DataNSamples_
std::vector< int > saveQIE11DataNSamples_
Definition: HcalRawToDigi.h:55
HcalRawToDigi::filter_
HcalDataFrameFilter filter_
Definition: HcalRawToDigi.h:44
HcalRawToDigi::Statistics::ave_ho
int ave_ho
Definition: HcalRawToDigi.h:69
HcalRawToDigi::silent_
const bool silent_
Definition: HcalRawToDigi.h:58
HcalDbRecord.h
HcalRawToDigi::Statistics::ave_hf
int ave_hf
Definition: HcalRawToDigi.h:70
HcalRawToDigi::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition: HcalRawToDigi.cc:174
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HcalRawToDigi::Statistics::ave_tpho
int ave_tpho
Definition: HcalRawToDigi.h:72
edm::ParameterSet
Definition: ParameterSet.h:47
HcalRawToDigi::Statistics::ave_hbhe
int ave_hbhe
Definition: HcalRawToDigi.h:68
HcalRawToDigi::electronicsMapLabel_
std::string electronicsMapLabel_
Definition: HcalRawToDigi.h:60
Event.h
HcalRawToDigi::HcalRawToDigi
HcalRawToDigi(const edm::ParameterSet &ps)
Definition: HcalRawToDigi.cc:12
HcalRawToDigi::Statistics::max_tp
int max_tp
Definition: HcalRawToDigi.h:71
HcalRawToDigi::Statistics::max_tpho
int max_tpho
Definition: HcalRawToDigi.h:72
HcalRawToDigi::expectedOrbitMessageTime_
const int expectedOrbitMessageTime_
Definition: HcalRawToDigi.h:59
HcalRawToDigi::saveQIE10DataNSamples_
std::vector< int > saveQIE10DataNSamples_
Definition: HcalRawToDigi.h:51
FEDRawDataCollection.h
edm::stream::EDProducer
Definition: EDProducer.h:38
HcalRawToDigi::saveQIE10Info_
std::unordered_map< int, std::string > saveQIE10Info_
Definition: HcalRawToDigi.h:64
edm::EventSetup
Definition: EventSetup.h:57
edm::ESGetToken< HcalDbService, HcalDbRecord >
HcalUnpacker
Definition: HcalUnpacker.h:21
HcalUnpacker.h
HcalRawToDigi::unpackUMNio_
bool unpackUMNio_
Definition: HcalRawToDigi.h:48
HcalRawToDigi::unpackerMode_
const int unpackerMode_
Definition: HcalRawToDigi.h:59
HcalRawToDigi::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: HcalRawToDigi.cc:149
HcalRawToDigi::stats_
struct HcalRawToDigi::Statistics stats_
HcalRawToDigi::Statistics::max_hbhe
int max_hbhe
Definition: HcalRawToDigi.h:68
HcalRawToDigi::firstFED_
const int firstFED_
Definition: HcalRawToDigi.h:46
EventSetup.h
HcalRawToDigi::unpacker_
HcalUnpacker unpacker_
Definition: HcalRawToDigi.h:43
HcalDataFrameFilter
Definition: HcalDataFrameFilter.h:19
HcalDbService.h
cond::uint64_t
unsigned long long uint64_t
Definition: Time.h:13
ParameterSet.h
edm::Event
Definition: Event.h:73
HcalRawToDigi::tok_electronicsMap_
edm::ESGetToken< HcalElectronicsMap, HcalElectronicsMapRcd > tok_electronicsMap_
Definition: HcalRawToDigi.h:42
HcalRawToDigi::tok_data_
edm::EDGetTokenT< FEDRawDataCollection > tok_data_
Definition: HcalRawToDigi.h:40
HcalRawToDigi::saveQIE11DataTags_
std::vector< std::string > saveQIE11DataTags_
Definition: HcalRawToDigi.h:56
HcalRawToDigi::fedUnpackList_
std::vector< int > fedUnpackList_
Definition: HcalRawToDigi.h:45
HcalRawToDigi::Statistics::max_calib
int max_calib
Definition: HcalRawToDigi.h:73