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

UgliStripHandle Class Reference

#include <UgliStripHandle.h>

Inheritance diagram for UgliStripHandle:

UgliStripABC List of all members.

Public Member Functions

 UgliStripHandle (UgliStripNode *stripNode)
 UgliStripHandle (GeoStripNode *stripNode)
 UgliStripHandle (const UgliStripHandle &that)
UgliStripHandleoperator= (const UgliStripHandle &that)
 UgliStripHandle ()
virtual ~UgliStripHandle ()
virtual Bool_t IsGeo () const
virtual Bool_t IsValid () const
virtual Bool_t IsFrozen () const
virtual PlexStripEndId GetSEId () const
virtual Float_t GetHalfLength () const
virtual Float_t GetHalfThickness () const
virtual Float_t GetHalfWidth () const
virtual Float_t GetTPos (Float_t orthCoord=9999.) const
virtual Float_t PartialLength (const StripEnd::StripEnd_t end) const
virtual Bool_t IsMirrored (const StripEnd::StripEnd_t end) const
virtual Float_t WlsPigtail (const StripEnd::StripEnd_t end) const
virtual Float_t WlsBypass () const
virtual Float_t ClearFiber (const StripEnd::StripEnd_t end) const
virtual Float_t TotalAttenuation (const StripEnd::StripEnd_t end, const Float_t alongLength) const
virtual TVector3 GlobalPos (const Float_t alongLength, const Bool_t onWLS=kFALSE) const
virtual TVector3 GlobalToLocal (const TVector3 &global) const
virtual TVector3 LocalToGlobal (const TVector3 &local) const
virtual Float_t DistanceAlong (const PlexStripEndId &orthogonalStrip) const
virtual TVector3 Intersection (const PlexStripEndId &orthogonalStrip) const
UgliScintMdlHandle GetScintMdlHandle () const
UgliScintPlnHandle GetScintPlnHandle () const
Float_t GetZRotRelMdlRad () const
Float_t GetLPosRelMdl () const
Float_t GetTPosRelMdl () const
Bool_t AttemptSet (const char *what="?") const
void SetZRotRelMdlRad (Float_t radians)
void SetLTPosRelMdl (Float_t lpos, Float_t tpos)
void RotateRelMdlBy (Float_t deltaRadians)
void ShiftLTPosRelMdlBy (Float_t dlpos, Float_t dtpos)

Protected Attributes

UgliStripNodefUgliStripNode
GeoStripNodefGeoStripNode

Constructor & Destructor Documentation

UgliStripHandle::UgliStripHandle UgliStripNode stripNode  ) 
 

Definition at line 45 of file UgliStripHandle.cxx.

References fUgliStripNode, and UgliStripNode::IncrementRef().

00046   : fUgliStripNode(node),fGeoStripNode(0)
00047 {
00048    // ctor keeps reference count up-to-date
00049 
00050    if (fUgliStripNode) fUgliStripNode->IncrementRef();
00051 } 

UgliStripHandle::UgliStripHandle GeoStripNode stripNode  ) 
 

Definition at line 54 of file UgliStripHandle.cxx.

References fGeoStripNode, and GeoNode::IncrementRef().

00055   : fUgliStripNode(0),fGeoStripNode(node)
00056 {
00057    // ctor keeps reference count up-to-date
00058 
00059    if (fGeoStripNode) fGeoStripNode->IncrementRef();
00060 }

UgliStripHandle::UgliStripHandle const UgliStripHandle that  ) 
 

Definition at line 63 of file UgliStripHandle.cxx.

References fGeoStripNode, fUgliStripNode, GeoNode::IncrementRef(), and UgliStripNode::IncrementRef().

00064    : UgliStripABC(),
00065      fUgliStripNode(that.fUgliStripNode),
00066      fGeoStripNode(that.fGeoStripNode)
00067 {
00068    // copy constructor keeps reference counts up-to-date
00069 
00070    if (fUgliStripNode) fUgliStripNode->IncrementRef();
00071    if (fGeoStripNode) fGeoStripNode->IncrementRef();
00072 }

UgliStripHandle::UgliStripHandle  ) 
 

Definition at line 25 of file UgliStripHandle.cxx.

References MSG.

00026   : fUgliStripNode(0),fGeoStripNode(0)
00027 {
00028    // Default constructor
00029 
00030    MSG("Ugli",Msg::kDebug) 
00031      << "UgliStripHandle created by default ctor" << endl;
00032 //   assert(0);
00033 }

UgliStripHandle::~UgliStripHandle  )  [virtual]
 

Definition at line 36 of file UgliStripHandle.cxx.

References GeoNode::DecrementRef(), UgliStripNode::DecrementRef(), fGeoStripNode, and fUgliStripNode.

00037 {
00038    // handle deletion updates reference count
00039   if (fUgliStripNode) fUgliStripNode->DecrementRef();
00040   if (fGeoStripNode) fGeoStripNode->DecrementRef();
00041   
00042 }


Member Function Documentation

Bool_t UgliStripHandle::AttemptSet const char *  what = "?"  )  const
 

Definition at line 110 of file UgliStripHandle.cxx.

References GetSEId(), IsFrozen(), and MSG.

Referenced by SetLTPosRelMdl(), and SetZRotRelMdlRad().

00111 {
00112   if (!IsFrozen()) return true;
00113 
00114   MSG("Ugli",Msg::kError) 
00115     << "AttemptSet " << what << " on Frozen " 
00116     << GetSEId() << " twarted!" << endl;
00117   return false;
00118 }

Float_t UgliStripHandle::ClearFiber const StripEnd::StripEnd_t  end  )  const [inline, virtual]
 

Implements UgliStripABC.

Definition at line 147 of file UgliStripHandle.h.

References GeoStripNode::ClearFiber(), UgliStripNode::ClearFiber(), fGeoStripNode, fUgliStripNode, and IsGeo().

Referenced by FitTrackMSListModule::Ana(), FarDetCandStripDump::Ana(), CompareToReroot::Ana(), AltDeMuxDisplay::Ana(), PhotonMapperPlusMuonComputer::ComputePhotons(), PhotonCalibratedBlueComputer::ComputePhotons(), AlgTrackSRList::FindTimingDirection(), AlgTrackSR::FindTimingDirection(), AlgShowerSR::FindTimingDirection(), SigMappedCalScheme::GetAttenCorrected(), StripCalibrator::GetClearLen(), StripCalibrator::GetSigMapped(), DmxMuonPlane::GetTimingOffset(), DmxHypothesis::GetTimingOffset(), PhotonFullGreenTracker::GreenPhotonToPe(), PhotonDefaultModel::GreenPhotonToPe(), PhotonCompositeGreenTracker::GreenPhotonToPe(), load_better_mipcal(), AlgTrackAtNu::RunAlg(), AlgShowerAtNu::RunAlg(), AlgFarDetStrip::RunAlg(), AlgFarDetShieldPlank::RunAlg(), StripKG::Set(), AltDeMuxCalc::SetFibreLengthE(), AltDeMuxCalc::SetFibreLengthW(), AlgTrack::SetT(), and ShieldGeom::SetupShieldGeom().

00148 { if ( !IsGeo() ) return fUgliStripNode->ClearFiber(end);
00149  else             return fGeoStripNode->ClearFiber(end); } 

Float_t UgliStripHandle::DistanceAlong const PlexStripEndId orthogonalStrip  )  const [inline, virtual]
 

Implements UgliStripABC.

Definition at line 167 of file UgliStripHandle.h.

References GeoStripNode::DistanceAlong(), UgliStripNode::DistanceAlong(), fGeoStripNode, fUgliStripNode, and IsGeo().

00168 { if ( !IsGeo() ) return fUgliStripNode->DistanceAlong(orthogonalStrip);
00169   else            return fGeoStripNode->DistanceAlong(orthogonalStrip); }

Float_t UgliStripHandle::GetHalfLength  )  const [inline, virtual]
 

Implements UgliStripABC.

Definition at line 115 of file UgliStripHandle.h.

References fGeoStripNode, fUgliStripNode, GeoStripNode::GetHalfLength(), UgliStripNode::GetHalfLength(), and IsGeo().

Referenced by ScintHitAna::Ana(), MuCalFitterModule::Ana(), FitTrackMSListModule::Ana(), FarDetCandStripDump::Ana(), CompareToReroot::Ana(), AltDeMuxDisplay::Ana(), PhotonMuonDecalibrator::AttenCorrectionExplicit(), PhotonMuonDecalibrator::AttenCorrectionMapperFits(), PhotonMuonDecalibrator::AttenCorrectionMuon(), PhotonMapperPlusMuonComputer::ComputePhotons(), PhotonCalibratedPeComputer::ComputePhotons(), PhotonCalibratedBlueComputer::ComputePhotons(), MakeAlignmentModule::ConvertToLocal(), TridPageDetector::CreateSketches(), StripAttenCalScheme::DecalAttenCorrected(), SimpleCalScheme::DecalAttenCorrected(), EVD::DrawVS(), AlgTrackSRList::FindTimingDirection(), AlgTrackSR::FindTimingDirection(), AlgShowerSR::FindTimingDirection(), AlgTrackSRList::FormCandTrackSR(), ToyMCModule::Get(), StripAttenCalScheme::GetAttenCorrected(), SimpleCalScheme::GetAttenCorrected(), SigMappedCalScheme::GetAttenCorrected(), GfxDigit::GetRealCoords(), StripCalibrator::GetSigMapped(), BubUtil::GetTrkLenInStrip(), StripCalibrator::GetWLSLen(), PhotonFullGreenTracker::GreenPhotonToPe(), PhotonDefaultModel::GreenPhotonToPe(), PhotonCompositeGreenTracker::GreenPhotonToPe(), load_better_mipcal(), ScintPhoton::Reset(), AlgTrackAtNu::RunAlg(), AlgShowerAtNu::RunAlg(), AlgFarDetStrip::RunAlg(), AlgFarDetShieldPlank::RunAlg(), PhotonFullBlueTracker::ScintPhotonToFibreHit(), PhotonFastBlueModel::ScintPhotonToFibreHit(), PhotonDefaultModel::ScintPhotonToFibreHit(), StripKG::Set(), AlgTrack::SetT(), PhotonTransport::SimulateScintHit(), and PhotonTransport::VerifyScintHit().

00116 { if ( !IsGeo() ) return fUgliStripNode->GetHalfLength();
00117   else            return fGeoStripNode->GetHalfLength(); } 

Float_t UgliStripHandle::GetHalfThickness  )  const [inline, virtual]
 

Implements UgliStripABC.

Definition at line 119 of file UgliStripHandle.h.

References fGeoStripNode, fUgliStripNode, GeoStripNode::GetHalfThickness(), UgliStripNode::GetHalfThickness(), and IsGeo().

Referenced by ScintHitAna::Ana(), GfxTrack::BuildRealImp(), GfxShower::BuildRealImp(), TridPageDetector::CreateSketches(), EVD::DrawVS(), PhotonFullFibreModel::FindBlueAbsorptionPosition(), ToyMCModule::Get(), GfxStrip::GetRealCoords(), GfxDigit::GetRealCoords(), BubUtil::GetTrkLenInStrip(), ScintPhoton::Reset(), PhotonFastBlueModel::ScintPhotonToFibreHit(), StripKG::Set(), PhotonTransport::SimulateScintHit(), and PhotonTransport::VerifyScintHit().

00120 { if ( !IsGeo() ) return fUgliStripNode->GetHalfThickness(); 
00121   else            return fGeoStripNode->GetHalfThickness(); } 

Float_t UgliStripHandle::GetHalfWidth  )  const [inline, virtual]
 

Implements UgliStripABC.

Definition at line 123 of file UgliStripHandle.h.

References fGeoStripNode, fUgliStripNode, GeoStripNode::GetHalfWidth(), UgliStripNode::GetHalfWidth(), and IsGeo().

Referenced by ScintHitAna::Ana(), GfxTrack::BuildRealImp(), GfxShower::BuildRealImp(), TridPageDetector::CreateSketches(), EVD::DrawVS(), ToyMCModule::Get(), GfxStrip::GetRealCoords(), GfxDigit::GetRealCoords(), BubUtil::GetTrkLenInStrip(), ScintPhoton::Reset(), AlgBandClusterList::RunAlgOnSlice(), AlgFitThruMuonList::RunFindStraightTrackAlg(), StripKG::Set(), PhotonTransport::SimulateScintHit(), and PhotonTransport::VerifyScintHit().

00124 { if ( !IsGeo() ) return fUgliStripNode->GetHalfWidth(); 
00125   else            return fGeoStripNode->GetHalfWidth(); } 

Float_t UgliStripHandle::GetLPosRelMdl  )  const [inline]
 

Definition at line 179 of file UgliStripHandle.h.

References fGeoStripNode, fUgliStripNode, GeoStripNode::GetLPosRelMdl(), UgliStripNode::GetLPosRelMdl(), and IsGeo().

Referenced by MakeAlignmentModule::ProcessRecord(), and ShiftLTPosRelMdlBy().

00180 { if ( !IsGeo() ) return fUgliStripNode->GetLPosRelMdl();
00181  else             return fGeoStripNode->GetLPosRelMdl(); }

UgliScintMdlHandle UgliStripHandle::GetScintMdlHandle  )  const
 

Definition at line 96 of file UgliStripHandle.cxx.

References fGeoStripNode, fUgliStripNode, GeoStripNode::GetScintMdlNode(), UgliStripNode::GetScintMdlNode(), and IsGeo().

Referenced by StraightTrackAlignment::LookupScintModule().

00097 { if (!IsGeo()) return UgliScintMdlHandle(fUgliStripNode->GetScintMdlNode());
00098   else return UgliScintMdlHandle(fGeoStripNode->GetScintMdlNode()); 
00099 }

UgliScintPlnHandle UgliStripHandle::GetScintPlnHandle  )  const
 

Definition at line 102 of file UgliStripHandle.cxx.

References fGeoStripNode, fUgliStripNode, GeoStripNode::GetScintMdlNode(), UgliStripNode::GetScintMdlNode(), GeoScintMdlNode::GetScintPlnNode(), UgliScintMdlNode::GetScintPlnNode(), and IsGeo().

Referenced by MakeAlignmentModule::ProcessRecord(), and AlgDigiPair::RunAlg().

00103 { if (!IsGeo()) return 
00104   UgliScintPlnHandle(fUgliStripNode->GetScintMdlNode()->GetScintPlnNode()); 
00105  else return 
00106   UgliScintPlnHandle(fGeoStripNode->GetScintMdlNode()->GetScintPlnNode()); 
00107 }

PlexStripEndId UgliStripHandle::GetSEId  )  const [inline, virtual]
 

Implements UgliStripABC.

Definition at line 111 of file UgliStripHandle.h.

References fGeoStripNode, fUgliStripNode, GeoStripNode::GetSEId(), UgliStripNode::GetSEId(), and IsGeo().

Referenced by AttemptSet(), ToyMCModule::Get(), DmxShowerPlane::GetHypothesisLowerBound(), DmxMuonPlane::GetHypothesisLowerBound(), PhotonFullGreenTracker::GreenPhotonToPe(), PhotonDefaultModel::GreenPhotonToPe(), PhotonCompositeGreenTracker::GreenPhotonToPe(), DmxShowerPlane::SetStrips(), and DmxMuonPlane::SetStrips().

00112 { if ( !IsGeo() ) return fUgliStripNode->GetSEId();
00113   else            return fGeoStripNode->GetSEId(); }

Float_t UgliStripHandle::GetTPos Float_t  orthCoord = 9999.  )  const [inline, virtual]
 

Implements UgliStripABC.

Definition at line 127 of file UgliStripHandle.h.

References fGeoStripNode, fUgliStripNode, GeoStripNode::GetTPos(), UgliStripNode::GetTPos(), and IsGeo().

Referenced by RecoTreeModule::Ana(), PreFilter::Ana(), FCPCFilterModule::Ana(), DmxDeMuxModule::Ana(), ChopModule::Ana(), AtNuTreeModule::Ana(), GfxTrack::BuildRealImp(), GfxShower::BuildRealImp(), AlgDeMuxBeam::DeMuxFirstNPlanesTest(), ChopEvaluation::Evaluate(), AlgDeMuxBeam::FindDigitCoG(), StraightTrackAlignment::FitTrackLessOne(), DmxShowerPlane::GetBestCoG(), PreFilter::GetCDHTPos(), DmxShowerPlane::GetCoG(), DmxMuonPlane::GetCoG(), DmxShowerPlane::GetHypothesisCoG(), DmxMuonPlane::GetInitialCoG(), GfxStrip::GetRealCoords(), GfxDigit::GetRealCoords(), TrackClusterSR::GetRotationCorrectedTPos(), DmxShowerPlane::GetSecondBestCoG(), DmxShowerPlane::GetThirdBestCoG(), BubUtil::GetTrkLenInStrip(), CheezyDisplay::PlaneStripToXY(), MakeAlignmentModule::ProcessRecord(), AlgDeMuxBeam::ReconcileShowerAndMuonRegions(), AlgStripSR::RunAlg(), AlgFarDetStrip::RunAlg(), AlgDigiPair::RunAlg(), HistPage::Update(), and EVD::UpdateChargeHists().

00128 { if ( !IsGeo() ) return fUgliStripNode->GetTPos(orthCoord); 
00129   else            return fGeoStripNode->GetTPos(orthCoord); } 

Float_t UgliStripHandle::GetTPosRelMdl  )  const [inline]
 

Definition at line 183 of file UgliStripHandle.h.

References fGeoStripNode, fUgliStripNode, GeoStripNode::GetTPosRelMdl(), UgliStripNode::GetTPosRelMdl(), and IsGeo().

Referenced by MakeAlignmentModule::ProcessRecord(), and ShiftLTPosRelMdlBy().

00184 { if ( !IsGeo() ) return fUgliStripNode->GetTPosRelMdl(); 
00185   else            return fGeoStripNode->GetTPosRelMdl(); }

Float_t UgliStripHandle::GetZRotRelMdlRad  )  const [inline]
 

Definition at line 175 of file UgliStripHandle.h.

References fGeoStripNode, fUgliStripNode, GeoStripNode::GetZRotRelMdlRad(), UgliStripNode::GetZRotRelMdlRad(), and IsGeo().

Referenced by RotateRelMdlBy().

00176 { if ( !IsGeo() ) return fUgliStripNode->GetZRotRelMdlRad();
00177   else            return fGeoStripNode->GetZRotRelMdlRad(); }

TVector3 UgliStripHandle::GlobalPos const Float_t  alongLength,
const Bool_t  onWLS = kFALSE
const [inline, virtual]
 

Implements UgliStripABC.

Definition at line 155 of file UgliStripHandle.h.

References fGeoStripNode, fUgliStripNode, GeoStripNode::GlobalPos(), UgliStripNode::GlobalPos(), and IsGeo().

Referenced by ShieldPlankListModule::Ana(), FCPCFilterModule::Ana(), AltDeMuxDisplay::Ana(), GfxTrack::BuildRealImp(), GfxShower::BuildRealImp(), TridPageDetector::CreateSketches(), Calibrator::DecalAttenCorrectedTpos(), DrawMuonTracksModule::DrawTracks(), EVD::DrawVS(), StraightTrackAlignment::FitTrackLessOne(), AlgTrackSRList::FormCandTrackSR(), Calibrator::GetAttenCorrectedTpos(), PreFilter::GetCDHZPos(), GfxStrip::GetRealCoords(), GfxDigit::GetRealCoords(), BubUtil::GetTrkLenInStrip(), CheezyDisplay::PlaneStripToXY(), MakeAlignmentModule::RecalculateResiduals(), AlgFarDetShieldPlank::RunAlg(), ShieldGeom::SetupShieldGeom(), HistPage::Update(), and EVD::UpdateChargeHists().

00156 { if ( !IsGeo() ) return fUgliStripNode->GlobalPos(alongLength,onWLS);
00157   else            return fGeoStripNode->GlobalPos(alongLength,onWLS); }

TVector3 UgliStripHandle::GlobalToLocal const TVector3 &  global  )  const [inline, virtual]
 

Implements UgliStripABC.

Definition at line 159 of file UgliStripHandle.h.

References fGeoStripNode, fUgliStripNode, GeoNode::GlobalToLocal(), UgliStripNode::GlobalToLocal(), and IsGeo().

Referenced by MakeAlignmentModule::ConvertToLocal(), flshit_massage_local(), and ToyMCModule::Get().

00160 { if ( !IsGeo() ) return fUgliStripNode->GlobalToLocal(global);
00161   else            return fGeoStripNode->GlobalToLocal(global); }

TVector3 UgliStripHandle::Intersection const PlexStripEndId orthogonalStrip  )  const [inline, virtual]
 

Implements UgliStripABC.

Definition at line 171 of file UgliStripHandle.h.

References fGeoStripNode, fUgliStripNode, GeoStripNode::Intersection(), UgliStripNode::Intersection(), and IsGeo().

00172 { if ( !IsGeo() ) return fUgliStripNode->Intersection(orthogonalStrip);
00173   else            return fGeoStripNode->Intersection(orthogonalStrip); }

Bool_t UgliStripHandle::IsFrozen  )  const [inline, virtual]
 

Definition at line 107 of file UgliStripHandle.h.

References fGeoStripNode, fUgliStripNode, GeoNode::GetGeoGeometry(), UgliStripNode::GetUgliGeometry(), GeoGeometry::IsFrozen(), UgliGeometry::IsFrozen(), and IsGeo().

Referenced by AttemptSet().

00108 { if ( !IsGeo() ) return fUgliStripNode->GetUgliGeometry()->IsFrozen();
00109   else            return fGeoStripNode->GetGeoGeometry()->IsFrozen();}

virtual Bool_t UgliStripHandle::IsGeo  )  const [inline, virtual]
 

Definition at line 40 of file UgliStripHandle.h.

References fGeoStripNode.

Referenced by ClearFiber(), DistanceAlong(), GetHalfLength(), GetHalfThickness(), GetHalfWidth(), GetLPosRelMdl(), GetScintMdlHandle(), GetScintPlnHandle(), GetSEId(), GetTPos(), GetTPosRelMdl(), GetZRotRelMdlRad(), GlobalPos(), GlobalToLocal(), Intersection(), IsFrozen(), IsMirrored(), IsValid(), LocalToGlobal(), PartialLength(), SetLTPosRelMdl(), SetZRotRelMdlRad(), TotalAttenuation(), WlsBypass(), and WlsPigtail().

00040 { return (fGeoStripNode != 0); }

Bool_t UgliStripHandle::IsMirrored const StripEnd::StripEnd_t  end  )  const [inline, virtual]
 

Implements UgliStripABC.

Definition at line 135 of file UgliStripHandle.h.

References fGeoStripNode, fUgliStripNode, IsGeo(), GeoStripNode::IsMirrored(), and UgliStripNode::IsMirrored().

Referenced by PhotonCalibratedPeComputer::ComputePhotons(), PhotonDefaultModel::FibreHitToGreenPhoton(), PhotonFullGreenTracker::GreenPhotonToPe(), PhotonDefaultModel::GreenPhotonToPe(), PhotonCompositeGreenTracker::GreenPhotonToPe(), ScintPhoton::InteractAtSurface(), and PhotonFastBlueModel::ScintPhotonToFibreHit().

00136 { if ( !IsGeo() ) return fUgliStripNode->IsMirrored(end);
00137   else            return fGeoStripNode->IsMirrored(end); } 

Bool_t UgliStripHandle::IsValid  )  const [inline, virtual]
 

Definition at line 103 of file UgliStripHandle.h.

References IsGeo().

Referenced by ShieldPlankListModule::Ana(), CompareToReroot::Ana(), AltDeMuxDisplay::Ana(), GfxTrack::BuildRealImp(), GfxShower::BuildRealImp(), DrawMuonTracksModule::DrawTracks(), ToyMCModule::Get(), SigMappedCalScheme::GetAttenCorrected(), AltDeMuxModule::GetFibreLengths(), AlgAltDeMuxBase::GetFibreLengths(), GfxStrip::GetRealCoords(), GfxDigit::GetRealCoords(), BubUtil::GetTrkLenInStrip(), load_better_mipcal(), CheezyDisplay::PlaneStripToXY(), ScintPhoton::Reset(), AlgFarDetShieldPlank::RunAlg(), AlgDigiPair::RunAlg(), AlgBandClusterList::RunAlgOnSlice(), AlgFitThruMuonList::RunFindStraightTrackAlg(), AltDeMuxCalc::SetFibreLengthE(), AltDeMuxCalc::SetFibreLengthW(), PhotonTransport::SimulateScintHit(), EVD::UpdateChargeHists(), and TimeCalibratorSRModule::UpdateTable().

00104 { if ( !IsGeo() ) return (fUgliStripNode) ? kTRUE : kFALSE;
00105  else             return (fGeoStripNode)  ? kTRUE : kFALSE; }

TVector3 UgliStripHandle::LocalToGlobal const TVector3 &  local  )  const [inline, virtual]
 

Implements UgliStripABC.

Definition at line 163 of file UgliStripHandle.h.

References fGeoStripNode, fUgliStripNode, IsGeo(), GeoNode::LocalToGlobal(), and UgliStripNode::LocalToGlobal().

Referenced by NtpMaker::FillMCInfo(), NtpMCModule::FillNtpMCDigiScintHit(), PreFilter::SimCheck(), and MCDisp::Update().

00164 { if ( !IsGeo() ) return fUgliStripNode->LocalToGlobal(local); 
00165   else            return fGeoStripNode->LocalToGlobal(local); }

UgliStripHandle & UgliStripHandle::operator= const UgliStripHandle that  ) 
 

Definition at line 75 of file UgliStripHandle.cxx.

References GeoNode::DecrementRef(), UgliStripNode::DecrementRef(), fGeoStripNode, fUgliStripNode, GeoNode::IncrementRef(), and UgliStripNode::IncrementRef().

00076 {
00077    // assignment keeps reference counts up-to-date
00078 
00079    
00080    if (fUgliStripNode) fUgliStripNode->DecrementRef();
00081    if (fGeoStripNode) fGeoStripNode->DecrementRef();
00082    
00083    fUgliStripNode = that.fUgliStripNode;
00084    fGeoStripNode = that.fGeoStripNode;
00085    
00086    if (fUgliStripNode) fUgliStripNode->IncrementRef();
00087    if (fGeoStripNode) fGeoStripNode->IncrementRef();
00088 
00089    return *this;
00090 }

Float_t UgliStripHandle::PartialLength const StripEnd::StripEnd_t  end  )  const [inline, virtual]
 

Definition at line 131 of file UgliStripHandle.h.

References fGeoStripNode, fUgliStripNode, IsGeo(), GeoStripNode::PartialLength(), and UgliStripNode::PartialLength().

Referenced by PhotonCalibratedPeComputer::ComputePhotons(), PhotonFullGreenTracker::GreenPhotonToPe(), PhotonDefaultModel::GreenPhotonToPe(), PhotonCompositeGreenTracker::GreenPhotonToPe(), PhotonFullBlueTracker::ScintPhotonToFibreHit(), PhotonFastBlueModel::ScintPhotonToFibreHit(), PhotonDefaultModel::ScintPhotonToFibreHit(), and PhotonTransport::VerifyScintHit().

00132 { if ( !IsGeo() ) return fUgliStripNode->PartialLength(end);
00133  else             return fGeoStripNode->PartialLength(end); }

void UgliStripHandle::RotateRelMdlBy Float_t  deltaRadians  )  [inline]
 

Definition at line 187 of file UgliStripHandle.h.

References GetZRotRelMdlRad(), and SetZRotRelMdlRad().

00188 { SetZRotRelMdlRad(GetZRotRelMdlRad()+deltaRadians); }

void UgliStripHandle::SetLTPosRelMdl Float_t  lpos,
Float_t  tpos
 

Definition at line 128 of file UgliStripHandle.cxx.

References AttemptSet(), fGeoStripNode, fUgliStripNode, IsGeo(), GeoStripNode::SetLTPosRelMdl(), and UgliStripNode::SetLTPosRelMdl().

Referenced by ShiftLTPosRelMdlBy().

00129 {
00130   if (!AttemptSet("LTPos")) return;
00131   if (!IsGeo())fUgliStripNode->SetLTPosRelMdl(lpos,tpos);
00132   else fGeoStripNode->SetLTPosRelMdl(lpos,tpos);
00133   
00134 }

void UgliStripHandle::SetZRotRelMdlRad Float_t  radians  ) 
 

Definition at line 120 of file UgliStripHandle.cxx.

References AttemptSet(), fGeoStripNode, fUgliStripNode, IsGeo(), GeoStripNode::SetZRotRelMdlRad(), and UgliStripNode::SetZRotRelMdlRad().

Referenced by RotateRelMdlBy().

00121 {
00122   if (!AttemptSet("ZRotRelMdlRad")) return;
00123   if (!IsGeo())fUgliStripNode->SetZRotRelMdlRad(radians);
00124   else fGeoStripNode->SetZRotRelMdlRad(radians);
00125   
00126 }

void UgliStripHandle::ShiftLTPosRelMdlBy Float_t  dlpos,
Float_t  dtpos
[inline]
 

Definition at line 190 of file UgliStripHandle.h.

References GetLPosRelMdl(), GetTPosRelMdl(), and SetLTPosRelMdl().

00191 { SetLTPosRelMdl(GetLPosRelMdl()+dlpos,GetTPosRelMdl()+dtpos); }

Float_t UgliStripHandle::TotalAttenuation const StripEnd::StripEnd_t  end,
const Float_t  alongLength
const [inline, virtual]
 

Implements UgliStripABC.

Definition at line 151 of file UgliStripHandle.h.

References fGeoStripNode, fUgliStripNode, IsGeo(), GeoStripNode::TotalAttenuation(), and UgliStripNode::TotalAttenuation().

00152 { if ( !IsGeo() ) return fUgliStripNode->TotalAttenuation(end,alongLength);
00153   else            return fGeoStripNode->TotalAttenuation(end,alongLength);  } 

Float_t UgliStripHandle::WlsBypass  )  const [inline, virtual]
 

Definition at line 143 of file UgliStripHandle.h.

References fGeoStripNode, fUgliStripNode, IsGeo(), GeoStripNode::WlsBypass(), and UgliStripNode::WlsBypass().

Referenced by PhotonCalibratedPeComputer::ComputePhotons(), MakeAlignmentModule::ConvertToLocal(), PhotonFullGreenTracker::GreenPhotonToPe(), PhotonDefaultModel::GreenPhotonToPe(), PhotonCompositeGreenTracker::GreenPhotonToPe(), PhotonFullBlueTracker::ScintPhotonToFibreHit(), PhotonFastBlueModel::ScintPhotonToFibreHit(), PhotonDefaultModel::ScintPhotonToFibreHit(), and PhotonTransport::VerifyScintHit().

00144 { if ( !IsGeo() ) return fUgliStripNode->WlsBypass();
00145   else            return fGeoStripNode->WlsBypass();  } 

Float_t UgliStripHandle::WlsPigtail const StripEnd::StripEnd_t  end  )  const [inline, virtual]
 

Implements UgliStripABC.

Definition at line 139 of file UgliStripHandle.h.

References fGeoStripNode, fUgliStripNode, IsGeo(), GeoStripNode::WlsPigtail(), and UgliStripNode::WlsPigtail().

Referenced by MuCalFitterModule::Ana(), FitTrackMSListModule::Ana(), FarDetCandStripDump::Ana(), CompareToReroot::Ana(), AltDeMuxDisplay::Ana(), PhotonMuonDecalibrator::AttenCorrectionExplicit(), PhotonMuonDecalibrator::AttenCorrectionMapperFits(), PhotonMuonDecalibrator::AttenCorrectionMuon(), PhotonMapperPlusMuonComputer::ComputePhotons(), PhotonCalibratedBlueComputer::ComputePhotons(), MakeAlignmentModule::ConvertToLocal(), StripAttenCalScheme::DecalAttenCorrected(), SimpleCalScheme::DecalAttenCorrected(), AlgTrackSRList::FindTimingDirection(), AlgTrackSR::FindTimingDirection(), AlgShowerSR::FindTimingDirection(), StripAttenCalScheme::GetAttenCorrected(), SimpleCalScheme::GetAttenCorrected(), SigMappedCalScheme::GetAttenCorrected(), StripCalibrator::GetSigMapped(), DmxMuonPlane::GetTimingOffset(), DmxHypothesis::GetTimingOffset(), StripCalibrator::GetWLSLen(), PhotonFullGreenTracker::GreenPhotonToPe(), PhotonDefaultModel::GreenPhotonToPe(), PhotonCompositeGreenTracker::GreenPhotonToPe(), load_better_mipcal(), AlgTrackAtNu::RunAlg(), AlgShowerAtNu::RunAlg(), AlgFarDetStrip::RunAlg(), AlgFarDetShieldPlank::RunAlg(), StripKG::Set(), AltDeMuxCalc::SetFibreLengthE(), AltDeMuxCalc::SetFibreLengthW(), AlgTrack::SetT(), and ShieldGeom::SetupShieldGeom().

00140 { if ( !IsGeo() ) return fUgliStripNode->WlsPigtail(end); 
00141   else            return fGeoStripNode->WlsPigtail(end); } 


Member Data Documentation

GeoStripNode* UgliStripHandle::fGeoStripNode [protected]
 

Definition at line 90 of file UgliStripHandle.h.

Referenced by ClearFiber(), DistanceAlong(), GetHalfLength(), GetHalfThickness(), GetHalfWidth(), GetLPosRelMdl(), GetScintMdlHandle(), GetScintPlnHandle(), GetSEId(), GetTPos(), GetTPosRelMdl(), GetZRotRelMdlRad(), GlobalPos(), GlobalToLocal(), Intersection(), IsFrozen(), IsGeo(), IsMirrored(), LocalToGlobal(), operator=(), PartialLength(), SetLTPosRelMdl(), SetZRotRelMdlRad(), TotalAttenuation(), UgliStripHandle(), WlsBypass(), WlsPigtail(), and ~UgliStripHandle().

UgliStripNode* UgliStripHandle::fUgliStripNode [protected]
 

Definition at line 89 of file UgliStripHandle.h.

Referenced by ClearFiber(), DistanceAlong(), GetHalfLength(), GetHalfThickness(), GetHalfWidth(), GetLPosRelMdl(), GetScintMdlHandle(), GetScintPlnHandle(), GetSEId(), GetTPos(), GetTPosRelMdl(), GetZRotRelMdlRad(), GlobalPos(), GlobalToLocal(), Intersection(), IsFrozen(), IsMirrored(), LocalToGlobal(), operator=(), PartialLength(), SetLTPosRelMdl(), SetZRotRelMdlRad(), TotalAttenuation(), UgliStripHandle(), WlsBypass(), WlsPigtail(), and ~UgliStripHandle().


The documentation for this class was generated from the following files:
Generated on Thu Nov 1 15:58:43 2007 for loon by  doxygen 1.3.9.1