Jpp
Public Member Functions | Public Attributes | List of all members
JAANET::fixedcan Struct Reference

The fixe cylinder used for photon tracking. More...

#include <JHead.hh>

Public Member Functions

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

Public Attributes

double xcenter
 x-center [m] More...
 
double ycenter
 y-center [m] More...
 
double zmin
 Bottom [m]. More...
 
double zmax
 Top [m]. More...
 
double radius
 Radius [m]. More...
 

Detailed Description

The fixe cylinder used for photon tracking.

Definition at line 380 of file JHead.hh.

Constructor & Destructor Documentation

◆ fixedcan()

JAANET::fixedcan::fixedcan ( )
inline

Default constructor.

Definition at line 384 of file JHead.hh.

384  :
385  xcenter(0),
386  ycenter(0),
387  zmin(0),
388  zmax(0),
389  radius(0)
390  {}

Member Function Documentation

◆ match()

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

Test match.

Parameters
objectcan
Returns
true if matches; else false

Definition at line 398 of file JHead.hh.

399  {
400  return (xcenter == object.xcenter &&
401  xcenter == object.ycenter &&
402  zmin == object.zmin &&
403  zmax == object.zmax &&
404  radius == object.radius);
405  }

◆ ClassDefNV()

JAANET::fixedcan::ClassDefNV ( fixedcan  ,
 
)

Member Data Documentation

◆ xcenter

double JAANET::fixedcan::xcenter

x-center [m]

Definition at line 407 of file JHead.hh.

◆ ycenter

double JAANET::fixedcan::ycenter

y-center [m]

Definition at line 408 of file JHead.hh.

◆ zmin

double JAANET::fixedcan::zmin

Bottom [m].

Definition at line 409 of file JHead.hh.

◆ zmax

double JAANET::fixedcan::zmax

Top [m].

Definition at line 410 of file JHead.hh.

◆ radius

double JAANET::fixedcan::radius

Radius [m].

Definition at line 411 of file JHead.hh.


The documentation for this struct was generated from the following file:
JAANET::fixedcan::ycenter
double ycenter
y-center [m]
Definition: JHead.hh:408
JAANET::fixedcan::zmin
double zmin
Bottom [m].
Definition: JHead.hh:409
JAANET::fixedcan::xcenter
double xcenter
x-center [m]
Definition: JHead.hh:407
JAANET::fixedcan::zmax
double zmax
Top [m].
Definition: JHead.hh:410
JAANET::fixedcan::radius
double radius
Radius [m].
Definition: JHead.hh:411