Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
B1Run Class Reference

Run class. More...

#include <Doxymodules_analysis.h>

Inheritance diagram for B1Run:
G4Run

Public Member Functions

 B1Run ()
 
virtual ~B1Run ()
 
virtual void Merge (const G4Run *)
 
void AddEdep (G4double edep)
 
G4double GetEdep () const
 
G4double GetEdep2 () const
 

Private Attributes

G4double fEdep
 
G4double fEdep2
 

Detailed Description

Run class.

Definition at line 51 of file Doxymodules_analysis.h.

Constructor & Destructor Documentation

◆ B1Run()

B1Run::B1Run ( )

Definition at line 34 of file B1Run.cc.

35: G4Run(),
36 fEdep(0.),
37 fEdep2(0.)
38{}
G4double fEdep2
Definition B1Run.hh:58
G4double fEdep
Definition B1Run.hh:57

◆ ~B1Run()

B1Run::~B1Run ( )
virtual

Definition at line 42 of file B1Run.cc.

43{}

Member Function Documentation

◆ Merge()

void B1Run::Merge ( const G4Run run)
virtual

Definition at line 47 of file B1Run.cc.

48{
49 const B1Run* localRun = static_cast<const B1Run*>(run);
50 fEdep += localRun->fEdep;
51 fEdep2 += localRun->fEdep2;
52
53 G4Run::Merge(run);
54}
Run class.

◆ AddEdep()

void B1Run::AddEdep ( G4double  edep)

Definition at line 58 of file B1Run.cc.

59{
60 fEdep += edep;
61 fEdep2 += edep*edep;
62}

◆ GetEdep()

G4double B1Run::GetEdep ( ) const
inline

Definition at line 53 of file B1Run.hh.

53{ return fEdep; }

◆ GetEdep2()

G4double B1Run::GetEdep2 ( ) const
inline

Definition at line 54 of file B1Run.hh.

54{ return fEdep2; }

Member Data Documentation

◆ fEdep

G4double B1Run::fEdep
private

Definition at line 57 of file B1Run.hh.

◆ fEdep2

G4double B1Run::fEdep2
private

Definition at line 58 of file B1Run.hh.


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

Applications | User Support | Publications | Collaboration