NuCutImps::RHC0350BFnuBravo Class Reference

#include <NuCutImps.h>

Inheritance diagram for NuCutImps::RHC0350BFnuBravo:
NuCut

List of all members.

Public Member Functions

 RHC0350BFnuBravo (const NuPlots *plots=0)

Protected Member Functions

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

Private Attributes

RHC0350Std fRHC0350Std

Detailed Description

Definition at line 527 of file NuCutImps.h.


Constructor & Destructor Documentation

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

Definition at line 2995 of file NuCutImps.cxx.

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

02995                                                          :
02996     NuCut("RHC0350BFnuBravo", plots)
02997   {
02998     SetFidVol("cc2008");
02999     SetAnaVersion(NuCuts::kRHC0350BFnuBravo);
03000   }


Member Function Documentation

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

Implements NuCut.

Definition at line 3003 of file NuCutImps.cxx.

References NuCut::Defer_Preselection(), and fRHC0350Std.

03004   {
03005     // Use the 2010 CC  preselection preselection
03006     Defer_Preselection(fRHC0350Std, nu);
03007     //Add some more preselection here
03008 
03009   } // End of preselection function

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

Implements NuCut.

Definition at line 3012 of file NuCutImps.cxx.

References NuEvent::charge, NuCut::Defer_Selection(), NuEvent::detector, NuEvent::dpID, MuELoss::e, NuEvent::evtphsigcor, fRHC0350Std, NuCuts::IsGoodBeamTypeRHC2010(), NuCuts::IsGoodCoilCurrentDirectionRHC2010(), NuCut::Keep_If(), Detector::kFar, Detector::kNear, max, NuEvent::nevt, NuEvent::relativeAngle, NuEvent::rTrkEnd, NuEvent::sigqp, NuEvent::sigqp_qp, NuEvent::snarlPulseHeight, NuEvent::trkfitpass, and NuEvent::xTrkEnd.

03013   {
03014     //    Defer_Selection(fRHC0150Std, nu); //don't want RO pid cut as using DPID for Bravo-type selection, instead code in cuts individually
03015     //also sanity checks the hornCurrent
03016     Keep_If(NuCuts::IsGoodBeamTypeRHC2010(nu),
03017             "goodBeamType");
03018     //sanity check that we're picking up the correct coil current
03019     Keep_If(NuCuts::IsGoodCoilCurrentDirectionRHC2010(nu),
03020             "goodCoilCurrentDirection");
03021 
03022     if (nu.charge != -1) {
03023       Defer_Selection(fRHC0350Std, nu);
03024     }
03025     else {
03026       //adding Bravo type selector
03027       Keep_If(nu.dpID > 0.25, "DpID");
03028       Keep_If(1./nu.sigqp_qp < -3.5, "SigmaQP_QP");  //reversed the cut as we are dealing with RHC numus
03029       Keep_If(TMath::Abs(nu.relativeAngle - TMath::Pi()) > 2.12,
03030               "RelativeAngle");
03031 
03032       Keep_If(nu.sigqp > 0.00011 || nu.sigqp < 0.000099, "sigqp");
03033       const double phFrac = nu.evtphsigcor/max(nu.snarlPulseHeight, 1e-10);
03034       Keep_If(nu.detector == Detector::kNear || (nu.detector==Detector::kFar && (nu.nevt < 2 || (nu.nevt == 2 && phFrac > 0.75))), "PHfrac");
03035       Keep_If(nu.trkfitpass == 1, "allTFpass");
03036       Keep_If(nu.detector == Detector::kFar || (nu.rTrkEnd > 0.6 && nu.xTrkEnd > 0.0), "ndCoilHole");
03037       //    Cut_If(Detector::kNear == nu.detector && 2 == nu.containmentFlag, "ndCalorExit"); - DON'T WANT THIS CUT here as it would cut out all unfocused events, i.e. neutrinos
03038     }
03039 
03040   }


Member Data Documentation

Definition at line 529 of file NuCutImps.h.

Referenced by Preselection(), and Selection().


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

Generated on 15 Jul 2018 for loon by  doxygen 1.6.1