20 if (cppfSource ==
"File"){
25 throw cms::Exception(
"No LUT") <<
"Error: CPPF look up table file cannot not be opened";
37 else if (cppfSource ==
"Geo") {
42 throw cms::Exception(
"Invalid option") <<
"Error: Specify in python/emulatorCppfDigis_cfi 'File' for look up table or 'Geo' for RPC Geometry";
84 recHit_processor.process( iEvent, iSetup,
recHitToken_, cppf_recHit );
T getParameter(std::string const &) const
std::array< RecHitProcessor, 1 > recHit_processors_
EmulateCPPF(const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iConsumes)
enum EmulateCPPF::CppfSource cppfSource_
void process(const edm::Event &iEvent, const edm::EventSetup &iSetup, l1t::CPPFDigiCollection &cppf_recHit)
std::vector< RecHitProcessor::CppfItem > CppfVec_1
std::string fullPath() const
const edm::EDGetToken recHitToken_
std::vector< CPPFDigi > CPPFDigiCollection