Commit ee50d9f3 authored by Pascal Raisig's avatar Pascal Raisig Committed by Pierre-Alain Loizeau
Browse files

Update parameter file for mSts 2021

Fix some warnings for Psd Rich and Tof algorithms
parent a415a97f
......@@ -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
#######################
......@@ -11,6 +11,7 @@
#include <Rtypes.h>
#include <RtypesCore.h>
#include <cstddef>
#include <cstdint>
#include <numeric>
......
......@@ -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.
......
......@@ -14,6 +14,8 @@
#include <Rtypes.h>
#include <RtypesCore.h>
#include <cstddef>
CbmTofUnpackAlgo::CbmTofUnpackAlgo() : CbmRecoUnpackAlgo("CbmTofUnpackAlgo") {}
......
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment