revisit the FASP simulator software
Update for the FASP simulator software
- fix confusion wrt usage of DAQ time [clk] and physics time [ns] in digi time definition.
- add system time offset to equilibrate wrt to reference detectors (T0, ToF).
- use data from mCBM22 to calibrate TRD2D time resolution and offset for both EbyE and TB modes
- fix flushing of data during TB sumulations (still to be optimized wrt the event rate)
Time based simulations for mCBM22
Event by event simulations (same as above)
Example of FASP simulator going from:
Merge request reports
Activity
added 1 commit
- 3ec08bf4 - make Flush buffer work full/partial depending on the type of simulations
added 8 commits
Toggle commit listDear @a.bercuci, @p.kaehler,
you have been identified as code owner of at least one file which was changed with this merge request.
Please check the changes and approve them or request changes.
added CodeOwners label
assigned to @se.gorbunov
- Resolved by Sergey Gorbunov
you need to rebase your MR with the master branch locally on your machine. Otherwise, it can't be merged. Do you want anybody from TRD to review your MR, or should I merge it?
added 123 commits
-
028c9980...07a32204 - 116 commits from branch
computing:master
- 33d7dce9 - revisit the FASP simulator software in view of better digi time
- 4169c047 - fix coding
- 41bfcc22 - fix coding
- b12ca609 - make Flush buffer work full/partial depending on the type of simulations
- b3ec2dfa - fix Mac compilation
- 7c29c206 - try to fix broken compilation on Mac
- 362d93bc - add upstream format modification from commit 66f89a15
Toggle commit list-
028c9980...07a32204 - 116 commits from branch
mentioned in merge request !870 (merged)
added 1 commit
- 6f98a878 - fix EbyE simulations for the case of data time span exceeds one
added 17 commits
-
6f98a878...1ce81b17 - 9 commits from branch
computing:master
- 537a0fc5 - revisit the FASP simulator software in view of better digi time
- 3eacce69 - fix coding
- 50acbbd8 - fix coding
- 00d58e15 - make Flush buffer work full/partial depending on the type of simulations
- 94a534cb - fix Mac compilation
- a67f9c29 - try to fix broken compilation on Mac
- c80438b0 - add upstream format modification from commit 66f89a15
- ab6a49e8 - fix EbyE simulations for the case of data time span exceeds one
Toggle commit list-
6f98a878...1ce81b17 - 9 commits from branch
added 11 commits
-
ab6a49e8...68602af0 - 3 commits from branch
computing:master
- cb6221ed - revisit the FASP simulator software in view of better digi time
- 00628198 - fix coding
- e46b1361 - fix coding
- 0c011476 - make Flush buffer work full/partial depending on the type of simulations
- 6950be05 - fix Mac compilation
- e9a2201f - try to fix broken compilation on Mac
- 9fedc378 - add upstream format modification from commit 66f89a15
- f8d705a5 - fix EbyE simulations for the case of data time span exceeds one
Toggle commit list-
ab6a49e8...68602af0 - 3 commits from branch
enabled an automatic merge when the pipeline for f8d705a5 succeeds
124 125 // FASP graphic support 126 int fNgraph = 1; ///< No of graphs generated 127 int fAsicId[2] = {-1, -1}; ///< identifier of FASP(s) in module 128 int fChId[2] = {-1, -1}; ///< FASP channels being processed 129 std::vector<Float_t> fOut = {0.}; ///< analog output for the current channel 130 std::map<int, std::array<int, NFASPCH>> 131 fGraphMap; ///< map of ASIC_id and (ch_id, output_id of FASP signals graphs) pairs 132 TGraph* fGraph[NGRAPH] = {nullptr}; ///< graph representations of analog FASP response 133 TGraph* fGraphShp[NGRAPH] = {nullptr}; ///< graph representations of FASP shaper 134 TGraph* fGraphPhys[NGRAPH] = {nullptr}; ///< graph representations of physics digi 135 TLine* fGthr = nullptr; ///< graph representation of various thresholds 136 TCanvas* fMonitor = nullptr; ///< monitor canvas when drawing 134 137 135 138 // CADENCE parameters 136 139 static const Int_t fgkNDB = 53; ///< DB shaper size does a streamer for this class exist? If so please increase the version number in the ClassDef macros since you did changes to the data members.
86 86 virtual void ResetCounters() { ; } 87 87 virtual void SetMessageConverter(CbmTrdRawToDigiR* conv = NULL) = 0; 88 88 virtual void SetQA(CbmTrdCheckUtil* qa = NULL) = 0; 89 virtual void SetTimeSysOffset(int dt) { fTimeSysOffset = dt; } 89 90 90 91 protected: 91 92 // definitions of MC input 92 93 Int_t fPointId; ///< MC point id being processed 93 94 Int_t fEventId; ///< MC event id being processed 94 95 Int_t fInputId; ///< MC input file number 96 Int_t fTimeSysOffset = 0; ///< Time offset of TRD digis to align them with other detectors (T0, ToF) does a streamer for this class exist? If so please increase the version number in the ClassDef macros since you did add a new data members.