#include <FarDetDeadChipHandle.h>
Inheritance diagram for FarDetDeadChipHandle:

Public Member Functions | |
| FarDetDeadChipHandle () | |
| FarDetDeadChipHandle (const FarDetDeadChipHandle &rhs) | |
| FarDetDeadChipHandle (FarDetDeadChip *candidate) | |
| virtual | ~FarDetDeadChipHandle () |
| virtual FarDetDeadChipHandle * | DupHandle () const |
| Int_t | GetCrate () const |
| Int_t | GetVarc () const |
| Int_t | GetVmm () const |
| Int_t | GetVaadc () const |
| Int_t | GetVaChip () const |
| Int_t | GetPlane () const |
| Int_t | GetPlane (Int_t i) const |
| Int_t | GetShld () const |
| Int_t | GetNanosec () const |
| VaChip::VaChipStatus_t | GetVaChipStatus () const |
| void | SetVaChipId (Int_t crate, Int_t varc, Int_t vmm, Int_t vaadc, Int_t vachip) |
| void | SetNanosec (Int_t nanosec) |
| void | SetVaChipStatus (VaChip::VaChipStatus_t status) |
| void | SetVaChip (VaChip *chip) |
| ClassDef (FarDetDeadChipHandle, 1) | |
|
|
Definition at line 8 of file FarDetDeadChipHandle.cxx. Referenced by DupHandle(). 00009 {
00010
00011 }
|
|
|
Definition at line 13 of file FarDetDeadChipHandle.cxx. 00013 : 00014 CandHandle(cdh) 00015 { 00016 00017 } FarDetDeadChipHandle::FarDetDeadChipHandle(FarDetDeadChip* cd) :
|
|
|
Definition at line 18 of file FarDetDeadChipHandle.cxx. 00018 : 00019 CandHandle(cd) 00020 { 00021 00022 }
|
|
|
Definition at line 24 of file FarDetDeadChipHandle.cxx. 00025 {
00026
00027 }
|
|
||||||||||||
|
|
|
|
Reimplemented from CandHandle. Definition at line 29 of file FarDetDeadChipHandle.cxx. References FarDetDeadChipHandle(). 00030 {
00031 return new FarDetDeadChipHandle(*this);
00032 }
|
|
|
Definition at line 35 of file FarDetDeadChipHandle.cxx. References CandHandle::GetCandBase(). Referenced by FarDetDeadChipModule::Ana(). 00036 {
00037 return dynamic_cast<const FarDetDeadChip*>(GetCandBase())->fCrate;
00038 }
|
|
|
Definition at line 82 of file FarDetDeadChipHandle.cxx. References CandHandle::GetCandBase(). Referenced by FarDetDeadChipModule::Ana(). 00083 {
00084 return dynamic_cast<const FarDetDeadChip*>(GetCandBase())->fNanosec;
00085 }
|
|
|
Definition at line 65 of file FarDetDeadChipHandle.cxx. References GetPlane(), and GetVaChip(). 00066 {
00067 Int_t plane=-999;
00068 Int_t baseplane=this->GetPlane();
00069 Int_t vachip=this->GetVaChip();
00070 if( vachip>=0 && baseplane>=0 ){
00071 if( i==0 && (vachip==0||vachip==2) ) plane=baseplane;
00072 if( i==1 && (vachip==1||vachip==2) ) plane=baseplane+2;
00073 }
00074 return plane;
00075 }
|
|
|
Definition at line 60 of file FarDetDeadChipHandle.cxx. References CandHandle::GetCandBase(). Referenced by FarDetDeadChipModule::Ana(), and GetPlane(). 00061 {
00062 return dynamic_cast<const FarDetDeadChip*>(GetCandBase())->fBasePlane;
00063 }
|
|
|
Definition at line 77 of file FarDetDeadChipHandle.cxx. References CandHandle::GetCandBase(). Referenced by FarDetDeadChipModule::Ana(). 00078 {
00079 return dynamic_cast<const FarDetDeadChip*>(GetCandBase())->fBaseShld;
00080 }
|
|
|
Definition at line 50 of file FarDetDeadChipHandle.cxx. References CandHandle::GetCandBase(). Referenced by FarDetDeadChipModule::Ana(). 00051 {
00052 return dynamic_cast<const FarDetDeadChip*>(GetCandBase())->fVaadc;
00053 }
|
|
|
Definition at line 55 of file FarDetDeadChipHandle.cxx. References CandHandle::GetCandBase(). Referenced by FarDetDeadChipModule::Ana(), and GetPlane(). 00056 {
00057 return dynamic_cast<const FarDetDeadChip*>(GetCandBase())->fVaChip;
00058 }
|
|
|
Definition at line 87 of file FarDetDeadChipHandle.cxx. References CandHandle::GetCandBase(). Referenced by FarDetDeadChipModule::Ana(). 00088 {
00089 return dynamic_cast<const FarDetDeadChip*>(GetCandBase())->fStatus;
00090 }
|
|
|
Definition at line 40 of file FarDetDeadChipHandle.cxx. References CandHandle::GetCandBase(). Referenced by FarDetDeadChipModule::Ana(). 00041 {
00042 return dynamic_cast<const FarDetDeadChip*>(GetCandBase())->fVarc;
00043 }
|
|
|
Definition at line 45 of file FarDetDeadChipHandle.cxx. References CandHandle::GetCandBase(). Referenced by FarDetDeadChipModule::Ana(). 00046 {
00047 return dynamic_cast<const FarDetDeadChip*>(GetCandBase())->fVmm;
00048 }
|
|
|
Definition at line 101 of file FarDetDeadChipHandle.cxx. References CandHandle::GetOwnedCandBase(). 00102 {
00103 dynamic_cast<FarDetDeadChip*>(GetOwnedCandBase())->fNanosec=nanosec;
00104 }
|
|
|
Definition at line 111 of file FarDetDeadChipHandle.cxx. References VaChip::fNanosec, VaChip::fStatus, VaChip::fVaadc, VaChip::fVaChip, VaChip::fVarc, VaChip::fVmm, VaChip::GetCrate(), VaChip::GetNanosec(), CandHandle::GetOwnedCandBase(), VaChip::GetPlane(), VaChip::GetShld(), VaChip::GetVaadc(), VaChip::GetVaChip(), VaChip::GetVaChipStatus(), VaChip::GetVarc(), and VaChip::GetVmm(). Referenced by AlgFarDetDeadChip::RunAlg(). 00112 {
00113 dynamic_cast<FarDetDeadChip*>(GetOwnedCandBase())->fCrate=chip->GetCrate();
00114 dynamic_cast<FarDetDeadChip*>(GetOwnedCandBase())->fVarc=chip->GetVarc();
00115 dynamic_cast<FarDetDeadChip*>(GetOwnedCandBase())->fVmm=chip->GetVmm();
00116 dynamic_cast<FarDetDeadChip*>(GetOwnedCandBase())->fVaadc=chip->GetVaadc();
00117 dynamic_cast<FarDetDeadChip*>(GetOwnedCandBase())->fVaChip=chip->GetVaChip();
00118 dynamic_cast<FarDetDeadChip*>(GetOwnedCandBase())->fNanosec=chip->GetNanosec();
00119 dynamic_cast<FarDetDeadChip*>(GetOwnedCandBase())->fBasePlane=chip->GetPlane();
00120 dynamic_cast<FarDetDeadChip*>(GetOwnedCandBase())->fBaseShld=chip->GetShld();
00121 dynamic_cast<FarDetDeadChip*>(GetOwnedCandBase())->fStatus=chip->GetVaChipStatus();
00122 }
|
|
||||||||||||||||||||||||
|
Definition at line 92 of file FarDetDeadChipHandle.cxx. References CandHandle::GetOwnedCandBase(). 00093 {
00094 dynamic_cast<FarDetDeadChip*>(GetOwnedCandBase())->fCrate=crate;
00095 dynamic_cast<FarDetDeadChip*>(GetOwnedCandBase())->fVarc=varc;
00096 dynamic_cast<FarDetDeadChip*>(GetOwnedCandBase())->fVmm=vmm;
00097 dynamic_cast<FarDetDeadChip*>(GetOwnedCandBase())->fVaadc=vaadc;
00098 dynamic_cast<FarDetDeadChip*>(GetOwnedCandBase())->fVaChip=vachip;
00099 }
|
|
|
Definition at line 106 of file FarDetDeadChipHandle.cxx. References CandHandle::GetOwnedCandBase(). 00107 {
00108 dynamic_cast<FarDetDeadChip*>(GetOwnedCandBase())->fStatus=status;
00109 }
|
1.3.9.1