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() [1/2]

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::~G4muDarkBremsstrahlung ( )
override

Definition at line 21 of file G4muDarkBremsstrahlung.cc.

21 {}

◆ G4muDarkBremsstrahlung() [2/2]

G4muDarkBremsstrahlung::G4muDarkBremsstrahlung ( const G4muDarkBremsstrahlung )
delete

Member Function Documentation

◆ InitialiseProcess()

void G4muDarkBremsstrahlung::InitialiseProcess ( const G4ParticleDefinition *  )
overrideprotected

Definition at line 27 of file G4muDarkBremsstrahlung.cc.

References cxBias, isEnabled, isInitialised, and mgfile.

◆ IsApplicable()

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

Definition at line 23 of file G4muDarkBremsstrahlung.cc.

References AlCaHLTBitMon_ParallelJobs::p.

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

◆ IsEnabled()

G4bool G4muDarkBremsstrahlung::IsEnabled ( )

Definition at line 41 of file G4muDarkBremsstrahlung.cc.

References isEnabled.

41 { return isEnabled; }

◆ operator=()

G4muDarkBremsstrahlung& G4muDarkBremsstrahlung::operator= ( const G4muDarkBremsstrahlung right)
delete

◆ SetEnable()

void G4muDarkBremsstrahlung::SetEnable ( bool  active)

Definition at line 43 of file G4muDarkBremsstrahlung.cc.

References isEnabled.

43  {
44  isEnabled = state;
45  return;
46 }

◆ SetMethod()

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

◆ cxBias

const G4double G4muDarkBremsstrahlung::cxBias
protected

Definition at line 34 of file G4muDarkBremsstrahlung.h.

Referenced by InitialiseProcess().

◆ isEnabled

G4bool G4muDarkBremsstrahlung::isEnabled
protected

Definition at line 35 of file G4muDarkBremsstrahlung.h.

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

◆ isInitialised

G4bool G4muDarkBremsstrahlung::isInitialised
protected

Definition at line 32 of file G4muDarkBremsstrahlung.h.

Referenced by InitialiseProcess().

◆ mgfile

const G4String& G4muDarkBremsstrahlung::mgfile
protected

Definition at line 33 of file G4muDarkBremsstrahlung.h.

Referenced by InitialiseProcess().