diff --git a/macro/beamtime/mcbm2021/mStsPar.par b/macro/beamtime/mcbm2021/mStsPar.par
index 4e9941a75f5b32b31e74fe93fb259cb52f1bb83e..db18fc93d8159449da8586f957ddee3d6214ced0 100644
--- a/macro/beamtime/mcbm2021/mStsPar.par
+++ b/macro/beamtime/mcbm2021/mStsPar.par
@@ -4,45 +4,80 @@
 ##############################################################################
 [CbmMcbm2018StsPar]
 //----------------------------------------------------------------------------
-// Total number of STS modules in the setup
-NbModules: Int_t 3
+// Total number of STS modules in the setup (11 sensors + 2 pulsers)
+NbModules: Int_t 13
 // Type of each module: 0 for connectors on the right, 1 for connectors on the left
 ModuleType: Int_t \
-           0           0           0
+           0           0 \
+	   1	       1	1 \
+	   0	       0	0 \
+	   1	       1	1	1	1
 // STS address for the first strip of each module
-// 1 Line per ladder, from above beam to under beam
+// 1 Line per ladder, from above beam to under beam FIXME
 ModAddress: Int_t \
-  0x10018002  0x10008002  0x99999999 // addresse matching the current mSTS geometry (PAL, 15/05/2020)
+  0x10000002	  0x10010002 \
+  0x10000012	  0x10010012 	0x99999999 \
+  0x10000022	  0x10010022	0x99999998 \
+  0x10000032	  0x10010032	0x10020032	0x10000432	0x10010432
 // Offset of module center in X, in mm (Should be done by geometry for the unpacker!)
 ModCenterPosX: Double_t \
-         0.0        0.0        0.0
+         0.0        0.0 \       
+         0.0        0.0        0.0 \
+         0.0        0.0        0.0 \
+         0.0        0.0        0.0         0.0        0.0
 // Offset of module center in Y, in mm (Should be done by geometry for the unpacker!)
 ModCenterPosY: Double_t \
-         0.0        0.0        0.0
-// Total number of STS DPBs in system
-NrOfDpbs: Int_t 1
-// Array to hold the unique IDs (equipment ID) for all STS DPBs, Array size has to match NrOfDpbs
+         0.0        0.0 \       
+         0.0        0.0        0.0 \
+         0.0        0.0        0.0 \	
+         0.0        0.0        0.0         0.0        0.0
+// Total number of STS DPBs in system FIXME
+NrOfDpbs: Int_t 5
+// Array to hold the unique IDs (equipment ID) for all STS DPBs, Array size has to match NrOfDpbs FIXME
 DbpIdArray: Int_t \
-  0x5c0b
+	    0x1003	  0x1002	0x1006	0x1005	0x1004
 // Array to hold the active flag for all CROBs, [ NbDpb * kuNbCrobPerDpb ] = [ NbDpb * 1 ]
 CrobActiveFlag: Int_t \
-  1
+  1		1     1		1	1
 // Index of the STS module for each FEB, [ NbDpb * kuNbCrobPerDpb * kuNbFebsPerCrob ] = = [ NbDpb * 1 * 5 ], -1 if inactive
 FebModuleIdx: Int_t \
-  2  0  0  1  1
+  -1	      0	      0		1	1 \
+  4	      2	      2		3	3 \
+  7	      5	      5		6	6 \
+  10	      9	      9	      8		8 \
+  12	      12      11      11	10
 // STS module side for each FEB, [ NbDpb * kuNbCrobPerDpb * kuNbFebsPerCrob ], 0 = P, 1 = N, -1 if inactive
 FebModuleSide: Int_t \
-  0  1  0  1  0
+  -1	       1     0		1	0 \
+  1	       1     0		1	0 \
+  1	       1     0		1	0 \
+  0	       1     0		1	0 \
+  1	       0     1		0	1
 // ADC Gain in e-/ADC bin for each FEB, [ NbDpb * kuNbCrobPerDpb * kuNbFebsPerCrob ]
 FebAdcGain: Double_t \
+     1.0     1.0     1.0     1.0     1.0 \
+     1.0     1.0     1.0     1.0     1.0 \
+     1.0     1.0     1.0     1.0     1.0 \
+     1.0     1.0     1.0     1.0     1.0 \
      1.0     1.0     1.0     1.0     1.0
 // Base at Cal. Thr. in e- for each FEB, [ NbDpb * kuNbCrobPerDpb * kuNbFebsPerCrob ]
 FebAdcBase: Double_t \
+     1.0     1.0     1.0     1.0     1.0 \
+     1.0     1.0     1.0     1.0     1.0 \
+     1.0     1.0     1.0     1.0     1.0 \
+     1.0     1.0     1.0     1.0     1.0 \
      1.0     1.0     1.0     1.0     1.0
 // Thr. step in e-/Thr. Unit for each FEB, [ NbDpb * kuNbCrobPerDpb * kuNbFebsPerCrob ]
 FebAdcThrGain: Double_t \
+     0.0     0.0     0.0     0.0     0.0 \
+     0.0     0.0     0.0     0.0     0.0 \
+     0.0     0.0     0.0     0.0     0.0 \
+     0.0     0.0     0.0     0.0     0.0 \
      0.0     0.0     0.0     0.0     0.0
-// Thr. offset in Units vs Cal. Thr. for each FEB, [ NbDpb * kuNbCrobPerDpb * kuNbFebsPerCrob ]
 FebAdcThrOffs: Int_t \
+     0       0       0       0       0 \
+     0       0       0       0       0 \
+     0       0       0       0       0 \
+     0       0       0       0       0 \
      0       0       0       0       0
 #######################
diff --git a/reco/detectors/psd/unpack/CbmPsdUnpackAlgo.cxx b/reco/detectors/psd/unpack/CbmPsdUnpackAlgo.cxx
index 9ea813cbea5db46f3c906dfdf626d992e2215ccf..33e42e95f813961c0a57dba7e59bc3824e5a89cd 100644
--- a/reco/detectors/psd/unpack/CbmPsdUnpackAlgo.cxx
+++ b/reco/detectors/psd/unpack/CbmPsdUnpackAlgo.cxx
@@ -11,6 +11,7 @@
 #include <Rtypes.h>
 #include <RtypesCore.h>
 
+#include <cstddef>
 #include <cstdint>
 #include <numeric>
 
diff --git a/reco/detectors/rich/unpack/CbmRichUnpackAlgo.h b/reco/detectors/rich/unpack/CbmRichUnpackAlgo.h
index 352adaf7de532617ecc3022cc023eb046ed23fb7..014e8882b2b064d840fccfd0017d7a5c6f52b5fe 100644
--- a/reco/detectors/rich/unpack/CbmRichUnpackAlgo.h
+++ b/reco/detectors/rich/unpack/CbmRichUnpackAlgo.h
@@ -295,7 +295,7 @@ protected:
    * @return true 
    * @return false 
   */
-  bool setDerivedTsParameters(size_t itimeslice) { return true; }
+  bool setDerivedTsParameters(size_t /*itimeslice*/) { return true; }
 
   /**
    * @brief Unpack a given microslice. To be implemented in the derived unpacker algos.
diff --git a/reco/detectors/tof/unpack/CbmTofUnpackAlgo.cxx b/reco/detectors/tof/unpack/CbmTofUnpackAlgo.cxx
index a1285fa8f84b2246a3f7d7170661f06ea6b3cb2f..26f9726a85dbbeb43534c72f48dcae705c1f888f 100644
--- a/reco/detectors/tof/unpack/CbmTofUnpackAlgo.cxx
+++ b/reco/detectors/tof/unpack/CbmTofUnpackAlgo.cxx
@@ -14,6 +14,8 @@
 #include <Rtypes.h>
 #include <RtypesCore.h>
 
+#include <cstddef>
+
 
 CbmTofUnpackAlgo::CbmTofUnpackAlgo() : CbmRecoUnpackAlgo("CbmTofUnpackAlgo") {}
 
diff --git a/reco/detectors/tof/unpack/CbmTofUnpackAlgo.h b/reco/detectors/tof/unpack/CbmTofUnpackAlgo.h
index d2543049bf73c3122ce76f8905f68114531e7ac3..c108c0e15f673396a16af2992d8b266dfdb8d1a0 100644
--- a/reco/detectors/tof/unpack/CbmTofUnpackAlgo.h
+++ b/reco/detectors/tof/unpack/CbmTofUnpackAlgo.h
@@ -108,7 +108,7 @@ protected:
    * @return true
    * @return false
   */
-  bool setDerivedTsParameters(size_t itimeslice) { return true; }
+  bool setDerivedTsParameters(size_t /*itimeslice*/) { return true; }
 
   /**
    * @brief Unpack a given microslice. To be implemented in the derived unpacker algos.