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

Public Member Functions | |
| PulserRawDriftPin () | |
| PulserRawDriftPin (Int_t aggNo, PlexPinDiodeId pinid, Float_t mean, Float_t error, Float_t num_entries) | |
| virtual | ~PulserRawDriftPin () |
| void | New (Int_t aggNo, PlexPinDiodeId pinid, const PulserSummary &ps) |
| Int_t | GetAggregateNo () const |
| UInt_t | GetIndex (UInt_t) const |
| PlexPinDiodeId | GetPinDiodeId () const |
| const Float_t | GetMean () const |
| const Float_t | GetError () const |
| const Float_t | GetNumEntries () const |
| virtual DbiTableRow * | CreateTableRow () const |
| virtual void | Fill (DbiResultSet &rs, const DbiValidityRec *vrec) |
| virtual void | Store (DbiOutRowStream &ors, const DbiValidityRec *vrec) const |
Private Attributes | |
| Int_t | fAggregateNo |
| PlexPinDiodeId | fPlexPinDiodeId |
| Float_t | fMean |
| Float_t | fError |
| Float_t | fNumEntries |
|
|
Definition at line 49 of file PulserRawDriftPin.cxx. 00050 {
00051 fAggregateNo = -1;
00052 //fPinId = -1;
00053 fMean = -1;
00054 fError=-1;
00055 fNumEntries=-1;
00056 }
|
|
||||||||||||||||||||||||
|
Definition at line 58 of file PulserRawDriftPin.cxx. 00060 : 00061 fAggregateNo(aggNo) , fPlexPinDiodeId(pinid) , fMean(mean), 00062 fError(error), fNumEntries(num_entries) 00063 { 00064 00065 }
|
|
|
Definition at line 42 of file PulserRawDriftPin.h. 00042 {};
|
|
|
Implements DbiTableRow. Definition at line 54 of file PulserRawDriftPin.h. 00054 { return new PulserRawDriftPin;}
|
|
||||||||||||
|
Implements DbiTableRow. Definition at line 78 of file PulserRawDriftPin.cxx. References det, fAggregateNo, fError, fMean, fPlexPinDiodeId, VldRange::GetDetectorMask(), DbiValidityRec::GetVldRange(), and ElecType::StringToEnum(). 00080 {
00081
00082 Detector::Detector_t det =
00083 (Detector::Detector_t)
00084 ((vrec) ? vrec->GetVldRange().GetDetectorMask() : 0);
00085
00086 string elecName="Unknown";
00087 char elecType = ElecType::kUnknown;
00088 char rackEastWest='?', rackLevel='?';
00089 int rackBay=0, muxboxInRack=0;
00090 int diodeinbox=0, gain=0;
00091
00092 // SeqNo int,
00093 // AggregateNo int,
00094 // ElecName tinytext,
00095 // RackEastWest char(1),
00096 // RackLevel char(1),
00097 // RackBay tinyint,
00098 // MuxBoxInRack tinyint,
00099 // DiodeInBox tinyint,
00100 // Gain tinyint,
00101 // Mean float,
00102 // Error float,
00103 // NumEntries int
00104
00105 rs >> fAggregateNo
00106 >> elecName
00107 >> rackEastWest
00108 >> rackLevel
00109 >> rackBay
00110 >> muxboxInRack
00111 >> diodeinbox
00112 >> gain
00113 >> fMean
00114 >> fError
00115 >> fNumEntries;
00116
00117
00118 ElecType::Elec_t elec = ElecType::StringToEnum(elecName.c_str(),1);
00119 if (ElecType::kUnknown == elec) elec = (ElecType::Elec_t) elecType;
00120
00121 fPlexPinDiodeId = PlexPinDiodeId(det,elec,rackEastWest,rackLevel,
00122 rackBay,muxboxInRack,diodeinbox,gain);
00123
00124 }
|
|
|
Reimplemented from DbiTableRow. Definition at line 46 of file PulserRawDriftPin.h. 00046 { return fAggregateNo; }
|
|
|
Definition at line 51 of file PulserRawDriftPin.h. Referenced by PulserTimePlotter::CreateGraph(), and LIPlexMaps::GetRawPinLedMap(). 00051 {return fError;}
|
|
|
Reimplemented from DbiTableRow. Definition at line 47 of file PulserRawDriftPin.h. References fPlexPinDiodeId, and PlexPinDiodeId::GetEncoded(). 00047 { return fPlexPinDiodeId.GetEncoded(); }
|
|
|
Definition at line 50 of file PulserRawDriftPin.h. Referenced by PulserTimePlotter::CreateGraph(), PulserSigLinCalScheme::GetDriftPinDiodeValue(), LIPlexMaps::GetRawPinLedMap(), and LIPlexMaps::GetRawPinMap(). 00050 {return fMean;}
|
|
|
Definition at line 52 of file PulserRawDriftPin.h. Referenced by PulserSigLinCalScheme::GetDriftPinDiodeValue(), and LIPlexMaps::GetRawPinLedMap(). 00052 {return fNumEntries;}
|
|
|
Definition at line 48 of file PulserRawDriftPin.h. Referenced by LIPlexMaps::GetRawPinLedMap(), LIPlexMaps::GetRawPinMap(), and LIPlexMaps::ReadDbPulserDriftPin(). 00048 {return fPlexPinDiodeId;}
|
|
||||||||||||||||
|
Definition at line 67 of file PulserRawDriftPin.cxx. References fAggregateNo, fError, fMean, fNumEntries, fPlexPinDiodeId, PulserSummary::GetEntries(), PulserSummary::GetError(), and PulserSummary::GetMean(). Referenced by PulserFromRawCollectorModule::Reco(), and PulserCollectorModule::Reco(). 00069 {
00070 fAggregateNo = aggNo;
00071 fPlexPinDiodeId = pinid;
00072 fMean = ps.GetMean();
00073 fError = ps.GetError();
00074 fNumEntries = ps.GetEntries();
00075 }
|
|
||||||||||||
|
Reimplemented from DbiTableRow. Definition at line 126 of file PulserRawDriftPin.cxx. References ElecType::AsString(), fAggregateNo, fError, fMean, fPlexPinDiodeId, PlexMuxBoxId::GetEastWest(), PlexMuxBoxId::GetElecType(), PlexPinDiodeId::GetGain(), PlexPinDiodeId::GetInBox(), PlexMuxBoxId::GetInRack(), PlexMuxBoxId::GetRackBay(), and PlexMuxBoxId::GetRackLevel(). 00128 {
00129 ElecType::Elec_t elec = fPlexPinDiodeId.GetElecType();
00130 // int numeric = fPlexPinDiodeId.GetNumericMuxBox();
00131 char rackEastWest = fPlexPinDiodeId.GetEastWest();
00132 char rackLevel = fPlexPinDiodeId.GetRackLevel();
00133 int rackBay = fPlexPinDiodeId.GetRackBay();
00134 int muxInRack = fPlexPinDiodeId.GetInRack();
00135 ors << fAggregateNo
00136 << ElecType::AsString(elec)
00137 << rackEastWest
00138 << rackLevel
00139 << rackBay
00140 << muxInRack
00141 << fPlexPinDiodeId.GetInBox()
00142 << fPlexPinDiodeId.GetGain()
00143 << fMean
00144 << fError
00145 << fNumEntries;
00146
00147 }
|
|
|
Definition at line 63 of file PulserRawDriftPin.h. |
|
|
Definition at line 67 of file PulserRawDriftPin.h. |
|
|
Definition at line 66 of file PulserRawDriftPin.h. |
|
|
Definition at line 68 of file PulserRawDriftPin.h. Referenced by New(). |
|
|
Definition at line 65 of file PulserRawDriftPin.h. Referenced by Fill(), GetIndex(), New(), and Store(). |
1.3.9.1