Skip to content

Commit bfadc2d

Browse files
Merge pull request #598 from SBNSoftware/feature/gardiner-rebase-of_hlay_gdml_v02_03
Rebase of hlay_gdml_v02_03
2 parents 5785e38 + 2d0f508 commit bfadc2d

23 files changed

Lines changed: 90143 additions & 650 deletions

sbndcode/CRT/CRTReco/CRTClusterCharacterisationAlg.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ namespace sbnd::crt {
7575

7676
CRTGeoAlg fCRTGeoAlg;
7777

78-
bool fUseT1;
7978
double fTimeOffset;
8079
double fOverlapBuffer;
8180
double fPEAttenuation;

sbndcode/CRT/CRTReco/CRTStripHitProducer_module.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ void sbnd::crt::CRTStripHitProducer::produce(art::Event& e)
124124
const uint64_t etrig_unix = ts->Timestamp() / static_cast<uint64_t>(1e9);
125125
const int64_t unix_diff = ref_unix - etrig_unix;
126126
if(unix_diff != 0 && unix_diff != 1)
127-
throw std::runtime_error("Unix timestamps differ by more than 1" + unix_diff);
127+
throw std::runtime_error(Form("Unix timestamps differ by more than 1 (%li)", unix_diff));
128128

129129
const bool previous_second = unix_diff == 1;
130130

@@ -177,7 +177,7 @@ std::vector<sbnd::crt::CRTStripHit> sbnd::crt::CRTStripHitProducer::CreateStripH
177177

178178
const int64_t unix_diff = ref_unix - unixs;
179179
if(unix_diff != 0 && unix_diff != 1)
180-
throw std::runtime_error("Unix timestamps differ by more than 1" + unix_diff);
180+
throw std::runtime_error(Form("Unix timestamps differ by more than 1 (%li)", unix_diff));
181181

182182
const bool previous_second = unix_diff == 1;
183183

0 commit comments

Comments
 (0)