enum {kMergePileUpClusters_pp, kMergePileUpClusters_PbPb, kMergeAllClusters_pp, kMergeAllClusters_PbPb};
enum {k_pp, k_PbPb};
-const Char_t *fPileUpDir[2] = {"$UnderlyingDirPP/spreadVtx",
- "$UnderlyingDirPbPb/spreadVtx"};
+const Char_t *fPileUpDir[2] = {"$UnderlyingDirPP/spreadVtx", // local directory with pile-up event p-p
+ "$UnderlyingDirPbPb/spreadVtx"}; // local directory with pile-up event Pb-Pb
const Int_t fNRunsPileUp_pp = 100;
const Int_t fNRunsPileUp_PbPb = 3;
//====================================================================================================================================================
-void MergeClustersMFT(Int_t option = 9999,
+void MergeClustersMFT(Int_t seed = 12345,
+ Int_t option = 9999,
Int_t nEvents = 9999,
Int_t maxPileUp = 9999) {
+ gRandom->SetSeed(seed);
+
if (option==kMergePileUpClusters_pp) {
Int_t runs_pp[fNRunsPileUp_pp] = {0};