ShowerRecoTools::ShowerPCAEigenvalueLength::ShowerPCAEigenvalueLength |
( |
const fhicl::ParameterSet & |
pset | ) |
|
Implements ShowerRecoTools::IShowerTool.
Definition at line 48 of file ShowerPCAEigenvalueLength_tool.cc.
55 mf::LogError(
"ShowerPCAEigenvalueLength") <<
"PCA not set, returning " << std::endl;
72 double primaryEigenValue = (eigenValues)[0];
73 double ShowerLength = std::sqrt(primaryEigenValue) * 2 *
fNSigma;
74 double ShowerLengthError = -999;
77 double secondaryEigenValue = (eigenValues)[1];
78 double ShowerWidth = std::sqrt(secondaryEigenValue) * 2 *
fNSigma;
80 double ShowerAngle = std::atan(ShowerWidth / ShowerLength);
81 double ShowerAngleError = -999;
const double * getEigenValues() 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
float ShowerRecoTools::ShowerPCAEigenvalueLength::fNSigma |
|
private |
art::InputTag ShowerRecoTools::ShowerPCAEigenvalueLength::fPFParticleLabel |
|
private |
std::string ShowerRecoTools::ShowerPCAEigenvalueLength::fShowerLengthOutputLabel |
|
private |
std::string ShowerRecoTools::ShowerPCAEigenvalueLength::fShowerOpeningAngleOutputLabel |
|
private |
std::string ShowerRecoTools::ShowerPCAEigenvalueLength::fShowerPCAInputLabel |
|
private |
int ShowerRecoTools::ShowerPCAEigenvalueLength::fVerbose |
|
private |
The documentation for this class was generated from the following file: