CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
G4muDarkBremsstrahlung Class Reference

#include <G4muDarkBremsstrahlung.h>

Inheritance diagram for G4muDarkBremsstrahlung:

Public Member Functions

 G4muDarkBremsstrahlung (const G4String &scalefile, const G4double biasFactor, const G4String &name="muDBrem")
 
 G4muDarkBremsstrahlung (const G4muDarkBremsstrahlung &)=delete
 
G4bool IsApplicable (const G4ParticleDefinition &p) override
 
G4bool IsEnabled ()
 
G4muDarkBremsstrahlungoperator= (const G4muDarkBremsstrahlung &right)=delete
 
void SetEnable (bool active)
 
void SetMethod (std::string method_in)
 
 ~G4muDarkBremsstrahlung () override
 

Protected Member Functions

void InitialiseProcess (const G4ParticleDefinition *) override
 

Protected Attributes

const G4double cxBias
 
G4bool isEnabled
 
G4bool isInitialised
 
const G4String & mgfile
 

Detailed Description

Definition at line 15 of file G4muDarkBremsstrahlung.h.

Constructor & Destructor Documentation

G4muDarkBremsstrahlung::G4muDarkBremsstrahlung ( const G4String &  scalefile,
const G4double  biasFactor,
const G4String &  name = "muDBrem" 
)

Definition at line 12 of file G4muDarkBremsstrahlung.cc.

References G4APrime::APrime().

15  : G4VEmProcess(name), isInitialised(false), mgfile(scalefile), cxBias(biasFactor) {
16  G4int subtype = 40;
17  SetProcessSubType(subtype);
18  SetSecondaryParticle(G4APrime::APrime());
19 }
static G4APrime * APrime(double apmass=1000)
Definition: G4APrime.cc:43
G4muDarkBremsstrahlung::~G4muDarkBremsstrahlung ( )
override

Definition at line 21 of file G4muDarkBremsstrahlung.cc.

21 {}
G4muDarkBremsstrahlung::G4muDarkBremsstrahlung ( const G4muDarkBremsstrahlung )
delete

Member Function Documentation

void G4muDarkBremsstrahlung::InitialiseProcess ( const G4ParticleDefinition *  )
overrideprotected

Definition at line 27 of file G4muDarkBremsstrahlung.cc.

References cxBias, isEnabled, isInitialised, and mgfile.

G4bool G4muDarkBremsstrahlung::IsApplicable ( const G4ParticleDefinition &  p)
override

Definition at line 23 of file G4muDarkBremsstrahlung.cc.

23  {
24  return (&p == G4MuonPlus::MuonPlus() || &p == G4MuonMinus::MuonMinus());
25 }
G4bool G4muDarkBremsstrahlung::IsEnabled ( )

Definition at line 41 of file G4muDarkBremsstrahlung.cc.

References isEnabled.

41 { return isEnabled; }
G4muDarkBremsstrahlung& G4muDarkBremsstrahlung::operator= ( const G4muDarkBremsstrahlung right)
delete
void G4muDarkBremsstrahlung::SetEnable ( bool  active)

Definition at line 43 of file G4muDarkBremsstrahlung.cc.

References isEnabled.

43  {
44  isEnabled = state;
45  return;
46 }
void G4muDarkBremsstrahlung::SetMethod ( std::string  method_in)

Definition at line 36 of file G4muDarkBremsstrahlung.cc.

36  {
37  ((G4muDarkBremsstrahlungModel*)EmModel(1))->SetMethod(method_in);
38  return;
39 }
void SetMethod(std::string method_in)

Member Data Documentation

const G4double G4muDarkBremsstrahlung::cxBias
protected

Definition at line 34 of file G4muDarkBremsstrahlung.h.

Referenced by InitialiseProcess().

G4bool G4muDarkBremsstrahlung::isEnabled
protected

Definition at line 35 of file G4muDarkBremsstrahlung.h.

Referenced by InitialiseProcess(), IsEnabled(), and SetEnable().

G4bool G4muDarkBremsstrahlung::isInitialised
protected

Definition at line 32 of file G4muDarkBremsstrahlung.h.

Referenced by InitialiseProcess().

const G4String& G4muDarkBremsstrahlung::mgfile
protected

Definition at line 33 of file G4muDarkBremsstrahlung.h.

Referenced by InitialiseProcess().