Logo Coherent WaveBurst  
Reference Guide
Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TestReadWriteDetectorObject.C
Go to the documentation of this file.
1 {
2  //
3  // Write & Read config object to/from root file
4  // Author : Gabriele Vedovato
5 
8 
10 
11  TFile *froot = new TFile("test.root", "RECREATE");
12  D1.Write(const_cast<char*>("D"));
13  froot->Close();
14 
15  TFile *f = new TFile("test.root");
16 
17  f->ls();
18 
20  iD->print();
21 
22  f->Close();
23 
24  exit(0);
25 }
detector D
Definition: TestBandPass.C:15
cout<< "skymap size : "<< L<< endl;for(int l=0;l< L;l++) sm.set(l, l);sm > const_cast< char * >("skymap.dat")
void setPolarization(POLARIZATION polarization=TENSOR)
Definition: detector.hh:288
exit(0)
detector D1
TFile * froot
detector * iD
void print()
Definition: detector.cc:1768