In this repository you will find some macros to perform analysis within mpdroot framework for the MPD (Multi-Purpose Detector) experiment at the NICA (Nuclotron-based Ion Collider fAcility) project.
After run macros runMC.C and runReco.C from mpdroot framework we can get two types of files: mpddst.root and mpddst.MiniDst.root which contains the required information of reconstructed particles to do analysis. In the following sections we will describe the basics of this, the macros available and explanations of how to use them.
The available outputs are:
- mpddst files. The mpdsim Tree contains the different branches: EventHeader, TpcKalmanTrack, Vertex, FfdHit, TOFHit, TOFMatching, ZdcDigi, MCEventHeader, MCTrack, MPDEvent.
- minidst files. The MiniDst Tree contains the different branches: Event, Track, BTofHit, BTofPidTraits, BECalCluster, TrackCovMatrix, FHCalHit, McEvent, McTrack.
Start with a Simple macro to Read Files
This kind of macros can be used with both, the user and developer installationof mpdroot.
Create a simple Task
To implement this tasks, we need the mpdroot developer version, to add the clases and compile it.
Compile mpdroot with your analysis class
We need to create a folder in mpdroot with our class and the CMakeList.txt and LinkDef.h files to tell which classes should be added to the dictionary.