CMS 3D CMS Logo

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 {
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
Definition: GammaPropagator.h:6
funct::GammaPropagator::GammaPropagator
GammaPropagator()
Definition: GammaPropagator.h:7
EgHLTOffHistBins_cfi.mass
mass
Definition: EgHLTOffHistBins_cfi.py:34
funct::GammaPropagator::operator()
double operator()(double mass) const
Definition: GammaPropagator.h:8
funct
Definition: Abs.h:5