CLHEP VERSION Reference Documentation
   
CLHEP Home Page     CLHEP Documentation     CLHEP Bug Reports

Classes | Namespaces | Macros | Functions
AbsParameter.hh File Reference
#include "CLHEP/GenericFunctions/ParameterProduct.hh"
#include "CLHEP/GenericFunctions/ParameterSum.hh"
#include "CLHEP/GenericFunctions/ParameterDifference.hh"
#include "CLHEP/GenericFunctions/ParameterQuotient.hh"
#include "CLHEP/GenericFunctions/ParameterNegation.hh"
#include "CLHEP/GenericFunctions/ConstPlusParameter.hh"
#include "CLHEP/GenericFunctions/ConstMinusParameter.hh"
#include "CLHEP/GenericFunctions/ConstTimesParameter.hh"
#include "CLHEP/GenericFunctions/ConstOverParameter.hh"

Go to the source code of this file.

Classes

class  Genfun::AbsParameter
 

Namespaces

namespace  Genfun
 

Macros

#define PARAMETER_OBJECT_DEF(classname)
 
#define PARAMETER_OBJECT_IMP(classname)
 

Functions

ConstTimesParameter Genfun::operator* (double c, const AbsParameter &op2)
 
ConstPlusParameter Genfun::operator+ (double c, const AbsParameter &op2)
 
ConstMinusParameter Genfun::operator- (double c, const AbsParameter &op2)
 
ConstOverParameter Genfun::operator/ (double c, const AbsParameter &op2)
 
ConstTimesParameter Genfun::operator* (const AbsParameter &op2, double c)
 
ConstPlusParameter Genfun::operator+ (const AbsParameter &op2, double c)
 
ConstPlusParameter Genfun::operator- (const AbsParameter &op2, double c)
 
ConstTimesParameter Genfun::operator/ (const AbsParameter &op2, double c)
 
ParameterProduct Genfun::operator* (const AbsParameter &op1, const AbsParameter &op2)
 
ParameterSum Genfun::operator+ (const AbsParameter &op1, const AbsParameter &op2)
 
ParameterDifference Genfun::operator- (const AbsParameter &op1, const AbsParameter &op2)
 
ParameterQuotient Genfun::operator/ (const AbsParameter &op1, const AbsParameter &op2)
 
ParameterNegation Genfun::operator- (const AbsParameter &op1)
 

Macro Definition Documentation

◆ PARAMETER_OBJECT_DEF

#define PARAMETER_OBJECT_DEF (   classname)
Value:
public: \
classname *clone() const; \
private: \
virtual AbsParameter* _clone() const;

Definition at line 79 of file GenericFunctions/AbsParameter.hh.

◆ PARAMETER_OBJECT_IMP

#define PARAMETER_OBJECT_IMP (   classname)
Value:
classname *classname::clone () const { \
return (classname *) _clone(); \
} \
AbsParameter *classname::_clone () const { \
return new classname(*this); \
}

Definition at line 86 of file GenericFunctions/AbsParameter.hh.