From 7e93cbd5e5ec143a80c52746470fbed7eeb24bac Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 11 May 2023 14:32:44 +0200 Subject: align_detector: Run pede --- src/align_detector.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'src') diff --git a/src/align_detector.c b/src/align_detector.c index 8a1af962..c6e73497 100644 --- a/src/align_detector.c +++ b/src/align_detector.c @@ -69,6 +69,8 @@ int main(int argc, char *argv[]) char *out_geom = NULL; int level = 0; char *rval; + int i; + FILE *fh; /* Long options */ const struct option longopts[] = { @@ -136,5 +138,24 @@ int main(int argc, char *argv[]) return 1; } + fh = fopen("millepede.txt", "w"); + if ( fh == NULL ) { + ERROR("Couldn't open Millepede steering file\n"); + return 1; + } + + for ( i=optind; i