#include <NuCutImps.h>
Inheritance diagram for NuCutImps::CCAPresel:

Public Member Functions | |
| CCAPresel (const NuPlots *plots=0) | |
| void | Preselection (const NuEvent &nu) |
| void | Selection (const NuEvent &nu) |
|
|
Definition at line 392 of file NuCutImps.cxx. References plots(). 00392 : 00393 NuCut("CCAPresel", plots) 00394 { 00395 00396 }
|
|
|
Implements NuCut. Definition at line 399 of file NuCutImps.cxx. References NuEvent::coilIsOk, NuCut::Cut_If(), NuEvent::cutOnDataQuality, NuEvent::goodBeamSntp, NuEvent::isLI, NuCut::Keep_Data_If(), and NuEvent::litime. 00400 {
00401 // IsGoodBeamDetPOTCountingStage
00402 // This can mess up POT counting apparently, so be careful!
00403 Keep_Data_If(nu.goodBeamSntp && nu.coilIsOk, nu, "GoodBeamDetPOTCounting");
00404
00405 // Is the coil okay? Only cut if we have the cutOnDataQuality flag
00406 // This seems to be redundant with the GoodBeamDetPOT, but this is what
00407 // seems to have been implemented.
00408 Keep_Data_If(nu.coilIsOk || !nu.cutOnDataQuality, nu, "CoilIsOkay");
00409
00410 // Filter out LI events
00411 Cut_If(nu.isLI || nu.litime != -1, "IsLI");
00412
00413 // Cut on good beam (IsGoodBeam)
00414 Keep_Data_If(CC0325Std::IsGoodBeam(nu) || !nu.cutOnBeamInfo, nu, "IsGoodBeam");
00415
00416 // Per-detector cuts
00417 if (nu.detector == Detector::kFar)
00418 {
00419 // Data Quality
00420 Keep_Data_If(nu.isGoodDataQuality || !nu.cutOnDataQuality, nu, "DataQuality");
00421
00422 // IsGoodTimeToNearestSpill
00423 // Use the improved JJE cut here
00424 Keep_Data_If(NuCuts::GoodTimeToNearestSpill(nu, -2, +12) || !nu.cutOnSpillTiming, nu, "SpillTime");
00425
00426 }
00427 else if (nu.detector == Detector::kNear)
00428 {
00429 // Cut on the coil current
00430 Keep_Data_If(nu.coilCurrent < -1000 || !nu.cutOnDataQuality, nu, "CoilCurrent");
00431
00432 } // End of per-detector cuts
00433 }
|
|
|
Implements NuCut. Definition at line 436 of file NuCutImps.cxx. 00437 {
00438 // Since this is a preselection only class, we have no selection
00439 }
|
1.3.9.1