Jpp  15.0.3
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 560 of file JHead.hh.

Constructor & Destructor Documentation

JAANET::can::can ( )
inline

Default constructor.

Definition at line 564 of file JHead.hh.

564  :
565  zmin(0),
566  zmax(0),
567  r(0)
568  {}
double zmin
Bottom [m].
Definition: JHead.hh:583
double r
Radius [m].
Definition: JHead.hh:585
double zmax
Top [m].
Definition: JHead.hh:584

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 576 of file JHead.hh.

577  {
578  return (zmin == object.zmin &&
579  zmax == object.zmax &&
580  r == object.r);
581  }
double zmin
Bottom [m].
Definition: JHead.hh:583
double r
Radius [m].
Definition: JHead.hh:585
double zmax
Top [m].
Definition: JHead.hh:584
JAANET::can::ClassDefNV ( can  ,
 
)

Member Data Documentation

double JAANET::can::zmin

Bottom [m].

Definition at line 583 of file JHead.hh.

double JAANET::can::zmax

Top [m].

Definition at line 584 of file JHead.hh.

double JAANET::can::r

Radius [m].

Definition at line 585 of file JHead.hh.


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