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");
50 ecalTDCRawInfo = ecalRawTDC.
product();
53 if (!ecalTDCRawInfo) {
64 h2TriggerData = triggerData.
product();
std::string triggerDataProducer_
T getParameter(std::string const &) const
EcalTBH2TDCRecInfoProducer(const edm::ParameterSet &ps)
~EcalTBH2TDCRecInfoProducer() override
std::string recInfoCollection_
EcalTBH2TDCRecInfoAlgo * algo_
T const * product() const
EcalTBTDCRecInfo reconstruct(const int &runNumber, const HcalTBTiming &TDCRawInfo) const
Log< level::Error, false > LogError
std::string rawInfoProducer_
vector< ParameterSet > Parameters
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