10 int nevt =
event.GetEntries();
12 cout <<
"events are not present in the file : " << fName.Data() << endl;
14 }
else cout <<
"nevt : " << nevt << endl;
17 TList* ifoList =
event.fChain->GetUserInfo();
19 for (
int n=0;
n<ifoList->GetSize();
n++) {
22 cout << dParams[
n].
name << endl;
29 cout <<
"nIFO is not contained in the root file, must be declared as the input macro parameter" << endl;
38 cout <<
"-----------------------------------" << endl;
39 cout <<
" Event Injection Parameters " <<
n << endl;
40 cout <<
"-----------------------------------" << endl;
42 cout <<
"mdc index : " <<
event.type << endl;
43 cout <<
"phi : " <<
event.phi[0] << endl;
44 cout <<
"theta : " <<
event.theta[0] << endl;
47 cout <<
"-----------------------------------" << endl;
48 if(ifoList->GetSize()==
nIFO)
49 cout <<
"ifo : " << dParams[
i].
name << endl;
51 cout <<
"ifo : " <<
i << endl;
52 cout <<
"-----------------------------------" << endl;
54 cout <<
"time : " <<
event.time[
i] << endl;
55 cout <<
"hrss : " <<
event.hrss[
i] << endl;
detectorParams getDetectorParams()
void ReadFileMDC(TString fName, int nIFO=0)