PandaRoot
BSEmcVolumeDisk Struct Reference

#include <BSEmcMCDepositProductionProcess.h>

Inheritance diagram for BSEmcVolumeDisk:
BSEmcVolume

Public Member Functions

 BSEmcVolumeDisk (Double_t t_minR, Double_t t_maxR, Double_t t_minZ, Double_t t_maxZ)
 
virtual ~BSEmcVolumeDisk ()
 
Bool_t InsideVolume (const TVector3 &t_point) const
 
- Public Member Functions inherited from BSEmcVolume
virtual ~BSEmcVolume ()
 

Public Attributes

Double_t fMinR {-1}
 
Double_t fMaxR {-1}
 
Double_t fMinZ {-1}
 
Double_t fMaxZ {-1}
 

Detailed Description

Definition at line 43 of file BSEmcMCDepositProductionProcess.h.

Constructor & Destructor Documentation

◆ BSEmcVolumeDisk()

BSEmcVolumeDisk::BSEmcVolumeDisk ( Double_t  t_minR,
Double_t  t_maxR,
Double_t  t_minZ,
Double_t  t_maxZ 
)
inline

◆ ~BSEmcVolumeDisk()

virtual BSEmcVolumeDisk::~BSEmcVolumeDisk ( )
inlinevirtual

Definition at line 49 of file BSEmcMCDepositProductionProcess.h.

49 {};

Member Function Documentation

◆ InsideVolume()

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

Implements BSEmcVolume.

Definition at line 51 of file BSEmcMCDepositProductionProcess.h.

52  {
53  if (t_point.Z() > fMinZ && t_point.Z() < fMaxZ) {
54  if (t_point.Perp() > fMinR && t_point.Perp() < fMaxR) {
55  return kTRUE;
56  }
57  }
58  return kFALSE;
59  };

Member Data Documentation

◆ fMaxR

Double_t BSEmcVolumeDisk::fMaxR {-1}

Definition at line 45 of file BSEmcMCDepositProductionProcess.h.

◆ fMaxZ

Double_t BSEmcVolumeDisk::fMaxZ {-1}

Definition at line 47 of file BSEmcMCDepositProductionProcess.h.

◆ fMinR

Double_t BSEmcVolumeDisk::fMinR {-1}

Definition at line 44 of file BSEmcMCDepositProductionProcess.h.

◆ fMinZ

Double_t BSEmcVolumeDisk::fMinZ {-1}

Definition at line 46 of file BSEmcMCDepositProductionProcess.h.


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