Logo Coherent WaveBurst  
Reference Guide
Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
cwb_setveto.C
Go to the documentation of this file.
1 // apply veto to merged root file : used by the cwb_setveto command
2 
3 {
4  if(nIFO==2 && TString(ifo[1])==ifo[0]) nIFO=1; // set single detector mode when nIFO=2 and ifo[1]=ifo[0]
5 
6  vector<TString> ifos(nIFO);
7  for(int i=0;i<nIFO;i++) ifos[i]=ifo[i];
8 
9  cwb_merge_label=TString(gSystem->Getenv("CWB_MERGE_LABEL"));
10 
11  sprintf(net_file_name,"wave_%s.%s.root",data_label,cwb_merge_label.Data());
12  cout << net_file_name << endl;
13 
15 
16  exit(0);
17 }
double segMLS
Definition: test_config1.C:47
dqfile VDQF[100]
TString("c")
vector< TString > ifos(nIFO)
double segEdge
Definition: test_config1.C:49
int nVDQF
i drho i
char ifo[NIFO_MAX][8]
nDQF
Definition: cwb_eced.C:92
#define nIFO
char data_label[512]
Definition: test_config1.C:160
dqfile DQF[12]
Definition: test_config1.C:171
segLen
Definition: cwb_eced.C:7
char merge_dir[512]
Definition: test_config1.C:147
char net_file_name[256]
static int setVeto(TString ifName, TString idir, TString odir, vector< TString > ifos, int nVDQF, dqfile *VDQF, int nDQF, dqfile *DQF, double segLen, double segMLS, double segEdge)
Definition: Toolbox.cc:3494
TString cwb_merge_label
sprintf(tfres,"(1/%g)x(%g) (sec)x(Hz)", 2 *df, df)
exit(0)