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

Public Member Functions | |
| UgliStripHandle (UgliStripNode *stripNode) | |
| UgliStripHandle (GeoStripNode *stripNode) | |
| UgliStripHandle (const UgliStripHandle &that) | |
| UgliStripHandle & | operator= (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 | |
| UgliStripNode * | fUgliStripNode |
| GeoStripNode * | fGeoStripNode |
|
|
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 }
|
|
|
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 }
|
|
|
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 }
|
|
|
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 }
|
|
|
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 }
|
|
|
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 }
|
|
|
|
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); }
|
|
|
|
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(); }
|
|
|
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(); }
|
|
|
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(); }
|
|
|
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 }
|
|
|
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 }
|
|
|
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(); }
|
|
|
|
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(); }
|
|
|
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(); }
|
|
||||||||||||
|
|
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); }
|
|
|
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); }
|
|
|
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();}
|
|
|
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); }
|
|
|
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); }
|
|
|
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; }
|
|
|
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); }
|
|
|
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 }
|
|
|
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); }
|
|
|
Definition at line 187 of file UgliStripHandle.h. References GetZRotRelMdlRad(), and SetZRotRelMdlRad(). 00188 { SetZRotRelMdlRad(GetZRotRelMdlRad()+deltaRadians); }
|
|
||||||||||||
|
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 }
|
|
|
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 }
|
|
||||||||||||
|
Definition at line 190 of file UgliStripHandle.h. References GetLPosRelMdl(), GetTPosRelMdl(), and SetLTPosRelMdl(). 00191 { SetLTPosRelMdl(GetLPosRelMdl()+dlpos,GetTPosRelMdl()+dtpos); }
|
|
||||||||||||
|
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); }
|
|
|
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(); }
|
|
|
|
1.3.9.1