#include <SelectionDefinitions.h>
|
| beam_cut_TPC (bool do_angle, double xyz_cut, double cos_cut, double mean_x, double mean_y, double mean_z, double sigma_x, double sigma_y, double sigma_z, double mean_theta_x, double mean_theta_y, double mean_theta_z) |
|
bool | operator() (double calo_beam_startX, double calo_beam_startY, double calo_beam_startZ, double calo_beam_endX, double calo_beam_endY, double calo_beam_endZ) |
|
Definition at line 522 of file SelectionDefinitions.h.
beam_cut_TPC::beam_cut_TPC |
( |
bool |
do_angle, |
|
|
double |
xyz_cut, |
|
|
double |
cos_cut, |
|
|
double |
mean_x, |
|
|
double |
mean_y, |
|
|
double |
mean_z, |
|
|
double |
sigma_x, |
|
|
double |
sigma_y, |
|
|
double |
sigma_z, |
|
|
double |
mean_theta_x, |
|
|
double |
mean_theta_y, |
|
|
double |
mean_theta_z |
|
) |
| |
|
inline |
bool beam_cut_TPC::operator() |
( |
double |
calo_beam_startX, |
|
|
double |
calo_beam_startY, |
|
|
double |
calo_beam_startZ, |
|
|
double |
calo_beam_endX, |
|
|
double |
calo_beam_endY, |
|
|
double |
calo_beam_endZ |
|
) |
| |
|
inline |
Definition at line 543 of file SelectionDefinitions.h.
547 double diffX = calo_beam_endX - calo_beam_startX;
548 double diffY = calo_beam_endY - calo_beam_startY;
549 double diffZ = calo_beam_endZ - calo_beam_startZ;
550 double r = sqrt(diffX*diffX + diffY*diffY + diffZ*diffZ);
552 double cosTrk_thetaX = diffX /
r;
553 double cosTrk_thetaY = diffY /
r;
554 double cosTrk_thetaZ = diffZ /
r;
556 double cosTheta = cos(
fMeanThetaX*TMath::Pi()/180.)*cosTrk_thetaX +
double beam_cut_TPC::fCosCut |
|
private |
bool beam_cut_TPC::fDoAngle |
|
private |
double beam_cut_TPC::fMeanThetaX |
|
private |
double beam_cut_TPC::fMeanThetaY |
|
private |
double beam_cut_TPC::fMeanThetaZ |
|
private |
double beam_cut_TPC::fMeanX |
|
private |
double beam_cut_TPC::fMeanY |
|
private |
double beam_cut_TPC::fMeanZ |
|
private |
double beam_cut_TPC::fSigmaX |
|
private |
double beam_cut_TPC::fSigmaY |
|
private |
double beam_cut_TPC::fSigmaZ |
|
private |
double beam_cut_TPC::fXYZCut |
|
private |
The documentation for this class was generated from the following file: