Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

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

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

Friends

class CandTrack
class CandTrackHandle

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(), AltAlgStpPatternRec::RunAlg(), 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(), PlexSEIdAltL::GetEnd(), CandDigitHandle::GetPlexSEIdAltL(), and CandDigitHandle::GetSubtractedTime().

Referenced by AlignmentStrip::AlignmentStrip(), FitTrackMSListModule::Ana(), AlgEventSSList::BuildEventFromUnassoc(), AlgEventSRList::BuildEventFromUnassoc(), GfxStripList::ExecuteEvent(), GfxStripList::ExecuteEventStrip(), AlgEventSSList::FillDist2Map(), AlgEventSRList::FillDist2Map(), AlgClusterSRList::GenNeighborMap(), TrackClusterSR::GetBegTime(), CandSliceHandle::GetBegTime(), CandClusterHandle::GetBegTime(), DetectorAlignment::GetCandStrips(), AltAlgSliceList::getStripTime(), KeyFromPlaneStripTime(), AlgFitTrackSR::MakeTrackClusterList(), AlgTrackSRList::MakeTrackClusters(), AlgEventSSList::ReFillDist2Map(), AlgEventSRList::ReFillDist2Map(), AlgShowerSR::RunAlg(), AlgEventSSList::RunAlg(), AlgEventSRList::RunAlg(), AlgClusterSRList::RunAlg(), StripKG::Set(), AlgTrack::SetT(), AlgShowerSR::SetT(), AlgSliceSRList::SlicetheSnarl_ASAP(), 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(), GetTime(), AlgTrack::SetT(), and AlgShowerSR::SetT().

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

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

Reimplemented in FarDetStripHandle.

Definition at line 242 of file CandStripHandle.cxx.

References GetCharge().

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

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

Reimplemented in FarDetStripHandle.

Definition at line 237 of file CandStripHandle.cxx.

References GetCharge().

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.

Referenced by TrackClusterSR::AddStrip(), UserDisplayModule::AddTrack(), AlignmentStrip::AlignmentStrip(), RecoTreeModule::Ana(), FitTrackMSListModule::Ana(), AtNuTreeModule::Ana(), AtNuDisplayModule::Ana(), CandShowerSRHandle::BelongsWithTrack(), AlgEventSSList::BuildEventFromUnassoc(), AlgEventSRList::BuildEventFromUnassoc(), CandShowerSRHandle::BuriedTrack(), AlgSubShowerSR::CalculateEnergyVertexAngle(), AlgShowerCam::CalculateShowerEnergy(), AlgReco::Calibrate(), AlgFitTrackCam::CleanNDLists(), AlgSubShowerSRList::CleanUp(), AlgEventSSList::CreatePrimaryShower(), AlgEventSRList::CreatePrimaryShower(), AltAlgSliceList::createSubsetTimeProfile(), TruthHelper::EventCompletenessImp(), GfxStripList::ExecuteEvent(), GfxStripList::ExecuteEventStrip(), AlgCosmicMuonRemoval::FillEvtInfo(), NtpSRModule::FillNtpShower(), NtpSRModule::FillNtpStrip(), NtpEMModule::FillNtpStrip(), UberModuleLite::FillNtpTrack(), UberModule::FillNtpTrack(), NtpSRModule::FillNtpTrack(), UberModuleLite::FillNtpTrackLinearFit(), UberModule::FillNtpTrackLinearFit(), NtpSRModule::FillNtpTrackLinearFit(), NtpSRModule::FillNtpWindow(), AltAlgSliceList::fillSliceSeeds(), MCAnalysis::FillTrkInfo(), AlgMuonRemoval::FillTrkInfo(), AlgTrackSRList::Find2DTrackEndPoints(), AlgSubShowerSRList::FindCluster(), AlgTrackSR::FindStripsInTrack(), AlgFitTrackCam::FindTheStrips(), AlgEventSSList::FindUnassociated(), AlgEventSRList::FindUnassociated(), VertexFinder::FindVtxPlane(), VertexFinder::FindVtxUV(), AlgSubShowerSRList::FormHalo(), AlgTrackCamList::FormTheHits(), AlgAtmosShowerList::FormTheHits(), DetectorAlignment::GetCandStrips(), GfxTrack::GetCandTrackData(), CDTrackedHits::GetCCStripInfo(), HitAtNu::GetCharge(), GetCharge(), CandSliceHandle::GetCharge(), CandRecoHandle::GetCharge(), CandClusterHandle::GetCharge(), CandSliceHandle::GetCorrTime(), CandTrackSRHandle::GetDirCos(), CandTrackCamHandle::GetDirCos(), NtpSRBleachFiller::GetFixedWindowPH(), CandTrackSRHandle::GetHoughResid2(), CandShowerHandle::GetMaxU(), CandShowerHandle::GetMaxV(), CandShowerHandle::GetMinU(), CandShowerHandle::GetMinV(), CandShowerSRHandle::GetPHWTime(), CandRecoHandle::GetPlaneCharge(), GfxStrip::GetRelativeValue(), AlgFarDetEvent::GetShower(), CandRecoHandle::GetStripCharge(), GfxStripList::GetStripColor(), CandClusterHandle::GetTPos(), CDTrackedHits::GetTrackedStripInfo(), CDUnidentifiedHits::GetUnidentifiedStripInfo(), CDCrossTalker::GetXTalkStripInfo(), CandShowerHandle::IsContained(), CandShowerSRHandle::IsUnphysical(), CandShowerHandle::IsUnphysical(), AlgFitTrackSR::MakeDaughterStripList(), AlgFitTrackSR::MakeSliceClusterList(), AlgFitTrackSR::MakeTrackClusterList(), AlgTrackSRList::MakeTrackClusters(), PlaneCandStripHandleKeyFunctor::operator()(), sum_qtime::operator()(), sum_qz::operator()(), sum_qtpos::operator()(), sum_q::operator()(), AltAlgSliceList::printStrip(), AltAlgSliceList::printStripList(), TrackClusterSR::RecalculateTPos(), AltAlgSliceList::RunAlg(), AlgTrackSR::RunAlg(), AlgTrackAtNu::RunAlg(), AlgSubShowerSRList::RunAlg(), AlgShowerSSList::RunAlg(), AlgShowerSS::RunAlg(), AlgShowerSR::RunAlg(), AlgShowerEM::RunAlg(), AlgShowerAtNu::RunAlg(), AlgMuonRemoval::RunAlg(), AlgFitTrackSR::RunAlg(), AlgFitTrackAtNu::RunAlg(), AlgFarDetSlice::RunAlg(), AlgCosmicMuonRemoval::RunAlg(), AlgClusterSRList::RunAlg(), AlgAtNuReco::RunAlg(), SelectNonZeroQ(), StripKG::Set(), GfxStrip::SetColor(), AlgTrack::SetT(), AlgShowerSR::SetT(), FitterEM::SetUpStripInfo(), AlgTrackCam::SetupTimingInfo(), AlgShowerCam::SetupTimingInfo(), AlgShowerSR::SetUV(), AlgTrack::SetUVZ(), TruthHelper::ShowerCompletenessImp(), TruthHelper::SliceCompleteness_MaxTimeGap(), TruthHelper::SlicePurity_MaxTimeGap(), AlgSliceSRList::SlicetheSnarl(), AlgSliceSRList::SlicetheSnarl_ASAP(), AlgSliceSRList::SlicetheSnarl_MST(), AlgTrackSRList::SpectrometerTracking(), GfxStripList::StripMasked(), AlgSubShowerSRList::TestOverLap(), AlgSubShowerSRList::TimeTest(), AlgFitTrackCam::TimingFit(), EVD::UpdateChargeHists(), AltAlgSliceList::updateSingleSliceSeedInfo(), 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 GetTime(), and GetZPos().

Referenced by AltAlgSliceList::createSubsetTimeProfile(), AltAlgSliceList::fillSliceSeeds(), GfxShower::GetCandShowerData(), AltAlgSliceList::getClosestCentroid(), CandSliceHandle::GetCorrBegTime(), CandSliceHandle::GetCorrEndTime(), CandSliceHandle::GetCorrTime(), AltAlgSliceList::getSnarlTimeBoundaries(), AltAlgSliceList::getStripTime(), AltAlgSliceList::MakeDistanceMap(), sum_qtime::operator()(), min_t::operator()(), is_in_tztpos_window::operator()(), is_in_tz_window::operator()(), is_in_t_window_noref::operator()(), min_time_distance::operator()(), AltAlgSliceList::printStrip(), AltAlgSliceList::printStripList(), AltAlgSliceList::RunAlg(), AlgSliceSRList::SlicetheSnarl(), StripKeyFromTime(), StripSRKeyFromCorrTime(), and AltAlgSliceList::updateSingleSliceSeedInfo().

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

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

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 }

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(), 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 }

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

Returns # of digits in strip end or entire strip (default)

Definition at line 250 of file CandStripHandle.cxx.

References CandHandle::GetDaughterIterator(), PlexSEIdAltL::GetEnd(), CandHandle::GetNDaughters(), and CandDigitHandle::GetPlexSEIdAltL().

Referenced by AlignmentStrip::AlignmentStrip(), MuCalFitterModule::Ana(), FitTrackMSListModule::Ana(), AlgShowerCam::CalculateShowerEnergy(), AlgReco::Calibrate(), CandReco::CandReco(), GfxStripList::ExecuteEvent(), GfxStripList::ExecuteEventStrip(), NtpSRModule::FillNtpEvent(), NtpSRModule::FillNtpShower(), NtpSRModule::FillNtpStrip(), NtpEMModule::FillNtpStrip(), UberModuleLite::FillNtpTrack(), UberModule::FillNtpTrack(), NtpSRModule::FillNtpTrack(), NtpSRModule::FillNtpTrackTime(), AlgTrackSRList::FindTimingDirection(), CDTrackedHits::GetCCStripInfo(), CandSliceHandle::GetNDigit(), CandRecoHandle::GetNDigit(), CDTrackedHits::GetTrackedStripInfo(), CDUnidentifiedHits::GetUnidentifiedStripInfo(), CDCrossTalker::GetXTalkStripInfo(), UserHist::Refresh(), AlgTrackAtNu::RunAlg(), AlgShowerAtNu::RunAlg(), AlgFarDetSlice::RunAlg(), StripKG::Set(), AlgTrackCam::SetupTimingInfo(), AlgShowerCam::SetupTimingInfo(), AlgShowerSR::SetUV(), and AlgTrack::SetUVZ().

00250                                                                     {
00251   if (stripend_t == StripEnd::kWhole) {
00252     return GetNDaughters();
00253   }
00254   Int_t n=0;
00255   TIter cdhItr(GetDaughterIterator());
00256   while (CandDigitHandle *cdh = dynamic_cast<CandDigitHandle*>(cdhItr())) {
00257     if (cdh->GetPlexSEIdAltL().GetEnd() == stripend_t) {
00258       n++;
00259     }
00260   }
00261   return n;
00262 }

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(), UserDisplayModule::AddTrack(), TimeCalibratorSRModule::Ana(), RecoTreeModule::Ana(), MuCalFitterModule::Ana(), FitTrackMSListModule::Ana(), AtNuTreeModule::Ana(), AtNuDisplayModule::Ana(), CandShowerSRHandle::BelongsWithTrack(), AlgEventSSList::BuildEventFromUnassoc(), AlgEventSRList::BuildEventFromUnassoc(), CandShowerSRHandle::BuriedTrack(), AlgSubShowerSR::CalculateEnergyVertexAngle(), AlgReco::Calibrate(), CandShowerHandle::CalibrateEnergy(), CandShower::CandShower(), CandTrack::CandTrack(), AlgFitTrackCamList::CheckWeights(), AlgFitTrackCam::CleanNDLists(), AlgFitTrackCamList::CleanNDSlices(), AlgSubShowerSRList::CleanUp(), AlgEventSSList::CreatePrimaryShower(), AlgEventSRList::CreatePrimaryShower(), TridModelMaker::CreateShowerModels(), TruthHelper::EventCompletenessImp(), GfxStripList::ExecuteEvent(), GfxStripList::ExecuteEventStrip(), AlgEventSSList::FillDist2Map(), AlgEventSRList::FillDist2Map(), AlgCosmicMuonRemoval::FillEvtInfo(), NtpMaker::FillFitTrackInfo(), UberModuleLite::FillNtpShower(), UberModule::FillNtpShower(), NtpSRModule::FillNtpShower(), NtpSRModule::FillNtpStrip(), NtpEMModule::FillNtpStrip(), UberModuleLite::FillNtpTrack(), UberModule::FillNtpTrack(), NtpSRModule::FillNtpTrack(), UberModuleLite::FillNtpTrackFidAll(), UberModule::FillNtpTrackFidAll(), NtpSRModule::FillNtpTrackFidAll(), UberModuleLite::FillNtpTrackLinearFit(), UberModule::FillNtpTrackLinearFit(), NtpSRModule::FillNtpTrackLinearFit(), NtpSRModule::FillNtpWindow(), NtpMaker::FillShowerInfo(), AltAlgSliceList::fillSliceSeeds(), NtpMaker::FillTrackInfo(), MCAnalysis::FillTrkInfo(), AlgMuonRemoval::FillTrkInfo(), AlgTrackSRList::Find2DTrackEndPoints(), AlgSubShowerSRList::FindCluster(), AlgTrackSR::FindStripsInTrack(), AlgFitTrackCam::FindTheStrips(), AlgTrackSR::FindTimingDirection(), AlgShowerSR::FindTimingDirection(), AlgFitTrackSR::FindTimingDirection(), VertexFinder::FindVtxPlane(), VertexFinder::FindVtxUV(), FitTrackCamAnalysisModule::FittedTrackSection(), AlgTrackSRList::FormCandTrackSR(), AlgAtmosShowerList::FormDummyTracks(), AlgSubShowerSRList::FormHalo(), AlgTrackCamList::FormTheHits(), AlgAtmosShowerList::FormTheHits(), AlgFitTrackCam::GenerateNDSpectStrips(), AlgClusterSRList::GenNeighborMap(), CandSliceHandle::GetBegPlane(), CandRecoHandle::GetBegPlane(), CandClusterHandle::GetBegPlane(), GfxShower::GetCandShowerData(), GfxTrack::GetCandTrackData(), CDTrackedHits::GetCCStripInfo(), CandTrackSRHandle::GetDirCos(), CandTrackCamHandle::GetDirCos(), CandSliceHandle::GetEndPlane(), CandRecoHandle::GetEndPlane(), CandClusterHandle::GetEndPlane(), NtpSRBleachFiller::GetFixedWindowPH(), CandTrackSRHandle::GetHoughResid2(), CandSliceHandle::GetNPlane(), CandRecoHandle::GetNPlane(), CandClusterHandle::GetNPlane(), CandSubShowerSRHandle::GetNStrips(), CandShowerHandle::GetNStrips(), CandTrackSRHandle::GetNTrackPlane(), CandTrackHandle::GetNTrackPlane(), TrackClusterSR::GetPlane(), HitAtNu::GetPlane(), DataFT::GetPlane(), CandRecoHandle::GetPlaneCharge(), GeometryHelper::GetRotationCorrectedTPos(), AlgFarDetEvent::GetShower(), GetTPos(), CDTrackedHits::GetTrackedStripInfo(), CDUnidentifiedHits::GetUnidentifiedStripInfo(), CDCrossTalker::GetXTalkStripInfo(), CandTrackHandle::GetZ(), CandShowerHandle::GetZ(), AlgFitTrackCam::InitialFramework(), AlgFitTrack3::InitializeTrkClstList(), CandShowerHandle::IsContained(), AltModuleSliceQualityCheck::IsRubbishSlice(), KeyFromPlaneStripTime(), KeyOnUViewVetoChargeNear(), KeyOnVViewVetoChargeNear(), AlgFitTrackSR::MakeDaughterStripList(), AlgFitTrackSR::MakeSliceClusterList(), AlgFitTrackSR::MakeTrackClusterList(), AlgTrackSRList::MakeTrackClusters(), AlgFitTrackSR::MarkTrackClusters(), AlgFitTrackCam::NDStripBegTime(), ByPlane::operator()(), PlaneCandStripHandleKeyFunctor::operator()(), min_plane::operator()(), is_in_tztpos_window::operator()(), is_in_tz_window::operator()(), is_in_z_window_noref::operator()(), AltAlgSliceList::printStrip(), AltAlgSliceList::printStripList(), MergeEvent::Reco(), AlgEventSSList::ReFillDist2Map(), AlgEventSRList::ReFillDist2Map(), UserHist::Refresh(), AlgTrackSRList::RemoveStripsInSlice(), AlgTrackSRList::RemoveUnusedSpectStrips(), AlgTrackSR::RunAlg(), AlgTrackAtNu::RunAlg(), AlgSubShowerSRList::RunAlg(), AlgShowerSS::RunAlg(), AlgShowerSR::RunAlg(), AlgShowerEM::RunAlg(), AlgMuonRemoval::RunAlg(), AlgFitTrackSR::RunAlg(), AlgFitTrackAtNu::RunAlg(), AlgFarDetSliceList::RunAlg(), AlgFarDetSlice::RunAlg(), AlgFarDetEvent::RunAlg(), AlgEventSSList::RunAlg(), AlgEventSRList::RunAlg(), AlgCosmicMuonRemoval::RunAlg(), AlgClusterSRList::RunAlg(), AlgAtNuReco::RunAlg(), StripKG::Set(), AlgTrack::SetT(), AlgShowerSR::SetT(), AlgFitTrackCam::SetTrackProperties(), FitterEM::SetUpStripInfo(), AlgShowerSR::SetUV(), AlgTrack::SetUVZ(), TruthHelper::ShowerCompletenessImp(), TruthHelper::SliceCompleteness_MaxTimeGap(), TruthHelper::SlicePurity_MaxTimeGap(), AlgSliceSRList::SlicetheSnarl(), AlgFitTrackCam::SpectrometerSwim(), AlgTrackSRList::SpectrometerTracking(), AlgSubShowerSRList::TestOverLap(), AlgSubShowerSRList::TimeTest(), AlgFitTrackCam::TimingFit(), TruthHelper::TrackCompleteness(), FitTrackCamAnalysisModule::TruthSliceSection(), and EVD::UpdateChargeHists().

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

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

Definition at line 280 of file CandStripHandle.cxx.

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

Referenced by AlgEventSSList::AddStripToEvent(), AlgEventSRList::AddStripToEvent(), UserDisplayModule::AddTrack(), RecoTreeModule::Ana(), MuCalFitterModule::Ana(), FitTrackMSListModule::Ana(), FarDetStripListModule::Ana(), AtNuTreeModule::Ana(), AtNuDisplayModule::Ana(), CandShowerSRHandle::BelongsWithTrack(), GfxTrack::BuildDiscreteImp(), GfxShower::BuildDiscreteImp(), AlgEventSSList::BuildEventFromUnassoc(), AlgEventSRList::BuildEventFromUnassoc(), GfxTrack::BuildRealImp(), GfxShower::BuildRealImp(), AlgShowerCam::CalculateShowerEnergy(), AlgReco::Calibrate(), AlgSubShowerSRList::CleanUp(), AlgEventSSList::CreatePrimaryShower(), AlgEventSRList::CreatePrimaryShower(), AlgEventSSList::FillDist2Map(), AlgEventSRList::FillDist2Map(), NtpSRModule::FillNtpStrip(), NtpEMModule::FillNtpStrip(), NtpSRModule::FillNtpSubShowerSummary(), UberModuleLite::FillNtpTrackLinearFit(), UberModule::FillNtpTrackLinearFit(), NtpSRModule::FillNtpTrackLinearFit(), NtpSRModule::FillNtpWindow(), AltAlgSliceList::fillSliceSeeds(), NtpMaker::FillStripInfo(), MCAnalysis::FillTrkInfo(), AlgTrackSR::FindStripsInTrack(), AlgTrackSR::FindTimingDirection(), AlgShowerSR::FindTimingDirection(), VertexFinder::FindVtxUV(), FitTrackCamAnalysisModule::FittedTrackSection(), AlgTrackSRList::FormCandTrackSR(), AlgSubShowerSRList::FormHalo(), AlgFitTrackCam::GenerateNDSpectStrips(), CandSliceHandle::GetBegPlane(), CandRecoHandle::GetBegPlane(), GfxShower::GetCandShowerData(), DetectorAlignment::GetCandStrips(), GfxTrack::GetCandTrackData(), CandTrackSRHandle::GetDirCos(), CandTrackCamHandle::GetDirCos(), CandSliceHandle::GetEndPlane(), CandRecoHandle::GetEndPlane(), CandTrackSRHandle::GetHoughResid2(), CandSliceHandle::GetNPlane(), CandRecoHandle::GetNPlane(), CandClusterHandle::GetNPlane(), CandSliceHandle::GetNStrip(), CandRecoHandle::GetNStrip(), CandTrackSRHandle::GetNTrackPlane(), CandTrackHandle::GetNTrackPlane(), TrackClusterSR::GetPlaneView(), CandClusterHandle::GetPlaneView(), GeometryHelper::GetRotationCorrectedTPos(), AlgFarDetEvent::GetShower(), AlgFitTrack3::InitializeTrkClstList(), CandShowerSRHandle::IsUnphysical(), KeyOnUViewVetoCharge(), KeyOnUViewVetoChargeNear(), KeyOnVViewVetoCharge(), KeyOnVViewVetoChargeNear(), AlgFitTrackSR::MakeTrackClusterList(), AlgEventSRList::MergeShowers(), AlgFitTrackCam::NDStripBegTime(), is_v_view::operator()(), is_u_view::operator()(), is_in_tztpos_window::operator()(), AltAlgSliceList::printStrip(), AltAlgSliceList::printStripList(), AlgEventSSList::ReFillDist2Map(), AlgEventSRList::ReFillDist2Map(), AlgTrackAtNu::RunAlg(), AlgSubShowerSRList::RunAlg(), AlgSubShowerSR::RunAlg(), AlgShowerSS::RunAlg(), AlgShowerSR::RunAlg(), AlgShowerAtNu::RunAlg(), AlgFitTrackAtNu::RunAlg(), AlgFarDetSlice::RunAlg(), AlgClusterSRList::RunAlg(), AlgFitTrackCam::RunTheFitter(), select_strip(), StripKG::Set(), AlgTrack::SetT(), AlgShowerSR::SetT(), FitterEM::SetUpStripInfo(), AlgTrackCam::SetupTimingInfo(), AlgShowerCam::SetupTimingInfo(), AlgShowerSR::SetUV(), AlgTrack::SetUVZ(), FitTrackCamAnalysisModule::ShowerSection(), FitTrackCamAnalysisModule::SliceSection(), AlgSliceSRList::SlicetheSnarl(), AlgTrackSRList::SpectrometerTracking(), AlgSubShowerSRList::TestOverLap(), AlgSubShowerSRList::TimeTest(), AlgFitTrackCam::TimingFit(), FitTrackCamAnalysisModule::TrackSection(), FitTrackCamAnalysisModule::TruthSliceSection(), and EVD::UpdateChargeHists().

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

Int_t CandStripHandle::GetStrip  )  const [virtual]
 

Reimplemented in FarDetStripHandle.

Definition at line 95 of file CandStripHandle.cxx.

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

Referenced by UserDisplayModule::AddTrack(), RecoTreeModule::Ana(), MuCalFitterModule::Ana(), FitTrackMSListModule::Ana(), AtNuTreeModule::Ana(), AtNuDisplayModule::Ana(), AlgSubShowerSR::CalculateEnergyVertexAngle(), AlgSubShowerSRList::CleanUp(), TruthHelper::EventCompletenessImp(), AlgEventSSList::FillDist2Map(), AlgEventSRList::FillDist2Map(), AlgCosmicMuonRemoval::FillEvtInfo(), NtpMaker::FillFitTrackInfo(), UberModuleLite::FillNtpShower(), UberModule::FillNtpShower(), NtpSRModule::FillNtpStrip(), NtpEMModule::FillNtpStrip(), UberModuleLite::FillNtpTrack(), UberModule::FillNtpTrack(), NtpSRModule::FillNtpWindow(), NtpMaker::FillShowerInfo(), AltAlgSliceList::fillSliceSeeds(), NtpMaker::FillTrackInfo(), MCAnalysis::FillTrkInfo(), AlgMuonRemoval::FillTrkInfo(), AlgSubShowerSRList::FindCluster(), AlgAtmosShowerList::FormDummyTracks(), AlgTrackCamList::FormTheHits(), AlgClusterSRList::GenNeighborMap(), GfxShower::GetCandShowerData(), GfxTrack::GetCandTrackData(), CDTrackedHits::GetCCStripInfo(), AlgFarDetEvent::GetShower(), HitAtNu::GetStrip(), CDTrackedHits::GetTrackedStripInfo(), CDUnidentifiedHits::GetUnidentifiedStripInfo(), CDCrossTalker::GetXTalkStripInfo(), KeyFromPlaneStripTime(), AlgFitTrackSR::MakeDaughterStripList(), AlgFitTrackSR::MakeSliceClusterList(), AlgFitTrackSR::MakeTrackClusterList(), AlgTrackSRList::MakeTrackClusters(), AlgFitTrackSR::MarkTrackClusters(), AltAlgSliceList::printStrip(), AltAlgSliceList::printStripList(), AlgTrackAtNu::RunAlg(), AlgShowerEM::RunAlg(), AlgMuonRemoval::RunAlg(), AlgFitTrackAtNu::RunAlg(), AlgFarDetSlice::RunAlg(), AlgCosmicMuonRemoval::RunAlg(), AlgClusterSRList::RunAlg(), StripKG::Set(), FitterEM::SetUpStripInfo(), TruthHelper::ShowerCompletenessImp(), AlgSliceSRList::SlicetheSnarl(), AlgTrackSRList::SpectrometerTracking(), AlgSubShowerSRList::TimeTest(), TruthHelper::TrackCompleteness(), and EVD::UpdateChargeHists().

00096 {
00097   return  GetStripEndId().GetStrip();
00098 }

PlexStripEndId CandStripHandle::GetStripEndId StripEnd::StripEnd_t  = StripEnd::kWhole  )  const [virtual]
 

Definition at line 294 of file CandStripHandle.cxx.

References CandStrip::fBestStripEnd, CandHandle::GetCandBase(), and PlexStripEndId::SetEnd().

Referenced by Track2DSR::Add(), TrackClusterSR::AddStrip(), StraightTrackAlignment::AddTrack(), AlignmentStrip::AlignmentStrip(), FitTrackMSListModule::Ana(), FarDetStripListModule::Ana(), AlgShowerCam::CalculateShowerEnergy(), AlgReco::Calibrate(), CandReco::CandReco(), TridModelMaker::CreateShowerModels(), GfxStripList::ExecuteEvent(), GfxStripList::ExecuteEventStrip(), CDTruthifier::ExtractAllCandStripHandles(), NtpSRModule::FillNtpShower(), UberModuleLite::FillNtpTrack(), UberModule::FillNtpTrack(), NtpSRModule::FillNtpTrack(), AlgTrackSRList::FindTimingDirection(), AlgTrackSR::FindTimingDirection(), AlgShowerSR::FindTimingDirection(), AlgTrackSRList::FormCandTrackSR(), DetectorAlignment::GetCandStrips(), CandRecoHandle::GetCharge(), GfxStrip::GetDiscreteCoords(), GetPlane(), CandRecoHandle::GetPlaneCharge(), GetPlaneView(), GfxStrip::GetRealCoords(), TrackClusterSR::GetRotationCorrectedTPos(), GeometryHelper::GetRotationCorrectedTPos(), AlgFarDetEvent::GetShower(), GetStrip(), CandRecoHandle::GetStripCharge(), CDMapMaker::GetStripMap(), GetTPos(), CDCrossTalker::GetXTalkStripInfo(), KeyFromView(), GfxStrip::ModifyCoords(), AlgFitTrackCam::NDStripBegTime(), Track2DSR::RemoveAt(), AlgTrackAtNu::RunAlg(), AlgStripSR::RunAlg(), AlgShowerSS::RunAlg(), AlgShowerSR::RunAlg(), AlgShowerEM::RunAlg(), AlgShowerAtNu::RunAlg(), StripKG::Set(), Track2DSR::SetCluster(), AlgTrack::SetT(), AlgShowerSR::SetT(), AlgTrackCam::SetupTimingInfo(), AlgShowerCam::SetupTimingInfo(), StripSRKeyFromPSEId(), and AlgFitTrackCam::TimingFit().

00295       {
00296   const CandStrip *candstrip = dynamic_cast<const CandStrip *>(GetCandBase());
00297   PlexStripEndId seid = candstrip->fBestStripEnd;
00298   seid.SetEnd(stripend_t);
00299   return seid;
00300 }

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(), CandDigitHandle::GetCharge(), CandHandle::GetDaughterIterator(), PlexSEIdAltL::GetEnd(), CandDigitHandle::GetPlexSEIdAltL(), and CandDigitHandle::GetSubtractedTime().

Referenced by TrackClusterSR::AddStrip(), AlgSubShowerSR::CalculateEnergyVertexAngle(), AlgSubShowerSRList::CleanUp(), GfxStripList::ExecuteEvent(), GfxStripList::ExecuteEventStrip(), NtpSRModule::FillNtpStrip(), NtpEMModule::FillNtpStrip(), NtpSRModule::FillNtpWindow(), AlgTrackSRList::Find2DTrackEndPoints(), AlgTrackSRList::FindTimingDirection(), AlgTrackSR::FindTimingDirection(), AlgShowerSR::FindTimingDirection(), AlgTrackCamList::FormTheHits(), CandSubShowerSRHandle::GetAveTime(), CandShowerSRHandle::GetAveTime(), CDTrackedHits::GetCCStripInfo(), GetCorrBegTime(), NtpSRBleachFiller::GetEventDuration(), NtpSRBleachFiller::GetFixedWindowPH(), CandSubShowerSRHandle::GetMaxStpTime(), CandSubShowerSRHandle::GetMinStpTime(), CandShowerSRHandle::GetPHWTime(), GfxStrip::GetRelativeValue(), GfxStripList::GetStripColor(), AltAlgSliceList::getStripTime(), CDTrackedHits::GetTrackedStripInfo(), CDUnidentifiedHits::GetUnidentifiedStripInfo(), CDCrossTalker::GetXTalkStripInfo(), AlgTrackSR::RunAlg(), AlgTrackAtNu::RunAlg(), AlgShowerSS::RunAlg(), AlgShowerEM::RunAlg(), AlgShowerAtNu::RunAlg(), select_strip(), StripKG::Set(), AlgTrackCam::SetupTimingInfo(), AlgShowerCam::SetupTimingInfo(), AlgSliceSRList::SlicetheSnarl(), GfxStripList::StripMasked(), AlgSubShowerSRList::TimeTest(), AlgFitTrackCam::TimingFit(), Mint::UpdateStripRanges(), and EVD::ZoomTimetoSlice().

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]
 

Definition at line 117 of file CandStripHandle.cxx.

References CandHandle::GetCandBase().

Referenced by Track2DSR::Add(), TrackClusterSR::AddStrip(), AlgEventSSList::AddStripToEvent(), AlignmentStrip::AlignmentStrip(), FitTrackMSListModule::Ana(), FarDetStripListModule::Ana(), AtNuDisplayModule::Ana(), CandShowerSRHandle::BelongsWithTrack(), AlgEventSSList::BuildEventFromUnassoc(), AlgEventSRList::BuildEventFromUnassoc(), CandShowerSRHandle::BuriedTrack(), AlgSubShowerSR::CalculateEnergyVertexAngle(), AlgSubShowerSRList::CleanUp(), TrackClusterSR::DTPos(), AlgEventSSList::FillDist2Map(), AlgEventSRList::FillDist2Map(), NtpSRModule::FillNtpStrip(), NtpEMModule::FillNtpStrip(), UberModuleLite::FillNtpTrackLinearFit(), UberModule::FillNtpTrackLinearFit(), NtpSRModule::FillNtpTrackLinearFit(), NtpMaker::FillStripInfo(), AlgTrackSRList::Find2DTrackEndPoints(), AlgSubShowerSRList::FindCluster(), AlgTrackSR::FindStripsInTrack(), VertexFinder::FindVtxUV(), FitTrackCamAnalysisModule::FittedTrackSection(), AlgSubShowerSRList::FormHalo(), GfxShower::GetCandShowerData(), CandTrackSRHandle::GetDirCos(), CandTrackCamHandle::GetDirCos(), CandTrackSRHandle::GetHoughResid2(), TrackClusterSR::GetMaxTPos(), CandSubShowerSRHandle::GetMaxU(), CandShowerHandle::GetMaxU(), CandSubShowerSRHandle::GetMaxV(), CandShowerHandle::GetMaxV(), TrackClusterSR::GetMinTPos(), CandSubShowerSRHandle::GetMinU(), CandShowerHandle::GetMinU(), CandSubShowerSRHandle::GetMinV(), CandShowerHandle::GetMinV(), TrackClusterSR::GetRotationCorrectedTPos(), HitAtNu::GetTPos(), CandClusterHandle::GetTPos(), CandShowerHandle::IsContained(), CandShowerSRHandle::IsUnphysical(), KeyOnStripTPos(), AlgFitTrackSR::MakeDaughterStripList(), AlgFitTrackSR::MakeSliceClusterList(), AlgFitTrackSR::MakeTrackClusterList(), NtpCandStrip::NtpCandStrip(), sum_qtpos::operator()(), is_in_tztpos_window::operator()(), AlgEventSSList::ReFillDist2Map(), AlgEventSRList::ReFillDist2Map(), AlgTrackSR::RunAlg(), AlgTrackAtNu::RunAlg(), AlgShowerSSList::RunAlg(), AlgShowerSS::RunAlg(), AlgShowerSR::RunAlg(), AlgShowerEM::RunAlg(), AlgFitTrackAtNu::RunAlg(), AlgFarDetSlice::RunAlg(), AlgEventSSList::RunAlg(), AlgEventSRList::RunAlg(), AlgClusterSRList::RunAlg(), StripKG::Set(), Track2DSR::SetCluster(), FitterEM::SetUpStripInfo(), AlgShowerSR::SetUV(), AlgTrack::SetUVZ(), FitTrackCamAnalysisModule::ShowerSection(), FitTrackCamAnalysisModule::SliceSection(), AlgSliceSRList::SlicetheSnarl(), AlgSubShowerSRList::TestOverLap(), FitTrackCamAnalysisModule::TrackSection(), FitTrackCamAnalysisModule::TruthSliceSection(), and EVD::UpdateChargeHists().

00118 {
00119   return dynamic_cast<const CandStrip *>(GetCandBase())->fTPos;
00120 }

Double_t CandStripHandle::GetZPos  )  const [virtual]
 

Definition at line 106 of file CandStripHandle.cxx.

References CandHandle::GetCandBase().

Referenced by TrackClusterSR::AddStrip(), AlgEventSSList::AddStripToEvent(), AlignmentStrip::AlignmentStrip(), TimeCalibratorSRModule::Ana(), FitTrackMSListModule::Ana(), FarDetStripListModule::Ana(), AlgSubShowerSR::CalculateEnergyVertexAngle(), AlgSubShowerSRList::CleanUp(), NtpSRModule::FillNtpShower(), NtpSRModule::FillNtpStrip(), NtpEMModule::FillNtpStrip(), UberModuleLite::FillNtpTrackLinearFit(), UberModule::FillNtpTrackLinearFit(), NtpSRModule::FillNtpTrackLinearFit(), NtpMaker::FillStripInfo(), AlgTrackSRList::Find2DTrackEndPoints(), AlgSubShowerSRList::FindCluster(), AlgTrackSRList::FindTimingDirection(), AlgShowerSR::FindTimingDirection(), FitTrackCamAnalysisModule::FittedTrackSection(), GfxShower::GetCandShowerData(), AltAlgSliceList::getClosestCentroid(), GetCorrBegTime(), CandTrackSRHandle::GetDirCos(), CandTrackCamHandle::GetDirCos(), CandTrackSRHandle::GetHoughResid2(), CandTrackHandle::GetZ(), CandShowerHandle::GetZ(), HitAtNu::GetZPos(), CandShowerHandle::IsContained(), AlgFitTrackSR::MakeDaughterStripList(), AltAlgSliceList::MakeDistanceMap(), AlgFitTrackSR::MakeSliceClusterList(), AlgFitTrackSR::MakeTrackClusterList(), NtpCandStrip::NtpCandStrip(), sum_qz::operator()(), AlgTrackSR::RunAlg(), AlgTrackAtNu::RunAlg(), AlgShowerEM::RunAlg(), AlgFitTrackAtNu::RunAlg(), AlgFarDetSlice::RunAlg(), AlgFarDetEvent::RunAlg(), StripKG::Set(), FitterEM::SetUpStripInfo(), FitTrackCamAnalysisModule::ShowerSection(), FitTrackCamAnalysisModule::SliceSection(), AlgSliceSRList::SlicetheSnarl(), AlgFitTrackCam::SpectrometerSwim(), AlgSubShowerSRList::TestOverLap(), FitTrackCamAnalysisModule::TrackSection(), FitTrackCamAnalysisModule::TruthSliceSection(), and EVD::UpdateChargeHists().

00107 {
00108   return   dynamic_cast<const CandStrip *>(GetCandBase())->fZPos;
00109 }

NavKey CandStripHandle::KeyFromPlane const CandStripHandle  )  [static]
 

Definition at line 307 of file CandStripHandle.cxx.

00308 {
00309   return const_cast<CandStripHandle *>(strip)->GetPlane();
00310 }

NavKey CandStripHandle::KeyFromPlaneStripTime const CandStripHandle  )  [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  )  [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(), 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 }

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 AlgStripSR::RunAlg(), and AlgFarDetStrip::RunAlg().

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

void CandStripHandle::SetTPos Double_t   )  [virtual]
 

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 }

void CandStripHandle::SetZPos Double_t   )  [virtual]
 

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 }

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

Definition at line 340 of file CandStripHandle.cxx.

References GetBegTime().

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().

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, 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 }


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 Mon Feb 15 11:08:55 2010 for loon by  doxygen 1.3.9.1