Tutorials
Note
A collection of macros helping to learn cWB by example
- AnalyzeSkyProb.C
This example show how to read/analyze skymap probability produced by cWB_Plugin_SkyProb.C plugin
- ChangeRhoStatistic.C
this macro is used to redefine the rho statistic
- ChirpMass.C
this macro shows how to read the eBBH results from output ROOT file produced with cWB_Plugin_eBBH.C
- CombineSearchesWithFAD.C
This macro is used to computed the false alarm probability of combined searches
- CompareWDMvsTime.C
Read waveform from file
- ComputeSNR.C
generate MDC & Read PSD from file & compute SNR
- Compute_FAP_and_Gsigma.C
Compute Gaussian Sigma & FAP from OBSERVATIONAL_TIME, BACKGROUND_TIME, TRIALS_FACTOR
- ConvertGWGC.C
convert GWGCCatalog_Rev1d7.txt format to GWGC format for inspiral input sky distribution
- CreateCelestialSkyMask.C
CreateCelestialSkyMask
- CreateSkyMask.C
Create SkyMask for cWB analysis
- CreateWhitenedInspirals.C
…
- DrawFileStrainObjects.C
Read/Display Objects from strain job root file
- DrawFitsGraceDB.C
This example show how to display skymap probability from fits file
- DrawInspiral.C
…
- DrawInspiralFeatures.C
Show how to use Toolbox to get signal envelop / instantaneous frequency, WignerVille Transform, …
- DrawInspiralUserDet.C
Draw Inspiral Waveform with the mdc class (for user defined detectors)
- DrawMDCuserDet.C
Draw Builtin Waveform with the mdc class (for user defined detectors)
- DrawPSD.C
Hz
- DrawRootSkymap.C
Draw skymap from skymap saved in a root file
- DrawSGC.C
Show how to use mdc class to get & draw SGC waveforms
- DrawSGE.C
Show how to use mdc class to get & draw SG elliptical waveforms
- DrawSensitivities.C
Draw Detector Sensitivity Curves
- DrawSensitivitiesS5.C
…
- DrawWDM.C
Instantiation of object cWB::mdc
- DrawWaveformPE.C
this macro shows how to read the PE results from ROOT and ASCII file
- Draw_LALSringCusp.C
Show comparison between LAL Cosmic String Cusps waveformss vs High frequency cut-off
- Draw_LAL_vs_cWB.C
Show comparison between SGE/WNB cWB vs LAL waveforms
- Draw_LAL_vs_cWB_from_XMLFILE.C
Show comparison between SGE/WNB cWB vs LAL waveforms
- Efficiency2Gvs1G.C
this macro produces an html page : 1G vs 2G efficiency 50% comparison
- GetJobFrList.C
read the frame list from the job file
- GetLiveTime.C
This macro computes the livetime for each lag using the cWB::Toolbox::getLiveTime method
- LoadWaveforms.C
Load waveforms from files
- Log2Root.C
Convert text log mdc file to root file
- Log2Root2.C
convert BurstMDC ascii log file to cWB root file
- LoopChirpMass.C
…
- MakeBurstXML.C
temporary buffer length in sec used for MDC generation
- MakeROC.C
this macro produces the ROC report page
- MakeROC_Config_1G_vs_2G_Example.C
1G vs 2G-ISRA
- Make_BRST_O1_HF.C
Make BRST HF [512:5120] Hz Set for O1 (proposal)
- Make_BRST_O1_LF.C
Make BRST LF [32:1024] Hz Set for O1 (proposal)
- Make_SN_O1.C
Make BRST LF [32:1024] Hz Set for O1 (proposal)
- Make_wdmXTalk.C
this macro has been used to create the default wdmXTalk catalog used for the 2G pipeline
- MergeTrees.C
merge root trees
- NodesCleanup.C
This macro is used to remove temporary cwb files from the remote nodes
- PCA_Benchmark.C
PRINCIPAL COMPONENT ANALYSIS
- Posterior2XML.C
sampleFile : input posterior sample file produced by PE
- ProbabilityIntegratedOverCircles.C
Integrate likelihood skymap over the big circles
- ReadAndDrawMDC.C
Draw Waveform from text file
- ReadCStrainFromJobFile.C
read & display conditioned strain from job cstrain file
- ReadFileMDC.C
This example show how to read event parameters from root mdc file
- ReadFileWAVE.C
This example show how to read event parameters from root wave file
- ReadHistFromJobFile.C
read & display diagnostic histogram from job supercluster file
- ReadObjectLogMDC.C
Draw Waveform from mdc object saved to root file
- ReadSkyMapFromTree.C
This example show how to read/save to fits/display skymap probability from output root file
- ReadSparseMapFromJobFile.C
Read & Plot Sparse Map From Job Files
- ReadStrainFromJobFile.C
Draw read & display strain & mdc from job strain file
- Read_nRMS.C
This macro read the nRMS from the cstrain root files produced with
- Regression_H1.C
How to apply regression to subtract power line at 180Hz
- Regression_H1_bic.C
How to apply regression to subtract power line at 180Hz and related sidebands
- Regression_LPE_H1.C
GetHchannel
- Regression_Sine.C
How to apply regression to subtract sinusoidal line at 100Hz
- Regression_Sine_Bic.C
How to apply regression to subtract sinusoidal line at 100 +/- 2 Hz
- Regression_Sine_Gaus_Bic.C
How to apply regression to subtract upconverted 2Hz noise at 100 +/- 2 Hz
- Regression_Sine_parameters.C
How to apply regression to subtract sinusoidal line at 100Hz
- RootSkyMap2Fits.C
This example show how to convert skymap probability from root to fits files in celestial coordinates
- RootsSkyMap2Fits.C
This example show how to convert skymap probability from a list of output/root files to fits files
- SelectRunsFromMerged.C
this example show how to extract the first 2000 jobs from the merge root file
- Test1.C
Test 1: Removal of broadband noise using a single, highly correlated witness channel.
- Test10.C
Test 10: Two good witness channels plus one slightly correlated one
- Test11.C
Test 11: Two witness channels have some common noise (or environmental signal,
- Test2.C
Test 2: Similar, but witness channel includes some uncorrelated noise:
- Test3.C
Test 3: Similar, but witness channel includes more uncorrelated noise:
- Test4.C
Test 4: Similar, but witness channel has mostly uncorrelated noise.
- Test5.C
Test 5: Two identical (i.e., redundant) witness channels:
- Test6.C
Test 6: Two witness channels, one highly correlated and the other not
- Test7.C
Test 7: One witness channel with a little uncorrelated noise, other with more
- Test8.C
Test 8: Similar, but second witness channel has a very small (but nonzero) correlation
- Test9.C
Test 9: Two good witness channels measuring different effects
- TestBandPass.C
This example show how to apply the band filters
- TestcWB.C
Instantiation of the mdc object using a user_parameter.C config macro file
- TestConfigCompare.C
Compare two cwb configurations
- TestConfigPrint.C
Read and print cwb configuration
- TestDrawDistributions.C
Draw sky distributions
- TestGetTreeDetector.C
Test get detector info to/from tree
- TestLiveTime.C
This macro compare the livetime computed by the cWB pipeline and the approximate one
- TestMDC.C
Instantiation of object cWB::mdc and setup of waveforms, sky distribution
- TestReadSkyDistFromLogMDC.C
Read SkyDistribution From Log MDC file
- TestReadWaveform.C
Read & Draw Waveforms
- TestReadWriteConfig.C
Write & Read config object to/from root file
- TestReadWriteDetectorObject.C
Write & Read config object to/from root file
- TestReadWriteSkymapObject.C
Write & Read config object to/from root file
- TestSetGetTreeDetector.C
Test set/get detector info to/from tree
- TestSetGetTreeDetector2.C
Test set/get detector info to/from tree
- TestTObject.C
Write & Read wavearray object to/from root file
- TestTObjectMeyer.C
Write & Read Meyer object to/from root file
- TestTObjectNetcluster.C
Write & Read netcluster object to/from root file
- TestTObjectNetpixel.C
Write & Read netpixel object to/from root file
- TestTObjectSkymap.C
Write & Read skymap object to/from root file
- TestTObjectWSeries.C
Write & Read wavearray, Wseries objects to/from root file
- TestTObjectWaveDWT.C
Write & Read WaveDMT object to/from root file
- TestTObjectWavearray.C
Write & Read wavearray object to/from root file
- TestWriteFrameMDC.C
Create waveforms and write to frame file
- TimeSortTree.C
Sort waveburst root file IFILE_NAME according time[0] parameters and to the ISELECTION rules
- test_config1.C
defines macro to manage ROOT5 vs ROOT6
- user_parameters.C
defines macro to manage ROOT5 vs ROOT6