Skip to content

Commit 8dc43c7

Browse files
committed
Merge branch 'feature/hlay_crt_offline' of https://github.com/SBNSoftware/sbnobj into feature/hlay_crt_offline
2 parents cc7dc2e + 191022c commit 8dc43c7

5 files changed

Lines changed: 15 additions & 10 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
cmake_minimum_required(VERSION 3.19 FATAL_ERROR)
1515

1616
find_package(cetmodules 3.20.00 REQUIRED)
17-
project(sbnobj VERSION 09.19.01 LANGUAGES CXX)
17+
project(sbnobj VERSION 09.19.04 LANGUAGES CXX)
1818

1919
message(STATUS
2020
"\n-- ============================================================================="

sbnobj/Common/Calibration/TrackCaloSkimmerObj.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,8 @@ namespace sbn {
260260
std::vector<WireInfo> wires1; //!< List of wire information on plane 1
261261
std::vector<WireInfo> wires2; //!< List of wire information on plane 2
262262

263-
float t0; //!< T0 of track [us]
263+
float t0; //!< T0 of track [ns]
264+
float t0CRT; //!< T0 of track from CRT-TPC matching [ns]
264265
int whicht0; //!< Which T0 producer was used to tag
265266
int id; //!< ID of track
266267
int cryostat; //!< Cryostat number of track
@@ -311,6 +312,7 @@ namespace sbn {
311312

312313
TrackInfo():
313314
t0(-1),
315+
t0CRT(-1),
314316
id(-1),
315317
cryostat(-1),
316318
clear_cosmic_muon(false),

sbnobj/Common/Calibration/classes_def.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
<version ClassVersion="11" checksum="903476586"/>
1515
<version ClassVersion="10" checksum="118230262"/>
1616
</class>
17-
<class name="sbn::TrackInfo" ClassVersion="13">
17+
<class name="sbn::TrackInfo" ClassVersion="14">
18+
<version ClassVersion="14" checksum="3729960902"/>
1819
<version ClassVersion="13" checksum="1962204283"/>
1920
<version ClassVersion="12" checksum="2151440214"/>
2021
<version ClassVersion="11" checksum="627908269"/>

sbnobj/SBND/CRT/FEBData.hh

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ namespace sbnd::crt {
2626
uint32_t fTs1; ///< T1 counter [ns]
2727
uint32_t fUnixS; ///< Event time since unix epoch [s]
2828
adc_array_t fADC; ///< 32 ADC values, one per SiPM
29-
uint32_t fCoinc; ///< ID of SiPM that fired the trigger
29+
uint32_t fCoinc; ///< This was intended to be the ID of SiPM that fired the trigger,
30+
///< the hardware doesn't fill this field so in data we are filling it
31+
///< with the cable delay for this module instead.
3032

3133
public:
3234

@@ -44,7 +46,7 @@ namespace sbnd::crt {
4446
* @param ts1 The value of the t1 counter.
4547
* @param unixs The event time since unix epoch.
4648
* @param ADC The 32-size array with ADC values.
47-
* @param coinc The ID of the strip that fired the trigger.
49+
* @param coinc Historical Name - Contains the cable delay for the module.
4850
*/
4951
FEBData(uint16_t mac5, uint16_t flags, uint32_t ts0, uint32_t ts1, uint32_t unixs, adc_array_t ADC, uint32_t coinc);
5052

@@ -104,9 +106,9 @@ namespace sbnd::crt {
104106
uint16_t ADC(size_t sipmID) const;
105107

106108
/**
107-
* Returns the ID of the sipm that fired the trigger.
109+
* Historical Name - Contains the cable delay for the module.
108110
*
109-
* @return The Coinc variable of this FEB data.
111+
* @return The cable delay of this module
110112
*/
111113
uint32_t Coinc() const;
112114

@@ -154,9 +156,9 @@ namespace sbnd::crt {
154156
void SetADC(size_t sipmID, uint16_t adc);
155157

156158
/**
157-
* Setter method for coinc
159+
* Setter method for cable delay
158160
*
159-
* @param coinc The coinc values to set
161+
* @param coinc The cable delay value to set
160162
*/
161163
void SetCoinc(uint32_t coinc);
162164
};

ups/product_deps

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ defaultqual e26
246246
#
247247
####################################
248248
product version qual flags <table_format=2>
249-
lardataobj v09_18_03 -
249+
lardataobj v09_18_05 -
250250
cetmodules v3_24_01 - only_for_build
251251
end_product_list
252252
####################################

0 commit comments

Comments
 (0)