Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
PhysicsTools
Utilities
interface
GammaPropagator.h
Go to the documentation of this file.
1
#ifndef PhysicsTools_Utilities_GammaPropagator_h
2
#define PhysicsTools_Utilities_GammaPropagator_h
3
4
namespace
funct {
5
6
struct
GammaPropagator
{
7
GammaPropagator
() {}
8
double
operator()
(
double
mass)
const
{
9
if
(mass <= 0)
return
0;
10
return
1./(mass*mass);
11
}
12
};
13
14
}
15
16
#endif
funct::GammaPropagator::operator()
double operator()(double mass) const
Definition:
GammaPropagator.h:8
funct::GammaPropagator::GammaPropagator
GammaPropagator()
Definition:
GammaPropagator.h:7
funct::GammaPropagator
Definition:
GammaPropagator.h:6
Generated for CMSSW Reference Manual by
1.8.5