A class detailing the cuts made on a particular slice. More...
#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N21-04-21/Preselection/Veto.h"
Public Member Functions | |
Veto () | |
Veto (unsigned int NCell, float fFwdDist, float fBakDist, double Ratio, double DirY, double Angle, double AngleVarOld, double AngleVar, bool PassThruOld, bool PassThru, bool PassAngleFirstAna, bool PassAngle, bool PassNuMICut, bool Keep) | |
unsigned int | NCell () const |
float | FwdDist () const |
float | BakDist () const |
double | Ratio () const |
double | DirY () const |
double | Angle () const |
double | AngleVar () const |
double | AngleVarOld () const |
bool | PassThru () const |
bool | PassThruOld () const |
bool | PassAngle () const |
bool | PassAngleFirstAna () const |
bool | PassNuMICut () const |
bool | Keep () const |
void | SetNCell (unsigned int) |
void | SetFwdDist (float) |
void | SetBakDist (float) |
void | SetRatio (double) |
void | SetDirY (double) |
void | SetAngle (double) |
void | SetAngleVar (double) |
void | SetAngleVarOld (double) |
void | SetPassThru (bool) |
void | SetPassThruOld (bool) |
void | SetPassAngle (bool) |
void | SetPassAngleFirstAna (bool) |
void | SetPassNuMICut (bool) |
void | SetKeep (bool) |
Private Attributes | |
unsigned int | fNCell |
Number of hits in the slice. More... | |
float | fFwdDist |
Projected live distance to the edge forwards from cosmic track end. More... | |
float | fBakDist |
Projected live distance to the edge backwards from cosmic track start. More... | |
double | fRatio |
Number of hits in the track relative to the slice. More... | |
double | fDirY |
Cosine of CosmicTrack with respect to the y-direction. More... | |
double | fAngle |
Cosine of CosmicTrack with respect to the beam direction. More... | |
double | fAngleVarOld |
Difference of squares between beam angle and Y-direction (Also labeled CosmicVar AnglePID and AngleVar); used for determining if pass old angle cut used for first analysis. More... | |
double | fAngleVar |
(angle)*(diry+1); used for determining if pass angle cut More... | |
bool | fPassThru |
Boolean variable that determines if the slice passes the through-going check (including ratio > 0.8 check) More... | |
bool | fPassThruOld |
Boolean variable that determines if the slice passes the through-going check prior to the fix (didn't require ratio > 0.8) More... | |
bool | fPassAngle |
Boolean variable that determines if the slice passes the latest angular cut. More... | |
bool | fPassAngleFirstAna |
bool | fPassNuMICut |
Does this event pass the NuMI timing cut? More... | |
bool | fKeep |
presel::Veto::Veto | ( | ) |
Definition at line 11 of file Veto.cxx.
References fAngle, fAngleVar, fAngleVarOld, fBakDist, fDirY, fFwdDist, fKeep, fNCell, fPassAngle, fPassAngleFirstAna, fPassNuMICut, fPassThru, fPassThruOld, and fRatio.
presel::Veto::Veto | ( | unsigned int | NCell, |
float | fFwdDist, | ||
float | fBakDist, | ||
double | Ratio, | ||
double | DirY, | ||
double | Angle, | ||
double | AngleVarOld, | ||
double | AngleVar, | ||
bool | PassThruOld, | ||
bool | PassThru, | ||
bool | PassAngleFirstAna, | ||
bool | PassAngle, | ||
bool | PassNuMICut, | ||
bool | Keep | ||
) |
Definition at line 29 of file Veto.cxx.
References Angle(), AngleVar(), AngleVarOld(), BakDist(), DirY(), fAngle, fAngleVar, fAngleVarOld, fBakDist, fDirY, fFwdDist, fKeep, fNCell, fPassAngle, fPassAngleFirstAna, fPassNuMICut, fPassThru, fPassThruOld, fRatio, FwdDist(), Keep(), NCell(), PassAngle(), PassAngleFirstAna(), PassNuMICut(), PassThru(), PassThruOld(), and Ratio().
double presel::Veto::Angle | ( | ) | const |
Definition at line 85 of file Veto.cxx.
References fAngle.
Referenced by caf::FillVetoVars(), SetAngle(), and Veto().
double presel::Veto::AngleVar | ( | ) | const |
Definition at line 90 of file Veto.cxx.
References fAngleVar.
Referenced by caf::FillVetoVars(), SetAngleVar(), and Veto().
double presel::Veto::AngleVarOld | ( | ) | const |
Definition at line 95 of file Veto.cxx.
References fAngleVarOld.
Referenced by caf::FillVetoVars(), SetAngleVarOld(), and Veto().
float presel::Veto::BakDist | ( | ) | const |
Definition at line 70 of file Veto.cxx.
References fBakDist.
Referenced by caf::FillVetoVars(), SetBakDist(), and Veto().
double presel::Veto::DirY | ( | ) | const |
float presel::Veto::FwdDist | ( | ) | const |
Definition at line 65 of file Veto.cxx.
References fFwdDist.
Referenced by caf::FillVetoVars(), SetFwdDist(), and Veto().
bool presel::Veto::Keep | ( | ) | const |
Definition at line 125 of file Veto.cxx.
References fKeep.
Referenced by caf::FillVetoVars(), skim::ParametersNue::ParametersNue(), SetKeep(), and Veto().
unsigned int presel::Veto::NCell | ( | ) | const |
Definition at line 60 of file Veto.cxx.
References fNCell.
Referenced by caf::FillVetoVars(), SetNCell(), and Veto().
bool presel::Veto::PassAngle | ( | ) | const |
Definition at line 110 of file Veto.cxx.
References fPassAngle.
Referenced by caf::FillVetoVars(), SetPassAngle(), and Veto().
bool presel::Veto::PassAngleFirstAna | ( | ) | const |
Definition at line 115 of file Veto.cxx.
References fPassAngleFirstAna.
Referenced by caf::FillVetoVars(), SetPassAngleFirstAna(), and Veto().
bool presel::Veto::PassNuMICut | ( | ) | const |
Definition at line 120 of file Veto.cxx.
References fPassNuMICut.
Referenced by caf::FillVetoVars(), SetPassNuMICut(), and Veto().
bool presel::Veto::PassThru | ( | ) | const |
Definition at line 100 of file Veto.cxx.
References fPassThru.
Referenced by caf::FillVetoVars(), SetPassThru(), and Veto().
bool presel::Veto::PassThruOld | ( | ) | const |
Definition at line 105 of file Veto.cxx.
References fPassThruOld.
Referenced by caf::FillVetoVars(), SetPassThruOld(), and Veto().
double presel::Veto::Ratio | ( | ) | const |
Definition at line 75 of file Veto.cxx.
References fRatio.
Referenced by caf::FillVetoVars(), SetRatio(), and Veto().
void presel::Veto::SetAngle | ( | double | Angle | ) |
void presel::Veto::SetAngleVar | ( | double | AngleVar | ) |
Definition at line 160 of file Veto.cxx.
References AngleVar(), and fAngleVar.
Referenced by presel::CosmicVeto::produce().
void presel::Veto::SetAngleVarOld | ( | double | AngleVarOld | ) |
Definition at line 165 of file Veto.cxx.
References AngleVarOld(), and fAngleVarOld.
Referenced by presel::CosmicVeto::produce().
void presel::Veto::SetBakDist | ( | float | BakDist | ) |
void presel::Veto::SetDirY | ( | double | DirY | ) |
Definition at line 150 of file Veto.cxx.
Referenced by presel::CosmicVeto::produce().
void presel::Veto::SetFwdDist | ( | float | FwdDist | ) |
void presel::Veto::SetKeep | ( | bool | Keep | ) |
Definition at line 130 of file Veto.cxx.
References fNCell, and NCell().
Referenced by presel::CosmicVeto::produce().
void presel::Veto::SetPassAngle | ( | bool | PassAngle | ) |
Definition at line 180 of file Veto.cxx.
References fPassAngle, and PassAngle().
Referenced by presel::CosmicVeto::produce().
void presel::Veto::SetPassAngleFirstAna | ( | bool | PassAngleFirstAna | ) |
Definition at line 185 of file Veto.cxx.
References fPassAngleFirstAna, and PassAngleFirstAna().
Referenced by presel::CosmicVeto::produce().
void presel::Veto::SetPassNuMICut | ( | bool | PassNuMICut | ) |
Definition at line 190 of file Veto.cxx.
References fPassNuMICut, and PassNuMICut().
Referenced by presel::CosmicVeto::produce().
void presel::Veto::SetPassThru | ( | bool | PassThru | ) |
Definition at line 170 of file Veto.cxx.
References fPassThru, and PassThru().
Referenced by presel::CosmicVeto::produce().
void presel::Veto::SetPassThruOld | ( | bool | PassThruOld | ) |
Definition at line 175 of file Veto.cxx.
References fPassThruOld, and PassThruOld().
Referenced by presel::CosmicVeto::produce().
void presel::Veto::SetRatio | ( | double | Ratio | ) |
|
private |
Cosine of CosmicTrack with respect to the beam direction.
Definition at line 74 of file Veto.h.
Referenced by Angle(), SetAngle(), and Veto().
|
private |
(angle)*(diry+1); used for determining if pass angle cut
Definition at line 76 of file Veto.h.
Referenced by AngleVar(), SetAngleVar(), and Veto().
|
private |
Difference of squares between beam angle and Y-direction (Also labeled CosmicVar AnglePID and AngleVar); used for determining if pass old angle cut used for first analysis.
Definition at line 75 of file Veto.h.
Referenced by AngleVarOld(), SetAngleVarOld(), and Veto().
|
private |
Projected live distance to the edge backwards from cosmic track start.
Definition at line 71 of file Veto.h.
Referenced by BakDist(), SetBakDist(), and Veto().
|
private |
|
private |
Projected live distance to the edge forwards from cosmic track end.
Definition at line 70 of file Veto.h.
Referenced by FwdDist(), SetFwdDist(), and Veto().
|
private |
|
private |
Number of hits in the slice.
Definition at line 69 of file Veto.h.
Referenced by NCell(), SetNCell(), and Veto().
|
private |
Boolean variable that determines if the slice passes the latest angular cut.
Definition at line 79 of file Veto.h.
Referenced by PassAngle(), SetPassAngle(), and Veto().
|
private |
Boolean variable that determines if the slice passes the old angular cut used for first analysis
Definition at line 80 of file Veto.h.
Referenced by PassAngleFirstAna(), SetPassAngleFirstAna(), and Veto().
|
private |
Does this event pass the NuMI timing cut?
Definition at line 82 of file Veto.h.
Referenced by PassNuMICut(), SetPassNuMICut(), and Veto().
|
private |
Boolean variable that determines if the slice passes the through-going check (including ratio > 0.8 check)
Definition at line 77 of file Veto.h.
Referenced by PassThru(), SetPassThru(), and Veto().
|
private |
Boolean variable that determines if the slice passes the through-going check prior to the fix (didn't require ratio > 0.8)
Definition at line 78 of file Veto.h.
Referenced by PassThruOld(), SetPassThruOld(), and Veto().
|
private |
Number of hits in the track relative to the slice.
Definition at line 72 of file Veto.h.
Referenced by Ratio(), SetRatio(), and Veto().