Jpp  15.0.2
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::can Struct Reference

The cylinder used for photon tracking. More...

#include <JHead.hh>

Public Member Functions

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

Public Attributes

double zmin
 Bottom [m]. More...
 
double zmax
 Top [m]. More...
 
double r
 Radius [m]. More...
 

Detailed Description

The cylinder used for photon tracking.

Definition at line 509 of file JHead.hh.

Constructor & Destructor Documentation

JAANET::can::can ( )
inline

Default constructor.

Definition at line 513 of file JHead.hh.

513  :
514  zmin(0),
515  zmax(0),
516  r(0)
517  {}
double zmin
Bottom [m].
Definition: JHead.hh:532
double r
Radius [m].
Definition: JHead.hh:534
double zmax
Top [m].
Definition: JHead.hh:533

Member Function Documentation

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

Test match.

Parameters
objectcan
Returns
true if matches; else false

Definition at line 525 of file JHead.hh.

526  {
527  return (zmin == object.zmin &&
528  zmax == object.zmax &&
529  r == object.r);
530  }
double zmin
Bottom [m].
Definition: JHead.hh:532
double r
Radius [m].
Definition: JHead.hh:534
double zmax
Top [m].
Definition: JHead.hh:533
JAANET::can::ClassDefNV ( can  ,
 
)

Member Data Documentation

double JAANET::can::zmin

Bottom [m].

Definition at line 532 of file JHead.hh.

double JAANET::can::zmax

Top [m].

Definition at line 533 of file JHead.hh.

double JAANET::can::r

Radius [m].

Definition at line 534 of file JHead.hh.


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