Logo Coherent WaveBurst  
Reference Guide
Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Log2Root.C
Go to the documentation of this file.
1 {
2  //
3  // Convert text log mdc file to root file
4  // Author : Gabriele Vedovato
5 
6  #define N_IFO 3
7 
8  TString ifo[N_IFO]={"L1","H1","VIRGO"};
9 
10  CWB::mdc MDC(N_IFO,ifo);
11  vector<mdcpar> par;
12 
13  MDC.SetSkyDistribution(MDC_LOGFILE,"GHLTV-GWGC_v1-968600000-300000.log",par);
14  MDC.DumpLog("GHLTV-GWGC_v1-968600000-300000.root","CIAO");
15 
16 
17  gSystem->Exit(0);
18 }
TString("c")
char ifo[NIFO_MAX][8]
void SetSkyDistribution(MDC_DISTRIBUTION sky_distribution, vector< mdcpar > par, int seed=0, bool add=false)
Definition: mdc.cc:3415
CWB::mdc MDC(N_IFO, ifo)
#define N_IFO
Definition: mdc.hh:216
vector< mdcpar > par
Definition: Log2Root.C:11
void DumpLog(TString fName, TString label="", bool append=false)
Definition: mdc.cc:5039