coherent WaveBurst
Library Reference Guide
home
cWB_docker
git
cWB
library
tools
cwb
tutorials
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
TString("c")
Definition:
cwb_report_skymap.C:129
MDC_LOGFILE
Definition:
mdc.hh:182
ifo
char ifo[NIFO_MAX][8]
Definition:
cwb1G_parameters.C:17
CWB::mdc::SetSkyDistribution
void SetSkyDistribution(MDC_DISTRIBUTION sky_distribution, vector< mdcpar > par, int seed=0, bool add=false)
Definition:
mdc.cc:3444
MDC
CWB::mdc MDC(N_IFO, ifo)
N_IFO
#define N_IFO
CWB::mdc
Definition:
mdc.hh:248
par
vector< mdcpar > par
Definition:
Log2Root.C:11
CWB::mdc::DumpLog
void DumpLog(TString fName, TString label="", bool append=false)
Definition:
mdc.cc:5068