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

Public Member Functions | |
| CalDetOverlapWin () | |
| CalDetOverlapWin (UInt_t ptype, Float_t winlow, Float_t winhigh) | |
| virtual | ~CalDetOverlapWin () |
| UInt_t | GetIndex (UInt_t) const |
| UInt_t | GetParticleType () const |
| Float_t | GetWinLow () const |
| Float_t | GetWinHigh () const |
| virtual DbiTableRow * | CreateTableRow () const |
| virtual void | Print (Option_t *op="") const |
| std::ostream & | Print (std::ostream &, Option_t *op="") const |
| virtual void | Fill (DbiResultSet &rs, const DbiValidityRec *vrec) |
| virtual void | Store (DbiOutRowStream &ors, const DbiValidityRec *vrec) const |
Static Public Member Functions | |
| std::string | GetTableDesc () |
Private Member Functions | |
| CalDetOverlapWin (const CalDetOverlapWin &from) | |
Private Attributes | |
| UInt_t | fParticleType |
| Float_t | fWinLow |
| Float_t | fWinHigh |
|
|
Definition at line 17 of file CalDetOverlapWin.h. 00017 { LEA_CTOR; }
|
|
||||||||||||||||
|
Definition at line 18 of file CalDetOverlapWin.h. References fParticleType, fWinHigh, and fWinLow. 00020 : 00021 fParticleType(ptype), 00022 fWinLow(winlow), fWinHigh(winhigh) 00023 { LEA_CTOR; }
|
|
|
Definition at line 25 of file CalDetOverlapWin.h. 00025 { LEA_DTOR; }
|
|
|
Definition at line 51 of file CalDetOverlapWin.h. 00052 : DbiTableRow() { LEA_CTOR; *this = from; }
|
|
|
Implements DbiTableRow. Definition at line 33 of file CalDetOverlapWin.h. 00033 {
00034 return new CalDetOverlapWin; }
|
|
||||||||||||
|
Implements DbiTableRow. Definition at line 19 of file CalDetOverlapWin.cxx. References MSG. 00020 {
00021
00022 if ( rs.TableName() == "CALDETOVERLAPWIN" ) {
00023 // dumb filling
00024 rs>> fParticleType
00025 >> fWinLow
00026 >> fWinHigh;
00027 }
00028 else{
00029 // Smart method
00030 Int_t numCol = rs.NumCols();
00031 // The first column (SeqNo) has already been processed.
00032 for (Int_t curCol = rs.HasRowCounter() ? 3 : 2; curCol <= numCol; ++curCol) {
00033 string colName = rs.CurColName();
00034 if ( colName == "PARTICLETYPE" ) rs >> fParticleType;
00035 else if ( colName == "WINLOW" ) rs >> fWinLow;
00036 else if ( colName == "WINHIGH" ) rs >> fWinHigh;
00037 else {
00038 MSG("Dbi",Msg::kDebug) << "Ignoring column " << curCol
00039 << "(" << colName << ")"
00040 << "; not part of CalDetOverlapWin"
00041 << endl;
00042 rs.IncrementCurCol();
00043 }
00044 }
00045
00046 }
00047 }
|
|
|
Reimplemented from DbiTableRow. Definition at line 28 of file CalDetOverlapWin.h. 00028 { return fParticleType; }
|
|
|
Definition at line 29 of file CalDetOverlapWin.h. Referenced by main(), and AlgCalDetPID::RunAlg(). 00029 { return fParticleType; }
|
|
|
Definition at line 78 of file CalDetOverlapWin.cxx. 00079 {
00080 return std::string(
00081 "(SeqNo int, PARTICLETYPE int,"
00082 " WINLOW float, WINHIGH float)"
00083 );
00084 }
|
|
|
Definition at line 31 of file CalDetOverlapWin.h. Referenced by main(), and AlgCalDetPID::RunAlg(). 00031 {return fWinHigh;}
|
|
|
Definition at line 30 of file CalDetOverlapWin.h. Referenced by main(), and AlgCalDetPID::RunAlg(). 00030 {return fWinLow;}
|
|
||||||||||||
|
Definition at line 57 of file CalDetOverlapWin.cxx. References fParticleType, fWinHigh, and fWinLow. 00058 {
00059 os<< "-----------------------------------------------\n"
00060 << "PARTICLETYPE: "<<fParticleType<<"\n"
00061 << "WINLOW: "<<fWinLow<<"\n"
00062 << "WINHIGH: "<<fWinHigh<<"\n"
00063 << "-----------------------------------------------\n";
00064 return os;
00065 }
|
|
|
Definition at line 72 of file CalDetOverlapWin.cxx. Referenced by main(), and operator<<(). 00073 {
00074 Print(std::cout,op);
00075 }
|
|
||||||||||||
|
Reimplemented from DbiTableRow. Definition at line 49 of file CalDetOverlapWin.cxx. References fParticleType, and fWinLow. 00050 {
00051 // MSG("Dbi", Msg::kVerbose)<<"Calling Store!"<<std::endl;
00052 ors<< fParticleType
00053 << fWinLow
00054 << fWinHigh;
00055 }
|
|
|
Definition at line 57 of file CalDetOverlapWin.h. Referenced by CalDetOverlapWin(), Print(), and Store(). |
|
|
Definition at line 61 of file CalDetOverlapWin.h. Referenced by CalDetOverlapWin(), and Print(). |
|
|
Definition at line 60 of file CalDetOverlapWin.h. Referenced by CalDetOverlapWin(), Print(), and Store(). |
1.3.9.1