Offline analysis
This section explain the example of the offline analysis (some useful processors).
This section explain the example of the offline analysis (some useful processors).
A brief example of an analysis flow using artemis_crib is given below. This is just the method recommended by okawak, so you can proceed with the analysis as you like.
I hope this page will give you some ideas.
The acquired data contains a lot of noise and other data that is not absolutely necessary for analysis,
and if you use artemis
to do an event loop for all events, it will take a long time.
Therefore, a root file should only be created for a specific RUN (data file) to save time.
(It is tempting to look at the data using with a lot of statistics,
but we believe that this is done by online-analysis and concentrate on reducing useless data.)
$ artlogin (user)
$ a
artemis [] a steering/hoge.yaml NAME=run NUM=0000
artemis [] .q
As you want to look at a variety of data I think, it is convenient to create a canvas each time with ‘tree->Draw()’, instead of defining a histogram. Not defining a histogram also has the advantage that the event loop is faster.
Once the root file has been created, it can be read directly from that file, eliminating the waiting time.
$ a output/created_rootfile_path.root
artemis [] tree->Draw("hoge")
It is good idea to make a “.C” macro file to record and reproduce the analysis process.
Here are some points I think would be good to check:
If there are problems during the experiment, there may be many other things to check.
It is possible that some parameter is different for each RUN. There are many possibilities, for example, a trouble may have occurred and the conditions of the detector have changed. In such cases, it is necessary to take action, for example, to prepare several calibration parameters.
While some of these changes in parameters can be predicted in advance, unforeseen changes can also occur.
These are the problems I have encountered, but others with different tendencies may exist.
If you can anticipate it, it is good to have a plan for dealing with it at this point and move on to the next step. However, there is no need to waste time here as it can be noticed after merging the overall measurements in the following step.