Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go4analysis step description #26

Open
himyss opened this issue Sep 28, 2018 · 3 comments
Open

go4analysis step description #26

himyss opened this issue Sep 28, 2018 · 3 comments

Comments

@himyss
Copy link

himyss commented Sep 28, 2018

I tried to understand what is going in in the void UserAnalysis::Construct(TString p_outfilename, TString p_setupfilename) method.

why do we have provider and processor steps in the "STEP2"?

Lines with this method tells me the output object class I will get after this step. Also this objects gonna be input for the next step.
factoryUnpacking->DefOutputEvent( object name, class name);

// STEP1 - source - unpacker

// STEP2.1 - provider - repacking
// STEP2.1 - processor - repacking
if we get DetEventFull as a output data why do we need do smth else?

// STEP2.2 - provider - learn
// STEP2.2 - processor - learn

// STEP2.3 - provider - raw monitoring
// STEP2.3 - processor - raw monitoring

// STEP3.1 - provider - advanced monitoring
// STEP3.1 - processor - advanced monitoring

Can you please write a small description of these steps?

Out main problem is that we found that online analysis using Go4 GUI is very slow (about 35 times slower than with the old version of the library). We guess that it is because when we are trying to make online analysis we are also converting lmd into root at the same time. Cuz we have 2 arguments (out.root and lmd-file). I tried just not to tell about the name of the output.root and in this case i did not get the output.root, but anyway i guess all steps were carried out. Anyway it did not help to make the process of online analysis faster.
We are trying to skip as many steps as we can except smth like AdvMonitoring.

@evovch
Copy link
Owner

evovch commented Sep 29, 2018

Well, in fact, you should not care about what happens in the UserAnalysis class and its Construct method. It is not as straightforward as you might think.
If you run the analysis using GUI all the options can be controlled via according check boxes. What you would want to do is switch off the Learn and RawMonitoring step completely and switch off the store option of the repacking step. Exactly the latter one enables writing out a root file with the tree.

@himyss
Copy link
Author

himyss commented Sep 29, 2018

But still, can u please explain what are these steps?
// STEP2.2 - provider - learn
// STEP2.2 - processor - learn

@evovch
Copy link
Owner

evovch commented Sep 29, 2018

http://web-docs.gsi.de/%7Ego4/go4V05/manuals/Go4introV5.pdf
Section 3.9.

If you want to disable this step in code, uncomment line
https://github.com/evovch/ACCULINNA_go4_user_library/blob/master/useranalysis/UserAnalysis.cxx#L138

Step 'Learn' itself does two things:

  1. Check that there is data from the electronics channels which are mapped to some detector channels in the XML file.
  2. Check that there is no data from any other electronics channels (not mapped to any detector channels in the XML file).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants