\section{Simple\-Photon\-Fit\-Object Class Reference}
\label{classSimplePhotonFitObject}\index{Simple\-Photon\-Fit\-Object@{Simple\-Photon\-Fit\-Object}}


Class for I\-S\-R/\-Beamstrahlung photons with (p\-\_\-x,p\-\_\-y (both fix), p\-\_\-z (free)) in kinematic fits.  




{\ttfamily \#include $<$Simple\-Photon\-Fit\-Object.\-h$>$}

Inheritance diagram for Simple\-Photon\-Fit\-Object\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{classSimplePhotonFitObject}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bf Simple\-Photon\-Fit\-Object} (double px, double py, double pz, double Dpz)
\item 
{\bf Simple\-Photon\-Fit\-Object} (const {\bf Simple\-Photon\-Fit\-Object} \&rhs)
\begin{DoxyCompactList}\small\item\em sigma for pz \end{DoxyCompactList}\item 
virtual {\bf Simple\-Photon\-Fit\-Object} $\ast$ {\bf copy} () const \label{classSimplePhotonFitObject_a45e6d9f7a6bdb860204633b6f6c1230b}

\begin{DoxyCompactList}\small\item\em Return a new copy of itself. \end{DoxyCompactList}\item 
virtual {\bf Simple\-Photon\-Fit\-Object} \& {\bf assign} (const {\bf Base\-Fit\-Object} \&source)
\begin{DoxyCompactList}\small\item\em Assign from anther object, if of same type. \end{DoxyCompactList}\item 
{\bf Simple\-Photon\-Fit\-Object} \& {\bf operator=} (const {\bf Simple\-Photon\-Fit\-Object} \&rhs)
\begin{DoxyCompactList}\small\item\em Assignment. \end{DoxyCompactList}\item 
virtual const char $\ast$ {\bf get\-Param\-Name} (int ilocal) const 
\begin{DoxyCompactList}\small\item\em Get name of parameter ilocal. \end{DoxyCompactList}\item 
virtual bool {\bf update\-Params} (double p[$\,$], int idim)
\begin{DoxyCompactList}\small\item\em Read values from global vector, readjust vector; return\-: significant change. \end{DoxyCompactList}\item 
virtual double {\bf get\-D\-Px} (int ilocal) const \label{classSimplePhotonFitObject_a5388249afb62ae674b9417d3baa76883}

\begin{DoxyCompactList}\small\item\em Return d p\-\_\-x / d par\-\_\-ilocal (derivative of px w.\-r.\-t. local parameter ilocal) \end{DoxyCompactList}\item 
virtual double {\bf get\-D\-Py} (int ilocal) const \label{classSimplePhotonFitObject_aa6b44dac3dec5799d72f41e94f90dab2}

\begin{DoxyCompactList}\small\item\em Return d p\-\_\-y / d par\-\_\-ilocal (derivative of py w.\-r.\-t. local parameter ilocal) \end{DoxyCompactList}\item 
virtual double {\bf get\-D\-Pz} (int ilocal) const \label{classSimplePhotonFitObject_a49439762a2d7dd3f1d8694a650aae880}

\begin{DoxyCompactList}\small\item\em Return d p\-\_\-z / d par\-\_\-ilocal (derivative of pz w.\-r.\-t. local parameter ilocal) \end{DoxyCompactList}\item 
virtual double {\bf get\-D\-E} (int ilocal) const \label{classSimplePhotonFitObject_a9c0ecf2748a9f20f43b191ba8cc2f6e1}

\begin{DoxyCompactList}\small\item\em Return d E / d par\-\_\-ilocal (derivative of E w.\-r.\-t. local parameter ilocal) \end{DoxyCompactList}\item 
virtual double {\bfseries get\-First\-Derivative\-\_\-\-Meta\-\_\-\-Local} (int i\-Meta, int ilocal, int meta\-Set) const \label{classSimplePhotonFitObject_afea325f38eb939f8adac98b4c7a68f89}

\item 
virtual double {\bfseries get\-Second\-Derivative\-\_\-\-Meta\-\_\-\-Local} (int i\-Meta, int ilocal, int jlocal, int meta\-Set) const \label{classSimplePhotonFitObject_a93a4a7719498b8b37e037b9dfe28e79d}

\item 
virtual int {\bf get\-N\-Par} () const \label{classSimplePhotonFitObject_a99ea8b9f9fd753a5009722d41409fa7c}

\begin{DoxyCompactList}\small\item\em Get total number of parameters of this Fit\-Object. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Types}
\begin{DoxyCompactItemize}
\item 
enum \{ {\bfseries N\-P\-A\-R} =3
 \}
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
void {\bfseries update\-Cache} () const \label{classSimplePhotonFitObject_ad25a317f9a13caa3af7c16be1a0301e0}

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
double {\bfseries pt2}\label{classSimplePhotonFitObject_a4cc5794c51c66a4c8a527c547018146d}

\item 
double {\bfseries p2}\label{classSimplePhotonFitObject_a711346334ca6c05496c9d04497d83e6b}

\item 
double {\bfseries p}\label{classSimplePhotonFitObject_a3a199b21e9835491ca10084ece79915b}

\item 
double {\bfseries d\-E0}\label{classSimplePhotonFitObject_a2ef62fd9ef4e8cf6832223758f28ba2d}

\item 
double {\bfseries d\-E1}\label{classSimplePhotonFitObject_ac86635505fd56d387821d2005457c61f}

\item 
double {\bfseries d\-E2}\label{classSimplePhotonFitObject_a9859cf923196f1a78c804511e0456588}

\item 
double {\bfseries chi2}\label{classSimplePhotonFitObject_a24c9403feacc3b2ab7111dc05608678f}

\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
Class for I\-S\-R/\-Beamstrahlung photons with (p\-\_\-x,p\-\_\-y (both fix), p\-\_\-z (free)) in kinematic fits. 

Author\-: Moritz Beckmann \begin{DoxyParagraph}{Date\-:}
2010/06/11 20\-:32\-:51 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Author\-:}
mbeckman 
\end{DoxyParagraph}


{\bfseries Changelog\-:} 
\begin{DoxyItemize}
\item 
\end{DoxyItemize}

{\bfseries C\-V\-S} Log messages\-:
\begin{DoxyItemize}
\item \begin{DoxyParagraph}{Log\-:}
\doxyref{Simple\-Photon\-Fit\-Object.\-h}{p.}{SimplePhotonFitObject_8h_source},v 
\end{DoxyParagraph}

\item Revision 1.\-1 2010/06/11 20\-:32\-:51 mbeckman
\item Renamed Photon\-Fit\-Objects, cleaned them up for usage
\item 
\item Revision 1.\-3 2009/02/23 12\-:03\-:18 mbeckman
\item -\/ Photon\-Fit\-Object\-: bug fix (1/0), removed dispensable variables
\item -\/ Photon\-Fit\-Object\-Pxyg\-: bug fixes (1/0, order of computing variables), modified parametrization
\item 
\item Revision 1.\-2 2009/02/18 11\-:53\-:42 mbeckman
\item documentation, debug output 
\end{DoxyItemize}

\subsection{Constructor \& Destructor Documentation}
\index{Simple\-Photon\-Fit\-Object@{Simple\-Photon\-Fit\-Object}!Simple\-Photon\-Fit\-Object@{Simple\-Photon\-Fit\-Object}}
\index{Simple\-Photon\-Fit\-Object@{Simple\-Photon\-Fit\-Object}!SimplePhotonFitObject@{Simple\-Photon\-Fit\-Object}}
\subsubsection[{Simple\-Photon\-Fit\-Object}]{\setlength{\rightskip}{0pt plus 5cm}Simple\-Photon\-Fit\-Object\-::\-Simple\-Photon\-Fit\-Object (
\begin{DoxyParamCaption}
\item[{double}]{px, }
\item[{double}]{py, }
\item[{double}]{pz, }
\item[{double}]{Dpz}
\end{DoxyParamCaption}
)}\label{classSimplePhotonFitObject_a421be1adf08eb1eb39d72c32aa003a58}

\begin{DoxyParams}{Parameters}
{\em Dpz} & initial values for photon (p\-\_\-x,p\-\_\-y fix) \\
\hline
\end{DoxyParams}


References Base\-Fit\-Object\-::invalidate\-Cache(), Base\-Fit\-Object\-::set\-Error(), Particle\-Fit\-Object\-::set\-Mass(), Base\-Fit\-Object\-::set\-M\-Param(), and Base\-Fit\-Object\-::set\-Param().



Referenced by copy().

\index{Simple\-Photon\-Fit\-Object@{Simple\-Photon\-Fit\-Object}!Simple\-Photon\-Fit\-Object@{Simple\-Photon\-Fit\-Object}}
\index{Simple\-Photon\-Fit\-Object@{Simple\-Photon\-Fit\-Object}!SimplePhotonFitObject@{Simple\-Photon\-Fit\-Object}}
\subsubsection[{Simple\-Photon\-Fit\-Object}]{\setlength{\rightskip}{0pt plus 5cm}Simple\-Photon\-Fit\-Object\-::\-Simple\-Photon\-Fit\-Object (
\begin{DoxyParamCaption}
\item[{const {\bf Simple\-Photon\-Fit\-Object} \&}]{rhs}
\end{DoxyParamCaption}
)}\label{classSimplePhotonFitObject_aa5e5739364f834a47d4de29f2ada71be}


sigma for pz 

Copy constructor 
\begin{DoxyParams}{Parameters}
{\em rhs} & right hand side \\
\hline
\end{DoxyParams}


References assign().



\subsection{Member Function Documentation}
\index{Simple\-Photon\-Fit\-Object@{Simple\-Photon\-Fit\-Object}!assign@{assign}}
\index{assign@{assign}!SimplePhotonFitObject@{Simple\-Photon\-Fit\-Object}}
\subsubsection[{assign}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Simple\-Photon\-Fit\-Object} \& Simple\-Photon\-Fit\-Object\-::assign (
\begin{DoxyParamCaption}
\item[{const {\bf Base\-Fit\-Object} \&}]{source}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classSimplePhotonFitObject_ae7e5e38e6595b0980a38585cb3c596de}


Assign from anther object, if of same type. 


\begin{DoxyParams}{Parameters}
{\em source} & The source object \\
\hline
\end{DoxyParams}


Reimplemented from {\bf Particle\-Fit\-Object} \doxyref{}{p.}{classParticleFitObject_a8429a39000149c8e80935d127f89f632}.



References Particle\-Fit\-Object\-::assign().



Referenced by operator=(), and Simple\-Photon\-Fit\-Object().

\index{Simple\-Photon\-Fit\-Object@{Simple\-Photon\-Fit\-Object}!get\-Param\-Name@{get\-Param\-Name}}
\index{get\-Param\-Name@{get\-Param\-Name}!SimplePhotonFitObject@{Simple\-Photon\-Fit\-Object}}
\subsubsection[{get\-Param\-Name}]{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ Simple\-Photon\-Fit\-Object\-::get\-Param\-Name (
\begin{DoxyParamCaption}
\item[{int}]{ilocal}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classSimplePhotonFitObject_a62bd665358ef4f3ab94c7a74a0060972}


Get name of parameter ilocal. 


\begin{DoxyParams}{Parameters}
{\em ilocal} & Local parameter number \\
\hline
\end{DoxyParams}


Reimplemented from {\bf Base\-Fit\-Object} \doxyref{}{p.}{classBaseFitObject_a6e993153f0efe7b380186cb815f5ccc1}.

\index{Simple\-Photon\-Fit\-Object@{Simple\-Photon\-Fit\-Object}!operator=@{operator=}}
\index{operator=@{operator=}!SimplePhotonFitObject@{Simple\-Photon\-Fit\-Object}}
\subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Simple\-Photon\-Fit\-Object} \& Simple\-Photon\-Fit\-Object\-::operator= (
\begin{DoxyParamCaption}
\item[{const {\bf Simple\-Photon\-Fit\-Object} \&}]{rhs}
\end{DoxyParamCaption}
)}\label{classSimplePhotonFitObject_a44b6b10ca836f7ba6f7efef6fdea8b78}


Assignment. 


\begin{DoxyParams}{Parameters}
{\em rhs} & right hand side \\
\hline
\end{DoxyParams}


References assign().

\index{Simple\-Photon\-Fit\-Object@{Simple\-Photon\-Fit\-Object}!update\-Params@{update\-Params}}
\index{update\-Params@{update\-Params}!SimplePhotonFitObject@{Simple\-Photon\-Fit\-Object}}
\subsubsection[{update\-Params}]{\setlength{\rightskip}{0pt plus 5cm}bool Simple\-Photon\-Fit\-Object\-::update\-Params (
\begin{DoxyParamCaption}
\item[{double}]{p[$\,$], }
\item[{int}]{idim}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classSimplePhotonFitObject_a05184b14825bdf92b56f3bcec8075a43}


Read values from global vector, readjust vector; return\-: significant change. 


\begin{DoxyParams}{Parameters}
{\em p} & The parameter vector \\
\hline
{\em idim} & Length of the vector \\
\hline
\end{DoxyParams}


Reimplemented from {\bf Base\-Fit\-Object} \doxyref{}{p.}{classBaseFitObject_a3f7c5b3f86dec80b75340e7c966a6e90}.



References Base\-Fit\-Object\-::cov, Base\-Fit\-Object\-::get\-Global\-Par\-Num(), Base\-Fit\-Object\-::invalidate\-Cache(), and Base\-Fit\-Object\-::par.



The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
Simple\-Photon\-Fit\-Object.\-h\item 
{\bf Simple\-Photon\-Fit\-Object.\-cc}\end{DoxyCompactItemize}
