NuCutImps::RHC0350Std Class Reference

#include <NuCutImps.h>

Inheritance diagram for NuCutImps::RHC0350Std:
NuCut

List of all members.

Public Member Functions

 RHC0350Std (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 469 of file NuCutImps.h.


Constructor & Destructor Documentation

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

Definition at line 378 of file NuCutImps.cxx.

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

00378                                              :
00379     NuCut("RHC0350Std", plots)
00380   {
00381     SetFidVol("cc2008");
00382     SetAnaVersion(NuCuts::kRHC0350Std);
00383   }
  


Member Function Documentation

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

Implements NuCut.

Definition at line 386 of file NuCutImps.cxx.

References NuCut::Defer_Preselection(), and fRHC0150Std.

00387   {
00388     // Use the 2010 CC  preselection preselection
00389     Defer_Preselection(fRHC0150Std, nu);
00390     //Add some more preselection here
00391 
00392   } // End of preselection function

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

Implements NuCut.

Definition at line 395 of file NuCutImps.cxx.

References NuEvent::containmentFlag, NuCut::Cut_If(), 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.

00396   {
00397     Defer_Selection(fRHC0150Std, nu);
00398     
00399     //sigqp == 1e-4 is an error code
00400     Keep_If(nu.sigqp > 0.00011 || nu.sigqp < 0.000099, "sigqp");
00401 
00402     Cut_If(Detector::kNear == nu.detector && 2 == nu.containmentFlag, "ndCalorExit");
00403 
00404     //Only use the largest event in a FD snarl. If there are more than
00405     //two events in a FD snarl, don't use any of them.
00406     const double phFrac = nu.evtphsigcor/max(nu.snarlPulseHeight, 1e-10);
00407     Keep_If(nu.detector == Detector::kNear || (nu.detector==Detector::kFar && (nu.nevt < 2 || (nu.nevt == 2 && phFrac > 0.75))), "PHfrac");
00408     Keep_If(nu.trkfitpass == 1, "allTFpass");
00409     Keep_If(nu.detector == Detector::kFar || (nu.rTrkEnd > 0.6 && nu.xTrkEnd > 0.0), "ndCoilHole");
00410 
00411   }


Member Data Documentation

Definition at line 471 of file NuCutImps.h.

Referenced by Preselection(), and Selection().


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

Generated on 3 Oct 2018 for loon by  doxygen 1.6.1