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