19 std::vector<EcalTBH2TDCRecInfoAlgo::EcalTBH2TDCRanges>
tdcRanges;
21 typedef std::vector<edm::ParameterSet>
Parameters;
23 for (Parameters::iterator itRanges = ranges.begin(); itRanges != ranges.end(); ++itRanges) {
25 aRange.
runRanges.first = itRanges->getParameter<
int>(
"startRun");
26 aRange.
runRanges.second = itRanges->getParameter<
int>(
"endRun");
27 aRange.
tdcZero = itRanges->getParameter<
double>(
"tdcZero");
28 tdcRanges.push_back(aRange);
50 ecalTDCRawInfo = ecalRawTDC.
product();
53 if (!ecalTDCRawInfo) {
64 h2TriggerData = triggerData.
product();
T getParameter(std::string const &) const
std::string triggerDataProducer_
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
EcalTBH2TDCRecInfoProducer(const edm::ParameterSet &ps)
~EcalTBH2TDCRecInfoProducer() override
std::string recInfoCollection_
EcalTBH2TDCRecInfoAlgo * algo_
std::string rawInfoProducer_
EcalTBTDCRecInfo reconstruct(const int &runNumber, const HcalTBTiming &TDCRawInfo) const
vector< ParameterSet > Parameters
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
T const * product() const
std::pair< int, int > runRanges
void produce(edm::Event &e, const edm::EventSetup &es) override
std::string rawInfoCollection_
std::string triggerDataCollection_
bool wasBeamTrigger() const
returns true if this trigger came from beam data