File indexing completed on 2025-12-17 09:23:56
0001
0002
0003
0004
0005 #include <mbd/MbdGeomV2.h>
0006
0007 R__LOAD_LIBRARY(libmbd.so)
0008 R__LOAD_LIBRARY(libmbd_io.so)
0009
0010 MbdGeomV2 *mbdgeom{nullptr};
0011
0012
0013 void findhvmod()
0014 {
0015 mbdgeom = new MbdGeomV2();
0016 std::multimap hvmap = mbdgeom->get_hvmap();
0017
0018 int pmts[] = { 51, 84, 85, 26, 75, 89, 121 };
0019 for (int pmt : pmts)
0020 {
0021 for ( auto hv : hvmap )
0022 {
0023 if ( hv.second == pmt )
0024 {
0025 std::cout << hv.second << "\t" << hv.first << std::endl;
0026 break;
0027 }
0028 }
0029
0030 }
0031 }