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

|
|
Definition at line 42 of file CandStripHandle.cxx. Referenced by DupHandle(). 00043 {
00044 }
|
|
|
Definition at line 47 of file CandStripHandle.cxx. 00047 : 00048 CandHandle(cdh) 00049 { 00050 }
|
|
|
Definition at line 53 of file CandStripHandle.cxx. 00053 : 00054 CandHandle(cd) 00055 { 00056 }
|
|
|
Definition at line 59 of file CandStripHandle.cxx. 00060 {
00061 }
|
|
|
Reimplemented from CandHandle. Reimplemented in FarDetStripHandle. Definition at line 64 of file CandStripHandle.cxx. References CandStripHandle(). Referenced by TrackClusterSR::AddStrip(), AltAlgStpPatternRec::RunAlg(), and TrackClusterSR::TrackClusterSR(). 00065 {
00066 return (new CandStripHandle(*this));
00067 }
|
|
|
|
Definition at line 130 of file CandStripHandle.cxx. References CandHandle::GetCandBase(). Referenced by GetBegTime(), CandRecoHandle::GetCalTimeType(), GetEndTime(), GetTime(), AlgTrack::SetT(), and AlgShowerSR::SetT(). 00131 {
00132 return dynamic_cast<const CandStrip *>(GetCandBase())->fCalTimeType;
00133 }
|
|
||||||||||||
|
alternate form of GetCharge Reimplemented in FarDetStripHandle. Definition at line 218 of file CandStripHandle.cxx. References GetCharge(). 00218 {
00219 return GetCharge(stripend_t,caltype_t);
00220 }
|
|
||||||||||||
|
returns charge for an individual strip end, or entire strip. Default is entire strip. Charge units are set by CalDigitType. Possibilities are kNone, kPE, kSigLin, kSigCorr, Reimplemented in FarDetStripHandle. Definition at line 205 of file CandStripHandle.cxx. References CandDigitHandle::GetCharge(), CandHandle::GetDaughterIterator(), PlexSEIdAltL::GetEnd(), and CandDigitHandle::GetPlexSEIdAltL(). 00205 {
00206 Double_t charge=0.;
00207 TIter cdhItr(GetDaughterIterator());
00208 while (CandDigitHandle *cdh = dynamic_cast<CandDigitHandle*>(cdhItr())) {
00209 if (stripend_t==StripEnd::kWhole ||
00210 cdh->GetPlexSEIdAltL().GetEnd()==stripend_t) {
00211 charge += cdh->GetCharge(caltype_t);
00212 }
00213 }
00214 return charge;
00215 }
|
|
|
Reimplemented in FarDetStripHandle. Definition at line 232 of file CandStripHandle.cxx. References GetCharge(). 00233 {
00234 return GetCharge(StripEnd::kWhole,caltype_t);
00235 }
|
|
|
Reimplemented in FarDetStripHandle. Definition at line 227 of file CandStripHandle.cxx. References GetCharge(). 00228 {
00229 return GetCharge(stripend_t,CalDigitType::kPE);
00230 }
|
|
|
|
|
Definition at line 256 of file CandStripHandle.cxx. References digit(), PlexSEIdAltL::GetBestSEId(), CandHandle::GetDaughterIterator(), PlexSEIdAltL::GetDemuxVetoFlag(), PlexStripEndId::GetEnd(), and CandDigitHandle::GetPlexSEIdAltL(). Referenced by NtpSRModule::FillNtpStrip(), NtpEMModule::FillNtpStrip(), KeyOnUViewVetoCharge(), KeyOnUViewVetoChargeNear(), KeyOnVViewVetoCharge(), KeyOnVViewVetoChargeNear(), and AlgFitTrackSR::MakeTrackClusterList(). 00257 {
00258 UShort_t demuxveto(1);
00259 TIter digitItr(GetDaughterIterator());
00260 while (CandDigitHandle *digit = dynamic_cast<CandDigitHandle*>(digitItr())) {
00261 if (stripend_t==StripEnd::kWhole || digit->GetPlexSEIdAltL().GetBestSEId().GetEnd()==stripend_t) {
00262 if (digit->GetPlexSEIdAltL().GetDemuxVetoFlag()==0) demuxveto = 0;
00263 }
00264 }
00265 return demuxveto;
00266 }
|
|
|
Returns latest time in the strip. Reimplemented in FarDetStripHandle. Definition at line 185 of file CandStripHandle.cxx. References GetCalTimeType(), CandHandle::GetDaughterIterator(), PlexSEIdAltL::GetEnd(), CandDigitHandle::GetPlexSEIdAltL(), and CandDigitHandle::GetSubtractedTime(). Referenced by AlignmentStrip::AlignmentStrip(), CandSliceHandle::GetEndTime(), CandClusterHandle::GetEndTime(), AltAlgSliceList::getStripTime(), and StripKG::Set(). 00185 {
00186 Int_t i=0;
00187 Double_t time=0.;
00188 CalTimeType::CalTimeType_t caltimetype = GetCalTimeType();
00189 TIter cdhItr(GetDaughterIterator());
00190 while (CandDigitHandle *cdh = dynamic_cast<CandDigitHandle*>(cdhItr())) {
00191 if ((!i || cdh->GetSubtractedTime(caltimetype)>time) && (stripend_t==StripEnd::kWhole ||
00192 cdh->GetPlexSEIdAltL().GetEnd()==stripend_t)) {
00193 time = cdh->GetSubtractedTime(caltimetype);
00194 i++;
00195 }
00196 }
00197 return time;
00198 }
|
|
|
|
|
|
|
|
|
|
|
Definition at line 297 of file CandStripHandle.cxx. 00298 {
00299 return const_cast<CandStripHandle *>(strip)->GetPlane();
00300 }
|
|
|
Definition at line 303 of file CandStripHandle.cxx. References GetBegTime(), GetPlane(), and GetStrip(). 00304 {
00305
00306 Int_t iplane = strip->GetPlane();
00307 Int_t istrip = strip->GetStrip();
00308 Float_t time = strip->GetBegTime();
00309 Int_t itime = static_cast<Int_t>((time*.1/18.7)+.5);
00310
00311 Int_t navkey = (iplane<<22) | (istrip<<14) | itime;
00312
00313 return navkey;
00314
00315 }
|
|
|
Definition at line 318 of file CandStripHandle.cxx. References PlexPlaneId::GetPlaneView(), and GetStripEndId(). 00319 {
00320 return static_cast<Int_t>(strip->GetStripEndId().GetPlaneView());
00321 }
|
|
|
Definition at line 277 of file CandStripHandle.cxx. References CandStrip::fBestStripEnd, CandHandle::GetOwnedCandBase(), and PlexStripEndId::SetEnd(). Referenced by AlgStripSR::RunAlg(), and AlgFarDetStrip::RunAlg(). 00278 {
00279 CandStrip *candstrip = dynamic_cast<CandStrip *>(GetOwnedCandBase());
00280 candstrip->fBestStripEnd = stripendid;
00281 candstrip->fBestStripEnd.SetEnd(StripEnd::kWhole);
00282 }
|
|
|
Possible types are kT0 (timing offsets subtracted) kNone Definition at line 125 of file CandStripHandle.cxx. References CandHandle::GetOwnedCandBase(). Referenced by AlgStripSR::RunAlg(), and AlgFarDetStrip::RunAlg(). 00126 {
00127 dynamic_cast<CandStrip *>(GetOwnedCandBase())->fCalTimeType = caltimetype;
00128 }
|
|
|
Definition at line 111 of file CandStripHandle.cxx. References CandHandle::GetOwnedCandBase(). Referenced by AlgStripSR::RunAlg(), and AlgFarDetStrip::RunAlg(). 00112 {
00113 dynamic_cast<CandStrip *>(GetOwnedCandBase())->fTPos = dvar;
00114 }
|
|
|
Definition at line 100 of file CandStripHandle.cxx. References CandHandle::GetOwnedCandBase(). Referenced by AlgStripSR::RunAlg(), and AlgFarDetStrip::RunAlg(). 00101 {
00102 dynamic_cast<CandStrip *>(GetOwnedCandBase())->fZPos = dvar;
00103 }
|
|
|
Definition at line 330 of file CandStripHandle.cxx. References GetBegTime(). 00331 {
00332 Double_t time = (Double_t)csh->GetBegTime();
00333 return time;
00334 }
|
|
|
Definition at line 324 of file CandStripHandle.cxx. References PlexStripEndId::GetEncoded(), and GetStripEndId(). 00325 {
00326 return const_cast<CandStripHandle *>(csh)->GetStripEndId().GetEncoded();
00327 }
|
|
|
Reimplemented from CandHandle. Reimplemented in FarDetStripHandle. Definition at line 71 of file CandStripHandle.cxx. References MSG, and CandHandle::Trace(). 00072 {
00073 MSG("Cand", Msg::kDebug)
00074 << "**********Begin CandStripHandle::Trace(\"" << c << "\")" << endl
00075 << "Information from CandStripHandle's CandHandle: " << endl;
00076 CandHandle::Trace(c);
00077 MSG("Cand", Msg::kDebug)
00078 << "**********End CandStripHandle::Trace(\"" << c << "\")" << endl;
00079 }
|
|
|
Definition at line 30 of file CandStripHandle.h. |
|
|
Definition at line 31 of file CandStripHandle.h. |
1.3.9.1