FarDetDeadChip Class Reference

#include <FarDetDeadChip.h>

Inheritance diagram for FarDetDeadChip:
CandBase CandRefCounted

List of all members.

Public Member Functions

 FarDetDeadChip ()

Static Public Member Functions

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

Protected Member Functions

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

Private Attributes

Int_t fCrate
Int_t fVarc
Int_t fVmm
Int_t fVaadc
Int_t fVaChip
Int_t fBasePlane
Int_t fBaseShld
Int_t fNanosec
VaChip::VaChipStatus_t fStatus

Friends

class FarDetDeadChipHandle

Detailed Description

Definition at line 12 of file FarDetDeadChip.h.


Constructor & Destructor Documentation

FarDetDeadChip::FarDetDeadChip (  ) 

Definition at line 10 of file FarDetDeadChip.cxx.

Referenced by Dup(), and MakeCandidate().

00010                                :
00011   fCrate(-1), fVarc(-1), fVmm(-1), fVaadc(-1), fVaChip(-1), 
00012   fBasePlane(-999), fBaseShld(-999),
00013   fNanosec(0), fStatus(VaChip::kGood)
00014 {
00015 
00016 }

FarDetDeadChip::FarDetDeadChip ( AlgHandle ah  )  [protected]

Definition at line 18 of file FarDetDeadChip.cxx.

00018                                             : 
00019   CandBase(ah),
00020   fCrate(-1), fVarc(-1), fVmm(-1), fVaadc(-1), fVaChip(-1), 
00021   fBasePlane(-999), fBaseShld(-999),
00022   fNanosec(0), fStatus(VaChip::kGood)
00023 {
00024 
00025 }

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

Definition at line 27 of file FarDetDeadChip.cxx.

References FarDetDeadChipHandle, AlgHandle::RunAlg(), and CandBase::SetLocalHandle().

00027                                                                              :
00028   CandBase(ah),
00029   fCrate(-1), fVarc(-1), fVmm(-1), fVaadc(-1), fVaChip(-1), 
00030   fBasePlane(-999), fBaseShld(-999),
00031   fNanosec(0), fStatus(VaChip::kGood)
00032 {
00033   SetLocalHandle(new FarDetDeadChipHandle(this));
00034   { FarDetDeadChipHandle cth(this); ch = cth; }
00035   ah.RunAlg(ch, cx);
00036 }

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

Definition at line 38 of file FarDetDeadChip.cxx.

00038                                                         : 
00039   CandBase(rhs),
00040   fCrate(rhs.fCrate), fVarc(rhs.fVarc), fVmm(rhs.fVmm), fVaadc(rhs.fVaadc), fVaChip(rhs.fVaChip),
00041   fBasePlane(rhs.fBasePlane), fBaseShld(fBaseShld),
00042   fNanosec(rhs.fNanosec), fStatus(rhs.fStatus)
00043 {
00044 
00045 }

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

Definition at line 47 of file FarDetDeadChip.cxx.

00048 {
00049 
00050 }


Member Function Documentation

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

Implements CandBase.

Definition at line 62 of file FarDetDeadChip.cxx.

References FarDetDeadChipHandle, and CandBase::SetLocalHandle().

Referenced by Dup().

00063 {
00064   this->SetLocalHandle(new FarDetDeadChipHandle(this));
00065 }

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

Implements CandBase.

Definition at line 52 of file FarDetDeadChip.cxx.

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

00053 {
00054   FarDetDeadChip *cb = new FarDetDeadChip(*this);
00055   cb->CreateLocalHandle();
00056   TIter iterdau = GetDaughterIterator();
00057   CandHandle *dau;
00058   while ((dau=(CandHandle *) iterdau())) cb->AddDaughterLink(*dau);
00059   return cb;
00060 }

FarDetDeadChipHandle FarDetDeadChip::MakeCandidate ( AlgHandle ah,
CandContext ch 
) [static]

Definition at line 67 of file FarDetDeadChip.cxx.

References FarDetDeadChip().

Referenced by AlgFarDetDataQuality::RunAlg().

00068 {
00069   FarDetDeadChipHandle cdh;
00070   new FarDetDeadChip(ah,cdh,cx);
00071   return cdh;
00072 }


Friends And Related Function Documentation

friend class FarDetDeadChipHandle [friend]

Definition at line 14 of file FarDetDeadChip.h.

Referenced by CreateLocalHandle(), and FarDetDeadChip().


Member Data Documentation

Int_t FarDetDeadChip::fBasePlane [private]

Definition at line 35 of file FarDetDeadChip.h.

Int_t FarDetDeadChip::fBaseShld [private]

Definition at line 36 of file FarDetDeadChip.h.

Int_t FarDetDeadChip::fCrate [private]

Definition at line 30 of file FarDetDeadChip.h.

Int_t FarDetDeadChip::fNanosec [private]

Definition at line 37 of file FarDetDeadChip.h.

Definition at line 38 of file FarDetDeadChip.h.

Int_t FarDetDeadChip::fVaadc [private]

Definition at line 33 of file FarDetDeadChip.h.

Int_t FarDetDeadChip::fVaChip [private]

Definition at line 34 of file FarDetDeadChip.h.

Int_t FarDetDeadChip::fVarc [private]

Definition at line 31 of file FarDetDeadChip.h.

Int_t FarDetDeadChip::fVmm [private]

Definition at line 32 of file FarDetDeadChip.h.


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

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1