#include <Params.h>
Public Member Functions | |
| Params () | |
| Params (const char *name) | |
| ~Params () | |
| Int_t | WantIsFid (Int_t nunubar) |
| Int_t | WantPittTrkQual (Int_t nunubar) |
| Float_t | FitSigCut (Int_t nunubar) |
| Float_t | DavidPIDCut (Int_t nunubar) |
| Float_t | NuBarPIDCut (Int_t nunubar) |
Private Attributes | |
| Int_t | IsFid [2] |
| Int_t | PittTrkQual [2] |
| Float_t | FitSig [2] |
| Float_t | DavidPID [2] |
| Float_t | NuBarPID [2] |
|
|
Definition at line 18 of file Params.cxx. References DavidPID, FitSig, IsFid, NuBarPID, and PittTrkQual. 00018 {
00019
00020 //1st entry is neutrinos and second is antineutrinos
00021 IsFid[0]=1; IsFid[1]=1;
00022 PittTrkQual[0]=1; PittTrkQual[1]=1;
00023 FitSig[0]=0.1; FitSig[1]=0.1;
00024 DavidPID[0]=0.1; DavidPID[1]=-2;
00025 NuBarPID[0]=-0.5; NuBarPID[1]=0.8;
00026
00027 }
|
|
|
Definition at line 29 of file Params.cxx. References DavidPID, FitSig, IsFid, MSG, NuBarPID, and PittTrkQual. 00029 {
00030
00031 //Default values
00032 //1st entry is neutrinos and second is antineutrinos
00033 IsFid[0]=1; IsFid[1]=1;
00034 PittTrkQual[0]=1; PittTrkQual[1]=1;
00035 FitSig[0]=0.1; FitSig[1]=0.1;
00036 DavidPID[0]=0.1; DavidPID[1]=-2;
00037 NuBarPID[0]=-0.5; NuBarPID[1]=0.8;
00038
00039 ifstream file_sel (name);
00040 string line;
00041
00042 if(file_sel.is_open()){
00043 while( !file_sel.eof() ){
00044 getline(file_sel,line);
00045 cout << line << endl;
00046 }
00047 file_sel.close();
00048 } else {
00049 MSG("NuBarPID",Msg::kWarning) << "Could not open file" << endl;
00050 }
00051
00052 }
|
|
|
Definition at line 54 of file Params.cxx. 00054 {}
|
|
|
Definition at line 91 of file Params.cxx. 00091 {
00092
00093 if(nunubar==0 || nunubar==1){
00094 return DavidPID[nunubar];
00095 }else {
00096 MSG("NuBarPID",Msg::kWarning) << "Entry must be 0 (neutrino selection) or 1 (antineutrino selection)" << endl;
00097 return -100;
00098 }
00099 }
|
|
|
Definition at line 80 of file Params.cxx. 00080 {
00081
00082 if(nunubar==0 || nunubar==1){
00083 return FitSig[nunubar];
00084 }else {
00085 MSG("NuBarPID",Msg::kWarning) << "Entry must be 0 (neutrino selection) or 1 (antineutrino selection)" << endl;
00086 return -100;
00087 }
00088 }
|
|
|
Definition at line 102 of file Params.cxx. 00102 {
00103
00104 if(nunubar==0 || nunubar==1){
00105 return NuBarPID[nunubar];
00106 }else {
00107 MSG("NuBarPID",Msg::kWarning) << "Entry must be 0 (neutrino selection) or 1 (antineutrino selection)" << endl;
00108 return -100;
00109 }
00110 }
|
|
|
Definition at line 58 of file Params.cxx. 00058 {
00059
00060 if(nunubar==0 || nunubar==1){
00061 return IsFid[nunubar];
00062 }else {
00063 MSG("NuBarPID",Msg::kWarning) << "Entry must be 0 (neutrino selection) or 1 (antineutrino selection)" << endl;
00064 return -1;
00065 }
00066 }
|
|
|
Definition at line 69 of file Params.cxx. References MSG, and PittTrkQual. 00069 {
00070
00071 if(nunubar==0 || nunubar==1){
00072 return PittTrkQual[nunubar];
00073 }else {
00074 MSG("NuBarPID",Msg::kWarning) << "Entry must be 0 (neutrino selection) or 1 (antineutrino selection)" << endl;
00075 return -1;
00076 }
00077 }
|
|
|
Definition at line 20 of file Params.h. Referenced by DavidPIDCut(), and Params(). |
|
|
Definition at line 19 of file Params.h. Referenced by FitSigCut(), and Params(). |
|
|
Definition at line 17 of file Params.h. Referenced by Params(), and WantIsFid(). |
|
|
Definition at line 21 of file Params.h. Referenced by NuBarPIDCut(), and Params(). |
|
|
Definition at line 18 of file Params.h. Referenced by Params(), and WantPittTrkQual(). |
1.3.9.1