Coherent WaveBurst
Reference Guide
CWB Documentation
Main Page
Namespaces
All Classes
Files
gitlab
ROOT
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
SOFT
cWB
library
master_0bc430d
tools
cwb
tutorials
ReadObjectLogMDC.C
Go to the documentation of this file.
1
{
2
//
3
// Draw Waveform from mdc object saved to root file
4
// Author : Gabriele Vedovato
5
6
TFile *
jfile
= TFile::Open(
"frames/L1H1V1-RDE_TST1-Log.root"
);
7
if
(jfile==NULL) {
8
cout <<
"Input ROOT File not exist !!!"
<< endl;
9
gSystem->Exit(1);
10
}
11
12
jfile->ls();
13
14
// read mdc object
15
CWB::mdc
MDC
= *(
CWB::mdc
*)jfile->
Get
(
"RDE_TST1"
);
16
17
MDC.
Print
();
18
19
//MDC.Draw("RDE_1590_0d2", 0, "hp", MDC_TF);
20
MDC.
Draw
(
"RDE_2090_0d2"
, 0,
"hp"
,
MDC_TIME
);
21
MDC.
Draw
(
"RDE_2090_0d2"
, 0,
"hx"
,
MDC_TIME
,
"SAME"
,2);
22
}
MDC_TIME
Definition:
mdc.hh:172
CWB::mdc::Draw
watplot * Draw(TString name, int id=0, TString polarization="hp", MDC_DRAW type=MDC_TIME, TString options="ALP", Color_t color=kBlack)
Definition:
mdc.cc:2288
CWB::mdc::Get
TString Get(wavearray< double > &x, TString ifo)
Definition:
mdc.cc:1502
CWB::mdc::Print
void Print(int level=0)
Definition:
mdc.cc:2707
jfile
jfile
Definition:
cwb_job_obj.C:25
CWB::mdc
Definition:
mdc.hh:216
MDC
CWB::mdc MDC
Definition:
ReadObjectLogMDC.C:15