Go to the documentation of this file.
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();
~EcalTBH2TDCRecInfoProducer() override
T const * product() const
EcalTBH2TDCRecInfoProducer(const edm::ParameterSet &ps)
std::string triggerDataProducer_
std::string recInfoCollection_
void produce(edm::Event &e, const edm::EventSetup &es) override
std::pair< int, int > runRanges
std::string rawInfoProducer_
Log< level::Error, false > LogError
std::string triggerDataCollection_
EcalTBH2TDCRecInfoAlgo * algo_
T getParameter(std::string const &) const
EcalTBTDCRecInfo reconstruct(const int &runNumber, const HcalTBTiming &TDCRawInfo) const
std::string rawInfoCollection_
bool wasBeamTrigger() const
returns true if this trigger came from beam data
vector< ParameterSet > Parameters