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

Public Member Functions | |
| CandStraightClusterHandle () | |
| CandStraightClusterHandle (const CandStraightClusterHandle &clh) | |
| CandStraightClusterHandle (CandStraightCluster *cl) | |
| virtual | ~CandStraightClusterHandle () |
| Int_t | GetFitMode () const |
| Float_t | GetFitDet () const |
| Float_t | GetFitInter () const |
| Float_t | GetFitSlope () const |
| Float_t | GetFitTPos (Float_t z) const |
| Float_t | GetFitZPos (Float_t t) const |
| Float_t | GetTsum () const |
| Float_t | GetT2sum () const |
| Float_t | GetTZsum () const |
| Float_t | GetWtSum () const |
| Float_t | GetZsum () const |
| Float_t | GetZ2sum () const |
| virtual void | Trace (const char *c="") const |
| virtual CandStraightClusterHandle * | DupHandle () const |
| void | SetFitMode (Int_t mode) |
| void | SetFitDet (Float_t det) |
| void | SetFitInter (Float_t inter) |
| void | SetFitInterErr (Float_t intererr) |
| void | SetFitSlope (Float_t slope) |
| void | SetFitSlopeErr (Float_t slopeerr) |
| void | SetTsum (Float_t tsum) |
| void | SetT2sum (Float_t t2sum) |
| void | SetTZsum (Float_t tzsum) |
| void | SetWtSum (Float_t wtsum) |
| void | SetZsum (Float_t zsum) |
| void | SetZ2sum (Float_t z2sum) |
|
|
Definition at line 36 of file CandStraightClusterHandle.cxx. Referenced by DupHandle(). 00036 : 00037 CandMSTClusterHandle() 00038 { 00039 // 00040 // Purpose: Default constructor. 00041 // 00042 // Arguments: n/a 00043 // 00044 // Return: n/a 00045 // 00046 }
|
|
|
Definition at line 50 of file CandStraightClusterHandle.cxx. 00051 : 00052 CandMSTClusterHandle(clh) 00053 { 00054 // 00055 // Purpose: Copy constructor. 00056 // 00057 // Arguments: 00058 // chlh in CandStraightClusterHandle to be copied. 00059 // 00060 // Return: n/a 00061 // 00062 }
|
|
|
Definition at line 66 of file CandStraightClusterHandle.cxx. 00067 : 00068 CandMSTClusterHandle(cl) 00069 { 00070 // 00071 // Purpose: Constructor for the handle to point to a 00072 // CandStraightCluster. 00073 // 00074 // Arguments: 00075 // cl in Pointer to CandStraightCluster to which the new 00076 // CandStraightClusterHandle will provide access. 00077 // 00078 // Return: n/a 00079 // 00080 }
|
|
|
Definition at line 84 of file CandStraightClusterHandle.cxx. 00085 {
00086 //
00087 // Purpose: Default destructor.
00088 //
00089 // Arguments: n/a
00090 //
00091 // Return: n/a
00092 //
00093 }
|
|
|
Reimplemented from CandMSTClusterHandle. Definition at line 97 of file CandStraightClusterHandle.cxx. References CandStraightClusterHandle(). Referenced by CandThruMuon::CandThruMuon(), CandThruMuonHandle::SetClusterU(), and CandThruMuonHandle::SetClusterV(). 00098 {
00099 //
00100 // Purpose: Method to create a copy of this handle.
00101 //
00102 // Arguments: n/a
00103 //
00104 // Return: Pointer to new copy of this CandStraightClusterHandle.
00105 //
00106
00107 return (new CandStraightClusterHandle(*this));
00108 }
|
|
|
Definition at line 129 of file CandStraightClusterHandle.cxx. References CandHandle::GetCandBase(). Referenced by AlgFitThruMuonList::RunFindStraightTrackAlg(). 00130 {
00131 //
00132 // Purpose: Return the determinant of the fit.
00133 //
00134 // Arguments: n/a
00135 //
00136 // Return: Determinant of fit.
00137 //
00138
00139 return dynamic_cast<const CandStraightCluster*>(GetCandBase())->fDet;
00140 }
|
|
|
Definition at line 144 of file CandStraightClusterHandle.cxx. References CandHandle::GetCandBase(). Referenced by AlgFitThruMuonList::RunFindStraightTrackAlg(). 00145 {
00146 //
00147 // Purpose: Return the intercept of the fit.
00148 //
00149 // Arguments: n/a
00150 //
00151 // Return: Intercept of fit.
00152 //
00153
00154 return dynamic_cast<const CandStraightCluster *>
00155 (GetCandBase())->fInter;
00156 }
|
|
|
Definition at line 112 of file CandStraightClusterHandle.cxx. References CandHandle::GetCandBase(). Referenced by AlgThruMuon::RunAlg(), and AlgFitThruMuonList::RunFindStraightTrackAlg(). 00113 {
00114 //
00115 // Purpose: Return the mode of the fit.
00116 //
00117 // Arguments: n/a
00118 //
00119 // Return: 0: t=t(z)
00120 // 1: z=z(t)
00121 //
00122
00123 return dynamic_cast<const CandStraightCluster *>
00124 (GetCandBase())->fFitMode;
00125 }
|
|
|
Definition at line 160 of file CandStraightClusterHandle.cxx. References CandHandle::GetCandBase(). Referenced by AlgThruMuon::RunAlg(), and AlgFitThruMuonList::RunFindStraightTrackAlg(). 00161 {
00162 //
00163 // Purpose: Return the slope of the fit.
00164 //
00165 // Arguments: n/a
00166 //
00167 // Return: Slope of fit.
00168 //
00169
00170 return dynamic_cast<const CandStraightCluster *>
00171 (GetCandBase())->fSlope;
00172 }
|
|
|
Definition at line 176 of file CandStraightClusterHandle.cxx. References CandStraightCluster::fFitMode, CandStraightCluster::fInter, CandStraightCluster::fSlope, and CandHandle::GetCandBase(). Referenced by AlgThruMuon::RunAlg(). 00177 {
00178 //
00179 // Purpose: Return the corresponding transverse position of the fit.
00180 //
00181 // Arguments:
00182 // z in z-coordinate of fit position
00183 //
00184 // Return: Transverse coordinate corresponding to z.
00185 //
00186
00187 const CandStraightCluster *cs =
00188 dynamic_cast<const CandStraightCluster *>(GetCandBase());
00189 if (cs->fFitMode) {
00190 return (cs->fSlope!=0. ? ((z - cs->fInter) / cs->fSlope) : -1e12);
00191 }
00192 else return (z * cs->fSlope + cs->fInter);
00193 }
|
|
|
Definition at line 197 of file CandStraightClusterHandle.cxx. References CandStraightCluster::fFitMode, CandStraightCluster::fInter, CandStraightCluster::fSlope, and CandHandle::GetCandBase(). 00198 {
00199 //
00200 // Purpose: Return the corresponding z-position of the fit.
00201 //
00202 // Arguments:
00203 // t in transverse coordinate of fit position
00204 //
00205 // Return: z-coordinate corresponding to t.
00206 //
00207
00208 const CandStraightCluster *cs =
00209 dynamic_cast<const CandStraightCluster *>(GetCandBase());
00210 if (cs->fFitMode) return (t * cs->fSlope + cs->fInter);
00211 else return (cs->fSlope!=0. ? ((t-cs->fInter) / cs->fSlope) : -1e12);
00212 }
|
|
|
Definition at line 232 of file CandStraightClusterHandle.cxx. References CandHandle::GetCandBase(). Referenced by AlgFitThruMuonList::RunFindStraightTrackAlg(). 00233 {
00234 //
00235 // Purpose: Return the weighted sum of transverse positions squared.
00236 //
00237 // Arguments: n/a
00238 //
00239 // Return: Weighted sum of transverse positions squared in (std
00240 // length units)^2.
00241 //
00242
00243 return dynamic_cast<const CandStraightCluster *>
00244 (GetCandBase())->fT2sum;
00245 }
|
|
|
Definition at line 216 of file CandStraightClusterHandle.cxx. References CandHandle::GetCandBase(). Referenced by AlgFitThruMuonList::RunFindStraightTrackAlg(). 00217 {
00218 //
00219 // Purpose: Return the weighted sum of transverse positions.
00220 //
00221 // Arguments: n/a
00222 //
00223 // Return: Weighted sum of transverse positions in std length units
00224 //
00225
00226 return dynamic_cast<const CandStraightCluster *>
00227 (GetCandBase())->fTsum;
00228 }
|
|
|
Definition at line 249 of file CandStraightClusterHandle.cxx. References CandHandle::GetCandBase(). Referenced by AlgFitThruMuonList::RunFindStraightTrackAlg(). 00250 {
00251 //
00252 // Purpose: Return the weighted sum of cross products of transverse
00253 // and z-positions.
00254 //
00255 // Arguments: n/a
00256 //
00257 // Return: Weighted sum of cross products in (std length units)^2.
00258 //
00259
00260 return dynamic_cast<const CandStraightCluster *>
00261 (GetCandBase())->fTZsum;
00262 }
|
|
|
Definition at line 266 of file CandStraightClusterHandle.cxx. References CandHandle::GetCandBase(). Referenced by AlgFitThruMuonList::RunFindStraightTrackAlg(). 00267 {
00268 //
00269 // Purpose: Return the sum of weights.
00270 //
00271 // Arguments: n/a
00272 //
00273 // Return: Sum of weights.
00274 //
00275
00276 return dynamic_cast<const CandStraightCluster *>
00277 (GetCandBase())->fWtSum;
00278 }
|
|
|
Definition at line 298 of file CandStraightClusterHandle.cxx. References CandHandle::GetCandBase(). Referenced by AlgFitThruMuonList::RunFindStraightTrackAlg(). 00299 {
00300 //
00301 // Purpose: Return the weighted sum of z-positions squared.
00302 //
00303 // Arguments: n/a
00304 //
00305 // Return: Weighted sum of z-positions squared in (std length
00306 // units)^2.
00307 //
00308
00309 return dynamic_cast<const CandStraightCluster *>
00310 (GetCandBase())->fZ2sum;
00311 }
|
|
|
Definition at line 282 of file CandStraightClusterHandle.cxx. References CandHandle::GetCandBase(). Referenced by AlgFitThruMuonList::RunFindStraightTrackAlg(). 00283 {
00284 //
00285 // Purpose: Return the weighted sum of z-positions.
00286 //
00287 // Arguments: n/a
00288 //
00289 // Return: Weighted sum of z-positions in std length units.
00290 //
00291
00292 return dynamic_cast<const CandStraightCluster *>
00293 (GetCandBase())->fZsum;
00294 }
|
|
|
Definition at line 315 of file CandStraightClusterHandle.cxx. References CandHandle::GetOwnedCandBase(). Referenced by AlgStraightCluster::RunAlg(). 00316 {
00317 //
00318 // Purpose: Set the determinant of the fit.
00319 //
00320 // Arguments:
00321 // det in New value of determinant.
00322 //
00323 // Return: n/a
00324 //
00325
00326 dynamic_cast<CandStraightCluster*>(GetOwnedCandBase())->fDet=det;
00327 }
|
|
|
Definition at line 331 of file CandStraightClusterHandle.cxx. References CandHandle::GetOwnedCandBase(). Referenced by AlgStraightCluster::RunAlg(). 00332 {
00333 //
00334 // Purpose: Set the intercept of the fit.
00335 //
00336 // Arguments:
00337 // inter in New value of intercept.
00338 //
00339 // Return: n/a
00340 //
00341
00342 dynamic_cast<CandStraightCluster*>(GetOwnedCandBase())->fInter=inter;
00343 }
|
|
|
Definition at line 347 of file CandStraightClusterHandle.cxx. References CandHandle::GetOwnedCandBase(). Referenced by AlgStraightCluster::RunAlg(). 00348 {
00349 //
00350 // Purpose: Set the error in the intercept of the fit.
00351 //
00352 // Arguments:
00353 // det in New value of intercept error.
00354 //
00355 // Return: n/a
00356 //
00357
00358 dynamic_cast<CandStraightCluster*>
00359 (GetOwnedCandBase())->fInterErr = intererr;
00360 }
|
|
|
Definition at line 364 of file CandStraightClusterHandle.cxx. References CandHandle::GetOwnedCandBase(). Referenced by AlgStraightCluster::RunAlg(). 00365 {
00366 //
00367 // Purpose: Set the mode of the fit.
00368 //
00369 // Arguments:
00370 // fitmode in 0: t=t(z)
00371 // 1: z=z(t)
00372 //
00373 // Return: n/a
00374 //
00375
00376 dynamic_cast<CandStraightCluster*>
00377 (GetOwnedCandBase())->fFitMode = fitmode;
00378 }
|
|
|
Definition at line 382 of file CandStraightClusterHandle.cxx. References CandHandle::GetOwnedCandBase(). Referenced by AlgStraightCluster::RunAlg(). 00383 {
00384 //
00385 // Purpose: Set the error in the slope of the fit.
00386 //
00387 // Arguments:
00388 // slope in New value of slope.
00389 //
00390 // Return: n/a
00391 //
00392
00393 dynamic_cast<CandStraightCluster*>(GetOwnedCandBase())->fSlope=slope;
00394 }
|
|
|
Definition at line 398 of file CandStraightClusterHandle.cxx. References CandHandle::GetOwnedCandBase(). Referenced by AlgStraightCluster::RunAlg(). 00399 {
00400 //
00401 // Purpose: Set the error in the slope of the fit.
00402 //
00403 // Arguments:
00404 // det in New value of slope error.
00405 //
00406 // Return: n/a
00407 //
00408
00409 dynamic_cast<CandStraightCluster*>
00410 (GetOwnedCandBase())->fSlopeErr = slopeerr;
00411 }
|
|
|
Definition at line 432 of file CandStraightClusterHandle.cxx. References CandHandle::GetOwnedCandBase(). Referenced by AlgStraightCluster::RunAlg(). 00433 {
00434 //
00435 // Purpose: Set the weighted sum of transverse positions squared.
00436 //
00437 // Arguments:
00438 // t2sum in Weighted sum of transverse positions squared in
00439 // (std length units)^2.
00440 //
00441 // Return: n/a
00442 //
00443
00444 dynamic_cast<CandStraightCluster*>(GetOwnedCandBase())->fT2sum=t2sum;
00445 }
|
|
|
Definition at line 415 of file CandStraightClusterHandle.cxx. References CandHandle::GetOwnedCandBase(). Referenced by AlgStraightCluster::RunAlg(). 00416 {
00417 //
00418 // Purpose: Set the weighted sum of transverse positions.
00419 //
00420 // Arguments:
00421 // tsum in Weighted sum of transverse positions in std length
00422 // units.
00423 //
00424 // Return: n/a
00425 //
00426
00427 dynamic_cast<CandStraightCluster*>(GetOwnedCandBase())->fTsum=tsum;
00428 }
|
|
|
Definition at line 449 of file CandStraightClusterHandle.cxx. References CandHandle::GetOwnedCandBase(). Referenced by AlgStraightCluster::RunAlg(). 00450 {
00451 //
00452 // Purpose: Set the weighted sum of cross products of transverse and
00453 // z-positions.
00454 //
00455 // Arguments:
00456 // tzsum in Weighted sum of cross products in (std length
00457 // units)^2.
00458 //
00459 // Return: n/a
00460 //
00461
00462 dynamic_cast<CandStraightCluster*>(GetOwnedCandBase())->fTZsum=tzsum;
00463 }
|
|
|
Definition at line 467 of file CandStraightClusterHandle.cxx. References CandHandle::GetOwnedCandBase(). Referenced by AlgStraightCluster::RunAlg(). 00468 {
00469 //
00470 // Purpose: Set the sum of weights.
00471 //
00472 // Arguments:
00473 // wtsum in Sum of weights.
00474 //
00475 // Return: n/a
00476 //
00477
00478 dynamic_cast<CandStraightCluster*>(GetOwnedCandBase())->fWtSum=wtsum;
00479 }
|
|
|
Definition at line 499 of file CandStraightClusterHandle.cxx. References CandHandle::GetOwnedCandBase(). Referenced by AlgStraightCluster::RunAlg(). 00500 {
00501 //
00502 // Purpose: Set the weighted sum of z-positions squared.
00503 //
00504 // Arguments:
00505 // z2sum in Weighted sum of z-positions squared in (std length
00506 // units)^2.
00507 //
00508 // Return: n/a
00509 //
00510
00511 dynamic_cast<CandStraightCluster*>(GetOwnedCandBase())->fZ2sum=z2sum;
00512 }
|
|
|
Definition at line 483 of file CandStraightClusterHandle.cxx. References CandHandle::GetOwnedCandBase(). Referenced by AlgStraightCluster::RunAlg(). 00484 {
00485 //
00486 // Purpose: Set the weighted sum of z-positions.
00487 //
00488 // Arguments:
00489 // zsum in Weighted sum of z-positions in std length units.
00490 //
00491 // Return: n/a
00492 //
00493
00494 dynamic_cast<CandStraightCluster*>(GetOwnedCandBase())->fZsum=zsum;
00495 }
|
|
|
Reimplemented from CandMSTClusterHandle. Definition at line 516 of file CandStraightClusterHandle.cxx. References MSG, and CandMSTClusterHandle::Trace(). 00517 {
00518 //
00519 // Purpose: Trace the CandStraightClusterHandle.
00520 //
00521 // Arguments:
00522 // c in String tag for the trace.
00523 //
00524 // Return: n/a
00525 //
00526
00527 MSG("BubCand", Msg::kDebug)
00528 << "**********Begin CandStraightClusterHandle::Trace(\"" << c
00529 << "\")" << endl
00530 << "Information from CandStraightClusterHandle's CandHandle: "
00531 << endl;
00532 CandMSTClusterHandle::Trace(c);
00533 MSG("BubCand", Msg::kDebug)
00534 << "**********End CandStraightClusterHandle::Trace(\"" << c << "\")"
00535 << endl;
00536 }
|
1.3.9.1