25 #define INJECTION_INIT \
26 iFile(NULL),run(0),nevent(0),eventID(0),type(0),name(NULL),gps(0.),strain(0), \
27 psi(NULL),iota(NULL),phi(NULL),theta(NULL),bp(NULL),bx(NULL),time(NULL), \
28 duration(NULL),frequency(NULL),bandwidth(NULL),hrss(NULL),snr(NULL), \
29 Deff(NULL),mass(NULL),spin(NULL),pwf(NULL)
137 if (name)
delete name;
140 if (iota) free(iota);
142 if (theta) free(theta);
146 if (time) free(time);
147 if (duration) free(duration);
149 if (frequency) free(frequency);
150 if (bandwidth) free(bandwidth);
151 if (hrss) free(hrss);
153 if (Deff) free(Deff);
154 if (mass) free(mass);
155 if (spin) free(spin);
159 if(iFile) {
if(fChain)
delete fChain;
delete iFile;}
Int_t fCurrent
pointer to the analyzed TTree or TChain
TTree * Init(TString fName, int n)
Double_t * time
beam pattern coefficients for hx
wavearray< double > a(hp.size())
void output(TTree *, network *, double, bool=true)
Float_t * snr
injected hrss in the detectors
Float_t * iota
source psi angle
Float_t * duration
injection gps time
Float_t * bandwidth
average center_of_hrss frequency
Float_t * theta
source phi angle
Int_t ndim
current Tree number in a TChain
void Show(Int_t entry=-1)
Float_t factor
injection name
Double_t * hrss
estimated bandwidth
virtual injection & operator=(const injection &)
Float_t * mass
detector specific effective distance
Int_t run
number of detectors
Float_t * phi
source iota angle
Float_t * bx
beam pattern coefficients for hp
injection(TTree *tree, int n allocate)()
Float_t * bp
source theta angle
Float_t * frequency
estimated duration
Bool_t fill_in(network *, int, bool=true)
wavearray< double > ** pwf
[x1,y1,z1,x2,y2,z2] components of spin vector
TBranch * b_ndim
pointer to the reconstructed waveform
Float_t * spin
[m1,m2], binary mass parameters
TTree * fChain
root input file cointainig the mdc TTree
Float_t * Deff
injected snr in the detectors