#include "IdDictParser/IdDictParser.h"
#include "InDetIdentifier/SCT_ID.h"
#include "src/ITkStripCablingAlg.h"
#include "src/OnlineIdGenerator.h"
#include <iostream>
#include <fstream>
#include <set>
#include <memory>
Go to the source code of this file.
◆ main()
Definition at line 19 of file ProduceDummyStripCabling.cxx.
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";