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 public:
31  explicit HcalRawToDigi(const edm::ParameterSet& ps);
32  ~HcalRawToDigi() override;
33  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
34  void produce(edm::Event&, const edm::EventSetup&) override;
35 
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  struct Statistics {
64  int max_ho, ave_ho;
65  int max_hf, ave_hf;
66  int max_tp, ave_tp;
70  } stats_;
71 };
72 
73 #endif
HcalRawToDigi::Statistics::ave_calib
int ave_calib
Definition: HcalRawToDigi.h:68
Handle.h
HcalRawToDigi::saveQIE10DataTags_
std::vector< std::string > saveQIE10DataTags_
Definition: HcalRawToDigi.h:47
HcalRawToDigi::unpackZDC_
const bool unpackZDC_
Definition: HcalRawToDigi.h:42
HcalRawToDigi::unpackCalib_
const bool unpackCalib_
Definition: HcalRawToDigi.h:42
HcalRawToDigi::Statistics
Definition: HcalRawToDigi.h:62
edm::EDGetTokenT< FEDRawDataCollection >
HcalRawToDigi::Statistics::n
uint64_t n
Definition: HcalRawToDigi.h:69
EDProducer.h
HcalRawToDigi
Definition: HcalRawToDigi.h:29
HcalRawToDigi::Statistics::max_hf
int max_hf
Definition: HcalRawToDigi.h:65
HcalDataFrameFilter.h
HcalRawToDigi::saveQIE11Info_
std::unordered_map< int, std::string > saveQIE11Info_
Definition: HcalRawToDigi.h:60
HcalRawToDigi::unpackTTP_
const bool unpackTTP_
Definition: HcalRawToDigi.h:42
HcalRawToDigi::Statistics::ave_tp
int ave_tp
Definition: HcalRawToDigi.h:66
HcalRawToDigi::Statistics::max_ho
int max_ho
Definition: HcalRawToDigi.h:64
HcalRawToDigi::~HcalRawToDigi
~HcalRawToDigi() override
Definition: HcalRawToDigi.cc:146
HcalRawToDigi::complainEmptyData_
const bool complainEmptyData_
Definition: HcalRawToDigi.h:53
HcalRawToDigi::saveQIE11DataNSamples_
std::vector< int > saveQIE11DataNSamples_
Definition: HcalRawToDigi.h:50
HcalRawToDigi::filter_
HcalDataFrameFilter filter_
Definition: HcalRawToDigi.h:39
HcalRawToDigi::Statistics::ave_ho
int ave_ho
Definition: HcalRawToDigi.h:64
HcalRawToDigi::silent_
const bool silent_
Definition: HcalRawToDigi.h:53
HcalRawToDigi::Statistics::ave_hf
int ave_hf
Definition: HcalRawToDigi.h:65
HcalRawToDigi::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition: HcalRawToDigi.cc:173
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:67
edm::ParameterSet
Definition: ParameterSet.h:36
HcalRawToDigi::Statistics::ave_hbhe
int ave_hbhe
Definition: HcalRawToDigi.h:63
HcalRawToDigi::electronicsMapLabel_
std::string electronicsMapLabel_
Definition: HcalRawToDigi.h:55
Event.h
HcalRawToDigi::HcalRawToDigi
HcalRawToDigi(const edm::ParameterSet &ps)
Definition: HcalRawToDigi.cc:14
HcalRawToDigi::Statistics::max_tp
int max_tp
Definition: HcalRawToDigi.h:66
HcalRawToDigi::Statistics::max_tpho
int max_tpho
Definition: HcalRawToDigi.h:67
HcalRawToDigi::expectedOrbitMessageTime_
const int expectedOrbitMessageTime_
Definition: HcalRawToDigi.h:54
HcalRawToDigi::saveQIE10DataNSamples_
std::vector< int > saveQIE10DataNSamples_
Definition: HcalRawToDigi.h:46
FEDRawDataCollection.h
edm::stream::EDProducer
Definition: EDProducer.h:38
HcalRawToDigi::saveQIE10Info_
std::unordered_map< int, std::string > saveQIE10Info_
Definition: HcalRawToDigi.h:59
edm::EventSetup
Definition: EventSetup.h:57
HcalUnpacker
Definition: HcalUnpacker.h:21
HcalUnpacker.h
HcalRawToDigi::unpackUMNio_
bool unpackUMNio_
Definition: HcalRawToDigi.h:43
HcalRawToDigi::unpackerMode_
const int unpackerMode_
Definition: HcalRawToDigi.h:54
HcalRawToDigi::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: HcalRawToDigi.cc:148
HcalRawToDigi::stats_
struct HcalRawToDigi::Statistics stats_
HcalRawToDigi::Statistics::max_hbhe
int max_hbhe
Definition: HcalRawToDigi.h:63
HcalRawToDigi::firstFED_
const int firstFED_
Definition: HcalRawToDigi.h:41
EventSetup.h
HcalRawToDigi::unpacker_
HcalUnpacker unpacker_
Definition: HcalRawToDigi.h:38
HcalDataFrameFilter
Definition: HcalDataFrameFilter.h:19
cond::uint64_t
unsigned long long uint64_t
Definition: Time.h:13
ParameterSet.h
edm::Event
Definition: Event.h:73
HcalRawToDigi::tok_data_
edm::EDGetTokenT< FEDRawDataCollection > tok_data_
Definition: HcalRawToDigi.h:37
HcalRawToDigi::saveQIE11DataTags_
std::vector< std::string > saveQIE11DataTags_
Definition: HcalRawToDigi.h:51
HcalRawToDigi::fedUnpackList_
std::vector< int > fedUnpackList_
Definition: HcalRawToDigi.h:40
HcalRawToDigi::Statistics::max_calib
int max_calib
Definition: HcalRawToDigi.h:68