CandShowerEMHandle Class Reference

#include <CandShowerEMHandle.h>

Inheritance diagram for CandShowerEMHandle:
CandShowerHandle CandRecoHandle CandHandle CandFitShowerEMHandle

List of all members.

Public Member Functions

 CandShowerEMHandle ()
 CandShowerEMHandle (const CandShowerEMHandle &csh)
 CandShowerEMHandle (const CandShowerHandle &csh)
 CandShowerEMHandle (CandShowerEM *cs)
virtual ~CandShowerEMHandle ()
virtual CandShowerEMHandleDupHandle () const
virtual void Trace (const char *c="") const
const Double_t * GetEigenVectors () const
void SetEigenVectors (const Double_t *)
const Double_t * GetEigenValues () const
void SetEigenValues (const Double_t *)
const Double_t * GetAvgDev () const
void SetAvgDev (const Double_t *)
const Double_t * GetOutPH () const
void SetOutPH (const Double_t *)
Int_t GetShwStatus () const
void SetShwStatus (Int_t)

Detailed Description

Definition at line 22 of file CandShowerEMHandle.h.


Constructor & Destructor Documentation

CandShowerEMHandle::CandShowerEMHandle (  ) 

Definition at line 27 of file CandShowerEMHandle.cxx.

Referenced by DupHandle().

00028 {
00029 }

CandShowerEMHandle::CandShowerEMHandle ( const CandShowerEMHandle csh  ) 

Definition at line 32 of file CandShowerEMHandle.cxx.

00032                                                                     :
00033   CandShowerHandle(cdh)
00034 {
00035 }
//______________________________________________________________________

CandShowerEMHandle::CandShowerEMHandle ( const CandShowerHandle csh  ) 

Definition at line 37 of file CandShowerEMHandle.cxx.

00037                                                                   :
00038   CandShowerHandle(cdh)
00039 {
00040 }

CandShowerEMHandle::CandShowerEMHandle ( CandShowerEM cs  ) 

Definition at line 43 of file CandShowerEMHandle.cxx.

00043                                                        :
00044   CandShowerHandle(cd)
00045 {
00046 }

CandShowerEMHandle::~CandShowerEMHandle (  )  [virtual]

Definition at line 49 of file CandShowerEMHandle.cxx.

00050 {
00051 }


Member Function Documentation

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

Reimplemented from CandShowerHandle.

Reimplemented in CandFitShowerEMHandle.

Definition at line 54 of file CandShowerEMHandle.cxx.

References CandShowerEMHandle().

00055 {
00056    return (new CandShowerEMHandle(*this));
00057 }

const Double_t * CandShowerEMHandle::GetAvgDev (  )  const

Definition at line 72 of file CandShowerEMHandle.cxx.

References CandHandle::GetCandBase().

Referenced by AlgFitShowerEM::CopyFromShowerEM().

00073 {
00074   return dynamic_cast<const CandShowerEM *>(GetCandBase())->AvgDev;
00075 }

const Double_t * CandShowerEMHandle::GetEigenValues (  )  const

Definition at line 66 of file CandShowerEMHandle.cxx.

References CandHandle::GetCandBase().

Referenced by AlgFitShowerEM::CopyFromShowerEM().

00067 {
00068   return dynamic_cast<const CandShowerEM *>(GetCandBase())->EigenValue;
00069 }

const Double_t * CandShowerEMHandle::GetEigenVectors (  )  const

Definition at line 60 of file CandShowerEMHandle.cxx.

References CandHandle::GetCandBase().

Referenced by AlgFitShowerEM::CopyFromShowerEM().

00061 {
00062   return dynamic_cast<const CandShowerEM *>(GetCandBase())->EigenVector;
00063 }

const Double_t * CandShowerEMHandle::GetOutPH (  )  const

Definition at line 78 of file CandShowerEMHandle.cxx.

References CandHandle::GetCandBase().

Referenced by AlgFitShowerEM::CopyFromShowerEM().

00079 {
00080   return dynamic_cast<const CandShowerEM *>(GetCandBase())->OutPH;
00081 }

Int_t CandShowerEMHandle::GetShwStatus (  )  const

Definition at line 84 of file CandShowerEMHandle.cxx.

References CandHandle::GetCandBase().

Referenced by AlgFitShowerEM::CopyFromShowerEM().

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

void CandShowerEMHandle::SetAvgDev ( const Double_t *  ad  ) 

Definition at line 124 of file CandShowerEMHandle.cxx.

References CandHandle::GetOwnedCandBase().

Referenced by AlgFitShowerEM::CopyFromShowerEM().

00125 {
00126 
00127   if(ad) {
00128     for(int i=0;i<4;i++){
00129       dynamic_cast<CandShowerEM *>(GetOwnedCandBase())->AvgDev[i]=ad[i];
00130     }
00131   }
00132   else {
00133     for(int i=0;i<4;i++){
00134       dynamic_cast<CandShowerEM *>(GetOwnedCandBase())->AvgDev[i]=0.;
00135     }
00136   }
00137 
00138 }

void CandShowerEMHandle::SetEigenValues ( const Double_t *  ev  ) 

Definition at line 107 of file CandShowerEMHandle.cxx.

References CandHandle::GetOwnedCandBase().

Referenced by AlgFitShowerEM::CopyFromShowerEM().

00108 {
00109 
00110   if(ev) {
00111     for(int i=0;i<4;i++){
00112       dynamic_cast<CandShowerEM *>(GetOwnedCandBase())->EigenValue[i]=ev[i];
00113     }  
00114   }
00115   else {
00116     for(int i=0;i<4;i++){
00117       dynamic_cast<CandShowerEM *>(GetOwnedCandBase())->EigenValue[i]=0.;
00118     }
00119   }
00120 
00121 }

void CandShowerEMHandle::SetEigenVectors ( const Double_t *  ev  ) 

Definition at line 90 of file CandShowerEMHandle.cxx.

References CandHandle::GetOwnedCandBase().

Referenced by AlgFitShowerEM::CopyFromShowerEM().

00091 {
00092 
00093   if(ev) {
00094     for(int i=0;i<8;i++){
00095       dynamic_cast<CandShowerEM *>(GetOwnedCandBase())->EigenVector[i]=ev[i];
00096     }
00097   }
00098   else {
00099     for(int i=0;i<8;i++){   
00100       dynamic_cast<CandShowerEM *>(GetOwnedCandBase())->EigenVector[i]=0.;
00101     }
00102   }
00103 
00104 }

void CandShowerEMHandle::SetOutPH ( const Double_t *  op  ) 

Definition at line 141 of file CandShowerEMHandle.cxx.

References CandHandle::GetOwnedCandBase().

Referenced by AlgFitShowerEM::CopyFromShowerEM().

00142 {
00143 
00144   if(op) {
00145     for(int i=0;i<5;i++){
00146       dynamic_cast<CandShowerEM *>(GetOwnedCandBase())->OutPH[i]=op[i];
00147     }
00148   }
00149   else {
00150     for(int i=0;i<5;i++){
00151       dynamic_cast<CandShowerEM *>(GetOwnedCandBase())->OutPH[i]=0.;
00152     }
00153   }
00154 
00155 }

void CandShowerEMHandle::SetShwStatus ( Int_t  ss  ) 

Definition at line 158 of file CandShowerEMHandle.cxx.

References CandHandle::GetOwnedCandBase().

Referenced by AlgFitShowerEM::CopyFromShowerEM().

00159 {
00160   dynamic_cast<CandShowerEM *>(GetOwnedCandBase())->ShwStatus = ss;
00161 }

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

Reimplemented from CandShowerHandle.

Reimplemented in CandFitShowerEMHandle.

Definition at line 164 of file CandShowerEMHandle.cxx.

References Msg::kDebug, and MSG.

00165 {
00166   MSG("Cand", Msg::kDebug)
00167     << "*******Begin CandShowerEMHandle::Trace(\"" << c << "\")" << endl
00168         << "Information from CandShowerEMHandle's CandHandle: " << endl;
00169   CandHandle::Trace(c);
00170   MSG("Cand", Msg::kDebug)
00171      << "*******End CandShowerEMHandle::Trace(\"" << c << "\")" << endl;
00172 }


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

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1