#include <algorithm>
#include <cassert>
#include <cmath>
#include <vector>
#include "Algorithm/AlgFactory.h"
#include "Algorithm/AlgHandle.h"
#include "Algorithm/AlgConfig.h"
#include "Candidate/CandContext.h"
#include "CandDigit/CandDigitHandle.h"
#include "CandSliceSR/AlgSliceSRList.h"
#include "RecoBase/CandSlice.h"
#include "RecoBase/CandSliceHandle.h"
#include "RecoBase/CandSliceList.h"
#include "RecoBase/CandSliceListHandle.h"
#include "Conventions/Detector.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 "RawData/RawDigit.h"
#include "RawData/RawHeader.h"
#include "RawData/RawRecord.h"
#include "RawData/RawChannelId.h"
#include "RawData/RawDigitDataBlock.h"
#include "RecoBase/CandStripHandle.h"
#include "RecoBase/CandStripListHandle.h"
#include "UgliGeometry/UgliGeomHandle.h"
#include "Validity/VldContext.h"
#include "DataUtil/GetRawBlock.h"
Go to the source code of this file.
Functions | |
static NavKey | SliceSRKeyFromForwardTime (const CandSliceHandle *) |
static NavKey | StripSRKeyFromCorrTime (const CandStripHandle *) |
static NavKey | StripSRKeyFromBegTime (const CandStripHandle *) |
static bool | earlierThan (CandStripHandle *stp1, CandStripHandle *stp2) |
CVSID ("$Id: AlgSliceSRList.cxx,v 1.47 2014/08/23 12:07:44 joconnor Exp $") | |
NavKey | StripSRKeyFromPlane (const CandStripHandle *csh) |
CVSID | ( | "$Id: AlgSliceSRList. | cxx, | |
v 1.47 2014/08/23 12:07:44 joconnor Exp $" | ||||
) |
bool earlierThan | ( | CandStripHandle * | stp1, | |
CandStripHandle * | stp2 | |||
) | [static] |
Definition at line 1103 of file AlgSliceSRList.cxx.
References CandStripHandle::GetCorrBegTime().
Referenced by AlgSliceSRList::SlicetheSnarl(), and AlgSliceSRList::timeSort().
01104 { 01105 bool x = (stp1->GetCorrBegTime() < stp2->GetCorrBegTime()); 01106 return x; 01107 }
NavKey SliceSRKeyFromForwardTime | ( | const CandSliceHandle * | csh | ) | [static] |
Definition at line 1110 of file AlgSliceSRList.cxx.
References CandSliceHandle::GetCorrBegTime().
Referenced by AlgSliceSRList::SlicetheSnarl().
01111 { 01112 // 01113 // Purpose: Generate a sort key based on the beginning time of CandSlice. 01114 // 01115 // Arguments: 01116 // csh in Handle to CandSlice to be sorted. 01117 // 01118 // Return: Begin time 01119 // 01120 Double_t time = (Double_t)csh->GetCorrBegTime(); 01121 return time; 01122 }
NavKey StripSRKeyFromBegTime | ( | const CandStripHandle * | csh | ) | [static] |
Definition at line 1139 of file AlgSliceSRList.cxx.
References CandStripHandle::GetBegTime().
Referenced by AlgSliceSRList::SlicetheSnarl_ASAP().
01140 { 01141 // 01142 // Purpose: Generate a sort key based on the beginning time of CandSlice. 01143 // 01144 // Arguments: 01145 // csh in Handle to CandSlice to be sorted. 01146 // 01147 // Return: Begin time 01148 // 01149 01150 Double_t time = (Double_t)csh->GetBegTime(); 01151 return time; 01152 }
NavKey StripSRKeyFromCorrTime | ( | const CandStripHandle * | csh | ) | [static] |
Definition at line 1124 of file AlgSliceSRList.cxx.
References CandStripHandle::GetCorrBegTime().
Referenced by AlgSliceSRList::SlicetheSnarl(), and AlgSliceSRList::SlicetheSnarl_MST().
01125 { 01126 // 01127 // Purpose: Generate a sort key based on the beginning time of CandSlice. 01128 // 01129 // Arguments: 01130 // csh in Handle to CandSlice to be sorted. 01131 // 01132 // Return: Begin time 01133 // 01134 01135 Double_t time = (Double_t)csh->GetCorrBegTime(); 01136 return time; 01137 }
NavKey StripSRKeyFromPlane | ( | const CandStripHandle * | csh | ) |
Definition at line 1154 of file AlgSliceSRList.cxx.
References VHS::GetPlane().
01155 { 01156 // 01157 // Purpose: Generate a sort key based on the beginning time of CandSlice. 01158 // 01159 // Arguments: 01160 // csh in Handle to CandSlice to be sorted. 01161 // 01162 // Return: Begin time 01163 // 01164 01165 01166 Int_t iplane = const_cast<CandStripHandle *>(csh)->GetPlane(); 01167 return iplane; 01168 01169 }