|
FEDRA emulsion software from the OPERA Collaboration
|
Functions | |
| ParaSet | Branch ("CUT_BACK_DMIN",&cut_back_dmin,"CUT_BACK_DMIN/D") |
| ParaSet | Branch ("CUT_BACK_DR",&cut_back_dr,"CUT_BACK_DR/D") |
| ParaSet | Branch ("CUT_BACK_DTHETA",&cut_back_dtheta,"CUT_BACK_DTHETA/D") |
| ParaSet | Branch ("CUT_BACK_DZ",&cut_back_dz,"CUT_BACK_DZ/D") |
| ParaSet | Branch ("CUT_FOR_DMIN",&cut_for_dmin,"CUT_FOR_DMIN/D") |
| ParaSet | Branch ("CUT_FOR_DR",&cut_for_dr,"CUT_FOR_DR/D") |
| ParaSet | Branch ("CUT_FOR_DTHETA",&cut_for_dtheta,"CUT_FOR_DTHETA/D") |
| ParaSet | Branch ("CUT_FOR_DZ",&cut_for_dz,"CUT_FOR_DZ/D") |
| PARAMETERSET_DEFINITIONFILE_SHORT | cd () |
| ParaSet | Fill () |
| outstream<< "#ParaSetNr CUT_BACK_DMIN CUT_BACK_DTHETA CUT_BACK_DR CUT_BACK_DZ CUT_FOR_DMIN CUT_FOR_DTHETA CUT_FOR_DR CUT_FOR_DZ "<< endl;int cnt[8]={0, 0, 0, 0, 0, 0, 0, 0};bool stop=kFALSE;while(!stop) { cut_back_dmin=gRandom-> | Gaus (140, 30) |
| outstream | open (OutputFile) |
| outstream<< " "<< ParaSetNr<< " "<< " "<< cut_back_dmin<< " "<< cut_back_dtheta<< " "<< cut_back_dr<< " "<< cut_back_dz<< " "<< cut_for_dmin<< " "<< cut_for_dtheta<< " "<< cut_for_dr<< " "<< cut_for_dz<< endl;++ParaSetNr;if(ParaSetNr >2000) stop=kTRUE;} ParaSet-> | Print () |
| ParaSet | Write () |
Variables | |
| Double_t | cut_back_dmin |
| Double_t | cut_back_dr =gRandom->Gaus(130,40) |
| Double_t | cut_back_dtheta =gRandom->Gaus(0.1,0.015) |
| Double_t | cut_back_dz =gRandom->Gaus(5000,800) |
| Double_t | cut_for_dmin =gRandom->Gaus(140,30) |
| Double_t | cut_for_dr =gRandom->Gaus(130,40) |
| Double_t | cut_for_dtheta =gRandom->Gaus(0.1,0.015) |
| Double_t | cut_for_dz =gRandom->Gaus(5000,800) |
| TString | OutputFile ="PARAMETERSET_DEFINITIONFILE_LONG_BW_ALG.txt" |
| ofstream | outstream |
| ParaSet = new TTree("ParaSet_Variables","ParaSet_Variables") | |
| Int_t | ParaSetNr =0 |
| return | |
| ParaSet Branch | ( | "CUT_BACK_DMIN" | , |
| & | cut_back_dmin, | ||
| "CUT_BACK_DMIN/D" | |||
| ) |
| ParaSet Branch | ( | "CUT_BACK_DR" | , |
| & | cut_back_dr, | ||
| "CUT_BACK_DR/D" | |||
| ) |
| ParaSet Branch | ( | "CUT_BACK_DTHETA" | , |
| & | cut_back_dtheta, | ||
| "CUT_BACK_DTHETA/D" | |||
| ) |
| ParaSet Branch | ( | "CUT_BACK_DZ" | , |
| & | cut_back_dz, | ||
| "CUT_BACK_DZ/D" | |||
| ) |
| ParaSet Branch | ( | "CUT_FOR_DMIN" | , |
| & | cut_for_dmin, | ||
| "CUT_FOR_DMIN/D" | |||
| ) |
| ParaSet Branch | ( | "CUT_FOR_DR" | , |
| & | cut_for_dr, | ||
| "CUT_FOR_DR/D" | |||
| ) |
| ParaSet Branch | ( | "CUT_FOR_DTHETA" | , |
| & | cut_for_dtheta, | ||
| "CUT_FOR_DTHETA/D" | |||
| ) |
| ParaSet Branch | ( | "CUT_FOR_DZ" | , |
| & | cut_for_dz, | ||
| "CUT_FOR_DZ/D" | |||
| ) |
| PARAMETERSET_DEFINITIONFILE_SHORT cd | ( | ) |
| ParaSet Fill | ( | ) |
| outstream<< "#ParaSetNr CUT_BACK_DMIN CUT_BACK_DTHETA CUT_BACK_DR CUT_BACK_DZ CUT_FOR_DMIN CUT_FOR_DTHETA CUT_FOR_DR CUT_FOR_DZ "<< endl; int cnt[8]={0,0,0,0,0,0,0,0}; bool stop=kFALSE; while (!stop) { cut_back_dmin=gRandom-> Gaus | ( | 140 | , |
| 30 | |||
| ) |
| outstream open | ( | OutputFile | ) |
| outstream<< " " << ParaSetNr << " " << " " << cut_back_dmin << " " << cut_back_dtheta << " " << cut_back_dr << " " << cut_back_dz << " " << cut_for_dmin << " " << cut_for_dtheta << " " << cut_for_dr << " " << cut_for_dz << endl; ++ParaSetNr; if (ParaSetNr>2000) stop=kTRUE; } ParaSet-> Print | ( | ) |
| ParaSet Write | ( | ) |
| Double_t cut_back_dmin |
| cut_back_dr =gRandom->Gaus(130,40) |
| cut_back_dtheta =gRandom->Gaus(0.1,0.015) |
| cut_back_dz =gRandom->Gaus(5000,800) |
| cut_for_dmin =gRandom->Gaus(140,30) |
| cut_for_dr =gRandom->Gaus(130,40) |
| cut_for_dtheta =gRandom->Gaus(0.1,0.015) |
| cut_for_dz =gRandom->Gaus(5000,800) |
| TString OutputFile ="PARAMETERSET_DEFINITIONFILE_LONG_BW_ALG.txt" |
| ofstream outstream |
| ParaSet = new TTree("ParaSet_Variables","ParaSet_Variables") |
| Int_t ParaSetNr =0 |
| return |