CandShieldPlankListHandle Class Reference

#include <CandShieldPlankListHandle.h>

Inheritance diagram for CandShieldPlankListHandle:
CandHandle

List of all members.

Public Member Functions

 CandShieldPlankListHandle ()
 CandShieldPlankListHandle (const CandShieldPlankListHandle &rhs)
 CandShieldPlankListHandle (CandShieldPlankList *candidate)
virtual ~CandShieldPlankListHandle ()
virtual CandShieldPlankListHandleDupHandle () const
void SetAbsTime (const double abstime)
double GetAbsTime () const
 ClassDef (CandShieldPlankListHandle, 1)

Detailed Description

Definition at line 28 of file CandShieldPlankListHandle.h.


Constructor & Destructor Documentation

CandShieldPlankListHandle::CandShieldPlankListHandle (  ) 

Definition at line 25 of file CandShieldPlankListHandle.cxx.

Referenced by DupHandle().

00026 {
00027 }

CandShieldPlankListHandle::CandShieldPlankListHandle ( const CandShieldPlankListHandle rhs  ) 

Definition at line 28 of file CandShieldPlankListHandle.cxx.

00029     : CandHandle(handle)
00030 {
00031 }

CandShieldPlankListHandle::CandShieldPlankListHandle ( CandShieldPlankList candidate  ) 

Definition at line 32 of file CandShieldPlankListHandle.cxx.

00033     : CandHandle(candidate)
00034 {
00035 }

CandShieldPlankListHandle::~CandShieldPlankListHandle (  )  [virtual]

Definition at line 36 of file CandShieldPlankListHandle.cxx.

00037 {
00038 }


Member Function Documentation

CandShieldPlankListHandle::ClassDef ( CandShieldPlankListHandle  ,
 
)
CandShieldPlankListHandle * CandShieldPlankListHandle::DupHandle (  )  const [virtual]

Reimplemented from CandHandle.

Definition at line 40 of file CandShieldPlankListHandle.cxx.

References CandShieldPlankListHandle().

00041 {
00042     return new CandShieldPlankListHandle(*this);
00043 }

double CandShieldPlankListHandle::GetAbsTime (  )  const

Definition at line 56 of file CandShieldPlankListHandle.cxx.

References CandShieldPlankList::fAbsTime, and CandHandle::GetCandBase().

00057 {
00058   const CandShieldPlankList *candstrip = dynamic_cast<const CandShieldPlankList *>(GetCandBase());
00059   return (candstrip->fAbsTime);
00060 }

void CandShieldPlankListHandle::SetAbsTime ( const double  abstime  ) 

Definition at line 48 of file CandShieldPlankListHandle.cxx.

References CandShieldPlankList::fAbsTime, and CandHandle::GetOwnedCandBase().

Referenced by AlgShieldPlankList::RunAlg().

00049 {
00050   CandShieldPlankList *candplanklist
00051     = dynamic_cast<CandShieldPlankList*>(GetOwnedCandBase());
00052   if(finite(abstime))
00053     candplanklist->fAbsTime = abstime;
00054   
00055 }


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

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1