All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions | Variables
VolumeDefinitions.h File Reference
#include "sbnanaobj/StandardRecord/Proxy/FwdDeclare.h"

Go to the source code of this file.

Classes

struct  FidVol
 

Functions

bool PtInVol (const caf::SRVector3DProxy &pt, const FidVol &vol)
 
bool PtInVolAbsX (const caf::SRVector3DProxy &pt, const FidVol &vol)
 

Variables

const FidVol fvndAbs
 
const FidVol fvnd
 
const FidVol avnd
 
const FidVol fvndExit
 
const FidVol fvfd_cryo1
 
const FidVol avfd_cryo1
 
const FidVol fvfd_cryo2
 
const FidVol avfd_cryo2
 
const FidVol crtfd
 

Function Documentation

bool PtInVol ( const caf::SRVector3DProxy &  pt,
const FidVol vol 
)

Definition at line 7 of file VolumeDefinitions.cxx.

8 {
9  return (vol.xmin < pt.x && pt.x < vol.xmax &&
10  vol.ymin < pt.y && pt.y < vol.ymax &&
11  vol.zmin < pt.z && pt.z < vol.zmax);
12 }
bool PtInVolAbsX ( const caf::SRVector3DProxy &  pt,
const FidVol vol 
)

Definition at line 15 of file VolumeDefinitions.cxx.

16 {
17  return (vol.xmin < fabs(pt.x) && fabs(pt.x) < vol.xmax &&
18  vol.ymin < pt.y && pt.y < vol.ymax &&
19  vol.zmin < pt.z && pt.z < vol.zmax);
20 }

Variable Documentation

const FidVol avfd_cryo1
Initial value:
{ -400., -50.,
-200., +150.,
-1000., +1000.}

Definition at line 48 of file VolumeDefinitions.h.

const FidVol avfd_cryo2
Initial value:
{ +50., +400.,
-200., +150.,
-1000., +1000.}

Definition at line 59 of file VolumeDefinitions.h.

const FidVol avnd
Initial value:
{ -200., +200.,
-200., +200.,
+0., +500.}

Definition at line 32 of file VolumeDefinitions.h.

const FidVol crtfd
Initial value:
{ -600, 0.,
-300., +700.,
-1000, +1600}

Definition at line 64 of file VolumeDefinitions.h.

const FidVol fvfd_cryo1
Initial value:
{ -368.49, -71.94,
-181.86, +134.96,
-894.95, +894.85}

Definition at line 43 of file VolumeDefinitions.h.

const FidVol fvfd_cryo2
Initial value:
{ +71.94, +368.49,
-181.86, +134.96,
-894.95, +894.85}

Definition at line 56 of file VolumeDefinitions.h.

const FidVol fvnd
Initial value:
{ -175., +175.,
-175., +175.,
+30., +450.}

Definition at line 28 of file VolumeDefinitions.h.

const FidVol fvndAbs
Initial value:
{ +1.5, +175.,
-175., +175.,
+30., +450.}

Definition at line 23 of file VolumeDefinitions.h.

const FidVol fvndExit
Initial value:
{ -190., +190.,
-190., +190.,
+10., +490. }

Definition at line 37 of file VolumeDefinitions.h.