#include <VaChip.h>
Public Types | |
| typedef enum VaChip::EVaChipStatus | VaChipStatus_t |
| enum | EVaChipStatus { kGood = 0x00, kBad = 0x01, kBusy = 0x02, kDead = 0x03, kCold = 0x04, kHot = 0x05 } |
Public Member Functions | |
| VaChip (Int_t crate, Int_t varc, Int_t vmm, Int_t vaadc, Int_t vachip, Int_t plane, Int_t shld, Int_t nanosec) | |
| VaChip (const VaChip &rhs) | |
| ~VaChip () | |
| void | AddVaChannel (Int_t vachannel, Int_t vaparam) |
| Int_t | GetVaChannel () const |
| Int_t | GetVaChannelWord () const |
| Int_t | GetVaChannelCount () const |
| void | SetVaChipStatus (VaChipStatus_t status) |
| VaChipStatus_t | GetVaChipStatus () 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 | GetShld () const |
| Int_t | GetNanosec () const |
| Bool_t | IsSameCrate (Int_t crate) const |
| Bool_t | IsSameVarc (Int_t crate, Int_t varc) const |
| Bool_t | IsSameVmm (Int_t crate, Int_t varc, Int_t vmm) const |
| Bool_t | IsSameVaadc (Int_t crate, Int_t varc, Int_t vmm, Int_t vaadc) const |
| Bool_t | IsSameVaChip (Int_t crate, Int_t varc, Int_t vmm, Int_t vaadc, Int_t vachip) const |
Private Attributes | |
| Int_t | fCrate |
| Int_t | fVarc |
| Int_t | fVmm |
| Int_t | fVaadc |
| Int_t | fVaChip |
| Int_t | fPlane |
| Int_t | fShld |
| Int_t | fNanosec |
| Int_t | fVaParam |
| Int_t | fVaChannel |
| Int_t | fVaChannelWord |
| Int_t | fVaChannelCount |
| VaChipStatus_t | fStatus |
|
|
Referenced by GetVaChipStatus(). |
|
|
Definition at line 11 of file VaChip.h. 00011 {
00012 kGood = 0x00,
00013 kBad = 0x01,
00014 kBusy = 0x02,
00015 kDead = 0x03,
00016 kCold = 0x04,
00017 kHot = 0x05
00018 } VaChipStatus_t;
|
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 5 of file VaChip.cxx. 00007 {
00008 fCrate=crate;
00009 fVarc=varc;
00010 fVmm=vmm;
00011 fVaadc=vaadc;
00012 fVaChip=vachip;
00013 fPlane=plane;
00014 fShld=shld;
00015 fNanosec=nanosec;
00016 fVaParam=0;
00017 fVaChannel=-1;
00018 fVaChannelWord=0;
00019 fVaChannelCount=0;
00020 }
|
|
|
Definition at line 22 of file VaChip.cxx. 00022 : 00023 TObject(rhs), 00024 fCrate(rhs.fCrate), 00025 fVarc(rhs.fVarc), 00026 fVmm(rhs.fVmm), 00027 fVaadc(rhs.fVaadc), 00028 fVaChip(rhs.fVaChip), 00029 fPlane(rhs.fPlane), 00030 fShld(rhs.fShld), 00031 fNanosec(rhs.fNanosec), 00032 fVaParam(rhs.fVaParam), 00033 fVaChannel(rhs.fVaChannel), 00034 fVaChannelWord(rhs.fVaChannelWord), 00035 fVaChannelCount(rhs.fVaChannelCount), 00036 fStatus(rhs.fStatus) 00037 { 00038 00039 }
|
|
|
Definition at line 41 of file VaChip.cxx. 00042 {
00043
00044 }
|
|
||||||||||||
|
Definition at line 46 of file VaChip.cxx. References fVaChannel, fVaChannelCount, and fVaParam. Referenced by FarDetDataQualityModule::ProcessBlock(). 00047 {
00048
00049
00050 if(vaparam>fVaParam){
00051 fVaChannel=vachannel; fVaParam=vaparam;
00052 }
00053
00054 fVaChannelCount++;
00055 }
|
|
|
Definition at line 62 of file VaChip.cxx. Referenced by AlgFarDetDataQuality::RunAlg(), and FarDetDeadChipHandle::SetVaChip(). 00063 {
00064 return fCrate;
00065 }
|
|
|
Definition at line 97 of file VaChip.cxx. Referenced by FarDetDataQualityModule::ProcessBlock(), AlgFarDetDataQuality::RunAlg(), and FarDetDeadChipHandle::SetVaChip(). 00098 {
00099 return fNanosec;
00100 }
|
|
|
Definition at line 87 of file VaChip.cxx. Referenced by AlgFarDetDataQuality::RunAlg(), and FarDetDeadChipHandle::SetVaChip(). 00088 {
00089 return fPlane;
00090 }
|
|
|
Definition at line 92 of file VaChip.cxx. Referenced by AlgFarDetDataQuality::RunAlg(), and FarDetDeadChipHandle::SetVaChip(). 00093 {
00094 return fShld;
00095 }
|
|
|
Definition at line 77 of file VaChip.cxx. Referenced by AlgFarDetDataQuality::RunAlg(), and FarDetDeadChipHandle::SetVaChip(). 00078 {
00079 return fVaadc;
00080 }
|
|
|
Definition at line 102 of file VaChip.cxx. Referenced by AlgFarDetDataQuality::RunAlg(). 00103 {
00104 return fVaChannel;
00105 }
|
|
|
Definition at line 112 of file VaChip.cxx. 00113 {
00114 return fVaChannelCount;
00115 }
|
|
|
Definition at line 107 of file VaChip.cxx. 00108 {
00109 return fVaChannelWord;
00110 }
|
|
|
Definition at line 82 of file VaChip.cxx. Referenced by AlgFarDetDataQuality::RunAlg(), and FarDetDeadChipHandle::SetVaChip(). 00083 {
00084 return fVaChip;
00085 }
|
|
|
Definition at line 117 of file VaChip.cxx. References VaChipStatus_t. Referenced by AlgFarDetDataQuality::RunAlg(), and FarDetDeadChipHandle::SetVaChip(). 00118 {
00119 return fStatus;
00120 }
|
|
|
Definition at line 67 of file VaChip.cxx. Referenced by AlgFarDetDataQuality::RunAlg(), and FarDetDeadChipHandle::SetVaChip(). 00068 {
00069 return fVarc;
00070 }
|
|
|
Definition at line 72 of file VaChip.cxx. Referenced by AlgFarDetDataQuality::RunAlg(), and FarDetDeadChipHandle::SetVaChip(). 00073 {
00074 return fVmm;
00075 }
|
|
|
Definition at line 122 of file VaChip.cxx. References fCrate. 00123 {
00124 if(fCrate==crate) return 1; else return 0;
00125 }
|
|
||||||||||||||||||||
|
Definition at line 137 of file VaChip.cxx. References fCrate, fVaadc, fVarc, and fVmm. 00138 {
00139 if(fCrate==crate && fVarc==varc && fVmm==vmm && fVaadc==vaadc) return 1; else return 0;
00140 }
|
|
||||||||||||||||||||||||
|
Definition at line 142 of file VaChip.cxx. References fCrate, fVaadc, fVaChip, fVarc, and fVmm. Referenced by FarDetDataQualityModule::ProcessBlock(). 00143 {
00144 if(fCrate==crate && fVarc==varc && fVmm==vmm && fVaadc==vaadc && fVaChip==vachip) return 1; else return 0;
00145 }
|
|
||||||||||||
|
Definition at line 127 of file VaChip.cxx.
|
|
||||||||||||||||
|
Definition at line 132 of file VaChip.cxx. References fCrate, fVarc, and fVmm. Referenced by AlgFarDetDataQuality::RunAlg().
|
|
|
Definition at line 57 of file VaChip.cxx. References fStatus. Referenced by FarDetDataQualityModule::ProcessBlock(). 00058 {
00059 fStatus=status;
00060 }
|
|
|
Definition at line 50 of file VaChip.h. Referenced by IsSameCrate(), IsSameVaadc(), IsSameVaChip(), IsSameVarc(), and IsSameVmm(). |
|
|
Definition at line 57 of file VaChip.h. Referenced by FarDetDeadChipHandle::SetVaChip(). |
|
|
|
|
|
|
|
|
Definition at line 64 of file VaChip.h. Referenced by FarDetDeadChipHandle::SetVaChip(), and SetVaChipStatus(). |
|
|
Definition at line 53 of file VaChip.h. Referenced by IsSameVaadc(), IsSameVaChip(), and FarDetDeadChipHandle::SetVaChip(). |
|
|
Definition at line 60 of file VaChip.h. Referenced by AddVaChannel(). |
|
|
Definition at line 62 of file VaChip.h. Referenced by AddVaChannel(). |
|
|
|
|
|
Definition at line 54 of file VaChip.h. Referenced by IsSameVaChip(), and FarDetDeadChipHandle::SetVaChip(). |
|
|
Definition at line 59 of file VaChip.h. Referenced by AddVaChannel(). |
|
|
Definition at line 51 of file VaChip.h. Referenced by IsSameVaadc(), IsSameVaChip(), IsSameVarc(), IsSameVmm(), and FarDetDeadChipHandle::SetVaChip(). |
|
|
Definition at line 52 of file VaChip.h. Referenced by IsSameVaadc(), IsSameVaChip(), IsSameVmm(), and FarDetDeadChipHandle::SetVaChip(). |
1.3.9.1