Petr Parfenov 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
..
CMakeLists.txt 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
MakefileStandalone 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
MpdMiniArrays.cxx 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
MpdMiniArrays.h 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
MpdMiniBECalCluster.cxx 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
MpdMiniBECalCluster.h 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
MpdMiniBTofHit.cxx 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
MpdMiniBTofHit.h 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
MpdMiniBTofPidTraits.cxx 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
MpdMiniBTofPidTraits.h 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
MpdMiniDst.cxx 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
MpdMiniDst.h 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
MpdMiniDstLinkDef.h 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
MpdMiniDstReader.cxx 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
MpdMiniDstReader.h 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
MpdMiniEvent.cxx 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
MpdMiniEvent.h 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
MpdMiniEventLinkDef.h 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
MpdMiniFHCalHit.cxx 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
MpdMiniFHCalHit.h 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
MpdMiniHelix.cxx 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
MpdMiniHelix.h 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
MpdMiniMcEvent.cxx 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
MpdMiniMcEvent.h 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
MpdMiniMcTrack.cxx 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
MpdMiniMcTrack.h 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
MpdMiniMessMgr.h 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
MpdMiniPhysicalHelix.cxx 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
MpdMiniPhysicalHelix.h 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
MpdMiniTrack.cxx 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
MpdMiniTrack.h 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
MpdMiniTrackCovMatrix.cxx 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
MpdMiniTrackCovMatrix.h 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
PhysicalConstants.h 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
README.md 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
SystemOfUnits.h 5c769ad61e Latest version of P. Batyuk's code лет назад: 2
minidst_env.sh 5c769ad61e Latest version of P. Batyuk's code лет назад: 2

README.md

MpdMiniEvent

The MpdMiniEvent set of classes (library) allows to store and work with filename.miniDst.root files or with list of such files.


Maintainer: Grigory Nigmatkulov

Institution: National Research Nuclear University MEPhI

Date: May 01, 2020

E-mail: nigmatkulov@gmail.com ; ganigmatkulov@mephi.ru ; pavel.batyuk@jinr.ru


Brief description of how to compile and run the analysis over miniDst on your laptop and/or HybriLit.

Installation

a) System has to have ROOT preinstalled (should work with versions 5 and 6).

b) There is a Makefile stored in the MpdMiniEvent directory. In order to compile the codes one needs to run:

make

c) Since it is the most commonly used, the g++ compiler is used for the compilation. However, one can also switch it to clang++ (has been successfully tested)

d) After the compilation is finished the shared library libMpdMiniDst.so will be created.

e) If you have some errors during the compilation please contact the miniDst maintainer (and/or miniDst mailing list).

Processing miniDst

There are three ROOT macroses with example of how to perform a simple analysis using miniDst. They are stored in the MpdMiniEvent/macros directory and called: MiniDstAnalyzer.C, RunAnalyzer.C, and SimpleMiniDstAnalyzer.C.

Lets assume that one has and input file(s) InputFile with a name.miniDst.root or a list of miniDst files, called name.lis(t), and MpdMiniEvent compiled (i.e. the libMpdMiniDst.so library exists).

There are 2 possible processing scenarios of using MpdMiniEvent library and classes depending on the ROOT version:

ROOT 5:

One should run ROOT from the terminal:

[myterm]> root RunAnalyzer.C\(\"InputFile\"\)

Or run this macros from the interactive session:

[myterm]> root
root [0].x RunAnalyzer.C("InputFile")

Any of aforementioned ways load libMpdMiniDst.so, compile and run RunAnalyzer.C. After the processing the remove dictionary and library created by ACLiC.

ROOT 6:

Since ROOT 6 does not have CINT there is some extra flexibility on how to analyze the data. The first one is listed above. The second option is to run the MiniDstAnalyzer.C macro directly.

Either from the terminal:

root MiniDstAnalyzer.C\(\"InputFile"\)

Or from the root session:

[myterm]> root
root [0].x MiniDstAnalyzer.C("InputFile")

Simple Processing

The other possibility is not to use MpdMiniEvent classes, but read filename.miniDst.root files as regular ROOT TTree. The macros SimpleMiniDstAnalyzer.C shows an example of doing it.

Troubleshooting

For any questions or with any suggestions please contact the package maintainer: nigmatkulov@gmail.com ganigmatkulov@mephi.ru