Main Page
Namespaces
Classes
Package Documentation
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
Definition:
Abs.h:5
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
ResonanceBuilder.mass
mass
Definition:
ResonanceBuilder.py:8
Generated for CMSSW Reference Manual by
1.8.11