added skeleton of a XML startup file

This commit is contained in:
nemu 2008-04-02 11:08:19 +00:00
parent 26a1b444fe
commit 83c2a0cbd3
4 changed files with 49 additions and 0 deletions

View File

@ -45,6 +45,8 @@ short term:
* something is strange with the coordinate system in TPaveText! **CHECK**
* setup startup handler with infos like: data path, symbol list, color list, ...
---------------------
intermediate term:
---------------------

View File

@ -373,3 +373,16 @@ void PMusrCanvas::UpdateParamTheoryPad()
fMainCanvas->cd();
fMainCanvas->Update();
}
//--------------------------------------------------------------------------
// UpdateInfoPad
//--------------------------------------------------------------------------
/**
* <p>
*/
void PMusrCanvas::UpdateInfoPad()
{
// get fit data
// get chisq if not a max likelihood fit
// get run plot info
}

View File

@ -62,6 +62,7 @@ class PMusrCanvas : public TObject, public TQObject
virtual void SetFunctionList(PMsrLines &functionList);
virtual void UpdateParamTheoryPad();
virtual void UpdateInfoPad();
virtual void Done(Int_t status=0); // *SIGNAL*
virtual void HandleCmdKey(Int_t event, Int_t x, Int_t y, TObject *selected); // SLOT

33
src/musr_startup.xml Normal file
View File

@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<musrfit xmlns="http://nemu.web.psi.ch/musrfit">
<comment>
$Id$
Defines default settings for the musrfit package
</comment>
<data_path name="/mnt/data/nemu/his"/>
<data_path name="/mnt/data/nemu/wkm"/>
<root_settings>
<marker_list>
<!-- Root marker numbers -->
<marker>24</marker>
<marker>25</marker>
<marker>26</marker>
<marker>27</marker>
<marker>28</marker>
<marker>29</marker>
<marker>30</marker>
<marker>20</marker>
<marker>21</marker>
<marker>22</marker>
<marker>23</marker>
<marker>2</marker>
<marker>3</marker>
<marker>5</marker>
</marker_list>
<color_list>
<!-- Color as RGB coded string -->
<color>"0,0,0"</color>
<color>"1,0,0"</color>
</color_list>
</root_settings>
</musrfit>