Offer o2::dataformats::TimeStamp class globally#787
Offer o2::dataformats::TimeStamp class globally#787sawenzel merged 2 commits intoAliceO2Group:devfrom
Conversation
There was a problem hiding this comment.
@noferini : Can you check if ok with you?
e2f18ad to
7530a37
Compare
|
Error while checking build/o2checkcode/o2 for 7530a3703fe8ebb07c55f31d65540d1a2538bc4b: Full log here. |
7530a37 to
04256ca
Compare
There was a problem hiding this comment.
Doesn't it make sense to have different precision for error and timestamp itself? Also for the sake of unit testing, why not adding a simple one which creates a TimestampWithError and retrieves its contents?
There was a problem hiding this comment.
If this is ever required we can add it later.
There was a problem hiding this comment.
Implemented suggestions.
|
Error while checking build/o2/macos for 04256ca308ad716e648abaa92502990bde9ccf75: Full log here. |
|
Error while checking build/O2/o2 for 04256ca308ad716e648abaa92502990bde9ccf75: Full log here. |
Codecov Report
@@ Coverage Diff @@
## dev #787 +/- ##
=========================================
- Coverage 21.91% 21.9% -0.01%
=========================================
Files 606 1208 +602
Lines 46005 92054 +46049
=========================================
+ Hits 10081 20164 +10083
- Misses 35924 71890 +35966
|
ac07216 to
fac96b2
Compare
|
Error while checking build/O2/o2 for fac96b26f83601a0c757038c27295b1506f4c72b: Full log here. |
ba5ac27 to
9d3b05c
Compare
Moving a TimeStamp class from TPC to SimulationDataFormat
to be reused by other detectors;
This class (or its subclass TimeStampWithError) can be used
in places where previously FairTimeStamp was used.
The TimeStamp class is configurable on the type.
With this move, a couple of cleanup changes where possible:
* use new class for tof::Digit
* use new class for tpc::Cluster
* remove unused FairTimeStamp header includes and
fix some resulting missing includes that came
indirectly with FairTimeStamp
Use o2::dataformats::TimeStamp Cleanup of ITSMFT::Digit; Removal of unused files; Removal of unused boost serialization
9d3b05c to
7d49b23
Compare
|
Error while checking build/O2/o2 for 7d49b23: Full log here. |
|
@sawenzel , I run my standard simulation with this class and got plenty of messages like and all the output branches with TimeStamp are empty. Strangely, this does not happen of for the error part of TimeStampWithError: the error info is stored but the not the time: Given that the dictionary generation in the SimulationDataLinkDef is done in a same way for both classes, I don't understand why they behave as they do. Moreover, that in the compilation I get: Do you observe such thing? BTW (sorry for late ignition), if TPC uses this class also in the reconstruction, would not it be better to move it to the new Cheers, |
|
The issue should be solved via #819. Thanks for spotting. |
…#787) * Adding dielectron cut with low pt, and TPC cut * Added lmeePID_TPChadrejTOFrecRun3 cut for precise electron selection
Moving a TimeStamp class from TPC to SimulationDataFormat
to be reused by other detectors;
This class (or its subclass TimeStampWithError) can be used
in places where previously FairTimeStamp was used.
The TimeStamp class is configurable on the type.
With this move, a couple of cleanup changes where possible:
fix some resulting missing includes that came
indirectly with FairTimeStamp