1#ifndef VertexFit_GammaShape_H
2#define VertexFit_GammaShape_H
9#include "CLHEP/Matrix/Vector.h"
10#include "CLHEP/Vector/LorentzVector.h"
11#include "CLHEP/Vector/ThreeVector.h"
12#include "CLHEP/Matrix/SymMatrix.h"
13#include "CLHEP/Matrix/Matrix.h"
14using CLHEP::HepVector;
15using CLHEP::HepLorentzVector;
16using CLHEP::Hep3Vector;
17using CLHEP::HepMatrix;
18using CLHEP::HepSymMatrix;
19#include "CLHEP/Geometry/Point3D.h"
20#ifndef ENABLE_BACKWARDS_COMPATIBILITY
38 GammaShape(
const HepLorentzVector p4,
const double dphi,
const double dthe,
const double de);
41 double peak(
const double fitvalue);
42 double mean(
const double epeak);
43 double tail(
const double epeak);
44 double width(
const double epeak);
45 double de(
const double eorigin,
const double peak);
51 void sete(
const double e) {m_e = e;}
53 void setdphi(
const double dphi) {m_dphi = dphi;}
54 void setdtheta(
const double dtheta) {m_dtheta = dtheta;}
60 double gete()
const {
return m_e;}
61 double getde()
const {
return m_de;}
HepGeom::Point3D< double > HepPoint3D
double tail(const double epeak)
void setwidth(const double width)
double width(const double epeak)
GammaShape & operator=(const GammaShape &)
double peak(const double fitvalue)
void sete(const double e)
void settail(const double tail)
double de(const double eorigin, const double peak)
void setdphi(const double dphi)
void setpeak(const double peak)
void setdtheta(const double dtheta)
double fitm(double x, double pk, double width, double tail, double mean)
GammaShape(const GammaShape &)
void setde(const double de)
GammaShape(const double eorigin, const double epeak)
double mean(const double epeak)
GammaShape(const HepLorentzVector p4, const double dphi, const double dthe, const double de)