10 #include "art/Utilities/ToolMacros.h"
16 namespace ShowerRecoTools {
36 , fVerbose(pset.
get<int>(
"Verbose"))
37 , fInitialTrackInputLabel(pset.
get<
std::string>(
"InitialTrackInputLabel"))
38 , fShowerStartPositionOutputLabel(pset.
get<
std::string>(
"ShowerStartPositionOutputLabel"))
50 mf::LogError(
"ShowerTrackStartPosition") <<
"Initial track not set" << std::endl;
57 TVector3 StartPositionErr = {-999, -999, -999};
60 TVector3 TrajPosition = {TrajPosition_vec.X(), TrajPosition_vec.Y(), TrajPosition_vec.Z()};
double std(const std::vector< short > &wf, const double ped_mean, size_t start, size_t nsample)
Point_t const & LocationAtPoint(size_t i) const
void SetElement(T &dataproduct, const std::string &Name, bool checktag=false)
bool CheckElement(const std::string &Name) const
int GetElement(const std::string &Name, T &Element) const
Provides recob::Track data product.
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< double >, ROOT::Math::GlobalCoordinateSystemTag > Point_t
Type for representation of position in physical 3D space.
Track from a non-cascading particle.A recob::Track consists of a recob::TrackTrajectory, plus additional members relevant for a "fitted" track: