1 #ifndef HGCSIMDIGISOURCE_H
2 #define HGCSIMDIGISOURCE_H
15 #include "FWCore/Framework/interface/Event.h"
16 #include "FWCore/ParameterSet/interface/ParameterSet.h"
17 #include "FWCore/Sources/interface/ProducerSourceFromFiles.h"
18 #include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
19 #include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
20 #include "FWCore/Utilities/interface/Exception.h"
22 #include "DataFormats/FEDRawData/interface/FEDRawDataCollection.h"
23 #include "HGCal/CondObjects/interface/HGCalElectronicsMap.h"
24 #include "HGCal/TBStandaloneSimulator/interface/HGCSSSimHit.hh"
25 #include "HGCal/TBStandaloneSimulator/interface/HGCCellMap.h"
26 #include "HGCal/DataFormats/interface/HGCalTBDataFrameContainers.h"
32 edm::InputSourceDescription
62 int rhs = 64 * o_ski + o.
channel;
68 virtual bool setRunAndEventInfo(edm::EventID&
id,
69 edm::TimeValue_t& time,
70 edm::EventAuxiliary::ExperimentType&);
72 virtual void produce(edm::Event& e);
74 virtual void digitize(std::vector<HGCSimDigiSource::Cell>& channels);
80 std::vector<std::string> _filenames;
81 std::vector<std::string> _noisefilenames;
90 HGCSSSimHitVec* _simhits;
98 std::vector<std::map<uint32_t, uint16_t> > _noise;
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
HGCSimDigiSource(const edm::ParameterSet &pset, edm::InputSourceDescription const &desc)
virtual ~HGCSimDigiSource()
provides the conversion between electronics Id to DetId
bool operator<(HGCSimDigiSource::Cell &o)