All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
larg4::CustomPhysicsFactory< OpticalPhysics > Class Template Reference

#include <CustomPhysicsLArSoft.h>

Inheritance diagram for larg4::CustomPhysicsFactory< OpticalPhysics >:
larg4::CustomPhysicsFactoryBase

Public Member Functions

G4VPhysicsConstructor * Build () const override
 
 CustomPhysicsFactory (detinfo::DetectorPropertiesData const &detProp)
 
- Public Member Functions inherited from larg4::CustomPhysicsFactoryBase
 CustomPhysicsFactoryBase (std::string const &name)
 
virtual ~CustomPhysicsFactoryBase ()=default
 
std::string const & GetName () const noexcept
 

Private Attributes

detinfo::DetectorPropertiesData
const & 
fDetProp
 

Detailed Description

template<>
class larg4::CustomPhysicsFactory< OpticalPhysics >

Definition at line 16 of file CustomPhysicsLArSoft.h.

Constructor & Destructor Documentation

Definition at line 23 of file CustomPhysicsLArSoft.h.

25  {
26  // register self in physics table - note, factory is actually registered
27  // in static TheCustomPhysicsTable, not the instance created below
28  // which just acts to pass information along
29  new CustomPhysicsTable(this);
30  }
CustomPhysicsFactoryBase(std::string const &name)
detinfo::DetectorPropertiesData const & fDetProp
auto const detProp

Member Function Documentation

G4VPhysicsConstructor* larg4::CustomPhysicsFactory< OpticalPhysics >::Build ( ) const
inlineoverridevirtual

Implements larg4::CustomPhysicsFactoryBase.

Definition at line 19 of file CustomPhysicsLArSoft.h.

20  {
21  return new OpticalPhysics{fDetProp};
22  }
detinfo::DetectorPropertiesData const & fDetProp

Member Data Documentation

Definition at line 33 of file CustomPhysicsLArSoft.h.


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