ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4PSCellFluxForCylinder3D Class Reference

#include <geant4/tree/geant4-10.6-release/source/digits_hits/scorer/include/G4PSCellFluxForCylinder3D.hh>

+ Inheritance diagram for G4PSCellFluxForCylinder3D:
+ Collaboration diagram for G4PSCellFluxForCylinder3D:

Public Member Functions

 G4PSCellFluxForCylinder3D (G4String name, G4int ni=1, G4int nj=1, G4int nk=1, G4int depi=2, G4int depj=1, G4int depk=0)
 
 G4PSCellFluxForCylinder3D (G4String name, const G4String &unit, G4int ni=1, G4int nj=1, G4int nk=1, G4int depi=2, G4int depj=1, G4int depk=0)
 
virtual ~G4PSCellFluxForCylinder3D ()
 
void SetCylinderSize (G4double dr, G4double dz)
 
void SetNumberOfSegments (G4int nSeg[3])
 
- Public Member Functions inherited from G4PSCellFlux3D
 G4PSCellFlux3D (G4String name, G4int ni=1, G4int nj=1, G4int nk=1, G4int depi=2, G4int depj=1, G4int depk=0)
 
 G4PSCellFlux3D (G4String name, const G4String &unit, G4int ni=1, G4int nj=1, G4int nk=1, G4int depi=2, G4int depj=1, G4int depk=0)
 
virtual ~G4PSCellFlux3D ()
 
- Public Member Functions inherited from G4PSCellFlux
 G4PSCellFlux (G4String name, G4int depth=0)
 
 G4PSCellFlux (G4String name, const G4String &unit, G4int depth=0)
 
virtual ~G4PSCellFlux ()
 
void Weighted (G4bool flg=true)
 
virtual void Initialize (G4HCofThisEvent *)
 
virtual void EndOfEvent (G4HCofThisEvent *)
 
virtual void clear ()
 
virtual void DrawAll ()
 
virtual void PrintAll ()
 
virtual void SetUnit (const G4String &unit)
 
- Public Member Functions inherited from G4VPrimitiveScorer
 G4VPrimitiveScorer (G4String name, G4int depth=0)
 
virtual ~G4VPrimitiveScorer ()
 
G4int GetCollectionID (G4int)
 
void SetUnit (const G4String &unit)
 
const G4StringGetUnit () const
 
G4double GetUnitValue () const
 
void SetMultiFunctionalDetector (G4MultiFunctionalDetector *d)
 
G4MultiFunctionalDetectorGetMultiFunctionalDetector () const
 
G4String GetName () const
 
void SetFilter (G4VSDFilter *f)
 
G4VSDFilterGetFilter () const
 
void SetVerboseLevel (G4int vl)
 
G4int GetVerboseLevel () const
 
void SetNijk (G4int i, G4int j, G4int k)
 

Protected Member Functions

virtual G4double ComputeVolume (G4Step *, G4int idx)
 
- Protected Member Functions inherited from G4PSCellFlux3D
virtual G4int GetIndex (G4Step *)
 
- Protected Member Functions inherited from G4PSCellFlux
virtual G4bool ProcessHits (G4Step *, G4TouchableHistory *)
 
virtual void DefineUnitAndCategory ()
 
- Protected Member Functions inherited from G4VPrimitiveScorer
void CheckAndSetUnit (const G4String &unit, const G4String &category)
 

Private Attributes

G4ThreeVector cylinderSize
 
G4int nSegment [3]
 

Additional Inherited Members

- Protected Attributes inherited from G4VPrimitiveScorer
G4String primitiveName
 
G4MultiFunctionalDetectordetector
 
G4VSDFilterfilter
 
G4int verboseLevel
 
G4int indexDepth
 
G4String unitName
 
G4double unitValue
 
G4int fNi
 
G4int fNj
 
G4int fNk
 

Detailed Description

Definition at line 52 of file G4PSCellFluxForCylinder3D.hh.

View newest version in sPHENIX GitHub at line 52 of file G4PSCellFluxForCylinder3D.hh

Constructor & Destructor Documentation

G4PSCellFluxForCylinder3D::G4PSCellFluxForCylinder3D ( G4String  name,
G4int  ni = 1,
G4int  nj = 1,
G4int  nk = 1,
G4int  depi = 2,
G4int  depj = 1,
G4int  depk = 0 
)

Definition at line 51 of file G4PSCellFluxForCylinder3D.cc.

View newest version in sPHENIX GitHub at line 51 of file G4PSCellFluxForCylinder3D.cc

References nSegment.

G4PSCellFluxForCylinder3D::G4PSCellFluxForCylinder3D ( G4String  name,
const G4String unit,
G4int  ni = 1,
G4int  nj = 1,
G4int  nk = 1,
G4int  depi = 2,
G4int  depj = 1,
G4int  depk = 0 
)

Definition at line 59 of file G4PSCellFluxForCylinder3D.cc.

View newest version in sPHENIX GitHub at line 59 of file G4PSCellFluxForCylinder3D.cc

References nSegment.

G4PSCellFluxForCylinder3D::~G4PSCellFluxForCylinder3D ( )
virtual

Definition at line 67 of file G4PSCellFluxForCylinder3D.cc.

View newest version in sPHENIX GitHub at line 67 of file G4PSCellFluxForCylinder3D.cc

Member Function Documentation

G4double G4PSCellFluxForCylinder3D::ComputeVolume ( G4Step ,
G4int  idx 
)
protectedvirtual

Reimplemented from G4PSCellFlux.

Definition at line 81 of file G4PSCellFluxForCylinder3D.cc.

View newest version in sPHENIX GitHub at line 81 of file G4PSCellFluxForCylinder3D.cc

References cm, cm3, cylinderSize, G4cout, G4endl, nSegment, pi, r1, v, and G4VPrimitiveScorer::verboseLevel.

void G4PSCellFluxForCylinder3D::SetCylinderSize ( G4double  dr,
G4double  dz 
)

Definition at line 70 of file G4PSCellFluxForCylinder3D.cc.

View newest version in sPHENIX GitHub at line 70 of file G4PSCellFluxForCylinder3D.cc

References cylinderSize, CLHEP::Hep3Vector::setX(), CLHEP::Hep3Vector::setY(), CLHEP::Hep3Vector::setZ(), and twopi.

Referenced by G4ScoreQuantityMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4PSCellFluxForCylinder3D::SetNumberOfSegments ( G4int  nSeg[3])

Definition at line 75 of file G4PSCellFluxForCylinder3D.cc.

View newest version in sPHENIX GitHub at line 75 of file G4PSCellFluxForCylinder3D.cc

References nSegment.

Referenced by G4ScoreQuantityMessenger::SetNewValue().

+ Here is the caller graph for this function:

Member Data Documentation

G4ThreeVector G4PSCellFluxForCylinder3D::cylinderSize
private

Definition at line 71 of file G4PSCellFluxForCylinder3D.hh.

View newest version in sPHENIX GitHub at line 71 of file G4PSCellFluxForCylinder3D.hh

Referenced by ComputeVolume(), and SetCylinderSize().

G4int G4PSCellFluxForCylinder3D::nSegment[3]
private

Definition at line 72 of file G4PSCellFluxForCylinder3D.hh.

View newest version in sPHENIX GitHub at line 72 of file G4PSCellFluxForCylinder3D.hh

Referenced by ComputeVolume(), G4PSCellFluxForCylinder3D(), and SetNumberOfSegments().


The documentation for this class was generated from the following files: