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_
EcalTBH2TDCRecInfoProducer(const edm::ParameterSet &ps)
std::string recInfoCollection_
EcalTBH2TDCRecInfoAlgo * algo_
std::string rawInfoProducer_
std::pair< int, int > runRanges
EcalTBTDCRecInfo reconstruct(const int &runNumber, const HcalTBTiming &TDCRawInfo) const
virtual void produce(edm::Event &e, const edm::EventSetup &es)
vector< ParameterSet > Parameters
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
virtual ~EcalTBH2TDCRecInfoProducer()
T const * product() const
std::string rawInfoCollection_
std::string triggerDataCollection_
bool wasBeamTrigger() const
returns true if this trigger came from beam data