PandaRoot
BSEmcVolumeBox Struct Reference

#include <BSEmcMCHitProductionProcess.h>

Inheritance diagram for BSEmcVolumeBox:
BSEmcVolume

Public Member Functions

 BSEmcVolumeBox (Double_t t_minX, Double_t t_maxX, Double_t t_minY, Double_t t_maxY, Double_t t_minZ, Double_t t_maxZ)
 
virtual ~BSEmcVolumeBox ()
 
Bool_t InsideVolume (const TVector3 &t_point) const
 
- Public Member Functions inherited from BSEmcVolume
virtual ~BSEmcVolume ()
 

Public Attributes

Double_t fMinX {-1}
 
Double_t fMaxX {-1}
 
Double_t fMinY {-1}
 
Double_t fMaxY {-1}
 
Double_t fMinZ {-1}
 
Double_t fMaxZ {-1}
 

Detailed Description

Definition at line 61 of file BSEmcMCHitProductionProcess.h.

Constructor & Destructor Documentation

◆ BSEmcVolumeBox()

BSEmcVolumeBox::BSEmcVolumeBox ( Double_t  t_minX,
Double_t  t_maxX,
Double_t  t_minY,
Double_t  t_maxY,
Double_t  t_minZ,
Double_t  t_maxZ 
)
inline

Definition at line 66 of file BSEmcMCHitProductionProcess.h.

◆ ~BSEmcVolumeBox()

virtual BSEmcVolumeBox::~BSEmcVolumeBox ( )
inlinevirtual

Definition at line 68 of file BSEmcMCHitProductionProcess.h.

68 {};

Member Function Documentation

◆ InsideVolume()

Bool_t BSEmcVolumeBox::InsideVolume ( const TVector3 &  t_point) const
inlinevirtual

Implements BSEmcVolume.

Definition at line 70 of file BSEmcMCHitProductionProcess.h.

71  {
72  if (t_point.Z() > fMinZ && t_point.Z() < fMaxZ) {
73  if (t_point.Y() > fMinY && t_point.Y() < fMaxY) {
74  if (t_point.X() > fMinX && t_point.X() < fMaxX) {
75  return kTRUE;
76  }
77  }
78  }
79  return kFALSE;
80  };

Member Data Documentation

◆ fMaxX

Double_t BSEmcVolumeBox::fMaxX {-1}

Definition at line 62 of file BSEmcMCHitProductionProcess.h.

◆ fMaxY

Double_t BSEmcVolumeBox::fMaxY {-1}

Definition at line 63 of file BSEmcMCHitProductionProcess.h.

◆ fMaxZ

Double_t BSEmcVolumeBox::fMaxZ {-1}

Definition at line 64 of file BSEmcMCHitProductionProcess.h.

◆ fMinX

Double_t BSEmcVolumeBox::fMinX {-1}

Definition at line 62 of file BSEmcMCHitProductionProcess.h.

◆ fMinY

Double_t BSEmcVolumeBox::fMinY {-1}

Definition at line 63 of file BSEmcMCHitProductionProcess.h.

◆ fMinZ

Double_t BSEmcVolumeBox::fMinZ {-1}

Definition at line 64 of file BSEmcMCHitProductionProcess.h.


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