16 static const std::string itkDictFilename{
"InDetIdDictFiles/IdDictInnerDetector_ITK-P2-RUN4-03-00-00.xml"};
22 parser.register_external_entity(
"InnerDetector", itkDictFilename);
24 auto pITkId=std::make_unique<SCT_ID>();
25 pITkId->initialize_from_dictionary(idd);
27 std::ostringstream
os;
29 std::set<ITkStripOnlineId> onlineIds;
30 std::set<std::uint32_t> rodIds;
31 for(
auto i = pITkId->wafer_begin();
i!=pITkId->wafer_end();++
i){
32 pITkId->get_expanded_id(*
i,
e);
33 onlineIds.insert(
gen(*
i));
34 rodIds.insert(
gen.rod(*
i));
37 std::ofstream
file(outputFileName);
38 file<<
"#Wafer Identifiers,Expanded Identifiers {2/2/Bec/LayerDisk/Phi/Eta/Side/0/0} and OnlineId:\n";
41 std::cout<<
"File "+outputFileName+
" has been created.\n";