Tools for gravitational-wave analyses
No Matches File Reference

Program to convert a txt file with triggers to a ROOT file. More...

#include "MakeTriggers.h"
Include dependency graph for


int main (int argc, char *argv[])
 Main program.
int usage ()
 Usage funcion.

Detailed Description

Program to convert a txt file with triggers to a ROOT file.

cerr<<"This program saves a list of triggers from a txt file to a ROOT file."<<endl;
cerr<<"gwl-txt-to-triggers [input text file pattern] [stream name] [column headers] ([segment file])"<<endl;
cerr<<" [input text file pattern]: List of text files (pattern) listing the triggers"<<endl;
cerr<<" [stream name]: Stream name"<<endl;
cerr<<" [column headers]: Assign column numbers."<<endl;
cerr<<" Up to 10 trigger parameters are supported, in this order:"<<endl;
cerr<<" time - SNR - frequency - time start - time end - frequency start"<<endl;
cerr<<" - frequency end - Q - amplitude - phase"<<endl;
cerr<<" Use a \"-1\" to indicate that a parameter is missing in the text file."<<endl;
cerr<<" For example:"<<endl;
cerr<<" \"1;5;2;-1;-1;-1;-1;9;-1;-1\""<<endl;
cerr<<" column 1 = time"<<endl;
cerr<<" column 2 = frequency"<<endl;
cerr<<" column 3-4 = ignored"<<endl;
cerr<<" column 5 = SNR"<<endl;
cerr<<" column 6-8 = ignored"<<endl;
cerr<<" column 9 = Q"<<endl;
cerr<<" [segment file]: Segment file associated to the triggers (optional)"<<endl;
cerr<<"The output root file is dumped in the current directory"<<endl;
Florent Robinet -

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 

Main program.

◆ usage()

int usage ( void  )

Usage funcion.