29 std::vector<EcalTBTDCRecInfoAlgo::EcalTBTDCRanges>
tdcRanges;
31 typedef std::vector<edm::ParameterSet>
Parameters;
33 for (Parameters::iterator itRanges =
ranges.begin(); itRanges !=
ranges.end(); ++itRanges) {
35 aRange.
runRanges.first = itRanges->getParameter<
int>(
"startRun");
36 aRange.
runRanges.second = itRanges->getParameter<
int>(
"endRun");
37 aRange.
tdcMin = itRanges->getParameter<std::vector<double> >(
"tdcMin");
38 aRange.
tdcMax = itRanges->getParameter<std::vector<double> >(
"tdcMax");
62 ecalTDCRawInfo = ecalRawTDC.
product();
65 if (!ecalTDCRawInfo) {
70 if ((*ecalTDCRawInfo).size() < 1) {
81 ecalEventHeader = tbEventHeader.
product();
84 if (!ecalEventHeader) {
std::string eventHeaderProducer_
~EcalTBTDCRecInfoProducer() override
T getParameter(std::string const &) const
T const * product() const
std::string rawInfoCollection_
Log< level::Error, false > LogError
std::vector< double > tdcMax
void produce(edm::Event &e, const edm::EventSetup &es) override
T getUntrackedParameter(std::string const &, T const &) const
std::string eventHeaderCollection_
std::vector< double > tdcMin
EcalTBTDCRecInfoAlgo * algo_
EcalTBTDCRecInfoProducer(const edm::ParameterSet &ps)
std::string recInfoCollection_
bool use2004OffsetConvention_
std::pair< int, int > runRanges
std::string rawInfoProducer_
std::vector< AlignmentParameters * > Parameters
EcalTBTDCRecInfo reconstruct(const EcalTBTDCRawInfo &TDCRawInfo, const EcalTBEventHeader &eventHeader, bool use2004OffsetConvention) const