Belle II Software development
ParticleGunTest Class Reference

The fixture for testing the Particlegun. More...

Inheritance diagram for ParticleGunTest:

Protected Member Functions

virtual void SetUp ()
 Set up parameters which work for all distributions.
 
void checkVariable (const std::string &name, const std::map< int, bool > &allowed, ParticleGun::EDistribution &dist, std::vector< double > &pars)
 check one of the variables given a list of allowed and excluded distributions
 

Protected Attributes

ParticleGun pgun
 Variable of pgun.
 
ParticleGun::Parameters parameters
 Variable parameters.
 

Detailed Description

The fixture for testing the Particlegun.

Definition at line 19 of file particlegun.cc.

Member Function Documentation

◆ SetUp()

virtual void SetUp ( )
inlineprotectedvirtual

Set up parameters which work for all distributions.

Definition at line 22 of file particlegun.cc.

23 {
24 parameters.momentumParams = {1, 1};
25 parameters.xVertexParams = {1, 1};
26 parameters.yVertexParams = {1, 1};
27 parameters.zVertexParams = {1, 1};
28 parameters.thetaParams = {1, 1};
29 parameters.phiParams = {1, 1};
30 }

Member Data Documentation

◆ parameters

ParticleGun::Parameters parameters
protected

Variable parameters.

Definition at line 34 of file particlegun.cc.

◆ pgun

ParticleGun pgun
protected

Variable of pgun.

Definition at line 32 of file particlegun.cc.


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