42 std::unique_ptr<SiPixelFedCablingTree>
cabling_;
53 errorPutToken_{produces<edm::DetSetVector<SiPixelRawDataError>>()},
54 tkErrorPutToken_{produces<DetIdCollection>()},
55 userErrorPutToken_{produces<DetIdCollection>(
"UserErrorModules")},
56 disabledChannelPutToken_{produces<edmNew::DetSetVector<PixelFEDChannel>>()},
57 tkerrorlist_(iConfig.getParameter<std::vector<int>>(
"ErrorList")),
58 usererrorlist_(iConfig.getParameter<std::vector<int>>(
"UserErrorList")),
59 usePhase1_(iConfig.getParameter<
bool>(
"UsePhase1")) {}
65 desc.add<
std::string>(
"CablingMapLabel",
"")->setComment(
"CablingMap label");
66 desc.add<
bool>(
"UsePhase1",
false)->setComment(
"## Use phase1");
67 desc.add<std::vector<int>>(
"ErrorList", std::vector<int>{29})
68 ->setComment(
"## ErrorList: list of error codes used by tracking to invalidate modules");
69 desc.add<std::vector<int>>(
"UserErrorList", std::vector<int>{40})
70 ->setComment(
"## UserErrorList: list of error codes used by Pixel experts for investigation");
94 assert(formatterErrors !=
nullptr);
95 auto errors = *formatterErrors;
98 auto size = digiErrors.size();
101 if (
err.errorType != 0) {
111 tkerror_detidcollection,
112 usererror_detidcollection,
113 disabled_channelcollection,
116 const uint32_t dummydetid = 0xffffffff;
118 errorDetSet.
data = nodeterrors;