All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Enumerations | Functions
sbndcode/sbndcode/CRT/CRTUtils/CRTCommonUtils.h File Reference
#include "messagefacility/MessageLogger/MessageLogger.h"
#include "sbnobj/Common/CRT/CRTHit.hh"
#include <vector>
#include <utility>
#include "TVector3.h"

Go to the source code of this file.

Namespaces

 sbnd
 LArSoft plugin for SBND CRT detector simulation parameters.
 
 sbnd::CRTCommonUtils
 

Enumerations

enum  sbnd::CRTPlane {
  sbnd::kCRTNotDefined = -1, sbnd::kCRTBot = 0, sbnd::kCRTFaceSouth = 1, sbnd::kCRTFaceNorth,
  sbnd::kCRTSideWest, sbnd::kCRTSideEast, sbnd::kCRTTopLow, sbnd::kCRTTopHigh,
  sbnd::kCRTPosMax
}
 

Functions

double sbnd::CRTCommonUtils::SimpleDCA (sbn::crt::CRTHit hit, TVector3 start, TVector3 direction)
 
double sbnd::CRTCommonUtils::DistToCrtHit (sbn::crt::CRTHit hit, TVector3 start, TVector3 end)
 
double sbnd::CRTCommonUtils::LineSegmentDistance (TVector3 start1, TVector3 end1, TVector3 start2, TVector3 end2)
 
std::pair< TVector3, TVector3 > sbnd::CRTCommonUtils::CubeIntersection (TVector3 min, TVector3 max, TVector3 start, TVector3 end)
 
enum::sbnd::CRTPlane sbnd::CRTCommonUtils::GetPlaneIndex (std::string tagger)