CandShieldPlank Class Reference

#include <CandShieldPlank.h>

Inheritance diagram for CandShieldPlank:

CandBase CandRefCounted List of all members.

Public Member Functions

 CandShieldPlank ()

Static Public Member Functions

static CandShieldPlankHandle MakeCandidate (AlgHandle &ah, CandContext &ch)

Protected Member Functions

 CandShieldPlank (AlgHandle &ah)
 CandShieldPlank (AlgHandle &ah, CandHandle &ch, CandContext &cx)
 CandShieldPlank (const CandShieldPlank &rhs)
virtual ~CandShieldPlank ()
virtual void CreateLocalHandle ()
virtual CandShieldPlankDup () const

Private Attributes

Int_t fNErrors
Int_t fSection
Int_t fSubSection
Double_t fMeanX
Double_t fMeanY
Double_t fMeanZ [3]
Double_t fMeanTime [3]
Double_t fMeanCorrectedTime [3]
Double_t fChargePE [3]

Friends

class CandShieldPlankHandle

Detailed Description

Definition at line 30 of file CandShieldPlank.h.


Constructor & Destructor Documentation

CandShieldPlank::CandShieldPlank (  ) 

Definition at line 26 of file CandShieldPlank.cxx.

References fChargePE, fMeanCorrectedTime, fMeanTime, and fMeanZ.

Referenced by Dup(), and MakeCandidate().

00026                                  :
00027   fNErrors(0),
00028   fSection(-1),
00029   fSubSection(-1),
00030   fMeanX(-999.),
00031   fMeanY(-999.0)
00032 {
00033   for(unsigned int i=0; i<3; ++i)
00034     {
00035       fMeanZ[i] = -999.;
00036       fMeanTime[i] = -999.;
00037       fMeanCorrectedTime[i] = -999.;
00038       fChargePE[i] = -999.;         
00039     }
00040 }

CandShieldPlank::CandShieldPlank ( AlgHandle ah  )  [protected]

Definition at line 42 of file CandShieldPlank.cxx.

00042                                               : 
00043     CandBase(ah)
00044 {
00045 }

CandShieldPlank::CandShieldPlank ( AlgHandle ah,
CandHandle ch,
CandContext cx 
) [protected]

Definition at line 47 of file CandShieldPlank.cxx.

References CreateLocalHandle(), and AlgHandle::RunAlg().

00047                                                                                :
00048     CandBase(ah)
00049 {
00050     this->CreateLocalHandle();
00051     {
00052         CandShieldPlankHandle a_handle(this);
00053         ch = a_handle;
00054     }
00055     ah.RunAlg(ch,cx);
00056 }

CandShieldPlank::CandShieldPlank ( const CandShieldPlank rhs  )  [protected]

Definition at line 58 of file CandShieldPlank.cxx.

00058                                                            : 
00059     CandBase(rhs)
00060 {
00061 }

CandShieldPlank::~CandShieldPlank (  )  [protected, virtual]

Definition at line 63 of file CandShieldPlank.cxx.

00064 {
00065 }


Member Function Documentation

void CandShieldPlank::CreateLocalHandle (  )  [protected, virtual]

Implements CandBase.

Definition at line 67 of file CandShieldPlank.cxx.

References CandShieldPlankHandle, and CandBase::SetLocalHandle().

Referenced by CandShieldPlank(), and Dup().

00068 {
00069     this->SetLocalHandle(new CandShieldPlankHandle(this));
00070 }

CandShieldPlank * CandShieldPlank::Dup (  )  const [protected, virtual]

Implements CandBase.

Definition at line 72 of file CandShieldPlank.cxx.

References CandBase::AddDaughterLink(), CandShieldPlank(), CreateLocalHandle(), and CandBase::GetDaughterIterator().

00073 {
00074     CandShieldPlank* newone = new CandShieldPlank(*this);
00075     newone->CreateLocalHandle();
00076     TIter iter = this->GetDaughterIterator();
00077     CandHandle* ch;
00078     while ((ch=(CandHandle*)iter())) newone->AddDaughterLink(*ch);
00079     return newone;
00080 }

CandShieldPlankHandle CandShieldPlank::MakeCandidate ( AlgHandle ah,
CandContext ch 
) [static]

Definition at line 82 of file CandShieldPlank.cxx.

References CandShieldPlank().

Referenced by AlgShieldPlankList::RunAlg().

00083 {
00084     CandShieldPlankHandle a_handle;
00085     new CandShieldPlank(ah,a_handle,cx);
00086     return a_handle;
00087 }


Friends And Related Function Documentation

friend class CandShieldPlankHandle [friend]

Definition at line 32 of file CandShieldPlank.h.

Referenced by CreateLocalHandle().


Member Data Documentation

Double_t CandShieldPlank::fChargePE[3] [private]

Definition at line 60 of file CandShieldPlank.h.

Referenced by CandShieldPlank(), CandShieldPlankHandle::GetCharge(), and CandShieldPlankHandle::SetChargePE().

Double_t CandShieldPlank::fMeanCorrectedTime[3] [private]

Definition at line 59 of file CandShieldPlank.h.

Referenced by CandShieldPlank(), CandShieldPlankHandle::GetMeanCorrectedTime(), and CandShieldPlankHandle::SetMeanCorrectedT().

Double_t CandShieldPlank::fMeanTime[3] [private]

Definition at line 58 of file CandShieldPlank.h.

Referenced by CandShieldPlank(), CandShieldPlankHandle::GetMeanTime(), and CandShieldPlankHandle::SetMeanT().

Double_t CandShieldPlank::fMeanX [private]

Definition at line 55 of file CandShieldPlank.h.

Referenced by CandShieldPlankHandle::GetMeanX(), and CandShieldPlankHandle::SetMeanX().

Double_t CandShieldPlank::fMeanY [private]

Definition at line 56 of file CandShieldPlank.h.

Referenced by CandShieldPlankHandle::GetMeanY(), and CandShieldPlankHandle::SetMeanY().

Double_t CandShieldPlank::fMeanZ[3] [private]

Definition at line 57 of file CandShieldPlank.h.

Referenced by CandShieldPlank(), CandShieldPlankHandle::GetMeanZ(), and CandShieldPlankHandle::SetMeanZ().

Int_t CandShieldPlank::fNErrors [private]

Definition at line 51 of file CandShieldPlank.h.

Referenced by CandShieldPlankHandle::GetNErrors(), and CandShieldPlankHandle::SetNErrors().

Int_t CandShieldPlank::fSection [private]

Definition at line 52 of file CandShieldPlank.h.

Referenced by CandShieldPlankHandle::GetSection(), and CandShieldPlankHandle::SetSection().

Int_t CandShieldPlank::fSubSection [private]

Definition at line 53 of file CandShieldPlank.h.

Referenced by CandShieldPlankHandle::GetSubSection(), and CandShieldPlankHandle::SetSubSection().


The documentation for this class was generated from the following files:
Generated on Fri Oct 10 22:45:24 2014 for loon by  doxygen 1.4.7