Class Reference for E1039 Core & Analysis Software
MaterialProfile Class Reference

Class to hold the profile of materials at a (x, y) beam position. More...

#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/generators/E906LegacyVtxGen/SQPrimaryVertexGen.h>

+ Collaboration diagram for MaterialProfile:

Public Member Functions

 MaterialProfile ()
 
int findInteractingPiece (double rndm)
 
void calcProb ()
 

Public Attributes

unsigned int nPieces
 
double probSum
 
double accumulatedProbs [100]
 
std::vector< SQBeamlineObjectinteractables
 

Detailed Description

Class to hold the profile of materials at a (x, y) beam position.

Only used by SQPrimaryVertexGen internally.

Definition at line 26 of file SQPrimaryVertexGen.h.

Constructor & Destructor Documentation

◆ MaterialProfile()

MaterialProfile::MaterialProfile ( )

Member Function Documentation

◆ calcProb()

void MaterialProfile::calcProb ( )

◆ findInteractingPiece()

int MaterialProfile::findInteractingPiece ( double  rndm)

Member Data Documentation

◆ accumulatedProbs

double MaterialProfile::accumulatedProbs[100]

Definition at line 36 of file SQPrimaryVertexGen.h.

◆ interactables

std::vector<SQBeamlineObject> MaterialProfile::interactables

Definition at line 37 of file SQPrimaryVertexGen.h.

◆ nPieces

unsigned int MaterialProfile::nPieces

Definition at line 34 of file SQPrimaryVertexGen.h.

◆ probSum

double MaterialProfile::probSum

Definition at line 35 of file SQPrimaryVertexGen.h.


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