Jpp  17.0.0
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
JAANET::fixedcan Struct Reference

The fixed cylinder used for photon tracking. More...

#include <JHead.hh>

Public Member Functions

 fixedcan ()
 Default constructor. More...
 
bool match (const fixedcan &object) const
 Test match. More...
 
 ClassDefNV (fixedcan, 1)
 

Public Attributes

double xcenter
 x-center [m] More...
 
double ycenter
 y-center [m] More...
 
double zmin
 Bottom [m]. More...
 
double zmax
 Top [m]. More...
 
double radius
 Radius [m]. More...
 

Detailed Description

The fixed cylinder used for photon tracking.

Definition at line 594 of file JHead.hh.

Constructor & Destructor Documentation

JAANET::fixedcan::fixedcan ( )
inline

Default constructor.

Definition at line 598 of file JHead.hh.

598  :
599  xcenter(0),
600  ycenter(0),
601  zmin(0),
602  zmax(0),
603  radius(0)
604  {}
double zmax
Top [m].
Definition: JHead.hh:624
double ycenter
y-center [m]
Definition: JHead.hh:622
double xcenter
x-center [m]
Definition: JHead.hh:621
double zmin
Bottom [m].
Definition: JHead.hh:623
double radius
Radius [m].
Definition: JHead.hh:625

Member Function Documentation

bool JAANET::fixedcan::match ( const fixedcan object) const
inline

Test match.

Parameters
objectcan
Returns
true if matches; else false

Definition at line 612 of file JHead.hh.

613  {
614  return (xcenter == object.xcenter &&
615  ycenter == object.ycenter &&
616  zmin == object.zmin &&
617  zmax == object.zmax &&
618  radius == object.radius);
619  }
double zmax
Top [m].
Definition: JHead.hh:624
double ycenter
y-center [m]
Definition: JHead.hh:622
double xcenter
x-center [m]
Definition: JHead.hh:621
double zmin
Bottom [m].
Definition: JHead.hh:623
double radius
Radius [m].
Definition: JHead.hh:625
JAANET::fixedcan::ClassDefNV ( fixedcan  ,
 
)

Member Data Documentation

double JAANET::fixedcan::xcenter

x-center [m]

Definition at line 621 of file JHead.hh.

double JAANET::fixedcan::ycenter

y-center [m]

Definition at line 622 of file JHead.hh.

double JAANET::fixedcan::zmin

Bottom [m].

Definition at line 623 of file JHead.hh.

double JAANET::fixedcan::zmax

Top [m].

Definition at line 624 of file JHead.hh.

double JAANET::fixedcan::radius

Radius [m].

Definition at line 625 of file JHead.hh.


The documentation for this struct was generated from the following file: