Skip to content

Commit f52b0a4

Browse files
authored
Update aodThinner.cxx
Adjust to use exitCode
1 parent 78d0606 commit f52b0a4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Framework/AODMerger/src/aodThinner.cxx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
#include "TGrid.h"
2727
#include "TMap.h"
2828
#include "TLeaf.h"
29-
#include "TError.h"
3029

3130
#include "aodMerger.h"
3231

@@ -250,7 +249,9 @@ int main(int argc, char* argv[])
250249
// If any (%ITSClusterMap or %ITSClusterSizes) of these are not found, continuation is not possible, hence fataling
251250
if (!bTPClsFindable || !bTRDPattern || !bTOFChi2 ||
252251
(!bITSClusterMap && !bITSClusterSizes)) {
253-
Fatal("Sanity-Check", "Branch detection failed for trackextra.[(fITSClusterMap=%d,fITSClusterSizes=%d),fTPCNClsFindable=%d,fTRDPattern=%d,fTOFChi2=%d]", bITSClusterMap, bITSClusterSizes, bTPClsFindable, bTRDPattern, bTOFChi2);
252+
printf(" *** FATAL *** Branch detection failed for trackextra.[(fITSClusterMap=%d,fITSClusterSizes=%d),fTPCNClsFindable=%d,fTRDPattern=%d,fTOFChi2=%d]", bITSClusterMap, bITSClusterSizes, bTPClsFindable, bTRDPattern, bTOFChi2);
253+
exitCode = 10;
254+
break;
254255
}
255256

256257
int fIndexCollisions = 0;

0 commit comments

Comments
 (0)