NuCutImps::RHC0350BFnu Class Reference

#include <NuCutImps.h>

Inheritance diagram for NuCutImps::RHC0350BFnu:
NuCut

List of all members.

Public Member Functions

 RHC0350BFnu (const NuPlots *plots=0)

Protected Member Functions

void Preselection (const NuEvent &nu)
void Selection (const NuEvent &nu)

Private Attributes

RHC0150Std fRHC0150Std

Detailed Description

Definition at line 514 of file NuCutImps.h.


Constructor & Destructor Documentation

NuCutImps::RHC0350BFnu::RHC0350BFnu ( const NuPlots plots = 0  ) 

Definition at line 3051 of file NuCutImps.cxx.

References NuCuts::kRHC0350BFnu, NuCut::SetAnaVersion(), and NuCut::SetFidVol().

03051                                                :
03052     NuCut("RHC0350BFnu", plots)
03053   {
03054     SetFidVol("cc2008");
03055     SetAnaVersion(NuCuts::kRHC0350BFnu);
03056   }
  


Member Function Documentation

void NuCutImps::RHC0350BFnu::Preselection ( const NuEvent nu  )  [protected, virtual]

Implements NuCut.

Definition at line 3059 of file NuCutImps.cxx.

References NuCut::Defer_Preselection(), and fRHC0150Std.

03060   {
03061     // Use the 2010 CC  preselection preselection
03062     Defer_Preselection(fRHC0150Std, nu);
03063     //Add some more preselection here
03064 
03065   } // End of preselection function

void NuCutImps::RHC0350BFnu::Selection ( const NuEvent nu  )  [protected, virtual]

Implements NuCut.

Definition at line 3068 of file NuCutImps.cxx.

References NuCut::Defer_Selection(), NuEvent::detector, MuELoss::e, NuEvent::evtphsigcor, fRHC0150Std, NuCut::Keep_If(), Detector::kFar, Detector::kNear, max, NuEvent::nevt, NuEvent::rTrkEnd, NuEvent::sigqp, NuEvent::snarlPulseHeight, NuEvent::trkfitpass, and NuEvent::xTrkEnd.

03069   {
03070     Defer_Selection(fRHC0150Std, nu);
03071     
03072     //sigqp == 1e-4 is an error code
03073     Keep_If(nu.sigqp > 0.00011 || nu.sigqp < 0.000099, "sigqp");
03074 
03075     //    Cut_If(Detector::kNear == nu.detector && 2 == nu.containmentFlag, "ndCalorExit");
03076 
03077     //Only use the largest event in a FD snarl. If there are more than
03078     //two events in a FD snarl, don't use any of them.
03079     const double phFrac = nu.evtphsigcor/max(nu.snarlPulseHeight, 1e-10);
03080     Keep_If(nu.detector == Detector::kNear || (nu.detector==Detector::kFar && (nu.nevt < 2 || (nu.nevt == 2 && phFrac > 0.75))), "PHfrac");
03081 
03082     Keep_If(nu.trkfitpass == 1, "allTFpass");
03083     Keep_If(nu.detector == Detector::kFar || (nu.rTrkEnd > 0.6 && nu.xTrkEnd > 0.0), "ndCoilHole");
03084 
03085   }


Member Data Documentation

Definition at line 516 of file NuCutImps.h.

Referenced by Preselection(), and Selection().


The documentation for this class was generated from the following files:

Generated on 24 Apr 2018 for loon by  doxygen 1.6.1