39 : subSystemName_(ps.getUntrackedParameter<
std::
string>(
"subSystem")),
48 auto const &
mapping = *mappingHandle;
52 edm::LogError(
"PrintTotemDAQMapping mapping") <<
"PrintTotemDAQMapping: No mapping found";
57 auto const &analysisMask = *analysisMaskHandle;
60 edm::LogError(
"PrintTotemDAQMapping mask") <<
"PrintTotemDAQMapping: No analysis mask found";
Prints the DAQ mapping loaded by TotemDAQMappingESSourceXML.
const std::string subSystemName_
label of the CTPPS sub-system
Log< level::Error, false > LogError
const edm::ESGetToken< TotemDAQMapping, TotemReadoutRcd > mappingToken_
void analyze(const edm::Event &e, const edm::EventSetup &es) override
~PrintTotemDAQMapping() override
#define DEFINE_FWK_MODULE(type)
Log< level::Warning, true > LogPrint
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
Log< level::Info, false > LogInfo
PrintTotemDAQMapping(const edm::ParameterSet &ps)
const edm::ESGetToken< TotemAnalysisMask, TotemAnalysisMaskRcd > maskToken_