NuCutImps::CC0720BFnu Class Reference

#include <NuCutImps.h>

Inheritance diagram for NuCutImps::CC0720BFnu:
NuCut

List of all members.

Public Member Functions

 CC0720BFnu (const NuPlots *plots=0)
Bool_t InFidVol (const NuEvent &nu) const
Bool_t IsGoodPID (const NuEvent &nu) const
void Preselection (const NuEvent &nu)
void Selection (const NuEvent &nu)

Private Attributes

CC0720Std fCC0720Std
Preselection2010 fPreselection2010

Detailed Description

Definition at line 540 of file NuCutImps.h.


Constructor & Destructor Documentation

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

Definition at line 3099 of file NuCutImps.cxx.

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

03099                                              :
03100     NuCut("CC0720BFnu", plots)
03101   {
03102     SetFidVol("cc2008");
03103     SetAnaVersion(NuCuts::kCC0720BFnu);
03104   }


Member Function Documentation

Bool_t NuCutImps::CC0720BFnu::InFidVol ( const NuEvent nu  )  const [virtual]

Fiducial volume calculation function. This is the basic 'infid' derived version, and should be overridden/passed to for any more complicated evaluations.

Reimplemented from NuCut.

Definition at line 3108 of file NuCutImps.cxx.

References NuCut::InFidVolEvt(), Munits::m, NuEvent::ntrk, and NuEvent::zTrkVtx.

03109   {
03110     if (nu.ntrk > 0){
03111       // Move trk vtx upstream by 3.92cm from scintillator to steel
03112       // for this analysis version
03113       NuEvent nuc = nu;
03114       nuc.zTrkVtx = nu.zTrkVtx - (0.0392*Munits::m);
03115 
03116       return NuCut::InFidVol(nuc);
03117     }
03118     //this else statement is not strictly necessary
03119     //the events with no track will get removed by the ntrk cut
03120     //this else statement was put here so that we could fill the
03121     //nu.isInFidVolCC flag without knowing the final CC/NC pid
03122     else return NuCut::InFidVolEvt(nu);
03123   }

Bool_t NuCutImps::CC0720BFnu::IsGoodPID ( const NuEvent nu  )  const
void NuCutImps::CC0720BFnu::Preselection ( const NuEvent nu  )  [virtual]

Implements NuCut.

Definition at line 3126 of file NuCutImps.cxx.

References NuCut::Defer_Preselection(), and fCC0720Std.

03127   {
03128     // Do the base preselection (shared between CC and NC)
03129     Defer_Preselection(fCC0720Std, nu);
03130   }

void NuCutImps::CC0720BFnu::Selection ( const NuEvent nu  )  [virtual]

Implements NuCut.

Definition at line 3133 of file NuCutImps.cxx.

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

03134   {
03135     Defer_Selection(fCC0720Std, nu);
03136 
03137     //add new cuts
03138     Keep_If(nu.sigqp > 0.00011 || nu.sigqp < 0.000099, "sigqp");
03139     Cut_If(Detector::kNear == nu.detector && 2 == nu.containmentFlag, "ndCalorExit");
03140     const double phFrac = nu.evtphsigcor/max(nu.snarlPulseHeight, 1e-10);
03141     Keep_If(nu.detector == Detector::kNear || (nu.detector==Detector::kFar && (nu.nevt < 2 || (nu.nevt == 2 && phFrac > 0.75))), "PHfrac");
03142     Keep_If(nu.trkfitpass == 1, "allTFpass");
03143     Keep_If(nu.detector == Detector::kFar || (nu.rTrkEnd > 0.6 && nu.xTrkEnd > 0.0), "ndCoilHole");
03144 
03145   }


Member Data Documentation

Definition at line 542 of file NuCutImps.h.

Referenced by Preselection(), and Selection().

Definition at line 552 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