Jpp  18.5.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 575 of file JHead.hh.

Constructor & Destructor Documentation

JAANET::can::can ( )
inline

Default constructor.

Definition at line 579 of file JHead.hh.

579  :
580  zmin(0),
581  zmax(0),
582  r(0)
583  {}
double zmin
Bottom [m].
Definition: JHead.hh:598
double r
Radius [m].
Definition: JHead.hh:600
double zmax
Top [m].
Definition: JHead.hh:599

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

592  {
593  return (zmin == object.zmin &&
594  zmax == object.zmax &&
595  r == object.r);
596  }
double zmin
Bottom [m].
Definition: JHead.hh:598
double r
Radius [m].
Definition: JHead.hh:600
double zmax
Top [m].
Definition: JHead.hh:599
JAANET::can::ClassDefNV ( can  ,
 
)

Member Data Documentation

double JAANET::can::zmin

Bottom [m].

Definition at line 598 of file JHead.hh.

double JAANET::can::zmax

Top [m].

Definition at line 599 of file JHead.hh.

double JAANET::can::r

Radius [m].

Definition at line 600 of file JHead.hh.


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