CandTrackSRHandle Class Reference

#include <CandTrackSRHandle.h>

Inheritance diagram for CandTrackSRHandle:
CandTrackHandle CandRecoHandle CandHandle

List of all members.

Public Member Functions

 CandTrackSRHandle ()
 CandTrackSRHandle (const CandTrackSRHandle &csh)
 CandTrackSRHandle (CandTrackSR *cs)
virtual ~CandTrackSRHandle ()
virtual CandTrackSRHandleDupHandle () const
virtual void Trace (const char *c="") const
TObjArray * GetClusterList ()
void AddCluster (CandClusterHandle *)
void SetUTrack (Track2DSR *)
void SetVTrack (Track2DSR *)
Track2DSRGetUTrack () const
Track2DSRGetVTrack () const
Double_t GetDirCosU (Int_t) const
Double_t GetDirCosV (Int_t) const
Double_t GetDirCosZ (Int_t) const
Double_t GetDirCosU () const
Double_t GetDirCosV () const
Double_t GetDirCosZ () const
Double_t GetHoughDirCosU () const
Double_t GetHoughDirCosV () const
Double_t GetHoughDirCosZ () const
Double_t GetHoughResid2 () const
virtual Double_t GetScore () const
virtual Double_t GetTimeWeight (const CandDigitHandle *) const
Int_t GetNTrackPlane (PlaneView::PlaneView_t=PlaneView::kUnknown) const
void SetNTrackStrip (Int_t)
void SetNTrackDigit (Int_t)
void SetNTimeFitDigit (Int_t)
void SetTimeFitChi2 (Double_t)
Int_t GetNTrackStrip () const
Int_t GetNTrackDigit () const
Int_t GetNTimeFitDigit () const
Double_t GetTimeFitChi2 () const

Private Member Functions

Double_t GetDirCos (Int_t, Int_t) const

Detailed Description

Definition at line 29 of file CandTrackSRHandle.h.


Constructor & Destructor Documentation

CandTrackSRHandle::CandTrackSRHandle (  ) 

Definition at line 45 of file CandTrackSRHandle.cxx.

Referenced by DupHandle().

00046 {
00047 }

CandTrackSRHandle::CandTrackSRHandle ( const CandTrackSRHandle csh  ) 

Definition at line 50 of file CandTrackSRHandle.cxx.

00050                                                                  :
00051   CandTrackHandle(cdh)
00052 {
00053 }

CandTrackSRHandle::CandTrackSRHandle ( CandTrackSR cs  ) 

Definition at line 56 of file CandTrackSRHandle.cxx.

00056                                                     :
00057   CandTrackHandle(cd)
00058 {
00059 }

CandTrackSRHandle::~CandTrackSRHandle (  )  [virtual]

Definition at line 62 of file CandTrackSRHandle.cxx.

00063 {
00064 }


Member Function Documentation

void CandTrackSRHandle::AddCluster ( CandClusterHandle cluster  ) 

Definition at line 89 of file CandTrackSRHandle.cxx.

References CandHandle::AddDaughterLink(), CandClusterHandle::DupHandle(), CandHandle::GetCandBase(), CandHandle::GetDaughterIterator(), CandHandle::GetOwnedCandBase(), Msg::kError, and MSG.

00090 {
00091   if (!cluster) return;
00092 
00093   const TObjArray *clusterlist =
00094               (dynamic_cast<CandTrackSR*>(GetCandBase()))->fClusterList;
00095 
00096   if (clusterlist) {
00097     Bool_t found(0);
00098     TIter cliter(clusterlist);
00099     CandClusterHandle *target;
00100     while (!found &&
00101                 (target = dynamic_cast<CandClusterHandle*>(cliter()))) {
00102       if (*cluster == *target) found = 1;
00103     }
00104 
00105     if (!found) {              // don't want to duplicate object in list
00106       (dynamic_cast<CandTrackSR*>(GetOwnedCandBase()))->fClusterList->
00107                                               Add(cluster->DupHandle());
00108 
00109       TIter striter(cluster->GetDaughterIterator());
00110       while (CandStripHandle *strip =
00111                             dynamic_cast<CandStripHandle*>(striter())) {
00112         AddDaughterLink(*strip);
00113       }
00114     }
00115   }
00116   else {                                           // Null fClusterList*
00117     MSG("TrackSR",Msg::kError) << "Null fClusterList*. No action taken."
00118                                                                 << endl;
00119   }
00120 }

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

Reimplemented from CandTrackHandle.

Definition at line 67 of file CandTrackSRHandle.cxx.

References CandTrackSRHandle().

00068 {
00069    return (new CandTrackSRHandle(*this));
00070 }

TObjArray * CandTrackSRHandle::GetClusterList (  ) 

Definition at line 84 of file CandTrackSRHandle.cxx.

References CandHandle::GetCandBase().

00085 {
00086   return dynamic_cast<CandTrackSR *>(GetCandBase())->fClusterList;
00087 }

Double_t CandTrackSRHandle::GetDirCos ( Int_t  plane,
Int_t  iuvz 
) const [private]

Definition at line 144 of file CandTrackSRHandle.cxx.

References CandHandle::GetDaughterIterator(), CandRecoHandle::GetTimeSlope(), Msg::kError, PlaneView::kU, PlaneView::kV, MSG, and LinearFit::Weighted().

Referenced by GetDirCosU(), GetDirCosV(), and GetDirCosZ().

00145 {
00146 
00147   if (iuvz<0 || iuvz>=3) {
00148     MSG("TrackSR",Msg::kError) << "iuvz out of range\n";
00149     return 0.;
00150   }
00151 
00152   TIter stripItr(GetDaughterIterator());
00153   Double_t uzpos[1000],upos[1000],uph[1000];
00154   Int_t uplane[1000];
00155   Double_t vzpos[1000],vpos[1000],vph[1000];
00156   Int_t vplane[1000];
00157   for (int i=0; i<1000; i++) {
00158     uzpos[i] = 0.;
00159     upos[i] = 0.;
00160     uph[i] = 0.;
00161     uplane[i] = 0;
00162     vzpos[i] = 0.;
00163     vpos[i] = 0.;
00164     vph[i] = 0.;
00165     vplane[i] = 0;
00166   }
00167   while (CandStripHandle *strip = dynamic_cast<CandStripHandle*>(stripItr())) {
00168     Int_t iplane = strip->GetPlane();
00169     if (iplane<0 || iplane>=1000) {
00170       MSG("TrackSR",Msg::kError) << "plane out of range\n";
00171     }
00172     else {
00173       switch (strip->GetPlaneView()) {
00174       case PlaneView::kU:
00175         uph[iplane] += strip->GetCharge();
00176         upos[iplane] += strip->GetCharge()*strip->GetTPos();
00177         uzpos[iplane] = strip->GetZPos();
00178         uplane[iplane] = iplane;
00179         break;
00180       case PlaneView::kV:
00181         vph[iplane] += strip->GetCharge();
00182         vpos[iplane] += strip->GetCharge()*strip->GetTPos();
00183         vzpos[iplane] = strip->GetZPos();
00184         vplane[iplane] = iplane;
00185         break;
00186       default:
00187         break;
00188       }
00189     }
00190   }
00191   for (int i=0; i<1000; i++) {
00192     if (uph[i]>0) upos[i] /= uph[i];
00193     if (vph[i]>0) vpos[i] /= vph[i];
00194   }
00195   Double_t uzfit[5],ufit[5];
00196   Double_t uwfit[5] = {0.,0.,0.,0.,0.};
00197   Double_t vzfit[5],vfit[5];
00198   Double_t vwfit[5] = {0.,0.,0.,0.,0.};
00199   for (int i=0; i<5; i++) {
00200     uzfit[i] = ufit[i] = vzfit[i] = vfit[i] = 0.0;
00201     Int_t dplane[2]={-1,-1};
00202     Int_t jbest[2]={-1,-1};
00203     for (int j=0; j<1000; j++) {
00204       if (uph[j]>0. && (dplane[0]<0 || TMath::Abs(uplane[j]-plane)<dplane[0])) {
00205         dplane[0] = TMath::Abs(uplane[j]-plane);
00206         uzfit[i] = uzpos[j];
00207         ufit[i] = upos[j];
00208         uwfit[i] = 1.;
00209         jbest[0] = j;
00210       }
00211       if (vph[j]>0. && (dplane[1]<0 || TMath::Abs(vplane[j]-plane)<dplane[1])) {
00212         dplane[1] = TMath::Abs(vplane[j]-plane);
00213         vzfit[i] = vzpos[j];
00214         vfit[i] = vpos[j];
00215         vwfit[i] = 1.;
00216         jbest[1] = j;
00217       }
00218     }
00219     if (jbest[0]>=0) uph[jbest[0]] = 0.;
00220     if (jbest[1]>=0) vph[jbest[1]] = 0.;
00221   }
00222   Double_t uparm[2],ueparm[2];
00223   Double_t vparm[2],veparm[2];
00224   LinearFit::Weighted(5,uzfit,ufit,uwfit,uparm,ueparm);
00225   LinearFit::Weighted(5,vzfit,vfit,vwfit,vparm,veparm);
00226   Double_t dudz = uparm[1];
00227   Double_t dvdz = vparm[1];
00228   Double_t ddz[3] = {uparm[1],vparm[1],1.};
00229 
00230 
00231   Double_t dt = 1.;
00232   if (GetTimeSlope()<0.) dt = -1.;
00233   
00234   return dt*ddz[iuvz]/sqrt(1.+dudz*dudz+dvdz*dvdz);
00235 }

Double_t CandTrackSRHandle::GetDirCosU (  )  const

Reimplemented from CandRecoHandle.

Definition at line 252 of file CandTrackSRHandle.cxx.

00253 {
00254   return CandRecoHandle::GetDirCosU();
00255 }

Double_t CandTrackSRHandle::GetDirCosU ( Int_t  plane  )  const

Definition at line 237 of file CandTrackSRHandle.cxx.

References GetDirCos().

00238 {
00239   return GetDirCos(plane,0);
00240 }

Double_t CandTrackSRHandle::GetDirCosV (  )  const

Reimplemented from CandRecoHandle.

Definition at line 257 of file CandTrackSRHandle.cxx.

00258 {
00259   return CandRecoHandle::GetDirCosV();
00260 }

Double_t CandTrackSRHandle::GetDirCosV ( Int_t  plane  )  const

Definition at line 242 of file CandTrackSRHandle.cxx.

References GetDirCos().

00243 {
00244   return GetDirCos(plane,1);
00245 }

Double_t CandTrackSRHandle::GetDirCosZ (  )  const

Reimplemented from CandRecoHandle.

Definition at line 262 of file CandTrackSRHandle.cxx.

00263 {
00264   return CandRecoHandle::GetDirCosZ();
00265 }

Double_t CandTrackSRHandle::GetDirCosZ ( Int_t  plane  )  const

Definition at line 247 of file CandTrackSRHandle.cxx.

References GetDirCos().

00248 {
00249   return GetDirCos(plane,2);
00250 }

Double_t CandTrackSRHandle::GetHoughDirCosU (  )  const

Definition at line 285 of file CandTrackSRHandle.cxx.

References CandHandle::GetCandBase(), Track2DSR::GetHoughExist(), Track2DSR::GetHoughSlope(), and CandRecoHandle::GetTimeSlope().

00286 {
00287   Track2DSR *utrack = dynamic_cast<const CandTrackSR*>(GetCandBase())->fUTrack;
00288   Track2DSR *vtrack = dynamic_cast<const CandTrackSR*>(GetCandBase())->fVTrack;
00289   assert(utrack);
00290   assert(vtrack);
00291   Double_t dudz=0.;
00292   Double_t dvdz=0.;
00293   if (!utrack->GetHoughExist() || !vtrack->GetHoughExist()) {
00294     return -999.;
00295   }
00296   dudz = utrack->GetHoughSlope();
00297   dvdz = vtrack->GetHoughSlope();
00298   if (GetTimeSlope()>=0.) {
00299     return dudz/sqrt(1.+dudz*dudz+dvdz*dvdz);
00300   }
00301   else { 
00302     return -1.*dudz/sqrt(1.+dudz*dudz+dvdz*dvdz);
00303   }
00304 }

Double_t CandTrackSRHandle::GetHoughDirCosV (  )  const

Definition at line 306 of file CandTrackSRHandle.cxx.

References CandHandle::GetCandBase(), Track2DSR::GetHoughExist(), Track2DSR::GetHoughSlope(), and CandRecoHandle::GetTimeSlope().

00307 {
00308   Track2DSR *utrack = dynamic_cast<const CandTrackSR*>(GetCandBase())->fUTrack;
00309   Track2DSR *vtrack = dynamic_cast<const CandTrackSR*>(GetCandBase())->fVTrack;
00310   assert(utrack);
00311   assert(vtrack);
00312   Double_t dudz=0.;
00313   Double_t dvdz=0.;
00314   if (!utrack->GetHoughExist() || !vtrack->GetHoughExist()) {
00315     return -999.;
00316   }
00317   dudz = utrack->GetHoughSlope();
00318   dvdz = vtrack->GetHoughSlope();
00319   if (GetTimeSlope()>=0.) {
00320     return dvdz/sqrt(1.+dudz*dudz+dvdz*dvdz);
00321   }
00322   else { 
00323     return -1.*dvdz/sqrt(1.+dudz*dudz+dvdz*dvdz);
00324   }
00325 }

Double_t CandTrackSRHandle::GetHoughDirCosZ (  )  const

Definition at line 327 of file CandTrackSRHandle.cxx.

References CandHandle::GetCandBase(), Track2DSR::GetHoughExist(), Track2DSR::GetHoughSlope(), and CandRecoHandle::GetTimeSlope().

00328 {
00329   Track2DSR *utrack = dynamic_cast<const CandTrackSR*>(GetCandBase())->fUTrack;
00330   Track2DSR *vtrack = dynamic_cast<const CandTrackSR*>(GetCandBase())->fVTrack;
00331   assert(utrack);
00332   assert(vtrack);
00333   Double_t dudz=0.;
00334   Double_t dvdz=0.;
00335   if (!utrack->GetHoughExist() || !vtrack->GetHoughExist()) {
00336     return -999.;
00337   }
00338   dudz = utrack->GetHoughSlope();
00339   dvdz = vtrack->GetHoughSlope();
00340   if (GetTimeSlope()>=0.) {
00341     return 1./sqrt(1.+dudz*dudz+dvdz*dvdz);
00342   }
00343   else { 
00344     return -1./sqrt(1.+dudz*dudz+dvdz*dvdz);
00345   }
00346 }

Double_t CandTrackSRHandle::GetHoughResid2 (  )  const

Definition at line 348 of file CandTrackSRHandle.cxx.

References CandRecoHandle::GetBegPlane(), CandHandle::GetCandBase(), CandHandle::GetDaughterIterator(), CandRecoHandle::GetEndPlane(), Track2DSR::GetHoughExist(), Track2DSR::GetHoughIntercept(), Track2DSR::GetHoughSlope(), CandRecoHandle::GetTimeSlope(), PlaneView::kU, and PlaneView::kV.

00349 {
00350   Track2DSR *utrack = dynamic_cast<const CandTrackSR*>(GetCandBase())->fUTrack;
00351   Track2DSR *vtrack = dynamic_cast<const CandTrackSR*>(GetCandBase())->fVTrack;
00352   assert(utrack);
00353   assert(vtrack);
00354   if (!utrack->GetHoughExist() || !vtrack->GetHoughExist()) {
00355     return -999.;
00356   }
00357   Double_t dudz = utrack->GetHoughSlope();
00358   Double_t dvdz = vtrack->GetHoughSlope();
00359   Double_t u0 = utrack->GetHoughIntercept();
00360   Double_t v0 = vtrack->GetHoughIntercept();
00361   Int_t begplane = GetBegPlane();
00362   Int_t endplane = GetEndPlane();
00363   Int_t nplane = TMath::Abs(endplane-begplane)+1;
00364   Float_t *tpos = new Float_t[nplane];
00365   Float_t *zpos = new Float_t[nplane];
00366   Float_t *ph = new Float_t[nplane];
00367   Int_t *planeview = new Int_t[nplane];
00368   TIter stripItr(GetDaughterIterator());
00369   Int_t idir=1;
00370   if (GetTimeSlope()<0.) {
00371     idir = -1;
00372   }
00373   Double_t resid2 = 0.;
00374   for (int i=0; i<nplane; i++) {
00375     stripItr.Reset();
00376     planeview[i] = -1;
00377     tpos[i] = 0.;
00378     zpos[i] = 0.;
00379     ph[i] = 0.;
00380     while (CandStripHandle *strip = dynamic_cast<CandStripHandle*>(stripItr())) {
00381       if (strip->GetPlane()==begplane+i*idir) {
00382         planeview[i] = strip->GetPlaneView();
00383         tpos[i] += strip->GetTPos()*strip->GetCharge();
00384         zpos[i] = strip->GetZPos();
00385         ph[i] += strip->GetCharge();
00386       }
00387     }
00388     if (ph[i]>0.) {
00389       tpos[i] /= ph[i];
00390       if (planeview[i]==PlaneView::kU) {
00391         Double_t dtpos = tpos[i]-(u0+dudz*zpos[i]);
00392         resid2 += dtpos*dtpos;
00393       }
00394       if (planeview[i]==PlaneView::kV) {
00395         Double_t dtpos = tpos[i]-(v0+dvdz*zpos[i]);
00396         resid2 += dtpos*dtpos;
00397       }
00398     }
00399   }
00400   delete [] tpos;
00401   delete [] zpos;
00402   delete [] ph;
00403   delete [] planeview;
00404   return resid2;
00405 }

Int_t CandTrackSRHandle::GetNTimeFitDigit (  )  const

Reimplemented from CandTrackHandle.

Definition at line 479 of file CandTrackSRHandle.cxx.

References CandHandle::GetCandBase().

Referenced by CandTrackSRNtuple::CandTrackSRNtuple(), UberModule::FillNtpTrackTime(), UberModuleLite::FillNtpTrackTime(), AlgFitTrackSR::SetTrackParameters(), and RecoText::Update().

00480 {
00481   return dynamic_cast<const CandTrackSR *>(GetCandBase())->fNTimeFitDigit;
00482 }

Int_t CandTrackSRHandle::GetNTrackDigit (  )  const

Reimplemented from CandTrackHandle.

Definition at line 474 of file CandTrackSRHandle.cxx.

References CandHandle::GetCandBase().

Referenced by AlgFitTrackSR::SetTrackParameters().

00475 {
00476   return dynamic_cast<const CandTrackSR *>(GetCandBase())->fNTrackDigit;
00477 }

Int_t CandTrackSRHandle::GetNTrackPlane ( PlaneView::PlaneView_t  planeview_t = PlaneView::kUnknown  )  const

Reimplemented from CandTrackHandle.

Definition at line 422 of file CandTrackSRHandle.cxx.

References CandHandle::GetDaughterIterator(), CandStripHandle::GetPlane(), CandStripHandle::GetPlaneView(), CandTrackHandle::IsInShower(), PlaneView::kA, PlaneView::kB, CandStripHandle::KeyFromPlane(), and PlaneView::kUnknown.

Referenced by UberModule::FillNtpTrack(), and UberModuleLite::FillNtpTrack().

00423 {
00424   CandStripHandleItr stripItr(GetDaughterIterator());
00425   CandStripHandleKeyFunc *stripKf = stripItr.CreateKeyFunc();
00426   stripKf->SetFun(CandStripHandle::KeyFromPlane);
00427   stripItr.GetSet()->AdoptSortKeyFunc(stripKf);
00428   stripKf = 0;
00429 
00430   Int_t plane=0;
00431   Int_t oldplane=0;
00432   CandStripHandle *strip;
00433   while ((strip = dynamic_cast<CandStripHandle*>(stripItr()))) {
00434     TIter digitItr(strip->GetDaughterIterator());
00435     if (IsInShower(strip)<=1) {
00436       PlaneView::PlaneView_t planeview = strip->GetPlaneView();
00437       if (planeview!=PlaneView::kA && planeview!=PlaneView::kB &&
00438           (planeview_t==PlaneView::kUnknown || planeview==planeview_t)) {
00439         if (!plane || strip->GetPlane()!=oldplane) {
00440           plane++;
00441         }
00442         oldplane = strip->GetPlane();
00443       }
00444     }
00445   }
00446   return plane;
00447 }

Int_t CandTrackSRHandle::GetNTrackStrip (  )  const

Reimplemented from CandTrackHandle.

Definition at line 469 of file CandTrackSRHandle.cxx.

References CandHandle::GetCandBase().

Referenced by AlgFitTrackSR::SetTrackParameters().

00470 {
00471   return dynamic_cast<const CandTrackSR *>(GetCandBase())->fNTrackStrip;
00472 }

Double_t CandTrackSRHandle::GetScore (  )  const [virtual]

Reimplemented from CandTrackHandle.

Definition at line 267 of file CandTrackSRHandle.cxx.

References CandRecoHandle::GetCharge(), and CandHandle::GetNDaughters().

00268 {
00269 //  Double_t score = CandTrackHandle::GetScore();
00270 // for now don't require beginning and ending planes to match
00271 // perhaps implement when detector is more stable
00272   Double_t score = (Double_t)(GetNDaughters());
00273 /*
00274   if (GetTimeSlope()>0.) {
00275     score += GetEndPlane();
00276   } else {
00277     score -= GetEndPlane();
00278   }
00279 */
00280 //  score -= (GetUTrack()->GetChi2()+GetVTrack()->GetChi2());
00281   score += GetCharge()/10.; // for cosmics, should put parameter here
00282   return score;
00283 }

Double_t CandTrackSRHandle::GetTimeFitChi2 (  )  const

Reimplemented from CandTrackHandle.

Definition at line 484 of file CandTrackSRHandle.cxx.

References CandHandle::GetCandBase().

Referenced by UberModule::FillNtpTrackTime(), UberModuleLite::FillNtpTrackTime(), AlgFitTrackSR::SetTrackParameters(), and RecoText::Update().

00485 {
00486   return dynamic_cast<const CandTrackSR *>(GetCandBase())->fTimeFitChi2;
00487 }

Double_t CandTrackSRHandle::GetTimeWeight ( const CandDigitHandle digit  )  const [virtual]

Definition at line 408 of file CandTrackSRHandle.cxx.

References CandDigitHandle::GetCharge(), max, and ArrivalTime::Weight().

Referenced by AlgTrackSR::FindTimingDirection().

00409 {
00410 
00411 // for now use total PMT pulse height
00412 // in the future may want to calculate which pulse arrives first
00413 
00414   Double_t npe = digit->GetCharge()/60.; // use p.e. when available
00415 
00416   npe = max(npe,1.); // minimum 1 p.e.
00417   ArrivalTime arrtime;
00418   return arrtime.Weight(npe);
00419 
00420 }

Track2DSR * CandTrackSRHandle::GetUTrack (  )  const

Definition at line 122 of file CandTrackSRHandle.cxx.

References CandHandle::GetCandBase().

Referenced by AlgTrackSRList::DeleteTwinTracks().

00123 {
00124   return dynamic_cast<const CandTrackSR *>(GetCandBase())->fUTrack;
00125 }

Track2DSR * CandTrackSRHandle::GetVTrack (  )  const

Definition at line 127 of file CandTrackSRHandle.cxx.

References CandHandle::GetCandBase().

Referenced by AlgTrackSRList::DeleteTwinTracks().

00128 {
00129   return dynamic_cast<const CandTrackSR *>(GetCandBase())->fVTrack;
00130 }

void CandTrackSRHandle::SetNTimeFitDigit ( Int_t  n  ) 

Reimplemented from CandTrackHandle.

Definition at line 459 of file CandTrackSRHandle.cxx.

References CandHandle::GetOwnedCandBase().

00460 {
00461   dynamic_cast<CandTrackSR *>(GetOwnedCandBase())->fNTimeFitDigit = n;
00462 }

void CandTrackSRHandle::SetNTrackDigit ( Int_t  n  ) 

Reimplemented from CandTrackHandle.

Definition at line 454 of file CandTrackSRHandle.cxx.

References CandHandle::GetOwnedCandBase().

00455 {
00456   dynamic_cast<CandTrackSR *>(GetOwnedCandBase())->fNTrackDigit = n;
00457 }

void CandTrackSRHandle::SetNTrackStrip ( Int_t  n  ) 

Reimplemented from CandTrackHandle.

Definition at line 449 of file CandTrackSRHandle.cxx.

References CandHandle::GetOwnedCandBase().

00450 {
00451   dynamic_cast<CandTrackSR *>(GetOwnedCandBase())->fNTrackStrip = n;
00452 }

void CandTrackSRHandle::SetTimeFitChi2 ( Double_t  x  ) 

Reimplemented from CandTrackHandle.

Definition at line 464 of file CandTrackSRHandle.cxx.

References CandHandle::GetOwnedCandBase().

00465 {
00466   dynamic_cast<CandTrackSR *>(GetOwnedCandBase())->fTimeFitChi2 = x;
00467 }

void CandTrackSRHandle::SetUTrack ( Track2DSR track  ) 

Definition at line 133 of file CandTrackSRHandle.cxx.

References CandHandle::GetOwnedCandBase().

00134 {
00135   dynamic_cast<CandTrackSR *>(GetOwnedCandBase())->fUTrack = track;
00136 }

void CandTrackSRHandle::SetVTrack ( Track2DSR track  ) 

Definition at line 138 of file CandTrackSRHandle.cxx.

References CandHandle::GetOwnedCandBase().

00139 {
00140   dynamic_cast<CandTrackSR *>(GetOwnedCandBase())->fVTrack = track;
00141 }

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

Reimplemented from CandTrackHandle.

Definition at line 74 of file CandTrackSRHandle.cxx.

References Msg::kDebug, and MSG.

00075 {
00076   MSG("Cand", Msg::kDebug)
00077     << "**********Begin CandTrackSRHandle::Trace(\"" << c << "\")" << endl
00078            << "Information from CandTrackSRHandle's CandHandle: " << endl;
00079   CandHandle::Trace(c);
00080   MSG("Cand", Msg::kDebug)
00081      << "**********End CandTrackSRHandle::Trace(\"" << c << "\")" << endl;
00082 }


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

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1