GWOLLUM  4.2.0
Tools for gravitational-wave analyses
gwl-txt-to-triggers.cc File Reference

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

#include "MakeTriggers.h"
Include dependency graph for gwl-txt-to-triggers.cc:

Functions

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

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<<endl;
cerr<<"usage:"<<endl;
cerr<<"gwl-txt-to-triggers [input text file pattern] [stream name] [column headers] ([segment file])"<<endl;
cerr<<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<<""<<endl;
cerr<<"The output root file is dumped in the current directory"<<endl;
cerr<<endl;
Author
Florent Robinet - florent.robinet@ijclab.in2p3.fr

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Main program.

◆ usage()

int usage ( void  )

Usage funcion.

[gwl-txt-to-triggers-usage]

[gwl-txt-to-triggers-usage]