Jpp 19.3.0-rc.1
the software that should make you happy
Loading...
Searching...
No Matches
JAANET::can Struct Reference

The cylinder used for photon tracking. More...

#include <JHead.hh>

Public Member Functions

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

Public Attributes

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

Detailed Description

The cylinder used for photon tracking.

Definition at line 575 of file JHead.hh.

Constructor & Destructor Documentation

◆ can()

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 zmax
Top [m].
Definition JHead.hh:599
double r
Radius [m].
Definition JHead.hh:600

Member Function Documentation

◆ match()

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 }

◆ ClassDefNV()

JAANET::can::ClassDefNV ( can ,
1  )

Member Data Documentation

◆ zmin

double JAANET::can::zmin

Bottom [m].

Definition at line 598 of file JHead.hh.

◆ zmax

double JAANET::can::zmax

Top [m].

Definition at line 599 of file JHead.hh.

◆ r

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: