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

Public Member Functions | |
| CandDigitHandle () | |
| CandDigitHandle (const CandDigitHandle &cdh) | |
| CandDigitHandle (CandDigit *cd) | |
| virtual | ~CandDigitHandle () |
| virtual CandDigitHandle * | DupHandle () const |
| RawChannelId | GetChannelId () const |
| Float_t | GetCharge (CalDigitType::CalDigitType_t=CalDigitType::kNone) const |
| const PlexSEIdAltL & | GetPlexSEIdAltL () const |
| PlexSEIdAltL & | GetPlexSEIdAltLWritable () |
| Int_t | GetRawDigitIndex () const |
| Double_t | GetSubtractedTime (CalTimeType::CalTimeType_t=CalTimeType::kNone) const |
| Double_t | GetTime (CalTimeType::CalTimeType_t=CalTimeType::kNone) const |
| Char_t | GetVaErrorBits () const |
| Char_t | GetQieErrorBits () const |
| void | SetChannelId (RawChannelId chid) |
| void | SetCharge (Float_t chg) |
| void | SetPlexSEIdAltL (PlexSEIdAltL &altlist) |
| void | SetRawDigitIndex (Int_t rawdigitindex) |
| void | SetTime (Double_t time) |
| void | SetVaErrorBits (Char_t vaerrbits) |
| void | SetQieErrorBits (Char_t qieerrbits) |
| virtual void | Trace (const char *c="") const |
|
|
Definition at line 29 of file CandDigitHandle.cxx. Referenced by DupHandle(). 00030 {
00031 }
|
|
|
Definition at line 34 of file CandDigitHandle.cxx. 00034 : 00035 CandHandle(cdh) 00036 { 00037 }
|
|
|
Definition at line 40 of file CandDigitHandle.cxx. 00040 : 00041 CandHandle(cd) 00042 { 00043 }
|
|
|
Definition at line 46 of file CandDigitHandle.cxx. 00047 {
00048 }
|
|
|
Reimplemented from CandHandle. Reimplemented in CandDeMuxDigitHandle. Definition at line 51 of file CandDigitHandle.cxx. References CandDigitHandle(). Referenced by AlgFitTrackCamList::CheckWeights(), AlgFitTrackCam::GenerateNDSpectStrips(), and AlgTrackSRList::SpectrometerTracking(). 00052 {
00053 return (new CandDigitHandle(*this));
00054 }
|
|
|
|
|
|
|
Definition at line 192 of file CandDigitHandle.cxx. References CandHandle::GetCandBase(). Referenced by MCAnalysis::Ana(), AlgRmMu::RunAlg(), AlgPassThru::RunAlg(), and AlgFilterDigitList::RunAlg(). 00193 {
00194 return ((CandDigit *) GetCandBase())->fQieErrorBits;
00195 }
|
|
|
Definition at line 123 of file CandDigitHandle.cxx. References CandHandle::GetCandBase(). Referenced by TimeCalibratorSRModule::Ana(), StripCands::Ana(), MCAnalysis::Ana(), FitTrackMSListModule::Ana(), NtpSRBleachFiller::GetlateBucketPHFraction(), Truthifier::GetRawDigit(), Truthifier::GetSignal(), MergeEvent::Reco(), AlgStripSRList::RunAlg(), AlgRmMu::RunAlg(), AlgPassThru::RunAlg(), AlgMuonRemoval::RunAlg(), AlgMergeEvent::RunAlg(), AlgCosmicMuonRemoval::RunAlg(), GfxDigit::SetColor(), and AlgTrackSRList::SpectrometerTracking(). 00124 {
00125 return ((CandDigit *) GetCandBase())->fRawDigitIndex;
00126 }
|
|
|
Definition at line 129 of file CandDigitHandle.cxx. References CandDigitListHandle::GetAbsTime(), CandHandle::GetMother(), and GetTime(). Referenced by NtpMaker::FillDeMuxInfo(), CandStripHandle::GetBegTime(), CandStripHandle::GetEndTime(), CandStripHandle::GetTime(), KeyFromDigitTime(), AlgFitTrackCam::NDStripBegTime(), AlgFilterDigitListSR::RunAlg(), AlgFilterDigitList::RunAlg(), AlgFarDetStripList::RunAlg(), AlgFarDetStrip::RunAlg(), AlgFarDetShieldPlankList::RunAlg(), and AlgFarDetShieldPlank::RunAlg(). 00131 {
00132
00133 // Return GetTime() value minus mother CandDigitList GetAbsTime() offset
00134 // No offset subtraction is done if no CandDigitList mother exists.
00135 const CandDigitListHandle *mother =
00136 dynamic_cast<const CandDigitListHandle *>(GetMother());
00137 if (mother) return GetTime(caltype_t) - mother->GetAbsTime();
00138 else return GetTime(caltype_t);
00139 }
|
|
|
Definition at line 142 of file CandDigitHandle.cxx. References PlexSEIdAltLItem::fTime, PlexSEIdAltL::GetBestItem(), CandHandle::GetCandBase(), PlexSEIdAltL::GetDemuxVetoFlag(), GetPlexSEIdAltL(), PlexSEIdAltLItem::GetTime(), and MSG. Referenced by TridModel::AddDigit(), DmxDeMuxModule::Ana(), DmxDeMuxCosmicsModule::Ana(), ChopModule::Ana(), GfxDigitList::DigitMasked(), ChopHelper::GetChopHelp(), GfxDigitList::GetDigitColor(), GetSubtractedTime(), DmxMuonPlane::GetTimingOffset(), DmxHypothesis::GetTimingOffset(), CDTruthifier::GetTruthHitInfo(), VaDigit::IsSameTime(), CalHelpers::KeyFromDigitTime(), AlgStripSRList::MakeXtalkMap(), compareDigitTimes::operator()(), MergeEvent::Reco(), BiggestChopModule::Reco(), Coroner::RecordDeadStrips(), AlgShieldPlank::RunAlg(), AlgRmMu::RunAlg(), AlgPassThru::RunAlg(), AlgMCDigit::RunAlg(), AlgFilterDigitListSR::RunAlg(), AlgFilterDigitListAB::RunAlg(), AlgFarDetShieldPlankList::RunAlg(), AlgDigit::RunAlg(), AlgDIConvert::RunAlg(), AlgChopListSharp2::RunAlg(), AlgChop::RunAlg(), AlgCaldetDigit::RunAlg(), AlgStripSRList::RunAlgMixed(), AlgStripSRList::RunAlgNear(), and StripSRKeyFromTime(). 00144 {
00145
00146 // Return digit time without CandDigitList GetAbsTime offset subtraction
00147
00148 // Return uncalibrated time straight away, if desired.
00149 if (caltype_t == CalTimeType::kNone) {
00150 return ((CandDigit *) GetCandBase())->fTime;
00151 }
00152
00153 // Check against Demux veto before returning a calibrated time.
00154 const PlexSEIdAltL &seidl = GetPlexSEIdAltL();
00155 if (seidl.GetDemuxVetoFlag() != 0) {
00156 MSG("Cand", Msg::kWarning)
00157 << " *** Invalid PlexSEIdAltL. DeMuxVetoFlag = "
00158 << seidl.GetDemuxVetoFlag() << endl
00159 << "Return uncalibrated time." << endl;
00160 return ((CandDigit *) GetCandBase())->fTime;
00161 }
00162
00163 switch (caltype_t) {
00164 // M. Kordosky, Jan 19, 2005 ... noticed while browsing
00165 // We check for caltype_t==kNone and deal with it
00166 // in the first line of the present function.
00167 // Why do it again?
00168 // case (CalTimeType::kNone):
00169 // return ((CandDigit *) GetCandBase())->fTime;
00170 // break;
00171 case (CalTimeType::kT0):
00172 return seidl.GetBestItem().GetTime();
00173 break;
00174 default:
00175 MSG("Cand", Msg::kError)
00176 << " *** Unknown Digit time type = "
00177 << caltype_t << endl
00178 << "Return uncalibrated time."
00179 << endl;
00180 return ((CandDigit *) GetCandBase())->fTime;
00181 break;
00182 }
00183 }
|
|
|
Definition at line 186 of file CandDigitHandle.cxx. References CandHandle::GetCandBase(). Referenced by AlgRmMu::RunAlg(), AlgPassThru::RunAlg(), and AlgFilterDigitList::RunAlg(). 00187 {
00188 return ((CandDigit *) GetCandBase())->fVaErrorBits;
00189 }
|
|
|
Definition at line 198 of file CandDigitHandle.cxx. References CandHandle::GetOwnedCandBase(). Referenced by AlgPassThru::RunAlg(), AlgMCDigit::RunAlg(), AlgDigit::RunAlg(), AlgDIConvert::RunAlg(), and AlgCaldetDigit::RunAlg(). 00199 {
00200 ((CandDigit *) GetOwnedCandBase())->fChannelId = chid;
00201 }
|
|
|
Definition at line 204 of file CandDigitHandle.cxx. References CandHandle::GetOwnedCandBase(). Referenced by AlgPassThru::RunAlg(), AlgMCDigit::RunAlg(), AlgDigit::RunAlg(), AlgDIConvert::RunAlg(), and AlgCaldetDigit::RunAlg(). 00205 {
00206 ((CandDigit *) GetOwnedCandBase())->fCharge = chg;
00207 }
|
|
|
Definition at line 210 of file CandDigitHandle.cxx. References CandHandle::GetOwnedCandBase(). Referenced by AlgPassThru::RunAlg(), AlgMCDigit::RunAlg(), AlgDigit::RunAlg(), AlgDIConvert::RunAlg(), and AlgCaldetDigit::RunAlg(). 00211 {
00212 ((CandDigit *) GetOwnedCandBase())->fPlexSEIdAltL = altlist;
00213 }
|
|
|
Definition at line 234 of file CandDigitHandle.cxx. References CandHandle::GetOwnedCandBase(). Referenced by AlgPassThru::RunAlg(), AlgMCDigit::RunAlg(), AlgDigit::RunAlg(), and AlgCaldetDigit::RunAlg(). 00235 {
00236 ((CandDigit *) GetOwnedCandBase())->fQieErrorBits = qieerrbits;
00237 }
|
|
|
Definition at line 216 of file CandDigitHandle.cxx. References CandHandle::GetOwnedCandBase(). Referenced by AlgPassThru::RunAlg(), AlgMCDigitList::RunAlg(), AlgDigitList::RunAlg(), AlgDIConvert::RunAlg(), and AlgCaldetDigitList::RunAlg(). 00217 {
00218 ((CandDigit *) GetOwnedCandBase())->fRawDigitIndex = rawdigitindex;
00219 }
|
|
|
Definition at line 222 of file CandDigitHandle.cxx. References CandHandle::GetOwnedCandBase(). Referenced by AlgPassThru::RunAlg(), AlgMCDigit::RunAlg(), AlgDigit::RunAlg(), AlgDIConvert::RunAlg(), and AlgCaldetDigit::RunAlg(). 00223 {
00224 ((CandDigit *) GetOwnedCandBase())->fTime = time;
00225 }
|
|
|
Definition at line 228 of file CandDigitHandle.cxx. References CandHandle::GetOwnedCandBase(). Referenced by AlgPassThru::RunAlg(), AlgMCDigit::RunAlg(), AlgDigit::RunAlg(), and AlgCaldetDigit::RunAlg(). 00229 {
00230 ((CandDigit *) GetOwnedCandBase())->fVaErrorBits = vaerrbits;
00231 }
|
|
|
Reimplemented from CandHandle. Reimplemented in CandDeMuxDigitHandle. Definition at line 240 of file CandDigitHandle.cxx. References MSG, and CandHandle::Trace(). Referenced by CandDeMuxDigitHandle::Trace(). 00241 {
00242 MSG("Cand", Msg::kDebug)
00243 << "**********Begin CandDigitHandle::Trace(\"" << c << "\")" << endl
00244 << "Information from CandDigitHandle's CandHandle: " << endl;
00245 CandHandle::Trace(c);
00246 MSG("Cand", Msg::kDebug)
00247 << "**********End CandDigitHandle::Trace(\"" << c << "\")" << endl;
00248 }
|
1.3.9.1