21 std::vector<EcalTBH2TDCRecInfoAlgo::EcalTBH2TDCRanges>
tdcRanges;
23 typedef std::vector< edm::ParameterSet >
Parameters;
25 for(Parameters::iterator itRanges = ranges.begin(); itRanges != ranges.end(); ++itRanges)
28 aRange.
runRanges.first = itRanges->getParameter<
int>(
"startRun");
29 aRange.
runRanges.second = itRanges->getParameter<
int>(
"endRun");
30 aRange.
tdcZero = itRanges->getParameter<
double >(
"tdcZero");
31 tdcRanges.push_back(aRange);
55 ecalTDCRawInfo = ecalRawTDC.
product();
59 if (! ecalTDCRawInfo )
72 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_
std::pair< int, int > runRanges
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
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