Public Member Functions | Protected Attributes | List of all members
ana::NotContainFxn Class Reference

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-11-28/CAFAna/Cuts/Cuts.h"

Public Member Functions

 NotContainFxn (double zmax)
 
bool operator() (const caf::SRProxy *sr) const
 

Protected Attributes

double zmax
 

Detailed Description

Definition at line 70 of file Cuts.h.

Constructor & Destructor Documentation

ana::NotContainFxn::NotContainFxn ( double  zmax)
inline

Definition at line 73 of file Cuts.h.

References ana::ContainFxn::operator()(), and sr.

73  : zmax(zmax)
74  {
75  }
double zmax
Definition: Cuts.h:80

Member Function Documentation

bool ana::NotContainFxn::operator() ( const caf::SRProxy sr) const

Definition at line 178 of file Cuts.cxx.

References caf::Proxy< caf::SRSlice >::boxmax, caf::Proxy< caf::SRSlice >::boxmin, caf::Proxy< caf::SRSlice >::calE, caf::Proxy< caf::SRIDBranch >::contain, caf::Proxy< caf::SRContain >::cosbakcell, caf::Proxy< caf::SRContain >::cosfwdcell, cut, caf::Proxy< caf::SRHeader >::det, caf::Proxy< caf::SRHeader >::dibmask, caf::Proxy< caf::SRVertexBranch >::elastic, stan::math::fabs(), caf::Proxy< caf::SRElastic >::fuzzyk, caf::Proxy< caf::StandardRecord >::hdr, MECModelEnuComparisons::i, if(), caf::Proxy< caf::SRElastic >::IsValid, caf::Proxy< caf::SRContain >::kalbakcell, caf::Proxy< caf::SRContain >::kalfwdcell, caf::kFARDET, ana::kIsFarDet, ana::kIsNeutrinoInUpstreamDeadDBSingleGap, ana::kIsSingleGap, ana::kNueIsMuon, ana::kNueNDCont, ana::kTruthContainedND, caf::Proxy< caf::SRFuzzyK >::longestidx, std::max(), caf::Proxy< caf::StandardRecord >::mc, std::min(), caf::Proxy< caf::SRSlice >::nhit, caf::Proxy< caf::SRTruthBranch >::nnu, caf::Proxy< caf::SRFuzzyK >::npng, caf::Proxy< caf::SRFuzzyK >::nshwlid, caf::Proxy< caf::SRTruthBranch >::nu, caf::Proxy< caf::SRFuzzyK >::png, caf::Proxy< caf::StandardRecord >::sel, caf::Proxy< caf::StandardRecord >::slc, sr, febshutoff_auto::start, caf::Proxy< caf::SRElastic >::vtx, caf::Proxy< caf::StandardRecord >::vtx, caf::Proxy< caf::SRVector3D >::X(), caf::Proxy< caf::SRVector3D >::Y(), caf::Proxy< caf::SRVector3D >::Z(), and ana::ContainFxn::zmax.

179  {
180  return ((sr->slc.boxmin.X() < -745 ||
181  sr->slc.boxmin.Y() < -745 ||
182  sr->slc.boxmax.X() > 745 ||
183  sr->slc.boxmax.Y() > 720 ||
184  sr->slc.boxmin.Z() > 5950 ||
185  sr->slc.boxmin.Z() < zmax+12 ||
186  sr->sel.contain.kalfwdcell < 11 ||
187  sr->sel.contain.kalbakcell < 11 ||
188  sr->sel.contain.cosfwdcell < 11 ||
189  sr->sel.contain.cosbakcell < 11) && sr->mc.nu[0].vtx.Z() > zmax);
190  }
caf::Proxy< caf::SRContain > contain
Definition: SRProxy.h:1251
caf::Proxy< std::vector< caf::SRNeutrino > > nu
Definition: SRProxy.h:618
caf::Proxy< int > cosfwdcell
Definition: SRProxy.h:810
caf::Proxy< int > cosbakcell
Definition: SRProxy.h:805
caf::Proxy< caf::SRVector3D > boxmin
Definition: SRProxy.h:1291
caf::Proxy< int > kalbakcell
Definition: SRProxy.h:817
caf::Proxy< caf::SRTruthBranch > mc
Definition: SRProxy.h:2138
caf::Proxy< int > kalfwdcell
Definition: SRProxy.h:822
caf::Proxy< caf::SRSlice > slc
Definition: SRProxy.h:2142
caf::Proxy< caf::SRIDBranch > sel
Definition: SRProxy.h:2141
double zmax
Definition: Cuts.h:80
caf::Proxy< caf::SRVector3D > boxmax
Definition: SRProxy.h:1290

Member Data Documentation

double ana::NotContainFxn::zmax
protected

Definition at line 80 of file Cuts.h.


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