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

Public Member Functions | |
| CandDigitBadChannels () | |
| CandDigitBadChannels (Int_t crate, Int_t chadd, Int_t badnessReason, Int_t parA, Float_t parB, Float_t parC) | |
| virtual | ~CandDigitBadChannels () |
| Bool_t | CanL2Cache () const |
| Int_t | GetCrate () const |
| Int_t | GetChAdd () const |
| Int_t | GetBadnessReason () const |
| Int_t | GetParA () const |
| Float_t | GetParB () const |
| Float_t | GetParC () const |
| virtual DbiTableRow * | CreateTableRow () const |
| virtual void | Fill (DbiResultSet &rs, const DbiValidityRec *vrec) |
| virtual void | Store (DbiOutRowStream &ors, const DbiValidityRec *vrec) const |
Private Member Functions | |
| CandDigitBadChannels (const CandDigitBadChannels &from) | |
Private Attributes | |
| Int_t | fCrate |
| Int_t | fChAdd |
| Int_t | fBadnessReason |
| Int_t | fParA |
| Float_t | fParB |
| Float_t | fParC |
|
|
Definition at line 18 of file CandDigitBadChannels.h. References fBadnessReason, fChAdd, fCrate, fParA, fParB, and fParC. 00018 : 00019 fCrate(-1),fChAdd(-1),fBadnessReason(-1), 00020 fParA(-1),fParB(-1),fParC(-1) {;} CandDigitBadChannels(Int_t crate,Int_t chadd,Int_t badnessReason,
|
|
||||||||||||||||||||||||||||
|
Definition at line 21 of file CandDigitBadChannels.h. References fBadnessReason, fChAdd, fCrate, fParA, fParB, and fParC. 00022 : 00023 fCrate(crate),fChAdd(chadd),fBadnessReason(badnessReason), 00024 fParA(parA),fParB(parB),fParC(parC) {;} virtual ~CandDigitBadChannels() {;}
|
|
|
Definition at line 25 of file CandDigitBadChannels.h. 00025 {;}
|
|
|
Definition at line 49 of file CandDigitBadChannels.h. 00050 : DbiTableRow(from) {*this=from;}
|
|
|
Reimplemented from DbiTableRow. Definition at line 28 of file CandDigitBadChannels.h. 00028 {return kTRUE;}
|
|
|
Implements DbiTableRow. Definition at line 38 of file CandDigitBadChannels.h. 00038 {
00039 return new CandDigitBadChannels; }
|
|
||||||||||||
|
Implements DbiTableRow. Definition at line 32 of file CandDigitBadChannels.cxx. References MAXMSG. 00034 {
00035 //Purpose: Fill object from Result Set
00036
00037 if (rs.TableName()=="CANDDIGITBADCHANNELS") {
00038 //Dumb method
00039 //cout<<"Using dumb method"<<endl;
00040 rs>>fCrate>>fChAdd>>fBadnessReason>>fParA>>fParB>>fParC;
00041 }
00042 else {
00043 //Smart method
00044 //cout<<"Using smart method"<<endl;
00045 Int_t numCol=rs.NumCols();
00046
00047 //The first column (SeqNo) has already been processed.
00048 for (Int_t curCol=rs.HasRowCounter() ? 3:2;curCol<=numCol;++curCol){
00049 string colName=rs.CurColName();
00050 if (colName=="CRATE") rs>>fCrate;
00051 else if (colName=="CHADD") rs>>fChAdd;
00052 else if (colName=="BADNESSREASON") rs>>fBadnessReason;
00053 else if (colName=="PARA") rs>>fParA;
00054 else if (colName=="PARB") rs>>fParB;
00055 else if (colName=="PARC") rs>>fParC;
00056 else {
00057 MAXMSG("Dbi",Msg::kInfo,200)
00058 <<"Ignoring column "<<curCol<<" ("<<colName<<")"
00059 <<": not part of CandDigitBadChannels"<<endl;
00060 rs.IncrementCurCol();
00061 }
00062 }
00063 }
00064 }
|
|
|
Definition at line 92 of file CandDigitBadChannels.cxx. 00093 {
00094 return fBadnessReason;
00095 }
|
|
|
Definition at line 85 of file CandDigitBadChannels.cxx. Referenced by AlgFilterDigitList::MakeBadChannelMapDB(). 00086 {
00087 return fChAdd;
00088 }
|
|
|
Definition at line 78 of file CandDigitBadChannels.cxx. Referenced by AlgFilterDigitList::MakeBadChannelMapDB(). 00079 {
00080 return fCrate;
00081 }
|
|
|
Definition at line 99 of file CandDigitBadChannels.cxx. 00100 {
00101 return fParA;
00102 }
|
|
|
Definition at line 106 of file CandDigitBadChannels.cxx. 00107 {
00108 return fParB;
00109 }
|
|
|
Definition at line 113 of file CandDigitBadChannels.cxx. 00114 {
00115 return fParC;
00116 }
|
|
||||||||||||
|
Purpose: Stream object to output row stream Reimplemented from DbiTableRow. Definition at line 68 of file CandDigitBadChannels.cxx. References fBadnessReason, fChAdd, fCrate, fParA, and fParB. 00070 {
00072
00073 ors<<fCrate<<fChAdd<<fBadnessReason<<fParA<<fParB<<fParC;
00074 }
|
|
|
Definition at line 55 of file CandDigitBadChannels.h. Referenced by CandDigitBadChannels(), and Store(). |
|
|
Definition at line 54 of file CandDigitBadChannels.h. Referenced by CandDigitBadChannels(), and Store(). |
|
|
Definition at line 53 of file CandDigitBadChannels.h. Referenced by CandDigitBadChannels(), and Store(). |
|
|
Definition at line 56 of file CandDigitBadChannels.h. Referenced by CandDigitBadChannels(), and Store(). |
|
|
Definition at line 57 of file CandDigitBadChannels.h. Referenced by CandDigitBadChannels(), and Store(). |
|
|
Definition at line 58 of file CandDigitBadChannels.h. Referenced by CandDigitBadChannels(). |
1.3.9.1