Logo coherent WaveBurst  
Library Reference Guide
Logo
Functions | Variables
cwb_dump_events.C File Reference

Functions

TB checkFile (gSystem->Getenv("CWB_ROOTLOGON_FILE"))
 
 exit (0)
 
 for (int n=0;n< nifo;n++)
 
 if (gSystem->Getenv("CWB_DUMP_EVT_FILE_NAME")==NULL)
 
 if (cwb_dump_evt_file_name.Contains(".root")==0)
 
 if (gSystem->Getenv("CWB_DUMP_EVT_MODE")!=NULL)
 
 if (ifile==NULL)
 
 if (itree==NULL)
 
 if (nifo==0)
 

Variables

TString cwb_dump_evt_file_name
 
TString cwb_dump_evt_mode ="view"
 
 else
 
netevent EVT (itree, nifo)
 
TFile * ifile = TFile::Open(cwb_dump_evt_file_name)
 
TTree * itree = (TTree *) ifile->Get("waveburst")
 
TList * list = itree->GetUserInfo()
 
int nEVT = EVT.GetEntries()
 
int nifo =list->GetSize()
 
detector ** pD = new detector*[nifo]
 

Function Documentation

◆ checkFile()

TB checkFile ( gSystem->  Getenv"CWB_ROOTLOGON_FILE")

◆ exit()

exit ( )

◆ for()

for ( )

Definition at line 53 of file cwb_dump_events.C.

◆ if() [1/6]

if ( gSystem->  Getenv"CWB_DUMP_EVT_FILE_NAME" = =NULL)

Definition at line 27 of file cwb_dump_events.C.

◆ if() [2/6]

if ( cwb_dump_evt_file_name.  Contains".root" = =0)

Definition at line 32 of file cwb_dump_events.C.

◆ if() [3/6]

if ( gSystem->Getenv("CWB_DUMP_EVT_MODE")!  = NULL)

Definition at line 37 of file cwb_dump_events.C.

◆ if() [4/6]

if ( ifile  = =NULL)

Definition at line 42 of file cwb_dump_events.C.

◆ if() [5/6]

if ( itree  = =NULL)

Definition at line 46 of file cwb_dump_events.C.

◆ if() [6/6]

if ( nifo  = =0)

Definition at line 51 of file cwb_dump_events.C.

Variable Documentation

◆ cwb_dump_evt_file_name

TString cwb_dump_evt_file_name

Definition at line 26 of file cwb_dump_events.C.

◆ cwb_dump_evt_mode

TString cwb_dump_evt_mode ="view"

Definition at line 36 of file cwb_dump_events.C.

◆ else

else
Initial value:
{
cwb_dump_evt_file_name=TString(gSystem->Getenv("CWB_DUMP_EVT_FILE_NAME"))
TString("c")
TString cwb_dump_evt_file_name

Definition at line 29 of file cwb_dump_events.C.

◆ EVT

◆ ifile

TFile* ifile = TFile::Open(cwb_dump_evt_file_name)

Definition at line 41 of file cwb_dump_events.C.

◆ itree

TTree* itree = (TTree *) ifile->Get("waveburst")

Definition at line 45 of file cwb_dump_events.C.

◆ list

TList* list = itree->GetUserInfo()

Definition at line 49 of file cwb_dump_events.C.

◆ nEVT

int nEVT = EVT.GetEntries()

Definition at line 75 of file cwb_dump_events.C.

◆ nifo

int nifo =list->GetSize()

Definition at line 50 of file cwb_dump_events.C.

◆ pD

detector** pD = new detector*[nifo]

Definition at line 52 of file cwb_dump_events.C.