Functions | |
| Bool_t | PassesHiTrackCut (NtpSREvent *event, NtpStRecord *st, int cut) |
| Bool_t | PassesAllCuts (NtpSREvent *event, NtpStRecord *st, int trkcut, int loevtcut, int hiecut, int loecut) |
| Bool_t | PassesHiTrackCut (NtpSREvent *event, NtpSRRecord *st, int cut) |
| Bool_t | PassesAllCuts (NtpSREvent *event, NtpSRRecord *st, int trkcut, int loevtcut, int hiecut, int loecut) |
| Bool_t | PassesHiEnergyCut (NtpSREvent *event, int cut) |
| Bool_t | PassesLoEnergyCut (NtpSREvent *event, int cut) |
| Bool_t | PassesLoEventCut (NtpSREvent *event, int cut) |
|
||||||||||||||||||||||||||||
|
Definition at line 83 of file EventFilter.cxx. References PassesHiEnergyCut(), PassesHiTrackCut(), PassesLoEnergyCut(), and PassesLoEventCut(). 00083 {
00084
00085
00086 Bool_t passesCut=false;
00087
00088 if(PassesHiTrackCut(event,st,trkcut)&&
00089 PassesHiEnergyCut(event,hiecut) &&
00090 PassesLoEnergyCut(event,loecut) &&
00091 PassesLoEventCut(event,loevtcut) ) passesCut=true;
00092
00093 return passesCut;
00094 }
|
|
||||||||||||||||||||||||||||
|
Definition at line 70 of file EventFilter.cxx. References PassesHiEnergyCut(), PassesHiTrackCut(), PassesLoEnergyCut(), and PassesLoEventCut(). Referenced by NueModule::Reco(). 00070 {
00071
00072
00073 Bool_t passesCut=false;
00074
00075 if(PassesHiTrackCut(event,st,trkcut)&&
00076 PassesHiEnergyCut(event,hiecut) &&
00077 PassesLoEnergyCut(event,loecut) &&
00078 PassesLoEventCut(event,loevtcut) ) passesCut=true;
00079
00080 return passesCut;
00081 }
|
|
||||||||||||
|
Definition at line 47 of file EventFilter.cxx. References NtpSREvent::ph, and NtpSRPulseHeight::sigcor. Referenced by PassesAllCuts(). 00047 {
00048 Bool_t passesCut=false;
00049 if(cut<0) {passesCut=true; return passesCut;}
00050 if(event->ph.sigcor<cut) passesCut=true;
00051 return passesCut;
00052 }
|
|
||||||||||||||||
|
Definition at line 28 of file EventFilter.cxx. References SntpHelpers::GetTrack(), SntpHelpers::GetTrackIndex(), NtpSRPlane::n, NtpSREvent::ntrack, and NtpSRTrack::plane. 00028 {
00029
00030
00031 Bool_t passesCut=false;
00032 if(cut<0) {passesCut=true; return passesCut;}
00033
00034 int longestTrack=0;
00035 for(int j=0;j<event->ntrack;j++){
00036 int tindex = SntpHelpers::GetTrackIndex(j,event);
00037 NtpSRTrack *track = SntpHelpers::GetTrack(tindex,st);
00038 if(longestTrack<track->plane.n){
00039 longestTrack = track->plane.n;
00040 }
00041 }
00042
00043 if(longestTrack<cut){passesCut=true;}
00044 return passesCut;
00045 }
|
|
||||||||||||||||
|
Definition at line 9 of file EventFilter.cxx. References SntpHelpers::GetTrack(), SntpHelpers::GetTrackIndex(), NtpSRPlane::n, NtpSREvent::ntrack, and NtpSRTrack::plane. Referenced by PassesAllCuts(). 00009 {
00010
00011
00012 Bool_t passesCut=false;
00013 if(cut<0) {passesCut=true; return passesCut;}
00014
00015 int longestTrack=0;
00016 for(int j=0;j<event->ntrack;j++){
00017 int tindex = SntpHelpers::GetTrackIndex(j,event);
00018 NtpSRTrack *track = SntpHelpers::GetTrack(tindex,st);
00019 if(longestTrack<track->plane.n){
00020 longestTrack = track->plane.n;
00021 }
00022 }
00023
00024 if(longestTrack<cut){passesCut=true;}
00025 return passesCut;
00026 }
|
|
||||||||||||
|
Definition at line 55 of file EventFilter.cxx. References NtpSREvent::ph, and NtpSRPulseHeight::sigcor. Referenced by PassesAllCuts(). 00055 {
00056 Bool_t passesCut=false;
00057 if(cut<0) {passesCut=true; return passesCut;}
00058 if(event->ph.sigcor>cut) passesCut=true;
00059 return passesCut;
00060 }
|
|
||||||||||||
|
Definition at line 62 of file EventFilter.cxx. References NtpSRPlane::n, and NtpSREvent::plane. Referenced by PassesAllCuts(). 00062 {
00063 Bool_t passesCut=false;
00064 if(cut<0) {passesCut=true; return passesCut;}
00065 if(event->plane.n>cut) passesCut=true;
00066 return passesCut;
00067 }
|
1.3.9.1