Logo coherent WaveBurst  
Library Reference Guide
Logo
List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
gnetwork Class Reference

Definition at line 33 of file gnetwork.hh.

Public Member Functions

 gnetwork ()
 
 gnetwork (int nifo, TString *ifo, detectorParams *detParms=NULL)
 
 gnetwork (network *net)
 
virtual ~gnetwork ()
 
void ClearCircles ()
 
void ClearSites ()
 
void ClearSitesArms ()
 
void ClearSitesLabel ()
 
int Delay2Coordinates (double t1, double t2, double t3, double &ph1, double &th1, double &ph2, double &th2)
 
void Draw (char *smName, network *net=NULL)
 
void Draw (TString smName, network *net=NULL)
 
void DrawAntennaPattern (int polarization=-1, int dpaletteId=0, bool btitle=true, int order=6)
 
void DrawCircles (double phi, double theta, double gps, Color_t lcolor=kBlack, Width_t lwidth=1, Style_t lstyle=1, bool labels=false)
 
void DrawCircles (double phi, double theta, Color_t lcolor=kBlack, Width_t lwidth=1, Style_t lstyle=1, bool labels=false)
 
void DrawDelay (TString ifo1, TString ifo2, double phi=1000., double theta=1000., double frequency=0.)
 
void DrawNetworkDetectorIndex (double gamma, int loop, double snr=-1.0, int dpaletteId=DUMMY_PALETTE_ID, bool btitle=true)
 
TCanvas * DrawPolargram (int ptype, network *net=NULL)
 
void DrawSites (Color_t mcolor=kBlack, Size_t msize=2.0, Style_t mstyle=20)
 
void DrawSitesArms (double mlength=600000., Color_t lcolor=kBlack, Size_t lwidth=1.0, Style_t lstyle=1)
 
void DrawSitesLabel (Color_t tcolor=kBlack, Size_t tsize=0.045, Font_t tfont=32)
 
void DrawSitesShortLabel (Color_t tcolor=kBlack, Size_t tsize=0.052, Font_t tfont=32)
 
void DumpObject (char *file)
 
double GetAntennaPattern (double phi, double theta, double psi=0., int polarization=1)
 
double GetAntennaPattern (TString ifo, double phi, double theta, double psi=0., bool plus=true)
 
double GetDelay (TString ifo1, TString ifo2, double phi, double theta)
 
double GetDelay (TString ifo1, TString ifo2, TString mode="")
 
gskymapGetGskymap ()
 
double GetScale (TString ifo)
 
double GetSite (TString ifo, TString type="")
 
void LoadObject (char *file)
 
void MakeNetworkDetectorIndex (double gamma, int loop, double snr=-1.0)
 
void SetGskymap (gskymap &gSM)
 
void SetScale (TString ifo, double scale)
 
void setSkyMaps (double sms, double t1, double t2, double p1, double p2)
 
void setSkyMaps (int healpix_order)
 
- Public Member Functions inherited from network
 network ()
 
 network (const network &)
 param: value - object to copy from More...
 
virtual ~network ()
 
wavearray< float > _avx_norm_ps (float **, float **, std::vector< float *> &, int)
 
wavearray< float > _avx_norm_ps (float **, float **, float *, int)
 
void _avx_saveGW_ps (float **, float **, int)
 
int _sse_MRA_ps (float *, float *, float, int)
 
int _sse_mra_ps (float *, float *, float, int)
 
size_t add (detector *)
 param: detector structure return number of detectors in the network More...
 
size_t add (WDM< double > *wdm)
 param: pointer to wdm return number of wdm tronsforms in the list More...
 
virtual void Browse (TBrowser *)
 
size_t cluster (int kt, int kf)
 param: time gap in pixels return: number of reconstructed clusters More...
 
long coherence (double, double=0., double=0.)
 param: threshold on lognormal pixel energy (in units of noise rms) param: threshold on total pixel energy (in units of noise rms) param: threshold on likelihood (in units of amplitude SNR per detector) return: number of selected samples. More...
 
void constraint (double d=1., double g=0.0001)
 param: constraint parameter, p=0 - no constraint More...
 
void delay (double theta, double phi)
 
More...
 
void delay (detector *, size_t)
 param: detector pointer param: delay filter index More...
 
void delink ()
 
size_t events ()
 
size_t events (int type, int lag=-1)
 
void Forward (size_t k)
 param: number of steps More...
 
double getDelay (const char *c="")
 
detectorgetifo (size_t n)
 param: detector index More...
 
int getIndex (double theta, double phi)
 param: theta [deg] param: phi [deg] More...
 
double getliveTime (size_t n)
 
size_t getmdc__ID (size_t n)
 
string getmdcList (size_t n)
 
std::vector< double > * getmdcTime ()
 
double getmdcTime (size_t n)
 
string getmdcType (size_t n)
 
bool getMRAwave (size_t ID, size_t lag, char atype='S', int mode=0, bool tof=false)
 
double getNDM (size_t i, size_t j)
 param: first detector param: second detector More...
 
long getNetworkPixels (int LAG, double Eo, double DD=1., TH1F *hist=NULL)
 
void getSkyArea (size_t id, size_t lag, double T)
 param: cluster id param: lag param: cluster time More...
 
void getSkyArea (size_t id, size_t lag, double T, double rms)
 param: noise rms per DoF More...
 
bool getwave (size_t, size_t, char='W')
 param: cluster ID param: delay index param: time series type return: true if time series are extracted More...
 
netclustergetwc (size_t n)
 param: delay index More...
 
WDM< double > * getwdm (size_t M)
 param: number of wdm layers More...
 
size_t ifoListSize ()
 
virtual size_t initwc (double, double)
 param: cluster start time relative to segment start param: cluster duration return cluster list size More...
 
void Inverse (size_t k)
 
char like ()
 
long likelihood (char='E', double=sqrt(2.), int=0, size_t=0, int=-1, bool=false)
 
long likelihood2G (char mode, int lag, int ID, TH2F *hist=NULL)
 
long likelihoodB (char='E', double=sqrt(2.), int=0, size_t=0, int=-1, bool=false)
 param: maximized statistic: param: threshold to define core pixels (in units of noise rms) More...
 
long likelihoodI (char='P', double=sqrt(2.), int=0, size_t=0, int=-1, bool=false)
 
long likelihoodWP (char mode, int lag, int ID, TH2F *hist=NULL)
 
size_t livTimeSize ()
 
size_t mdc__IDSize ()
 
size_t mdcListSize ()
 
size_t mdcTimeSize ()
 
size_t mdcTypeSize ()
 
size_t netcut (double, char='L', size_t=0, int=1)
 param: threshold param: minimum cluster size processed by the corrcut param: cluster type return: number of rejected pixels. More...
 
networkoperator= (const network &)
 
void print ()
 
void printwc (size_t)
 
void readFilter (const char *)
 
size_t readMDClog (char *, double=0., int=11, int=12)
 param: MDC log file param: approximate gps time More...
 
size_t readSEGlist (char *, int=1)
 param: segment list file param: start time collumn number More...
 
void set2or (double p)
 param: threshold More...
 
void setAcore (double a)
 
void setAntenna (detector *)
 param: detector (use theta, phi index array) More...
 
void setAntenna ()
 
void setDelay (const char *="L1")
 
void setDelayFilters (detector *=NULL)
 
More...
 
void setDelayFilters (char *, char *=NULL)
 
More...
 
void setDelayIndex (double rate)
 param: MDC log file More...
 
void setDelayIndex (int=0)
 param: dummy More...
 
size_t setFilter (detector *=NULL)
 param: detector More...
 
void setFilter (char *, char *=NULL)
 
More...
 
size_t setIndexMode (size_t=0)
 
void setMRAcatalog (char *fn)
 
bool setndm (size_t, size_t, bool=true, int=1)
 param: cluster ID param: lag index param: statistic identificator param: resolution idenificator return: status More...
 
bool SETNDM (size_t, size_t, bool=true, int=1)
 
void setOffset (double t)
 param: run More...
 
size_t setRank (double, double=0.)
 
void setRMS ()
 
void setRunID (size_t n)
 param: run More...
 
void setSkyMaps (double, double=0., double=180., double=0., double=360.)
 param: sky map granularity step, degrees param: theta begin, degrees param: theta end, degrees param: phi begin, degrees param: phi end, degrees More...
 
void setSkyMaps (int)
 param: healpix order More...
 
size_t setSkyMask (double f, char *fname)
 
size_t setSkyMask (char *fname, char skycoord)
 
size_t setSkyMask (skymap sm, char skycoord)
 
int setTimeShifts (size_t=1, double=1., size_t=0, size_t=0, const char *=NULL, const char *="w", size_t *=NULL)
 param number of time lags param time shift step in seconds param first lag ID param maximum lag ID param file name for lag configurations param r/w/s - read/write/string mode More...
 
double setVeto (double=5.)
 param: time window around injections More...
 
long subNetCut (int lag, float subnet=0.6, float subcut=0.33, TH2F *hist=NULL)
 
void test_sse (int, int)
 
double threshold (double, double)
 param: selected fraction of LTF pixels assuming Gaussian noise param: maximum time delay between detectors More...
 
double THRESHOLD (double bpp)
 param: selected fraction of LTF pixels assuming Gaussian noise More...
 
double THRESHOLD (double bpp, double shape)
 param: selected fraction of LTF pixels assuming Gaussian noise param: Gamma distribution shape parameter More...
 
void updateTDamp (int, float **, float **)
 
size_t wc_ListSize ()
 
bool wdm ()
 
size_t wdmListSize ()
 
void writeFilter (const char *fname)
 

Static Public Member Functions

static double ndi (double *, double, int)
 
- Static Public Member Functions inherited from network
static void addx (double *, double *, double *)
 
static void addx (double *, double **, size_t, double *)
 
static void addx (double **, size_t, double **, size_t, double *)
 
static void cpf_ (float *&a, double **p)
 
static void cpf_ (float *&a, double **p, size_t)
 
static void cpp_ (float *&, float **)
 
static double divx (double *, double *)
 
static double dot32 (std::vector< float > *, double *, std::vector< short > *)
 
static double dot32 (double *, double *, int *)
 
static double dot4 (double *, double *)
 
static double dot4 (double *, double *, double *)
 
static double dotx (double *, double *)
 
static double dotx (float *, float *)
 
static double dotx (double *, double *, double *)
 
static double dotx (float *, float *, float *)
 
static double dotx (double *, double **, size_t)
 
static double dotx (double **, size_t, double *)
 
static double dotx (double **, size_t, double **, size_t)
 
static double dotx (double **, size_t, double **, size_t, double *)
 
static double dotx (double *, double *, double)
 
static double dotx (float *, float *, float)
 
static double dotx (double *, double **, size_t, double *)
 
static void dpfx (float *fp, float *fx)
 
static void dspx (float *u, float *v, float *am, float *AM)
 
static void dspx (float *fp, float *fx, float *am, float *AM, float *u, float *v)
 
static void inix (double **, size_t, double *)
 
static void inix (double *, double)
 
static void inix (float *, float)
 
static void mulx (double **, size_t, double **, size_t, double *)
 
static void mulx (double *, double, double *)
 
static void mulx (float *, float, float *)
 
static void mulx (double *, double)
 
static void mulx (float *, float)
 
static int netx (double *, double, double *, double, double)
 
static int netx (float *, float, float *, float, float)
 
static void pnpx (float *fp, float *fx, float *am, float *AM, float *u, float *v)
 
static void pnt_ (float **, float **, short **, int, int)
 
static double rot4 (double *, double, double *, double, double *)
 
static float rots (float *, float, float *, float, float *)
 
static double rotx (double *, double, double *, double, double *)
 
static double rotx (float *, float, float *, float, float *)
 
static double sumx (double *)
 

Private Member Functions

void Draw (skymap sm, TString title="")
 
void Draw (wavearray< int > w, TString title="")
 
void Draw (wavearray< short > w, TString title="")
 
void Draw (wavearray< double > w, TString title="")
 
void Init ()
 

Private Attributes

TCanvas * canvasP
 
std::vector< TPolyLine * > circleL
 
std::vector< TMarker * > daxisM
 
TGraphPolar * grP [2]
 canvas used for the polargrams More...
 
gskymap gSM
 
detectorpD [NIFO_MAX]
 
double scale [NIFO_MAX]
 
std::vector< TPolyLine * > siteA
 
std::vector< TLatex * > siteL
 
unsigned int siteLabelType
 default=1, used to scale the antenna pattern acccording the PSD contribution of each detector (at a fixed frequency) to the network More...
 
std::vector< TMarker * > siteM
 
std::vector< TLatex * > siteP
 
std::vector< TText * > siteT
 

Additional Inherited Members

- Public Attributes inherited from network
wavearray< float > a_00
 wdm multi-resolution analysis More...
 
wavearray< float > a_90
 buffer for cluster sky 00 amplitude More...
 
double acor
 
double aNET
 
double delta
 
double e2or
 
double eCOR
 
double Edge
 
bool eDisbalance
 
bool EFEC
 
std::vector< delayFilterfilter
 
std::vector< delayFilterfilter90
 
double gamma
 
double gNET
 
std::vector< detector * > ifoList
 
std::vector< char * > ifoName
 
wavearray< intindex
 
double iNET
 
std::vector< double > livTime
 
bool local
 
std::vector< size_t > mdc__ID
 
std::vector< std::string > mdcList
 
std::vector< double > mdcTime
 
std::vector< std::string > mdcType
 
size_t mIFO
 
bool MRA
 
skymap nAlignment
 
skymap nAntenaPrior
 
skymap nCorrelation
 
skymap nCorrEnergy
 
skymap nDisbalance
 
std::vector< vectorDNDM
 
skymap nEllipticity
 
double netCC
 
double netRHO
 
size_t nLag
 
skymap nLikelihood
 
skymap nNetIndex
 
skymap nNullEnergy
 
double norm
 
skymap nPenalty
 
skymap nPolarisation
 
skymap nProbability
 
size_t nRun
 
skymap nSensitivity
 list of wdm tranformations More...
 
long nSky
 
skymap nSkyStat
 
bool optim
 
wavearray< double > p00_POL [2]
 buffers for cluster MRA energy More...
 
wavearray< double > p90_POL [2]
 buffer for projection on network plane 00 ampl More...
 
int pattern
 
double penalty
 
WSeries< double > pixeLHood
 
WSeries< double > pixeLNull
 
std::vector< netpixel * > pList
 
wavearray< float > pNRG
 buffers for cluster residual energy More...
 
bool pOUT
 
double precision
 
double pSigma
 
wavearray< double > r00_POL [2]
 buffer for projection on network plane 90 ampl More...
 
wavearray< double > r90_POL [2]
 buffer for standard response 00 ampl More...
 
wavearray< float > rNRG
 buffer for cluster sky 90 amplitudes More...
 
double rTDF
 
std::vector< waveSegmentsegList
 
wavearray< double > skyENRG
 
wavearray< double > skyHole
 
wavearray< short > skyMask
 
wavearray< double > skyMaskCC
 
wavearray< double > skyProb
 
double Step
 
char tYPe
 
wavearray< short > veto
 
std::vector< netclusterwc_List
 
std::vector< WDM< double > * > wdmList
 
monster wdmMRA
 list of pixel pointers for MRA More...
 
bool wfsave
 
WSeries< double > whp
 
WSeries< double > whx
 

#include <gnetwork.hh>

Inheritance diagram for gnetwork:
[legend]

Constructor & Destructor Documentation

◆ gnetwork() [1/3]

gnetwork::gnetwork ( )
inline

Definition at line 39 of file gnetwork.hh.

◆ gnetwork() [2/3]

gnetwork::gnetwork ( int  nifo,
TString ifo,
detectorParams detParms = NULL 
)

Definition at line 50 of file gnetwork.cc.

◆ gnetwork() [3/3]

gnetwork::gnetwork ( network net)

Definition at line 79 of file gnetwork.cc.

◆ ~gnetwork()

gnetwork::~gnetwork ( )
virtual

Definition at line 94 of file gnetwork.cc.

Member Function Documentation

◆ ClearCircles()

void gnetwork::ClearCircles ( )

Definition at line 510 of file gnetwork.cc.

◆ ClearSites()

void gnetwork::ClearSites ( )

Definition at line 524 of file gnetwork.cc.

◆ ClearSitesArms()

void gnetwork::ClearSitesArms ( )

Definition at line 536 of file gnetwork.cc.

◆ ClearSitesLabel()

void gnetwork::ClearSitesLabel ( )

Definition at line 548 of file gnetwork.cc.

◆ Delay2Coordinates()

int gnetwork::Delay2Coordinates ( double  t1,
double  t2,
double  t3,
double &  ph1,
double &  th1,
double &  ph2,
double &  th2 
)

Definition at line 1028 of file gnetwork.cc.

◆ Draw() [1/6]

void gnetwork::Draw ( char *  smName,
network net = NULL 
)
inline

Definition at line 77 of file gnetwork.hh.

◆ Draw() [2/6]

void gnetwork::Draw ( TString  smName,
network net = NULL 
)

Definition at line 125 of file gnetwork.cc.

◆ Draw() [3/6]

void gnetwork::Draw ( skymap  sm,
TString  title = "" 
)
inlineprivate

Definition at line 100 of file gnetwork.hh.

◆ Draw() [4/6]

void gnetwork::Draw ( wavearray< int w,
TString  title = "" 
)
inlineprivate

Definition at line 101 of file gnetwork.hh.

◆ Draw() [5/6]

void gnetwork::Draw ( wavearray< short >  w,
TString  title = "" 
)
inlineprivate

Definition at line 104 of file gnetwork.hh.

◆ Draw() [6/6]

void gnetwork::Draw ( wavearray< double >  w,
TString  title = "" 
)
inlineprivate

Definition at line 107 of file gnetwork.hh.

◆ DrawAntennaPattern()

void gnetwork::DrawAntennaPattern ( int  polarization = -1,
int  dpaletteId = 0,
bool  btitle = true,
int  order = 6 
)

Definition at line 674 of file gnetwork.cc.

◆ DrawCircles() [1/2]

void gnetwork::DrawCircles ( double  phi,
double  theta,
double  gps,
Color_t  lcolor = kBlack,
Width_t  lwidth = 1,
Style_t  lstyle = 1,
bool  labels = false 
)

Definition at line 1308 of file gnetwork.cc.

◆ DrawCircles() [2/2]

void gnetwork::DrawCircles ( double  phi,
double  theta,
Color_t  lcolor = kBlack,
Width_t  lwidth = 1,
Style_t  lstyle = 1,
bool  labels = false 
)

Definition at line 1293 of file gnetwork.cc.

◆ DrawDelay()

void gnetwork::DrawDelay ( TString  ifo1,
TString  ifo2,
double  phi = 1000.,
double  theta = 1000.,
double  frequency = 0. 
)

Definition at line 958 of file gnetwork.cc.

◆ DrawNetworkDetectorIndex()

void gnetwork::DrawNetworkDetectorIndex ( double  gamma,
int  loop,
double  snr = -1.0,
int  dpaletteId = DUMMY_PALETTE_ID,
bool  btitle = true 
)

Definition at line 1252 of file gnetwork.cc.

◆ DrawPolargram()

TCanvas * gnetwork::DrawPolargram ( int  ptype,
network net = NULL 
)

Definition at line 1535 of file gnetwork.cc.

◆ DrawSites()

void gnetwork::DrawSites ( Color_t  mcolor = kBlack,
Size_t  msize = 2.0,
Style_t  mstyle = 20 
)

Definition at line 257 of file gnetwork.cc.

◆ DrawSitesArms()

void gnetwork::DrawSitesArms ( double  mlength = 600000.,
Color_t  lcolor = kBlack,
Size_t  lwidth = 1.0,
Style_t  lstyle = 1 
)

Definition at line 314 of file gnetwork.cc.

◆ DrawSitesLabel()

void gnetwork::DrawSitesLabel ( Color_t  tcolor = kBlack,
Size_t  tsize = 0.045,
Font_t  tfont = 32 
)

Definition at line 442 of file gnetwork.cc.

◆ DrawSitesShortLabel()

void gnetwork::DrawSitesShortLabel ( Color_t  tcolor = kBlack,
Size_t  tsize = 0.052,
Font_t  tfont = 32 
)

Definition at line 426 of file gnetwork.cc.

◆ DumpObject()

void gnetwork::DumpObject ( char *  file)

Definition at line 1492 of file gnetwork.cc.

◆ GetAntennaPattern() [1/2]

double gnetwork::GetAntennaPattern ( double  phi,
double  theta,
double  psi = 0.,
int  polarization = 1 
)

Definition at line 564 of file gnetwork.cc.

◆ GetAntennaPattern() [2/2]

double gnetwork::GetAntennaPattern ( TString  ifo,
double  phi,
double  theta,
double  psi = 0.,
bool  plus = true 
)

Definition at line 643 of file gnetwork.cc.

◆ GetDelay() [1/2]

double gnetwork::GetDelay ( TString  ifo1,
TString  ifo2,
double  phi,
double  theta 
)

Definition at line 926 of file gnetwork.cc.

◆ GetDelay() [2/2]

double gnetwork::GetDelay ( TString  ifo1,
TString  ifo2,
TString  mode = "" 
)

Definition at line 875 of file gnetwork.cc.

◆ GetGskymap()

gskymap* gnetwork::GetGskymap ( )
inline

Definition at line 44 of file gnetwork.hh.

◆ GetScale()

double gnetwork::GetScale ( TString  ifo)

Definition at line 1654 of file gnetwork.cc.

◆ GetSite()

double gnetwork::GetSite ( TString  ifo,
TString  type = "" 
)

Definition at line 186 of file gnetwork.cc.

◆ Init()

void gnetwork::Init ( )
private

Definition at line 111 of file gnetwork.cc.

◆ LoadObject()

void gnetwork::LoadObject ( char *  file)

Definition at line 1506 of file gnetwork.cc.

◆ MakeNetworkDetectorIndex()

void gnetwork::MakeNetworkDetectorIndex ( double  gamma,
int  loop,
double  snr = -1.0 
)

Definition at line 1147 of file gnetwork.cc.

◆ ndi()

double gnetwork::ndi ( double *  u,
double  um,
int  nIFO 
)
inlinestatic

Definition at line 133 of file gnetwork.hh.

◆ SetGskymap()

void gnetwork::SetGskymap ( gskymap gSM)
inline

Definition at line 45 of file gnetwork.hh.

◆ SetScale()

void gnetwork::SetScale ( TString  ifo,
double  scale 
)

Definition at line 1627 of file gnetwork.cc.

◆ setSkyMaps() [1/2]

void gnetwork::setSkyMaps ( double  sms,
double  t1,
double  t2,
double  p1,
double  p2 
)
inline

Definition at line 47 of file gnetwork.hh.

◆ setSkyMaps() [2/2]

void gnetwork::setSkyMaps ( int  healpix_order)
inline

Definition at line 49 of file gnetwork.hh.

Member Data Documentation

◆ canvasP

TCanvas* gnetwork::canvasP
private

Definition at line 127 of file gnetwork.hh.

◆ circleL

std::vector<TPolyLine*> gnetwork::circleL
private

Definition at line 122 of file gnetwork.hh.

◆ daxisM

std::vector<TMarker*> gnetwork::daxisM
private

Definition at line 123 of file gnetwork.hh.

◆ grP

TGraphPolar* gnetwork::grP[2]
private

canvas used for the polargrams

Definition at line 128 of file gnetwork.hh.

◆ gSM

gskymap gnetwork::gSM
private

Definition at line 111 of file gnetwork.hh.

◆ pD

detector* gnetwork::pD[NIFO_MAX]
private

Definition at line 125 of file gnetwork.hh.

◆ scale

double gnetwork::scale[NIFO_MAX]
private

Definition at line 113 of file gnetwork.hh.

◆ siteA

std::vector<TPolyLine*> gnetwork::siteA
private

Definition at line 118 of file gnetwork.hh.

◆ siteL

std::vector<TLatex*> gnetwork::siteL
private

Definition at line 120 of file gnetwork.hh.

◆ siteLabelType

unsigned int gnetwork::siteLabelType
private

default=1, used to scale the antenna pattern acccording the PSD contribution of each detector (at a fixed frequency) to the network

Definition at line 115 of file gnetwork.hh.

◆ siteM

std::vector<TMarker*> gnetwork::siteM
private

Definition at line 117 of file gnetwork.hh.

◆ siteP

std::vector<TLatex*> gnetwork::siteP
private

Definition at line 121 of file gnetwork.hh.

◆ siteT

std::vector<TText*> gnetwork::siteT
private

Definition at line 119 of file gnetwork.hh.


The documentation for this class was generated from the following files: