#include <EcalTBH2TDCRecInfoProducer.h>
◆ EcalTBH2TDCRecInfoProducer()
EcalTBH2TDCRecInfoProducer::EcalTBH2TDCRecInfoProducer |
( |
const edm::ParameterSet & |
ps | ) |
|
|
explicit |
Definition at line 12 of file EcalTBH2TDCRecInfoProducer.cc.
References algo_, edm::ParameterSet::getParameter(), diffTwoXMLs::ranges, rawInfoCollection_, rawInfoProducer_, recInfoCollection_, EcalTBH2TDCRecInfoAlgo::EcalTBH2TDCRanges::runRanges, AlCaHLTBitMon_QueryRunRegistry::string, Ecal2004TBTDCRanges_v1_cff::tdcRanges, EcalTBH2TDCRecInfoAlgo::EcalTBH2TDCRanges::tdcZero, triggerDataCollection_, and triggerDataProducer_.
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");
std::string triggerDataProducer_
T getParameter(std::string const &) const
std::string recInfoCollection_
EcalTBH2TDCRecInfoAlgo * algo_
std::string rawInfoProducer_
vector< ParameterSet > Parameters
std::pair< int, int > runRanges
std::string rawInfoCollection_
std::string triggerDataCollection_
◆ ~EcalTBH2TDCRecInfoProducer()
EcalTBH2TDCRecInfoProducer::~EcalTBH2TDCRecInfoProducer |
( |
| ) |
|
|
override |
◆ produce()
Definition at line 41 of file EcalTBH2TDCRecInfoProducer.cc.
References algo_, MillePedeFileConverter_cfg::e, edm::HandleBase::isValid(), edm::Handle< T >::product(), rawInfoCollection_, rawInfoProducer_, recInfoCollection_, EcalTBH2TDCRecInfoAlgo::reconstruct(), convertSQLiteXML::runNumber, triggerDataCollection_, triggerDataProducer_, and HcalTBTriggerData::wasBeamTrigger().
50 ecalTDCRawInfo = ecalRawTDC.
product();
53 if (!ecalTDCRawInfo) {
64 h2TriggerData = triggerData.
product();
std::string triggerDataProducer_
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_
std::string rawInfoCollection_
std::string triggerDataCollection_
bool wasBeamTrigger() const
returns true if this trigger came from beam data
◆ algo_
◆ rawInfoCollection_
std::string EcalTBH2TDCRecInfoProducer::rawInfoCollection_ |
|
private |
◆ rawInfoProducer_
std::string EcalTBH2TDCRecInfoProducer::rawInfoProducer_ |
|
private |
◆ recInfoCollection_
std::string EcalTBH2TDCRecInfoProducer::recInfoCollection_ |
|
private |
◆ triggerDataCollection_
std::string EcalTBH2TDCRecInfoProducer::triggerDataCollection_ |
|
private |
◆ triggerDataProducer_
std::string EcalTBH2TDCRecInfoProducer::triggerDataProducer_ |
|
private |