|
const char * | calib::getDetString (novadaq::cnv::DetId det) |
| Utility function to get detector name as a string for file manipulations. More...
|
|
std::vector< double > | calib::BestPathEstimates (const std::vector< geo::OfflineChan > &chans, const std::map< unsigned int, TVector3 > &directions, std::vector< EPathQuality > &quals, const std::vector< geo::OfflineChan > &extras={}) |
| Calculate the best path length estimate for each hit in a track, and indicate how they were obtained. More...
|
|
void | calib::FindBelowThresholdCalibCandidates (const std::vector< geo::OfflineChan > &trkchans, const std::map< unsigned int, TVector3 > &directions, std::vector< EPathQuality > &quals, std::vector< double > &paths, std::vector< geo::OfflineChan > &chans) |
| Find empty cells that would have contributed to the calibration if they'd been hit. We assume they fell below threshold. More...
|
|
TVector3 const | calib::DirectionAtPlane (const std::map< unsigned int, TVector3 > &directions, unsigned int plane) |
| Return the direction at a plane using the map provided by rb::Track. More...
|
|
void | calib::GetXYZD (geo::OfflineChan chan, double w, double *xyzd) |
| Return position in world coordninates and distance to the readout. More...
|
|
void | calib::FindZBoundaries (std::set< double > &planeZBounds) |
| Find the boundaries in the z direction of planes in the detector. More...
|
|
zBoundMap | calib::MakeZBoundaryMap (std::set< double > const &planeZBounds, std::vector< TVector3 > const &trajectory) |
| Return a map of the z position of each trajectory point on a track to the bounding positions of where the track passes through that plane. In the case that a track stops in the plane, then the end of the track is the second bounding point. More...
|
|
zBounds | calib::ZBounds (zBoundMap const &bounds, double const &hitZ) |
| Return the bounding points for a given z position along a track. More...
|
|
float | calib::PathLengthInCell (zBoundMap const &zBounds, TVector3 const &recoHitLoc, std::pair< uint32_t, uint32_t > const &pc) |
| Return the path length of a track in the cell in question. More...
|
|
std::vector< std::string > | calib::globWrapper (const std::string &pattern) |
|
std::string | calib::getCSVFilenameByParsingDirectory (int fCurrentRun, std::string prePattern, std::string postPattern) |
|
bool | calib::doesDirectoryExist (std::string dirSting) |
| Return true if the path in dirString points to a directory. More...
|
|