AlgTrackSRList.cxx File Reference

#include <cassert>
#include "RawData/RawDigit.h"
#include "RawData/RawHeader.h"
#include "RawData/RawRecord.h"
#include "RawData/RawChannelId.h"
#include "RawData/RawDaqSnarlHeader.h"
#include "RawData/RawDaqHeaderBlock.h"
#include "RawData/RawDigitDataBlock.h"
#include "RawData/RawVarcErrorInTfBlock.h"
#include "Algorithm/AlgFactory.h"
#include "Algorithm/AlgHandle.h"
#include "Algorithm/AlgConfig.h"
#include "Candidate/CandContext.h"
#include "CandData/CandHeader.h"
#include "CandTrackSR/AlgTrackSRList.h"
#include "CandTrackSR/CandTrackSR.h"
#include "CandTrackSR/CandTrackSRHandle.h"
#include "CandTrackSR/CandTrackSRList.h"
#include "CandTrackSR/CandTrackSRListHandle.h"
#include "CandTrackSR/HoughTrackSR.h"
#include "CandTrackSR/HoughViewSR.h"
#include "CandTrackSR/TrackClusterSR.h"
#include "CandTrackSR/Track2DSR.h"
#include "RecoBase/CandStripListHandle.h"
#include "RecoBase/CandStripHandle.h"
#include "RecoBase/CandStrip.h"
#include "Conventions/Mphysical.h"
#include "Conventions/Munits.h"
#include "Conventions/PlaneView.h"
#include "MessageService/MsgService.h"
#include "MinosObjectMap/MomNavigator.h"
#include "Navigation/NavKey.h"
#include "Navigation/NavSet.h"
#include "Navigation/XxxItr.h"
#include "RecoBase/ArrivalTime.h"
#include "RecoBase/CandTrackHandle.h"
#include "RecoBase/CandSliceHandle.h"
#include "RecoBase/CandSliceListHandle.h"
#include "RecoBase/LinearFit.h"
#include "RecoBase/PropagationVelocity.h"
#include "Validity/VldContext.h"
#include "CandDigit/CandDeMuxDigitHandle.h"
#include "UgliGeometry/UgliGeomHandle.h"
#include "DataUtil/PlaneOutline.h"
#include "TMath.h"

Go to the source code of this file.

Functions

NavKey KeyOnUViewVetoCharge (const CandStripHandle *csh)
NavKey KeyOnUViewVetoChargeNear (const CandStripHandle *csh)
NavKey KeyOnVViewVetoCharge (const CandStripHandle *csh)
NavKey KeyOnVViewVetoChargeNear (const CandStripHandle *csh)
NavKey KeyOnClusterPlane (const TrackClusterSR *tc)
NavKey KeyOnUViewClusters (const TrackClusterSR *tc)
NavKey KeyOnVViewClusters (const TrackClusterSR *tc)
NavKey KeyOnUViewTracks (const Track2DSR *tc)
NavKey KeyOnVViewTracks (const Track2DSR *tc)
static NavKey KeyOnUCluster (const TrackClusterSR *tc)
static NavKey KeyOnVCluster (const TrackClusterSR *tc)
static NavKey KeyOnUClusterNotWide (const TrackClusterSR *tc)
static NavKey KeyOnVClusterNotWide (const TrackClusterSR *tc)
static NavKey KeyOnUClusterNotWideSL (const TrackClusterSR *tc)
static NavKey KeyOnVClusterNotWideSL (const TrackClusterSR *tc)
static NavKey KeyOnUClusterNotSL (const TrackClusterSR *tc)
static NavKey KeyOnVClusterNotSL (const TrackClusterSR *tc)
 CVSID ("$Id: AlgTrackSRList.cxx,v 1.109 2007/02/04 06:03:24 rhatcher Exp $")

Function Documentation

CVSID ( "$Id: AlgTrackSRList.  cxx,
v 1.109 2007/02/04 06:03:24 rhatcher Exp $"   
)
NavKey KeyOnClusterPlane ( const TrackClusterSR tc  ) 

Definition at line 87 of file AlgTrackSRList.cxx.

References TrackClusterSR::GetPlane().

00087                                                    {
00088 //   Int_t iplane = tc->GetPlane();
00089 //   Float_t tpos = tc->GetMinTPos();
00090 //   Int_t itpos = static_cast<Int_t>(tpos);
00091 //   Float_t time = tc->GetBegTime();
00092 //   Int_t itime = static_cast<Int_t>(time*.1/18.7);
00093   
00094 //   Int_t navkey = (iplane<<22) | (itpos<<11) | itime;
00095   
00096 //   return navkey;
00097 
00098   return tc->GetPlane();
00099 }

static NavKey KeyOnUCluster ( const TrackClusterSR tc  )  [static]

Definition at line 122 of file AlgTrackSRList.cxx.

References TrackClusterSR::GetPlaneView(), and PlaneView::kU.

Referenced by AlgTrackSRList::RunAlg().

00122                                                       {
00123   return tc->GetPlaneView() == PlaneView::kU;
00124 }

static NavKey KeyOnUClusterNotSL ( const TrackClusterSR tc  )  [static]

Definition at line 158 of file AlgTrackSRList.cxx.

References TrackClusterSR::GetPlaneView(), TrackClusterSR::InShowerLikePlane(), and PlaneView::kU.

Referenced by AlgTrackSRList::RunAlg().

00158                                                            {
00159   return tc->GetPlaneView() == PlaneView::kU && !tc->InShowerLikePlane();
00160 }

static NavKey KeyOnUClusterNotWide ( const TrackClusterSR tc  )  [static]

Definition at line 133 of file AlgTrackSRList.cxx.

References TrackClusterSR::GetPlaneView(), TrackClusterSR::IsWide(), and PlaneView::kU.

Referenced by AlgTrackSRList::RunAlg().

00133                                                              {
00134   return !tc->IsWide() && tc->GetPlaneView() == PlaneView::kU;
00135 }

static NavKey KeyOnUClusterNotWideSL ( const TrackClusterSR tc  )  [static]

Definition at line 144 of file AlgTrackSRList.cxx.

References TrackClusterSR::GetPlaneView(), TrackClusterSR::InShowerLikePlane(), TrackClusterSR::IsWide(), and PlaneView::kU.

Referenced by AlgTrackSRList::RunAlg().

00144                                                                {
00145   return !tc->IsWide() && tc->GetPlaneView() == PlaneView::kU 
00146           && !tc->InShowerLikePlane();
00147 }

NavKey KeyOnUViewClusters ( const TrackClusterSR tc  ) 

Definition at line 102 of file AlgTrackSRList.cxx.

References TrackClusterSR::GetPlaneView(), and PlaneView::kU.

00102                                                     {
00103   return tc->GetPlaneView() == PlaneView::kU;
00104 }

NavKey KeyOnUViewTracks ( const Track2DSR tc  ) 

Definition at line 112 of file AlgTrackSRList.cxx.

References Track2DSR::GetPlaneView(), and PlaneView::kU.

Referenced by AlgTrackSRList::RunAlg().

00112                                              {
00113   return tc->GetPlaneView() == PlaneView::kU;
00114 }

NavKey KeyOnUViewVetoCharge ( const CandStripHandle csh  ) 

Definition at line 68 of file AlgTrackSRList.cxx.

References CandStripHandle::GetDemuxVetoFlag(), CandStripHandle::GetPlaneView(), and PlaneView::kU.

Referenced by AlgTrackSRList::RunAlg().

00068                                                          {
00069   return (csh->GetPlaneView() == PlaneView::kU && !csh->GetDemuxVetoFlag());
00070 }

NavKey KeyOnUViewVetoChargeNear ( const CandStripHandle csh  ) 

Definition at line 73 of file AlgTrackSRList.cxx.

References CandStripHandle::GetDemuxVetoFlag(), CandStripHandle::GetPlane(), CandStripHandle::GetPlaneView(), and PlaneView::kU.

Referenced by AlgTrackSRList::RunAlg().

00073                                                              {
00074   return (csh->GetPlaneView() == PlaneView::kU && !csh->GetDemuxVetoFlag() && csh->GetPlane()<121);
00075 }

static NavKey KeyOnVCluster ( const TrackClusterSR tc  )  [static]

Definition at line 127 of file AlgTrackSRList.cxx.

References TrackClusterSR::GetPlaneView(), and PlaneView::kV.

Referenced by AlgTrackSRList::RunAlg().

00127                                                       {
00128   return tc->GetPlaneView() == PlaneView::kV;
00129 }

static NavKey KeyOnVClusterNotSL ( const TrackClusterSR tc  )  [static]

Definition at line 164 of file AlgTrackSRList.cxx.

References TrackClusterSR::GetPlaneView(), TrackClusterSR::InShowerLikePlane(), and PlaneView::kV.

Referenced by AlgTrackSRList::RunAlg().

00164                                                            {
00165   return tc->GetPlaneView() == PlaneView::kV && !tc->InShowerLikePlane();
00166 }

static NavKey KeyOnVClusterNotWide ( const TrackClusterSR tc  )  [static]

Definition at line 138 of file AlgTrackSRList.cxx.

References TrackClusterSR::GetPlaneView(), TrackClusterSR::IsWide(), and PlaneView::kV.

Referenced by AlgTrackSRList::RunAlg().

00138                                                              {
00139   return !tc->IsWide() && tc->GetPlaneView() == PlaneView::kV;
00140 }

static NavKey KeyOnVClusterNotWideSL ( const TrackClusterSR tc  )  [static]

Definition at line 151 of file AlgTrackSRList.cxx.

References TrackClusterSR::GetPlaneView(), TrackClusterSR::InShowerLikePlane(), TrackClusterSR::IsWide(), and PlaneView::kV.

Referenced by AlgTrackSRList::RunAlg().

00151                                                                {
00152   return !tc->IsWide() && tc->GetPlaneView() == PlaneView::kV 
00153           && !tc->InShowerLikePlane();
00154 }

NavKey KeyOnVViewClusters ( const TrackClusterSR tc  ) 

Definition at line 107 of file AlgTrackSRList.cxx.

References TrackClusterSR::GetPlaneView(), and PlaneView::kV.

00107                                                     {
00108   return tc->GetPlaneView() == PlaneView::kV;
00109 }

NavKey KeyOnVViewTracks ( const Track2DSR tc  ) 

Definition at line 117 of file AlgTrackSRList.cxx.

References Track2DSR::GetPlaneView(), and PlaneView::kV.

Referenced by AlgTrackSRList::RunAlg().

00117                                              {
00118   return tc->GetPlaneView() == PlaneView::kV;
00119 }

NavKey KeyOnVViewVetoCharge ( const CandStripHandle csh  ) 

Definition at line 78 of file AlgTrackSRList.cxx.

References CandStripHandle::GetDemuxVetoFlag(), CandStripHandle::GetPlaneView(), and PlaneView::kV.

Referenced by AlgTrackSRList::RunAlg().

00078                                                          {
00079   return (csh->GetPlaneView() == PlaneView::kV && !csh->GetDemuxVetoFlag());
00080 }

NavKey KeyOnVViewVetoChargeNear ( const CandStripHandle csh  ) 

Definition at line 81 of file AlgTrackSRList.cxx.

References CandStripHandle::GetDemuxVetoFlag(), CandStripHandle::GetPlane(), CandStripHandle::GetPlaneView(), and PlaneView::kV.

Referenced by AlgTrackSRList::RunAlg().

00081                                                              {
00082   return (csh->GetPlaneView() == PlaneView::kV && !csh->GetDemuxVetoFlag() && csh->GetPlane()<121);
00083 }


Generated on 15 Jul 2018 for loon by  doxygen 1.6.1