Problem 2361

Summary: dnadamage1 analysis.C and plot.C
Product: Examples/Extended Reporter: qijie3458
Component: medical/dnaAssignee: hoangtran <ngoc.hoang.tran>
Status: VERIFIED FIXED    
Severity: minor    
Priority: P4    
Version: 10.6   
Hardware: All   
OS: All   

Description qijie3458 2021-04-19 04:08:27 CEST
When analyzing the simulation results, when using root to execute the .C file, the terminal displays: dnadamage1/./plot.C:error:member reference type'std::_Rb_tree_iterator<std::pair<const int,int>> 'is not a pointer,didi you mean to use'.'? and no member named'second' in 'std::Rb_tree_iterator<std::pair<const int,int>>'and similar errors.
Comment 1 Sebastien Incerti 2021-04-19 09:38:14 CEST
Reassigned
Comment 2 hoangtran 2021-06-05 21:46:51 CEST
Thank for reporting, 

You can do as follows to run analysis.C file

1 - launch ROOT v6.xx (usually type 'root' at your machine's prompt)
2 - type '.X analysis.C' at the ROOT session prompt

Best regards
Hoang