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

Constructor & Destructor Documentation

◆ can()

JAANET::can::can ( )
inline

Default constructor.

Definition at line 350 of file JHead.hh.

350  :
351  zmin(0),
352  zmax(0),
353  r(0)
354  {}

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

363  {
364  return (zmin == object.zmin &&
365  zmax == object.zmax &&
366  r == object.r);
367  }

◆ ClassDefNV()

JAANET::can::ClassDefNV ( can  ,
 
)

Member Data Documentation

◆ zmin

double JAANET::can::zmin

Bottom [m].

Definition at line 369 of file JHead.hh.

◆ zmax

double JAANET::can::zmax

Top [m].

Definition at line 370 of file JHead.hh.

◆ r

double JAANET::can::r

Radius [m].

Definition at line 371 of file JHead.hh.


The documentation for this struct was generated from the following file:
JAANET::can::r
double r
Radius [m].
Definition: JHead.hh:371
JAANET::can::zmin
double zmin
Bottom [m].
Definition: JHead.hh:369
JAANET::can::zmax
double zmax
Top [m].
Definition: JHead.hh:370