ATLAS Offline Software
Loading...
Searching...
No Matches
Dist Class Reference
Collaboration diagram for Dist:

Public Member Functions

 Dist (ShowerLib::StepInfo *the_h1, ShowerLib::StepInfo *the_h2)
ShowerLib::StepInfomerge ()

Public Attributes

ShowerLib::StepInfoh1
ShowerLib::StepInfoh2

Detailed Description

Definition at line 45 of file LArG4GenShowerLib.cxx.

Constructor & Destructor Documentation

◆ Dist()

Dist::Dist ( ShowerLib::StepInfo * the_h1,
ShowerLib::StepInfo * the_h2 )
inline

Definition at line 47 of file LArG4GenShowerLib.cxx.

47: h1(the_h1), h2(the_h2) {}
ShowerLib::StepInfo * h1
ShowerLib::StepInfo * h2

Member Function Documentation

◆ merge()

ShowerLib::StepInfo * Dist::merge ( )
inline

Definition at line 50 of file LArG4GenShowerLib.cxx.

51 {
52 ShowerLib::StepInfo* newStep = new ShowerLib::StepInfo(*h1,*h2);
53 h1->setValid(false);
54 h2->setValid(false);
55 return newStep;
56 }

Member Data Documentation

◆ h1

Definition at line 48 of file LArG4GenShowerLib.cxx.

◆ h2

Definition at line 49 of file LArG4GenShowerLib.cxx.


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