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

|
|
Definition at line 44 of file CandStripHandle.cxx. Referenced by DupHandle(). 00045 {
00046 }
|
|
|
Definition at line 49 of file CandStripHandle.cxx. 00049 : 00050 CandHandle(cdh) 00051 { 00052 }
|
|
|
Definition at line 55 of file CandStripHandle.cxx. 00055 : 00056 CandHandle(cd) 00057 { 00058 }
|
|
|
Definition at line 61 of file CandStripHandle.cxx. 00062 {
00063 }
|
|
|
Reimplemented from CandHandle. Reimplemented in FarDetStripHandle. Definition at line 66 of file CandStripHandle.cxx. References CandStripHandle(). Referenced by TrackClusterSR::AddStrip(), AltAlgStpPatternRec::RunAlg(), and TrackClusterSR::TrackClusterSR(). 00067 {
00068 return (new CandStripHandle(*this));
00069 }
|
|
|
|
Definition at line 140 of file CandStripHandle.cxx. References CandHandle::GetCandBase(). Referenced by GetBegTime(), CandRecoHandle::GetCalTimeType(), GetEndTime(), GetTime(), AlgTrack::SetT(), and AlgShowerSR::SetT(). 00141 {
00142 return dynamic_cast<const CandStrip *>(GetCandBase())->fCalTimeType;
00143 }
|
|
||||||||||||
|
alternate form of GetCharge Reimplemented in FarDetStripHandle. Definition at line 228 of file CandStripHandle.cxx. References GetCharge(). 00228 {
00229 return GetCharge(stripend_t,caltype_t);
00230 }
|
|
||||||||||||
|
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 215 of file CandStripHandle.cxx. References CandDigitHandle::GetCharge(), CandHandle::GetDaughterIterator(), PlexSEIdAltL::GetEnd(), and CandDigitHandle::GetPlexSEIdAltL(). 00215 {
00216 Double_t charge=0.;
00217 TIter cdhItr(GetDaughterIterator());
00218 while (CandDigitHandle *cdh = dynamic_cast<CandDigitHandle*>(cdhItr())) {
00219 if (stripend_t==StripEnd::kWhole ||
00220 cdh->GetPlexSEIdAltL().GetEnd()==stripend_t) {
00221 charge += cdh->GetCharge(caltype_t);
00222 }
00223 }
00224 return charge;
00225 }
|
|
|
Reimplemented in FarDetStripHandle. Definition at line 242 of file CandStripHandle.cxx. References GetCharge(). 00243 {
00244 return GetCharge(StripEnd::kWhole,caltype_t);
00245 }
|
|
|
Reimplemented in FarDetStripHandle. Definition at line 237 of file CandStripHandle.cxx. References GetCharge(). 00238 {
00239 return GetCharge(stripend_t,CalDigitType::kPE);
00240 }
|
|
|
|
|
Definition at line 266 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(). 00267 {
00268 UShort_t demuxveto(1);
00269 TIter digitItr(GetDaughterIterator());
00270 while (CandDigitHandle *digit = dynamic_cast<CandDigitHandle*>(digitItr())) {
00271 if (stripend_t==StripEnd::kWhole || digit->GetPlexSEIdAltL().GetBestSEId().GetEnd()==stripend_t) {
00272 if (digit->GetPlexSEIdAltL().GetDemuxVetoFlag()==0) demuxveto = 0;
00273 }
00274 }
00275 return demuxveto;
00276 }
|
|
|
Returns latest time in the strip. Reimplemented in FarDetStripHandle. Definition at line 195 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(). 00195 {
00196 Int_t i=0;
00197 Double_t time=0.;
00198 CalTimeType::CalTimeType_t caltimetype = GetCalTimeType();
00199 TIter cdhItr(GetDaughterIterator());
00200 while (CandDigitHandle *cdh = dynamic_cast<CandDigitHandle*>(cdhItr())) {
00201 if ((!i || cdh->GetSubtractedTime(caltimetype)>time) && (stripend_t==StripEnd::kWhole ||
00202 cdh->GetPlexSEIdAltL().GetEnd()==stripend_t)) {
00203 time = cdh->GetSubtractedTime(caltimetype);
00204 i++;
00205 }
00206 }
00207 return time;
00208 }
|
|
|
|
|
|
|
|
|
Definition at line 121 of file CandStripHandle.cxx. References DataUtil::GetDetector(), GetPlane(), UgliGeomHandle::GetScintPlnHandle(), GetStripEndId(), UgliScintPlnHandle::GetStripHandle(), UgliStripHandle::GetTPos(), and CandHandle::GetVldContext(). 00122 {
00123 UgliGeomHandle ugh(*GetVldContext());
00124 PlexPlaneId plnid(GetVldContext()->GetDetector(),GetPlane(),false);
00125 UgliScintPlnHandle scintpln = ugh.GetScintPlnHandle(plnid);
00126 UgliStripHandle ush = scintpln.GetStripHandle(GetStripEndId());
00127 return ush.GetTPos(orthopos);
00128 }
|
|
|
|
|
Definition at line 307 of file CandStripHandle.cxx. 00308 {
00309 return const_cast<CandStripHandle *>(strip)->GetPlane();
00310 }
|
|
|
Definition at line 313 of file CandStripHandle.cxx. References GetBegTime(), GetPlane(), and GetStrip(). 00314 {
00315
00316 Int_t iplane = strip->GetPlane();
00317 Int_t istrip = strip->GetStrip();
00318 Float_t time = strip->GetBegTime();
00319 Int_t itime = static_cast<Int_t>((time*.1/18.7)+.5);
00320
00321 Int_t navkey = (iplane<<22) | (istrip<<14) | itime;
00322
00323 return navkey;
00324
00325 }
|
|
|
Definition at line 328 of file CandStripHandle.cxx. References PlexPlaneId::GetPlaneView(), and GetStripEndId(). 00329 {
00330 return static_cast<Int_t>(strip->GetStripEndId().GetPlaneView());
00331 }
|
|
|
Definition at line 287 of file CandStripHandle.cxx. References CandStrip::fBestStripEnd, CandHandle::GetOwnedCandBase(), and PlexStripEndId::SetEnd(). Referenced by AlgStripSR::RunAlg(), and AlgFarDetStrip::RunAlg(). 00288 {
00289 CandStrip *candstrip = dynamic_cast<CandStrip *>(GetOwnedCandBase());
00290 candstrip->fBestStripEnd = stripendid;
00291 candstrip->fBestStripEnd.SetEnd(StripEnd::kWhole);
00292 }
|
|
|
Possible types are kT0 (timing offsets subtracted) kNone Definition at line 135 of file CandStripHandle.cxx. References CandHandle::GetOwnedCandBase(). Referenced by AlgStripSR::RunAlg(), and AlgFarDetStrip::RunAlg(). 00136 {
00137 dynamic_cast<CandStrip *>(GetOwnedCandBase())->fCalTimeType = caltimetype;
00138 }
|
|
|
Definition at line 113 of file CandStripHandle.cxx. References CandHandle::GetOwnedCandBase(). Referenced by AlgStripSR::RunAlg(), and AlgFarDetStrip::RunAlg(). 00114 {
00115 dynamic_cast<CandStrip *>(GetOwnedCandBase())->fTPos = dvar;
00116 }
|
|
|
Definition at line 102 of file CandStripHandle.cxx. References CandHandle::GetOwnedCandBase(). Referenced by AlgStripSR::RunAlg(), and AlgFarDetStrip::RunAlg(). 00103 {
00104 dynamic_cast<CandStrip *>(GetOwnedCandBase())->fZPos = dvar;
00105 }
|
|
|
Definition at line 340 of file CandStripHandle.cxx. References GetBegTime(). 00341 {
00342 Double_t time = (Double_t)csh->GetBegTime();
00343 return time;
00344 }
|
|
|
Definition at line 334 of file CandStripHandle.cxx. References PlexStripEndId::GetEncoded(), and GetStripEndId(). 00335 {
00336 return const_cast<CandStripHandle *>(csh)->GetStripEndId().GetEncoded();
00337 }
|
|
|
Reimplemented from CandHandle. Reimplemented in FarDetStripHandle. Definition at line 73 of file CandStripHandle.cxx. References MSG, and CandHandle::Trace(). 00074 {
00075 MSG("Cand", Msg::kDebug)
00076 << "**********Begin CandStripHandle::Trace(\"" << c << "\")" << endl
00077 << "Information from CandStripHandle's CandHandle: " << endl;
00078 CandHandle::Trace(c);
00079 MSG("Cand", Msg::kDebug)
00080 << "**********End CandStripHandle::Trace(\"" << c << "\")" << endl;
00081 }
|
|
|
Definition at line 30 of file CandStripHandle.h. |
|
|
Definition at line 31 of file CandStripHandle.h. |
1.3.9.1