CandStripHandle Class Reference

#include <CandStripHandle.h>

Inheritance diagram for CandStripHandle:
CandHandle FarDetStripHandle

List of all members.

Public Member Functions

 CandStripHandle ()
 CandStripHandle (const CandStripHandle &cdh)
 CandStripHandle (CandStrip *cd)
virtual ~CandStripHandle ()
virtual CandStripHandleDupHandle () const
virtual void Trace (const char *c="") const
virtual Int_t GetPlane () const
virtual Int_t GetStrip () const
virtual void SetTPos (Double_t)
virtual Double_t GetTPos () const
virtual Double_t GetTPos (Double_t orthopos) const
virtual void SetZPos (Double_t)
virtual Double_t GetZPos () const
void SetCalTimeType (CalTimeType::CalTimeType_t)
CalTimeType::CalTimeType_t GetCalTimeType () const
virtual Double_t GetTime (StripEnd::StripEnd_t=StripEnd::kWhole) const
virtual Double_t GetBegTime (StripEnd::StripEnd_t=StripEnd::kWhole) const
virtual Double_t GetEndTime (StripEnd::StripEnd_t=StripEnd::kWhole) const
virtual Double_t GetCorrBegTime () const
virtual Double_t GetCharge () const
virtual Double_t GetCharge (StripEnd::StripEnd_t) const
virtual Double_t GetCharge (CalDigitType::CalDigitType_t) const
virtual Double_t GetCharge (StripEnd::StripEnd_t, CalDigitType::CalDigitType_t) const
virtual Double_t GetCharge (CalDigitType::CalDigitType_t, StripEnd::StripEnd_t) const
virtual Int_t GetNDigit (StripEnd::StripEnd_t=StripEnd::kWhole) const
virtual UShort_t GetDemuxVetoFlag (StripEnd::StripEnd_t=StripEnd::kWhole) const
virtual PlexStripEndId GetStripEndId (StripEnd::StripEnd_t=StripEnd::kWhole) const
virtual PlaneView::PlaneView_t GetPlaneView () const
virtual void SetBestStripEndId (const PlexStripEndId)

Static Public Member Functions

static NavKey KeyFromPlane (const CandStripHandle *)
static NavKey KeyFromPlaneStripTime (const CandStripHandle *)
static NavKey KeyFromView (const CandStripHandle *)
static NavKey StripSRKeyFromPSEId (const CandStripHandle *csh)
static NavKey StripSRKeyFromBegTime (const CandStripHandle *csh)

Friends

class CandTrack
class CandTrackHandle

Detailed Description

Definition at line 27 of file CandStripHandle.h.


Constructor & Destructor Documentation

CandStripHandle::CandStripHandle (  ) 

Definition at line 44 of file CandStripHandle.cxx.

Referenced by DupHandle().

00045 {
00046 }

CandStripHandle::CandStripHandle ( const CandStripHandle cdh  ) 

Definition at line 49 of file CandStripHandle.cxx.

00049                                                            :
00050   CandHandle(cdh)
00051 {
00052 }

CandStripHandle::CandStripHandle ( CandStrip cd  ) 

Definition at line 55 of file CandStripHandle.cxx.

00055                                               :
00056   CandHandle(cd)
00057 {
00058 }

CandStripHandle::~CandStripHandle (  )  [virtual]

Definition at line 61 of file CandStripHandle.cxx.

00062 {
00063 }


Member Function Documentation

CandStripHandle * CandStripHandle::DupHandle (  )  const [virtual]

Reimplemented from CandHandle.

Reimplemented in FarDetStripHandle.

Definition at line 66 of file CandStripHandle.cxx.

References CandStripHandle().

Referenced by TrackClusterSR::AddStrip(), and TrackClusterSR::TrackClusterSR().

00067 {
00068    return (new CandStripHandle(*this));
00069 }

Double_t CandStripHandle::GetBegTime ( StripEnd::StripEnd_t  stripend_t = StripEnd::kWhole  )  const [virtual]

Returns the earliest time in the strip

Reimplemented in FarDetStripHandle.

Definition at line 170 of file CandStripHandle.cxx.

References GetCalTimeType(), CandHandle::GetDaughterIterator(), and StripEnd::kWhole.

Referenced by AlignmentStrip::AlignmentStrip(), AlgEventSSList::BuildEventFromUnassoc(), AlgEventSRList::BuildEventFromUnassoc(), GfxStripList::ExecuteEvent(), GfxStripList::ExecuteEventStrip(), TrackClusterSR::GetBegTime(), KeyFromPlaneStripTime(), AlgFitTrackSR::MakeTrackClusterList(), AlgTrackSRList::MakeTrackClusters(), AlgEventSSList::ReFillDist2Map(), AlgEventSRList::ReFillDist2Map(), AlgEventSRList::RunAlg(), AlgEventSSList::RunAlg(), StripKG::Set(), StripSRKeyFromBegTime(), and StripSRKeyFromBegTime().

00170                                                                         {
00171   Int_t i=0;
00172   Double_t time=0.;
00173   CalTimeType::CalTimeType_t caltimetype = GetCalTimeType();
00174   TIter cdhItr(GetDaughterIterator());
00175   while (CandDigitHandle *cdh = dynamic_cast<CandDigitHandle*>(cdhItr())) {
00176     Double_t digittime = cdh->GetSubtractedTime(caltimetype);
00177     if ((!i || digittime<time) && (stripend_t==StripEnd::kWhole ||
00178          cdh->GetPlexSEIdAltL().GetEnd()==stripend_t)) {
00179       time = digittime;
00180       i++;
00181     }
00182   }
00183   return time;
00184 }

CalTimeType::CalTimeType_t CandStripHandle::GetCalTimeType (  )  const

Definition at line 140 of file CandStripHandle.cxx.

References CandHandle::GetCandBase().

Referenced by GetBegTime(), CandRecoHandle::GetCalTimeType(), GetEndTime(), and GetTime().

00141 {
00142   return dynamic_cast<const CandStrip *>(GetCandBase())->fCalTimeType;
00143 }

Double_t CandStripHandle::GetCharge ( CalDigitType::CalDigitType_t  caltype_t,
StripEnd::StripEnd_t  stripend_t 
) const [virtual]

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 }

Double_t CandStripHandle::GetCharge ( StripEnd::StripEnd_t  stripend_t,
CalDigitType::CalDigitType_t  caltype_t 
) const [virtual]

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 CandHandle::GetDaughterIterator(), and StripEnd::kWhole.

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 }

Double_t CandStripHandle::GetCharge ( CalDigitType::CalDigitType_t  caltype_t  )  const [virtual]

Reimplemented in FarDetStripHandle.

Definition at line 242 of file CandStripHandle.cxx.

References GetCharge(), and StripEnd::kWhole.

00243 {
00244   return GetCharge(StripEnd::kWhole,caltype_t);
00245 }

Double_t CandStripHandle::GetCharge ( StripEnd::StripEnd_t  stripend_t  )  const [virtual]

Reimplemented in FarDetStripHandle.

Definition at line 237 of file CandStripHandle.cxx.

References GetCharge(), and CalDigitType::kPE.

00238 {
00239   return GetCharge(stripend_t,CalDigitType::kPE);
00240 }

Double_t CandStripHandle::GetCharge (  )  const [virtual]

Reimplemented in FarDetStripHandle.

Definition at line 232 of file CandStripHandle.cxx.

References CalDigitType::kPE, and StripEnd::kWhole.

Referenced by TrackClusterSR::AddStrip(), AlignmentStrip::AlignmentStrip(), AtNuTreeModule::Ana(), AtNuDisplayModule::Ana(), RecoTreeModule::Ana(), AlgEventSSList::BuildEventFromUnassoc(), AlgEventSRList::BuildEventFromUnassoc(), AlgShowerCam::CalculateShowerEnergy(), AlgSubShowerSRList::CleanUp(), GfxStripList::ExecuteEvent(), GfxStripList::ExecuteEventStrip(), UberModule::FillNtpTrack(), UberModuleLite::FillNtpTrack(), AlgTrackSRList::Find2DTrackEndPoints(), AlgTrackSR::FindStripsInTrack(), AlgFitTrackCam::FindTheStrips(), CDTrackedHits::GetCCStripInfo(), HitAtNu::GetCharge(), GetCharge(), GfxStrip::GetRelativeValue(), CandRecoHandle::GetStripCharge(), GfxStripList::GetStripColor(), CDTrackedHits::GetTrackedStripInfo(), CDUnidentifiedHits::GetUnidentifiedStripInfo(), CDCrossTalker::GetXTalkStripInfo(), AlgFitTrackSR::MakeDaughterStripList(), AlgFitTrackSR::MakeSliceClusterList(), AlgFitTrackSR::MakeTrackClusterList(), AlgTrackSRList::MakeTrackClusters(), TrackClusterSR::RecalculateTPos(), AlgTrackSR::RunAlg(), AlgShowerAtNu::RunAlg(), AlgTrackAtNu::RunAlg(), AlgFarDetSlice::RunAlg(), AlgFitTrackAtNu::RunAlg(), AlgFitTrackSR::RunAlg(), StripKG::Set(), GfxStrip::SetColor(), AlgTrackCam::SetupTimingInfo(), AlgShowerCam::SetupTimingInfo(), AlgSliceSRList::SlicetheSnarl(), GfxStripList::StripMasked(), AlgSubShowerSRList::TestOverLap(), AlgSubShowerSRList::TimeTest(), AlgFitTrackCam::TimingFit(), and Mint::UpdateStripRanges().

00233 {
00234   return GetCharge(StripEnd::kWhole,CalDigitType::kPE);
00235 }

Double_t CandStripHandle::GetCorrBegTime (  )  const [virtual]

Returns the charge-weighted average time, subtracting a rough time of flight from the front face of the detector. (note that z distance alone is used.)

Definition at line 189 of file CandStripHandle.cxx.

References Mphysical::c_light, GetTime(), and GetZPos().

Referenced by AlgSliceSRList::AreNeighbours(), earlierThan(), AlgSliceSRList::overlap(), AlgSliceSRList::SlicetheSnarl(), and StripSRKeyFromCorrTime().

00189                                                {
00190   return GetTime()-GetZPos()/Mphysical::c_light;
00191 }

UShort_t CandStripHandle::GetDemuxVetoFlag ( StripEnd::StripEnd_t  stripend_t = StripEnd::kWhole  )  const [virtual]

Definition at line 266 of file CandStripHandle.cxx.

References digit(), CandHandle::GetDaughterIterator(), and StripEnd::kWhole.

Referenced by 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 }

Double_t CandStripHandle::GetEndTime ( StripEnd::StripEnd_t  stripend_t = StripEnd::kWhole  )  const [virtual]

Returns latest time in the strip.

Reimplemented in FarDetStripHandle.

Definition at line 195 of file CandStripHandle.cxx.

References GetCalTimeType(), CandHandle::GetDaughterIterator(), and StripEnd::kWhole.

Referenced by AlignmentStrip::AlignmentStrip(), 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 }

Int_t CandStripHandle::GetNDigit ( StripEnd::StripEnd_t  stripend_t = StripEnd::kWhole  )  const [virtual]
Int_t CandStripHandle::GetPlane (  )  const [virtual]

Reimplemented in FarDetStripHandle.

Definition at line 87 of file CandStripHandle.cxx.

References PlexPlaneId::GetPlane(), and GetStripEndId().

Referenced by AlgEventSSList::AddStripToEvent(), AlgEventSRList::AddStripToEvent(), AtNuDisplayModule::Ana(), CandDigitModule::Ana(), AlgEventSSList::BuildEventFromUnassoc(), AlgEventSRList::BuildEventFromUnassoc(), AlgSubShowerSRList::CleanUp(), GfxStripList::ExecuteEvent(), GfxStripList::ExecuteEventStrip(), UberModule::FillNtpShower(), UberModuleLite::FillNtpShower(), UberModule::FillNtpTrack(), UberModuleLite::FillNtpTrack(), AlgTrackSRList::Find2DTrackEndPoints(), AlgTrackSR::FindStripsInTrack(), AlgShowerSR::FindTimingDirection(), AlgTrackSR::FindTimingDirection(), AlgFitTrackSR::FindTimingDirection(), AlgTrackSRList::FormCandTrackSR(), AlgClusterSRList::GenNeighborMap(), CandSliceHandle::GetBegPlane(), CandRecoHandle::GetBegPlane(), CDTrackedHits::GetCCStripInfo(), CandSliceHandle::GetEndPlane(), CandRecoHandle::GetEndPlane(), CandRecoHandle::GetNPlane(), CandSliceHandle::GetNPlane(), CandTrackHandle::GetNTrackPlane(), CandTrackSRHandle::GetNTrackPlane(), TrackClusterSR::GetPlane(), HitAtNu::GetPlane(), GeometryHelper::GetRotationCorrectedTPos(), GetTPos(), CDTrackedHits::GetTrackedStripInfo(), CDUnidentifiedHits::GetUnidentifiedStripInfo(), CDCrossTalker::GetXTalkStripInfo(), AlgFitTrackCam::IsStripInAnotherTrack(), KeyFromPlane(), KeyFromPlaneStripTime(), KeyOnUViewVetoChargeNear(), KeyOnVViewVetoChargeNear(), AlgFitTrackSR::MakeDaughterStripList(), AlgFitTrackSR::MakeSliceClusterList(), AlgFitTrackSR::MakeTrackClusterList(), AlgTrackSRList::MakeTrackClusters(), AlgFitTrackSR::MarkTrackClusters(), AlgFitTrackCam::NDStripBegTime(), ByPlane::operator()(), AlgEventSSList::ReFillDist2Map(), AlgEventSRList::ReFillDist2Map(), AlgTrackSR::RunAlg(), AlgTrackAtNu::RunAlg(), AlgShowerSS::RunAlg(), AlgFarDetEvent::RunAlg(), AlgShowerSR::RunAlg(), AlgEventSRList::RunAlg(), AlgEventSSList::RunAlg(), AlgFarDetSlice::RunAlg(), AlgFitTrackSR::RunAlg(), StripKG::Set(), AlgSliceSRList::SlicetheSnarl(), AlgFitTrackCam::SpectrometerSwim(), AlgTrackSRList::SpectrometerTracking(), AlgSubShowerSRList::TestOverLap(), and AlgSubShowerSRList::TimeTest().

00088 {
00089   return GetStripEndId().GetPlane();
00090 }

PlaneView::PlaneView_t CandStripHandle::GetPlaneView ( void   )  const [virtual]

Definition at line 280 of file CandStripHandle.cxx.

References PlexPlaneId::GetPlaneView(), and GetStripEndId().

Referenced by AlgEventSSList::AddStripToEvent(), AlgEventSRList::AddStripToEvent(), AtNuTreeModule::Ana(), AtNuDisplayModule::Ana(), RecoTreeModule::Ana(), FarDetStripListModule::Ana(), AlgEventSSList::BuildEventFromUnassoc(), AlgEventSRList::BuildEventFromUnassoc(), AlgShowerCam::CalculateShowerEnergy(), AlgEventSSList::CreatePrimaryShower(), AlgEventSRList::CreatePrimaryShower(), AlgTrackSR::FindStripsInTrack(), AlgShowerSR::FindTimingDirection(), AlgTrackSR::FindTimingDirection(), AlgTrackSRList::FormCandTrackSR(), CandSliceHandle::GetBegPlane(), CandRecoHandle::GetBegPlane(), CandSliceHandle::GetEndPlane(), CandRecoHandle::GetEndPlane(), CandRecoHandle::GetNPlane(), CandSliceHandle::GetNPlane(), CandRecoHandle::GetNStrip(), CandSliceHandle::GetNStrip(), CandTrackHandle::GetNTrackPlane(), CandTrackSRHandle::GetNTrackPlane(), TrackClusterSR::GetPlaneView(), GeometryHelper::GetRotationCorrectedTPos(), AlgSliceSRList::inFullyInstrumented(), KeyOnUViewVetoCharge(), KeyOnUViewVetoChargeNear(), KeyOnVViewVetoCharge(), KeyOnVViewVetoChargeNear(), AlgFitTrackSR::MakeTrackClusterList(), AlgFitTrackCam::NDStripBegTime(), AlgEventSSList::ReFillDist2Map(), AlgEventSRList::ReFillDist2Map(), AlgShowerAtNu::RunAlg(), AlgTrackAtNu::RunAlg(), AlgFarDetSlice::RunAlg(), AlgFitTrackAtNu::RunAlg(), AlgSliceSRList::sameView(), select_strip(), StripKG::Set(), AlgTrackCam::SetupTimingInfo(), AlgShowerCam::SetupTimingInfo(), AlgSliceSRList::SlicetheSnarl(), AlgSubShowerSRList::TimeTest(), and AlgFitTrackCam::TimingFit().

00281 {
00282   return GetStripEndId().GetPlaneView();
00283 }

Int_t CandStripHandle::GetStrip (  )  const [virtual]
PlexStripEndId CandStripHandle::GetStripEndId ( StripEnd::StripEnd_t  stripend_t = StripEnd::kWhole  )  const [virtual]
Double_t CandStripHandle::GetTime ( StripEnd::StripEnd_t  stripend_t = StripEnd::kWhole  )  const [virtual]

Calculates charge-weighted average time for strip, or individual strip end if input parameter is set. Default is over entire strip.

Reimplemented in FarDetStripHandle.

Definition at line 149 of file CandStripHandle.cxx.

References GetCalTimeType(), CandHandle::GetDaughterIterator(), and StripEnd::kWhole.

Referenced by TrackClusterSR::AddStrip(), AlgSubShowerSRList::CleanUp(), GfxStripList::ExecuteEvent(), GfxStripList::ExecuteEventStrip(), AlgTrackSRList::Find2DTrackEndPoints(), AlgShowerSR::FindTimingDirection(), AlgTrackSR::FindTimingDirection(), AlgTrackSRList::FindTimingDirection(), CDTrackedHits::GetCCStripInfo(), GetCorrBegTime(), GfxStrip::GetRelativeValue(), GfxStripList::GetStripColor(), CDTrackedHits::GetTrackedStripInfo(), CDUnidentifiedHits::GetUnidentifiedStripInfo(), CDCrossTalker::GetXTalkStripInfo(), AlgTrackSR::RunAlg(), AlgShowerAtNu::RunAlg(), AlgTrackAtNu::RunAlg(), select_strip(), StripKG::Set(), AlgTrackCam::SetupTimingInfo(), AlgShowerCam::SetupTimingInfo(), GfxStripList::StripMasked(), AlgSubShowerSRList::TimeTest(), AlgFitTrackCam::TimingFit(), and Mint::UpdateStripRanges().

00149                                                                      {
00150   Int_t i=0;
00151   Double_t time=0.;
00152   Double_t ph=0.;
00153   CalTimeType::CalTimeType_t caltimetype = GetCalTimeType();
00154   TIter cdhItr(GetDaughterIterator());
00155   while (CandDigitHandle *cdh = dynamic_cast<CandDigitHandle*>(cdhItr())) {
00156     Double_t digittime = cdh->GetSubtractedTime(caltimetype);
00157     if (stripend_t==StripEnd::kWhole ||
00158         cdh->GetPlexSEIdAltL().GetEnd()==stripend_t) {
00159       time += digittime*cdh->GetCharge();
00160       ph += cdh->GetCharge();
00161       i++;
00162     }
00163   }
00164   if (ph>0.) time /= ph;
00165   return time;
00166 }

Double_t CandStripHandle::GetTPos ( Double_t  orthopos  )  const [virtual]

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 }

Double_t CandStripHandle::GetTPos (  )  const [virtual]
Double_t CandStripHandle::GetZPos (  )  const [virtual]
NavKey CandStripHandle::KeyFromPlane ( const CandStripHandle strip  )  [static]
NavKey CandStripHandle::KeyFromPlaneStripTime ( const CandStripHandle strip  )  [static]

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 }

NavKey CandStripHandle::KeyFromView ( const CandStripHandle strip  )  [static]

Definition at line 328 of file CandStripHandle.cxx.

References PlexPlaneId::GetPlaneView(), and GetStripEndId().

00329 {
00330   return static_cast<Int_t>(strip->GetStripEndId().GetPlaneView());
00331 }

void CandStripHandle::SetBestStripEndId ( const  PlexStripEndId  )  [virtual]

Definition at line 287 of file CandStripHandle.cxx.

References CandStrip::fBestStripEnd, CandHandle::GetOwnedCandBase(), StripEnd::kWhole, and PlexStripEndId::SetEnd().

Referenced by AlgFarDetStrip::RunAlg().

00288 {
00289   CandStrip *candstrip = dynamic_cast<CandStrip *>(GetOwnedCandBase());
00290   candstrip->fBestStripEnd = stripendid;
00291   candstrip->fBestStripEnd.SetEnd(StripEnd::kWhole);
00292 }

void CandStripHandle::SetCalTimeType ( CalTimeType::CalTimeType_t  caltimetype  ) 

Possible types are kT0 (timing offsets subtracted) kNone

Definition at line 135 of file CandStripHandle.cxx.

References CandHandle::GetOwnedCandBase().

Referenced by AlgFarDetStrip::RunAlg().

00136 {
00137   dynamic_cast<CandStrip *>(GetOwnedCandBase())->fCalTimeType = caltimetype;
00138 }

void CandStripHandle::SetTPos ( Double_t  dvar  )  [virtual]

Definition at line 113 of file CandStripHandle.cxx.

References CandHandle::GetOwnedCandBase().

Referenced by AlgFarDetStrip::RunAlg().

00114 {
00115   dynamic_cast<CandStrip *>(GetOwnedCandBase())->fTPos = dvar;
00116 }

void CandStripHandle::SetZPos ( Double_t  dvar  )  [virtual]

Definition at line 102 of file CandStripHandle.cxx.

References CandHandle::GetOwnedCandBase().

Referenced by AlgFarDetStrip::RunAlg().

00103 {
00104   dynamic_cast<CandStrip *>(GetOwnedCandBase())->fZPos = dvar;
00105 }

NavKey CandStripHandle::StripSRKeyFromBegTime ( const CandStripHandle csh  )  [static]

Definition at line 340 of file CandStripHandle.cxx.

References GetBegTime().

Referenced by AlgTrackSRList::RunAlg(), and AlgFitTrackSR::RunAlg().

00341 {   
00342         Double_t time = (Double_t)csh->GetBegTime();
00343     return time;
00344 }

NavKey CandStripHandle::StripSRKeyFromPSEId ( const CandStripHandle csh  )  [static]

Definition at line 334 of file CandStripHandle.cxx.

References PlexStripEndId::GetEncoded(), and GetStripEndId().

Referenced by AlgTrackSRList::RunAlg(), and AlgFitTrackSR::RunAlg().

00335 { 
00336         return const_cast<CandStripHandle *>(csh)->GetStripEndId().GetEncoded(); 
00337 }

void CandStripHandle::Trace ( const char *  c = ""  )  const [virtual]

Reimplemented from CandHandle.

Reimplemented in FarDetStripHandle.

Definition at line 73 of file CandStripHandle.cxx.

References Msg::kDebug, and MSG.

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 }


Friends And Related Function Documentation

friend class CandTrack [friend]

Definition at line 30 of file CandStripHandle.h.

friend class CandTrackHandle [friend]

Definition at line 31 of file CandStripHandle.h.


The documentation for this class was generated from the following files:

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1