void getLUT(unsigned int *lut, const int towerId, const edm::EventSetup &) const
return the LUT from eventSetup
virtual void produce(edm::Event &, const edm::EventSetup &)
method called to produce the data
EcalFEtoDigi(const edm::ParameterSet &)
void readInput()
open and read in input (flat) data file
TCCInputData inputdata_[N_SM]
virtual void beginJob()
method called once each job just before starting event loop
int SMidToTCCid(const int) const
translate input supermodule id into TCC id (barrel)
virtual void endJob()
method called once each job just after ending the event loop
std::vector< TCCinput > TCCInputData
unsigned towerId(DetId const &)
EcalTriggerPrimitiveSample create_TPSampleTcp(TCCinput, const edm::EventSetup &)
create EcalTriggerPrimitiveSample in tcp format (uncomrpessed energy)
EcalTriggerPrimitiveSample create_TPSample(TCCinput, const edm::EventSetup &)
create EcalTriggerPrimitiveSample from input data (line)
EcalTrigTowerDetId create_TTDetId(TCCinput)
create EcalTrigTowerDetId from input data (line)