CandFitShowerEMHandle Class Reference

#include <CandFitShowerEMHandle.h>

Inheritance diagram for CandFitShowerEMHandle:
CandShowerEMHandle CandShowerHandle CandRecoHandle CandHandle

List of all members.

Public Member Functions

 CandFitShowerEMHandle ()
 CandFitShowerEMHandle (const CandFitShowerEMHandle &cfsemh)
 CandFitShowerEMHandle (CandFitShowerEM *cd)
virtual ~CandFitShowerEMHandle ()
virtual CandFitShowerEMHandleDupHandle () const
virtual void Trace (const char *c="") const
void SetMomentum (Double_t)
Double_t GetMomentum () const
Double_t GetChi2 () const
void SetChi2 (Double_t)
Bool_t GetPass () const
void SetPass (Bool_t)
Int_t GetNDOF () const
void SetNDOF (Int_t)
Int_t GetNIterate () const
void SetNIterate (Int_t)
Double_t GetCPUTime () const
void SetCPUTime (Double_t)

Static Public Member Functions

static NavKey KeyFromSlice (const CandFitShowerEMHandle *)

Detailed Description

Definition at line 22 of file CandFitShowerEMHandle.h.


Constructor & Destructor Documentation

CandFitShowerEMHandle::CandFitShowerEMHandle (  ) 

Definition at line 25 of file CandFitShowerEMHandle.cxx.

Referenced by DupHandle().

00026 {
00027 }

CandFitShowerEMHandle::CandFitShowerEMHandle ( const CandFitShowerEMHandle cfsemh  ) 

Definition at line 30 of file CandFitShowerEMHandle.cxx.

00030                                                                              :
00031   CandShowerEMHandle(cdh)
00032 {
00033 }

CandFitShowerEMHandle::CandFitShowerEMHandle ( CandFitShowerEM cd  ) 

Definition at line 36 of file CandFitShowerEMHandle.cxx.

00036                                                                 :
00037   CandShowerEMHandle(cd)
00038 {
00039 }

CandFitShowerEMHandle::~CandFitShowerEMHandle (  )  [virtual]

Definition at line 42 of file CandFitShowerEMHandle.cxx.

00043 {
00044 }


Member Function Documentation

CandFitShowerEMHandle * CandFitShowerEMHandle::DupHandle (  )  const [virtual]

Reimplemented from CandShowerEMHandle.

Definition at line 47 of file CandFitShowerEMHandle.cxx.

References CandFitShowerEMHandle().

00048 {
00049    return (new CandFitShowerEMHandle(*this));
00050 }

Double_t CandFitShowerEMHandle::GetChi2 (  )  const

Definition at line 74 of file CandFitShowerEMHandle.cxx.

References CandHandle::GetCandBase().

00075 {
00076   return dynamic_cast<const CandFitShowerEM*>(GetCandBase())->fChi2;
00077 }

Double_t CandFitShowerEMHandle::GetCPUTime (  )  const

Definition at line 135 of file CandFitShowerEMHandle.cxx.

References CandHandle::GetCandBase().

00136 {
00137   return dynamic_cast<const CandFitShowerEM *>(GetCandBase())->fCPUTime;
00138 }

Double_t CandFitShowerEMHandle::GetMomentum (  )  const

Definition at line 84 of file CandFitShowerEMHandle.cxx.

References CandHandle::GetCandBase().

00085 {
00086   return dynamic_cast<const CandFitShowerEM*>(GetCandBase())->fMomentum;
00087 }

Int_t CandFitShowerEMHandle::GetNDOF (  )  const

Definition at line 123 of file CandFitShowerEMHandle.cxx.

References CandHandle::GetCandBase().

00124 {
00125   return dynamic_cast<const CandFitShowerEM *>(GetCandBase())->fNDOF;
00126 }

Int_t CandFitShowerEMHandle::GetNIterate (  )  const

Definition at line 111 of file CandFitShowerEMHandle.cxx.

References CandHandle::GetCandBase().

00112 {
00113   return dynamic_cast<const CandFitShowerEM *>(GetCandBase())->fNIterate;
00114 }

Bool_t CandFitShowerEMHandle::GetPass (  )  const

Definition at line 94 of file CandFitShowerEMHandle.cxx.

References CandHandle::GetCandBase().

00095 {
00096   return dynamic_cast<const CandFitShowerEM*>(GetCandBase())->fPass;
00097 }

NavKey CandFitShowerEMHandle::KeyFromSlice ( const CandFitShowerEMHandle reco  )  [static]

Reimplemented from CandShowerHandle.

Definition at line 65 of file CandFitShowerEMHandle.cxx.

References CandRecoHandle::GetCandSlice(), and CandHandle::GetUidInt().

00066 {
00067   if (reco->GetCandSlice()) {
00068     return static_cast<Int_t>(reco->GetCandSlice()->GetUidInt());
00069   }
00070   return 0;
00071 
00072 }

void CandFitShowerEMHandle::SetChi2 ( Double_t  chi2  ) 

Definition at line 79 of file CandFitShowerEMHandle.cxx.

References CandHandle::GetOwnedCandBase().

00080 {
00081   dynamic_cast<CandFitShowerEM*>(GetOwnedCandBase())->fChi2 = chi2;
00082 }

void CandFitShowerEMHandle::SetCPUTime ( Double_t  cputime  ) 

Definition at line 129 of file CandFitShowerEMHandle.cxx.

References CandHandle::GetOwnedCandBase().

Referenced by AlgFitShowerEMList::RunAlg().

00130 {
00131   dynamic_cast<CandFitShowerEM *>(GetOwnedCandBase())->fCPUTime = cputime;
00132 }

void CandFitShowerEMHandle::SetMomentum ( Double_t  momentum  ) 

Definition at line 89 of file CandFitShowerEMHandle.cxx.

References CandHandle::GetOwnedCandBase().

00090 {
00091   dynamic_cast<CandFitShowerEM*>(GetOwnedCandBase())->fMomentum = momentum;
00092 }

void CandFitShowerEMHandle::SetNDOF ( Int_t  ndof  ) 

Definition at line 117 of file CandFitShowerEMHandle.cxx.

References CandHandle::GetOwnedCandBase().

00118 {
00119   dynamic_cast<CandFitShowerEM *>(GetOwnedCandBase())->fNDOF = ndof;
00120 }

void CandFitShowerEMHandle::SetNIterate ( Int_t  n  ) 

Definition at line 105 of file CandFitShowerEMHandle.cxx.

References CandHandle::GetOwnedCandBase().

00106 {
00107   dynamic_cast<CandFitShowerEM *>(GetOwnedCandBase())->fNIterate = n;
00108 }

void CandFitShowerEMHandle::SetPass ( Bool_t  pass  ) 

Definition at line 99 of file CandFitShowerEMHandle.cxx.

References CandHandle::GetOwnedCandBase().

00100 {
00101   dynamic_cast<CandFitShowerEM*>(GetOwnedCandBase())->fPass = pass;
00102 }

void CandFitShowerEMHandle::Trace ( const char *  c = ""  )  const [virtual]

Reimplemented from CandShowerEMHandle.

Definition at line 54 of file CandFitShowerEMHandle.cxx.

References Msg::kDebug, and MSG.

00055 {
00056   MSG("Cand", Msg::kDebug)
00057     << "**********Begin CandFitShowerEMHandle::Trace(\"" << c << "\")" << endl
00058            << "Information from CandFitShowerEMHandle's CandHandle: " << endl;
00059   CandHandle::Trace(c);
00060   MSG("Cand", Msg::kDebug)
00061      << "**********End CandFitShowerEMHandle::Trace(\"" << c << "\")" << endl;
00062 }


The documentation for this class was generated from the following files:

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1