NuCutImps::RM2 Class Reference

#include <NuCutImps.h>

Inheritance diagram for NuCutImps::RM2:
NuCut

List of all members.

Public Member Functions

 RM2 (const NuPlots *plots=0)

Protected Member Functions

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

Private Attributes

NuCutsSelection fNuCutsSelection
CC0325Std fCC0325Std

Detailed Description

Definition at line 141 of file NuCutImps.h.


Constructor & Destructor Documentation

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

Definition at line 537 of file NuCutImps.cxx.

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

00537                                :
00538     NuCut("RM2", plots),
00539     fNuCutsSelection(NuCuts::kRM2, plots)
00540   {
00541     SetFidVol("cc2008");
00542     SetAnaVersion(NuCuts::kRM2);
00543   }


Member Function Documentation

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

Implements NuCut.

Definition at line 546 of file NuCutImps.cxx.

References NuCut::Defer_Preselection(), and fCC0325Std.

00547   {
00548     // Use old preselection
00549     Defer_Preselection(fCC0325Std, nu);
00550 
00551   } // End of preselection function

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

Implements NuCut.

Definition at line 555 of file NuCutImps.cxx.

References NuEvent::charge, NuCut::Defer_Selection(), fCC0325Std, NuCut::Keep_If(), Msg::kInfo, MAXMSG, NuEvent::planeTrkBegu, NuEvent::planeTrkBegv, NuEvent::planeTrkEndu, NuEvent::planeTrkEndv, NuEvent::relativeAngle, NuEvent::roID, and NuEvent::sigqp_qp.

00556   {
00557     Float_t cutValue=0.65; 
00558     Int_t DiffV=0;
00559     Int_t DiffU=0;
00560     if (nu.charge != +1) {
00561       Defer_Selection(fCC0325Std, nu);
00562     }
00563     else {
00564       Keep_If(nu.roID > cutValue, "RoID");
00565       Keep_If(1./nu.sigqp_qp > 2.3, "QP_sigmaQP");
00566       DiffV=nu.planeTrkEndv -nu.planeTrkBegv;
00567       DiffU=nu.planeTrkEndu -nu.planeTrkBegu;
00568       Keep_If(DiffU > 19 && DiffV > 19, "TrackLengthUV");
00569       Keep_If(TMath::Abs(nu.relativeAngle - TMath::Pi()) > 2.0, "RelativeAngle");
00570       MAXMSG("NuCutImps",Msg::kInfo,1)
00571         <<"Making set of Cuts for RM NMB selector"<<endl;
00572     }
00573   }


Member Data Documentation

Definition at line 144 of file NuCutImps.h.

Referenced by Preselection(), and Selection().

Definition at line 143 of file NuCutImps.h.


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

Generated on 16 Jan 2018 for loon by  doxygen 1.6.1