CLHEP 2.4.6.4
C++ Class Library for High Energy Physics
Loading...
Searching...
No Matches
XF::PreMult Class Reference

#include <XF.h>

+ Inheritance diagram for XF::PreMult:

Public Member Functions

 PreMult (const HepGeom::Transform3D &arg1, const Function *arg2)
 
virtual ~PreMult ()
 
virtual unsigned int dimensionality () const
 
virtual HepGeom::Transform3D operator() (double argument) const
 
virtual HepGeom::Transform3D operator() (const Genfun::Argument &argument) const
 
virtual PreMultclone () const
 
 PreMult (const PreMult &right)
 
- Public Member Functions inherited from XF::Function
 Function ()
 
virtual ~Function ()
 
virtual unsigned int dimensionality () const
 
virtual HepGeom::Transform3D operator() (double argument) const =0
 
virtual HepGeom::Transform3D operator() (const Genfun::Argument &argument) const =0
 
virtual Functionclone () const =0
 
 Function (const Function &right)
 

Detailed Description

Definition at line 170 of file XF.h.

Constructor & Destructor Documentation

◆ PreMult() [1/2]

XF::PreMult::PreMult ( const HepGeom::Transform3D arg1,
const Function arg2 
)

Definition at line 103 of file XF.cc.

104 :_arg1 (arg1),
105 _arg2 (arg2->clone ())
106 {
107 }

◆ ~PreMult()

XF::PreMult::~PreMult ( )
virtual

Definition at line 123 of file XF.cc.

124 {
125 delete _arg2;
126 }

◆ PreMult() [2/2]

XF::PreMult::PreMult ( const PreMult right)

Definition at line 117 of file XF.cc.

117 :Function (), _arg1 (right._arg1),
118 _arg2 (right._arg2->clone ())
119 {
120 }
Function()
Definition: XF.cc:15

Member Function Documentation

◆ clone()

PreMult * XF::PreMult::clone ( ) const
virtual

Implements XF::Function.

Definition at line 111 of file XF.cc.

112 {
113 return new PreMult (*this);
114 }
PreMult(const HepGeom::Transform3D &arg1, const Function *arg2)
Definition: XF.cc:103

◆ dimensionality()

unsigned int XF::PreMult::dimensionality ( ) const
virtual

Reimplemented from XF::Function.

Definition at line 128 of file XF.cc.

129 {
130 return _arg2->dimensionality ();
131 }
virtual unsigned int dimensionality() const
Definition: XF.cc:38

◆ operator()() [1/2]

HepGeom::Transform3D XF::PreMult::operator() ( const Genfun::Argument argument) const
virtual

Implements XF::Function.

Definition at line 138 of file XF.cc.

139 {
140 return _arg1 * (*_arg2) (x);
141 }

◆ operator()() [2/2]

HepGeom::Transform3D XF::PreMult::operator() ( double  argument) const
virtual

Implements XF::Function.

Definition at line 133 of file XF.cc.

134 {
135 return _arg1 * (*_arg2) (x);
136 }

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