NuCutImps::RM0720 Class Reference

#include <NuCutImps.h>

Inheritance diagram for NuCutImps::RM0720:
NuCut

List of all members.

Public Member Functions

 RM0720 (const NuPlots *plots=0)

Protected Member Functions

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

Private Attributes

NuCutsSelection fNuCutsSelection
CC0720Std fCC0720Std

Detailed Description

Definition at line 454 of file NuCutImps.h.


Constructor & Destructor Documentation

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

Definition at line 583 of file NuCutImps.cxx.

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

00583                                      :
00584     NuCut("RM0720", plots),
00585     fNuCutsSelection(NuCuts::kNMB0720RM, plots)
00586   {
00587     SetFidVol("cc2008");
00588     SetAnaVersion(NuCuts::kNMB0720RM);
00589   }


Member Function Documentation

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

Implements NuCut.

Definition at line 592 of file NuCutImps.cxx.

References NuCut::Defer_Preselection(), and fCC0720Std.

00593   {
00594     // Use the 2010 CC  preselection
00595     Defer_Preselection(fCC0720Std, nu);
00596 
00597   } // End of preselection function

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

Implements NuCut.

Definition at line 600 of file NuCutImps.cxx.

References NuEvent::charge, NuCut::Defer_Selection(), NuEvent::detector, MuELoss::e, NuEvent::evtphsigcor, fCC0720Std, NuCut::Keep_If(), Detector::kFar, Msg::kInfo, Detector::kNear, max, MAXMSG, NuEvent::nevt, NuEvent::planeTrkBegu, NuEvent::planeTrkBegv, NuEvent::planeTrkEndu, NuEvent::planeTrkEndv, NuEvent::relativeAngle, NuEvent::roID, NuEvent::sigqp, NuEvent::sigqp_qp, and NuEvent::snarlPulseHeight.

00601   {
00602     Float_t cutValue=0.65; 
00603     Int_t DiffV=0;
00604     Int_t DiffU=0;
00605     if (nu.charge != +1) {
00606       Defer_Selection(fCC0720Std, nu);
00607     }
00608     else {
00609       Keep_If(nu.roID > cutValue, "RoID");
00610       Keep_If(1./nu.sigqp_qp > 2.3, "QP_sigmaQP");
00611       DiffV=nu.planeTrkEndv -nu.planeTrkBegv;
00612       DiffU=nu.planeTrkEndu -nu.planeTrkBegu;
00613       Keep_If(DiffU > 19 && DiffV > 19, "TrackLengthUV");
00614       Keep_If(TMath::Abs(nu.relativeAngle - TMath::Pi()) > 2.0, "RelativeAngle");
00615       Keep_If(nu.sigqp > 0.00011 || nu.sigqp < 0.000099, "sigqp");
00616       const double phFrac = nu.evtphsigcor/max(nu.snarlPulseHeight, 1e-10);
00617       Keep_If(nu.detector == Detector::kNear || (nu.detector==Detector::kFar && (nu.nevt < 2 || (nu.nevt == 2 && phFrac > 0.75))), "PHfrac");
00618       MAXMSG("NuCutImps",Msg::kInfo,1)
00619         <<"Making set of cuts for RM7020 selector"<<endl;
00620     }
00621   }


Member Data Documentation

Definition at line 457 of file NuCutImps.h.

Referenced by Preselection(), and Selection().

Definition at line 456 of file NuCutImps.h.


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

Generated on 24 Apr 2018 for loon by  doxygen 1.6.1