@@ -34,7 +34,7 @@ double labely_offset = 0.01;
34
34
double title_font_size = 0.055 ;
35
35
double title_offset = 0.71 ;
36
36
double marker_size = 1.3875 ;
37
- double legend_margin = 0.115 ;
37
+ double legend_margin = 0.12 ;
38
38
int title_font = 132 ;
39
39
int label_font = 132 ;
40
40
int legend_font = 132 ;
@@ -43,7 +43,7 @@ double y_min = -15;
43
43
double y_max = 10 ;
44
44
double y_margin = 0 ;
45
45
double header_size = 0.05 ;
46
- std ::array < float , 4 > ldim {0.54424 , 0.621849 , 0.942404 , 0.880252 };
46
+ std ::array < float , 4 > ldim {0.587646 , 0.62395 , 0.942404 , 0.880252 };
47
47
double pad_x0 = 0.00 ;
48
48
double pad_x1 = 1 ;
49
49
double pad_y0 = 0.00 ;
@@ -299,33 +299,35 @@ void jacobian_comparison() {
299
299
rect_legend -> SetTextSize (legend_font_size );
300
300
rect_legend -> SetBorderSize (4 );
301
301
302
+ const std ::string RKN_ODD_CsI = "RKN with the ODD magnetic field and CsI" ;
303
+ const std ::string RKN_ODD = "RKN with the ODD magnetic field" ;
304
+ const std ::string RKN_homogeneous =
305
+ "RKN with the homogeneous magnetic field" ;
306
+ const std ::string Helix_homogeneous =
307
+ "Helix with the homogeneous magnetic field" ;
308
+
302
309
std ::string rect_text = "Bound-to-bound transport" ;
303
310
auto inhom_rect_material_histo = get_histogram (
304
311
"inhom_rect_material" , 25 , markers [0u ], log10_rk_tolerance_rect );
305
312
// rect_legend->SetHeader("Bound-to-bound transport");
306
313
inhom_rect_material_histo -> SetMarkerColor (hues [0u ]);
307
314
inhom_rect_material_histo -> Draw ("hist P " );
308
- rect_legend -> AddEntry (inhom_rect_material_histo ,
309
- "RKN with an inhomogeneous field and a material" ,
310
- "p" );
315
+ rect_legend -> AddEntry (inhom_rect_material_histo , RKN_ODD_CsI .c_str (), "p" );
311
316
312
317
auto inhom_rect_histo = get_histogram ("inhom_rect" , 20 , markers [1u ], dummy );
313
318
inhom_rect_histo -> SetMarkerColor (hues [1u ]);
314
319
inhom_rect_histo -> Draw ("hist P same" );
315
- rect_legend -> AddEntry (inhom_rect_histo , "RKN with an inhomogeneous field" ,
316
- "p" );
320
+ rect_legend -> AddEntry (inhom_rect_histo , RKN_ODD .c_str (), "p" );
317
321
318
322
auto const_rect_histo = get_histogram ("const_rect" , 15 , markers [2u ], dummy );
319
323
const_rect_histo -> SetMarkerColor (hues [2u ]);
320
324
const_rect_histo -> Draw ("hist P same" );
321
- rect_legend -> AddEntry (const_rect_histo , "RKN with a homogeneous field" ,
322
- "p" );
325
+ rect_legend -> AddEntry (const_rect_histo , RKN_homogeneous .c_str (), "p" );
323
326
324
327
auto helix_rect_histo = get_histogram ("helix_rect" , 15 , markers [3u ], dummy );
325
328
helix_rect_histo -> SetMarkerColor (hues [3u ]);
326
329
helix_rect_histo -> Draw ("hist P same" );
327
- rect_legend -> AddEntry (helix_rect_histo , "Helix with a homogeneous field" ,
328
- "p" );
330
+ rect_legend -> AddEntry (helix_rect_histo , Helix_homogeneous .c_str (), "p" );
329
331
330
332
/*
331
333
TLegendEntry* rect_header =
@@ -362,27 +364,22 @@ void jacobian_comparison() {
362
364
// wire_legend->SetHeader("Perigee-to-perigee transport");
363
365
inhom_wire_material_histo -> SetMarkerColor (hues [0u ]);
364
366
inhom_wire_material_histo -> Draw ("hist P " );
365
- wire_legend -> AddEntry (inhom_wire_material_histo ,
366
- "RKN with an inhomogeneous field and a material" ,
367
- "p" );
367
+ wire_legend -> AddEntry (inhom_wire_material_histo , RKN_ODD_CsI .c_str (), "p" );
368
368
369
369
auto inhom_wire_histo = get_histogram ("inhom_wire" , 20 , markers [1u ], dummy );
370
370
inhom_wire_histo -> SetMarkerColor (hues [1u ]);
371
371
inhom_wire_histo -> Draw ("hist P same" );
372
- wire_legend -> AddEntry (inhom_wire_histo , "RKN with an inhomogeneous field" ,
373
- "p" );
372
+ wire_legend -> AddEntry (inhom_wire_histo , RKN_ODD .c_str (), "p" );
374
373
375
374
auto const_wire_histo = get_histogram ("const_wire" , 15 , markers [2u ], dummy );
376
375
const_wire_histo -> SetMarkerColor (hues [2u ]);
377
376
const_wire_histo -> Draw ("hist P same" );
378
- wire_legend -> AddEntry (const_wire_histo , "RKN with a homogeneous field" ,
379
- "p" );
377
+ wire_legend -> AddEntry (const_wire_histo , RKN_homogeneous .c_str (), "p" );
380
378
381
379
auto helix_wire_histo = get_histogram ("helix_wire" , 15 , markers [3u ], dummy );
382
380
helix_wire_histo -> SetMarkerColor (hues [3u ]);
383
381
helix_wire_histo -> Draw ("hist P same" );
384
- wire_legend -> AddEntry (helix_wire_histo , "Helix with a homogeneous field" ,
385
- "p" );
382
+ wire_legend -> AddEntry (helix_wire_histo , Helix_homogeneous .c_str (), "p" );
386
383
387
384
/*
388
385
TLegendEntry* wire_header =
0 commit comments