Functions | |
| Bool_t | PassesHiTrackCut (NtpSREvent *event, NtpStRecord *st, int cut) |
| Bool_t | PassesTrackLikeCut (NtpSREvent *event, NtpStRecord *st, int cut) |
| Bool_t | PassesHiShowerCut (NtpSREvent *event, NtpStRecord *st, float cut) |
| Bool_t | PassesLoShowerCut (NtpSREvent *event, NtpStRecord *st, float cut) |
| Bool_t | PassesAllCuts (NtpSREvent *event, NtpStRecord *st, int trkcut, int trklike, int loevtcut, float hiecut, float loecut, float hishwcut, float loshwcut) |
| Bool_t | PassesHiTrackCut (NtpSREvent *event, NtpSRRecord *st, int cut) |
| Bool_t | PassesTrackLikeCut (NtpSREvent *event, NtpSRRecord *st, int cut) |
| Bool_t | PassesHiShowerCut (NtpSREvent *event, NtpSRRecord *st, float cut) |
| Bool_t | PassesLoShowerCut (NtpSREvent *event, NtpSRRecord *st, float cut) |
| Bool_t | PassesAllCuts (NtpSREvent *event, NtpSRRecord *st, int trkcut, int trklike, int loevtcut, float hiecut, float loecut, float hishwcut, float loshwcut) |
| Bool_t | PassesHiEnergyCut (NtpSREvent *event, float cut) |
| Bool_t | PassesLoEnergyCut (NtpSREvent *event, float cut) |
| Bool_t | PassesLoEventCut (NtpSREvent *event, int cut) |
| Bool_t | PassesHiTrackCut (NueRecord *nr, int cut) |
| Bool_t | PassesTrackLikeCut (NueRecord *nr, int cut) |
| Bool_t | PassesHiShowerCut (NueRecord *nr, float cut) |
| Bool_t | PassesLoShowerCut (NueRecord *nr, float cut) |
| Bool_t | PassesAllCuts (NueRecord *nr, int trkcut, int trklike, int loevtcut, float hiecut, float loecut, float hishwcut, float loshwcut) |
| Bool_t | PassesHiEnergyCut (NueRecord *nr, float cut) |
| Bool_t | PassesLoEnergyCut (NueRecord *nr, float cut) |
| Bool_t | PassesLoEventCut (NueRecord *nr, int cut) |
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 294 of file EventFilter.cxx. References PassesHiEnergyCut(), PassesHiShowerCut(), PassesHiTrackCut(), PassesLoEnergyCut(), PassesLoEventCut(), PassesLoShowerCut(), and PassesTrackLikeCut(). 00294 {
00295
00296
00297 Bool_t passesCut=false;
00298
00299 if(PassesHiTrackCut(nr,trkcut)&&
00300 PassesTrackLikeCut(nr,trklike)&&
00301 PassesHiEnergyCut(nr,hiecut) &&
00302 PassesLoEnergyCut(nr,loecut) &&
00303 PassesHiShowerCut(nr,hishwcut) &&
00304 PassesLoShowerCut(nr,loshwcut) &&
00305 PassesLoEventCut(nr,loevtcut) ) passesCut=true;
00306
00307 return passesCut;
00308 }
|
|
||||||||||||||||||||||||||||||||||||||||
|
Definition at line 211 of file EventFilter.cxx. References PassesHiEnergyCut(), PassesHiShowerCut(), PassesHiTrackCut(), PassesLoEnergyCut(), PassesLoEventCut(), PassesLoShowerCut(), and PassesTrackLikeCut(). 00211 {
00212
00213 Bool_t passesCut=false;
00214
00215 if(PassesHiTrackCut(event,st,trkcut)&&
00216 PassesTrackLikeCut(event,st,trklike)&&
00217 PassesHiEnergyCut(event,hiecut) &&
00218 PassesLoEnergyCut(event,loecut) &&
00219 PassesHiShowerCut(event,st,hishwcut) &&
00220 PassesLoShowerCut(event,st,loshwcut) &&
00221 PassesLoEventCut(event,loevtcut) ) passesCut=true;
00222
00223 return passesCut;
00224 }
|
|
||||||||||||||||||||||||||||||||||||||||
|
Definition at line 193 of file EventFilter.cxx. References PassesHiEnergyCut(), PassesHiShowerCut(), PassesHiTrackCut(), PassesLoEnergyCut(), PassesLoEventCut(), PassesLoShowerCut(), and PassesTrackLikeCut(). Referenced by CompareAll::PassesCuts(). 00193 {
00194
00195
00196 Bool_t passesCut=false;
00197
00198 if(PassesHiTrackCut(event,st,trkcut)&&
00199 PassesTrackLikeCut(event,st,trklike)&&
00200 PassesHiEnergyCut(event,hiecut) &&
00201 PassesLoEnergyCut(event,loecut) &&
00202 PassesHiShowerCut(event,st,hishwcut) &&
00203 PassesLoShowerCut(event,st,loshwcut) &&
00204 PassesLoEventCut(event,loevtcut) ) passesCut=true;
00205
00206 return passesCut;
00207 }
|
|
||||||||||||
|
Definition at line 271 of file EventFilter.cxx. References ANtpEventInfoNue::phMeu, and NueRecord::srevent. 00271 {
00272 Bool_t passesCut=false;
00273 if(cut<0) {passesCut=true; return passesCut;}
00274 if(nr->srevent.phMeu<cut) passesCut=true;
00275 return passesCut;
00276 }
|
|
||||||||||||
|
Definition at line 170 of file EventFilter.cxx. References NtpSREvent::ph, and NtpSRPulseHeight::sigcor. Referenced by PassesAllCuts(). 00170 {
00171 Bool_t passesCut=false;
00172 if(cut<0) {passesCut=true; return passesCut;}
00173 if(event->ph.sigcor<cut) passesCut=true;
00174 return passesCut;
00175 }
|
|
||||||||||||
|
Definition at line 249 of file EventFilter.cxx. References ANtpShowerInfoNue::phNueGeV, and NueRecord::srshower. 00249 {
00250
00251 Bool_t passesCut=false;
00252 if(cut<0) {passesCut=true; return passesCut;}
00253 if(nr->srshower.phNueGeV<cut){passesCut=true;}
00254 return passesCut;
00255
00256 }
|
|
||||||||||||||||
|
Definition at line 102 of file EventFilter.cxx. References SntpHelpers::GetShower(), SntpHelpers::GetShowerIndex(), NtpSRStripPulseHeight::gev, NtpSREvent::nshower, and NtpSRShower::ph. 00102 {
00103
00104 Bool_t passesCut=false;
00105 if(cut<0) {passesCut=true; return passesCut;}
00106
00107
00108 float highestShwEng=0;
00109 for(int j=0;j<event->nshower;j++){
00110 int index = SntpHelpers::GetShowerIndex(j,event);
00111 NtpSRShower *shower = SntpHelpers::GetShower(index,st);
00112 if(highestShwEng<shower->ph.gev){
00113 highestShwEng=shower->ph.gev;
00114 }
00115 }
00116
00117 if(highestShwEng<cut){passesCut=true;}
00118 return passesCut;
00119
00120 }
|
|
||||||||||||||||
|
Definition at line 84 of file EventFilter.cxx. References SntpHelpers::GetShower(), SntpHelpers::GetShowerIndex(), NtpSRStripPulseHeight::gev, NtpSREvent::nshower, and NtpSRShower::ph. Referenced by PassesAllCuts(). 00084 {
00085
00086 Bool_t passesCut=false;
00087 if(cut<0) {passesCut=true; return passesCut;}
00088
00089
00090 float highestShwEng=0;
00091 for(int j=0;j<event->nshower;j++){
00092 int index = SntpHelpers::GetShowerIndex(j,event);
00093 NtpSRShower *shower = SntpHelpers::GetShower(index,st);
00094 if(highestShwEng<shower->ph.gev){
00095 highestShwEng=shower->ph.gev;
00096 }
00097 }
00098
00099 if(highestShwEng<cut){passesCut=true;}
00100 return passesCut;
00101 }
|
|
||||||||||||
|
Definition at line 231 of file EventFilter.cxx. References ANtpTrackInfo::planes, and NueRecord::srtrack. 00231 {
00232
00233
00234 Bool_t passesCut=false;
00235 if(cut<0) {passesCut=true; return passesCut;}
00236 if(nr->srtrack.planes<cut){passesCut=true;}
00237 return passesCut;
00238 }
|
|
||||||||||||||||
|
Definition at line 29 of file EventFilter.cxx. References SntpHelpers::GetTrack(), SntpHelpers::GetTrackIndex(), NtpSRPlane::n, NtpSREvent::ntrack, and NtpSRTrack::plane. 00029 {
00030
00031
00032 Bool_t passesCut=false;
00033 if(cut<0) {passesCut=true; return passesCut;}
00034
00035 int longestTrack=0;
00036 for(int j=0;j<event->ntrack;j++){
00037 int tindex = SntpHelpers::GetTrackIndex(j,event);
00038 NtpSRTrack *track = SntpHelpers::GetTrack(tindex,st);
00039 if(longestTrack<track->plane.n){
00040 longestTrack = track->plane.n;
00041 }
00042 }
00043
00044 if(longestTrack<cut){passesCut=true;}
00045 return passesCut;
00046 }
|
|
||||||||||||||||
|
Definition at line 10 of file EventFilter.cxx. References SntpHelpers::GetTrack(), SntpHelpers::GetTrackIndex(), NtpSRPlane::n, NtpSREvent::ntrack, and NtpSRTrack::plane. Referenced by PassesAllCuts(). 00010 {
00011
00012
00013 Bool_t passesCut=false;
00014 if(cut<0) {passesCut=true; return passesCut;}
00015
00016 int longestTrack=0;
00017 for(int j=0;j<event->ntrack;j++){
00018 int tindex = SntpHelpers::GetTrackIndex(j,event);
00019 NtpSRTrack *track = SntpHelpers::GetTrack(tindex,st);
00020 if(longestTrack<track->plane.n){
00021 longestTrack = track->plane.n;
00022 }
00023 }
00024
00025 if(longestTrack<cut){passesCut=true;}
00026 return passesCut;
00027 }
|
|
||||||||||||
|
Definition at line 279 of file EventFilter.cxx. References ANtpEventInfoNue::phMeu, and NueRecord::srevent. 00279 {
00280 Bool_t passesCut=false;
00281 if(cut<0) {passesCut=true; return passesCut;}
00282 if(nr->srevent.phMeu>cut) passesCut=true;
00283 return passesCut;
00284 }
|
|
||||||||||||
|
Definition at line 178 of file EventFilter.cxx. References NtpSREvent::ph, and NtpSRPulseHeight::sigcor. Referenced by PassesAllCuts(). 00178 {
00179 Bool_t passesCut=false;
00180 if(cut<0) {passesCut=true; return passesCut;}
00181 if(event->ph.sigcor>cut) passesCut=true;
00182 return passesCut;
00183 }
|
|
||||||||||||
|
Definition at line 286 of file EventFilter.cxx. References ANtpEventInfo::planes, and NueRecord::srevent. 00286 {
00287 Bool_t passesCut=false;
00288 if(cut<0) {passesCut=true; return passesCut;}
00289 if(nr->srevent.planes>cut) passesCut=true;
00290 return passesCut;
00291 }
|
|
||||||||||||
|
Definition at line 185 of file EventFilter.cxx. References NtpSRPlane::n, and NtpSREvent::plane. Referenced by PassesAllCuts(). 00185 {
00186 Bool_t passesCut=false;
00187 if(cut<0) {passesCut=true; return passesCut;}
00188 if(event->plane.n>cut) passesCut=true;
00189 return passesCut;
00190 }
|
|
||||||||||||
|
Definition at line 258 of file EventFilter.cxx. References ANtpShowerInfoNue::phNueGeV, ANtpEventInfo::showers, NueRecord::srevent, and NueRecord::srshower. 00258 {
00259
00260 Bool_t passesCut=false;
00261 if(cut<0) {passesCut=true; return passesCut;}
00262
00263 int nshws = nr->srevent.showers; //no. of showers
00264 if(nshws==0) {passesCut=false; return passesCut;}
00265
00266 if(nshws==1 && nr->srshower.phNueGeV > cut){passesCut=true;}
00267 else if(nshws>1 && nr->srshower.phNueGeV > cut/2.0){passesCut=true;}
00268 return passesCut;
00269 }
|
|
||||||||||||||||
|
Definition at line 144 of file EventFilter.cxx. References SntpHelpers::GetShower(), SntpHelpers::GetShowerIndex(), NtpSRStripPulseHeight::gev, NtpSREvent::nshower, and NtpSRShower::ph. 00144 {
00145
00146 Bool_t passesCut=false;
00147 if(cut<0) {passesCut=true; return passesCut;}
00148
00149 int nshws = event->nshower; //no. of showers
00150 if(nshws==0) {passesCut=false; return passesCut;}
00151
00152 float highestShwEng=0;
00153 for(int j=0;j<event->nshower;j++){
00154 int index = SntpHelpers::GetShowerIndex(j,event);
00155 NtpSRShower *shower = SntpHelpers::GetShower(index,st);
00156 if(highestShwEng<shower->ph.gev){
00157 highestShwEng=shower->ph.gev;
00158 }
00159 }
00160
00161 if(nshws==1&&highestShwEng>cut){passesCut=true;}
00162 else if(nshws>1&&highestShwEng>cut/2){passesCut=true;}
00163 return passesCut;
00164
00165 }
|
|
||||||||||||||||
|
Definition at line 122 of file EventFilter.cxx. References SntpHelpers::GetShower(), SntpHelpers::GetShowerIndex(), NtpSRStripPulseHeight::gev, NtpSREvent::nshower, and NtpSRShower::ph. Referenced by PassesAllCuts(). 00122 {
00123
00124 Bool_t passesCut=false;
00125 if(cut<0) {passesCut=true; return passesCut;}
00126
00127 int nshws = event->nshower; //no. of showers
00128 if(nshws==0) {passesCut=false; return passesCut;}
00129
00130 float highestShwEng=0;
00131 for(int j=0;j<event->nshower;j++){
00132 int index = SntpHelpers::GetShowerIndex(j,event);
00133 NtpSRShower *shower = SntpHelpers::GetShower(index,st);
00134 if(highestShwEng<shower->ph.gev){
00135 highestShwEng=shower->ph.gev;
00136 }
00137 }
00138
00139
00140 if(nshws==1&&highestShwEng>cut){passesCut=true;}
00141 else if(nshws>1&&highestShwEng>cut/2){passesCut=true;}
00142 return passesCut;
00143 }
|
|
||||||||||||
|
Definition at line 240 of file EventFilter.cxx. References NueRecord::srtrack, and ANtpTrackInfoNue::trklikePlanes. 00240 {
00241
00242
00243 Bool_t passesCut=false;
00244 if(cut<0) {passesCut=true; return passesCut;}
00245 if(nr->srtrack.trklikePlanes<cut){passesCut=true;}
00246 return passesCut;
00247 }
|
|
||||||||||||||||
|
Definition at line 66 of file EventFilter.cxx. References SntpHelpers::GetTrack(), SntpHelpers::GetTrackIndex(), NtpSREvent::ntrack, NtpSRTrackPlane::ntrklike, and NtpSRTrack::plane. 00066 {
00067
00068
00069 Bool_t passesCut=false;
00070 if(cut<0) {passesCut=true; return passesCut;}
00071
00072 int longestTrack=0;
00073 for(int j=0;j<event->ntrack;j++){
00074 int tindex = SntpHelpers::GetTrackIndex(j,event);
00075 NtpSRTrack *track = SntpHelpers::GetTrack(tindex,st);
00076 if(longestTrack<track->plane.ntrklike){
00077 longestTrack = track->plane.ntrklike;
00078 }
00079 }
00080
00081 if(longestTrack<cut){passesCut=true;}
00082 return passesCut;
00083 }
|
|
||||||||||||||||
|
Definition at line 47 of file EventFilter.cxx. References SntpHelpers::GetTrack(), SntpHelpers::GetTrackIndex(), NtpSREvent::ntrack, NtpSRTrackPlane::ntrklike, and NtpSRTrack::plane. Referenced by PassesAllCuts(). 00047 {
00048
00049
00050 Bool_t passesCut=false;
00051 if(cut<0) {passesCut=true; return passesCut;}
00052
00053 int longestTrack=0;
00054 for(int j=0;j<event->ntrack;j++){
00055 int tindex = SntpHelpers::GetTrackIndex(j,event);
00056 NtpSRTrack *track = SntpHelpers::GetTrack(tindex,st);
00057 if(longestTrack<track->plane.ntrklike){
00058 longestTrack = track->plane.ntrklike;
00059 }
00060 }
00061
00062 if(longestTrack<cut){passesCut=true;}
00063 return passesCut;
00064 }
|
1.3.9.1