Definition at line 53 of file MergeEMShower3D_module.cc.
ems::ShowerInfo::ShowerInfo |
( |
int |
key, |
|
|
int |
gid, |
|
|
bool |
hasvtx, |
|
|
std::vector< double > |
vensum, |
|
|
recob::Track const & |
trk |
|
) |
| |
double ems::ShowerInfo::Angleto |
( |
TVector3 const & |
pmapoint | ) |
const |
double ems::ShowerInfo::GetAdcSum |
( |
void |
| ) |
const |
|
inline |
std::vector<double> ems::ShowerInfo::GetDedx |
( |
void |
| ) |
const |
|
inline |
TVector3 ems::ShowerInfo::GetDir |
( |
void |
| ) |
const |
|
inline |
TVector3 ems::ShowerInfo::GetEnd |
( |
void |
| ) |
const |
|
inline |
std::vector<double> ems::ShowerInfo::GetEnTot |
( |
void |
| ) |
const |
|
inline |
TVector3 ems::ShowerInfo::GetFront |
( |
void |
| ) |
const |
|
inline |
int ems::ShowerInfo::GetGid |
( |
void |
| ) |
const |
|
inline |
int ems::ShowerInfo::GetKey |
( |
void |
| ) |
const |
|
inline |
double ems::ShowerInfo::GetP0Dist |
( |
void |
| ) |
const |
|
inline |
int ems::ShowerInfo::GetPlaneId |
( |
void |
| ) |
const |
|
inline |
bool ems::ShowerInfo::HasConPoint |
( |
void |
| ) |
const |
|
inline |
Definition at line 143 of file MergeEMShower3D_module.cc.
References fDir, fFront, pma::GetProjectionToSegment(), and pma::SolveLeastSquares3D().
Referenced by ems::ShowersCollection::MinAngle().
145 double cosine0 = (this->
fFront - s1.fFront) * (1.0 / (this->
fFront - s1.fFront).Mag()) * s1.fDir;
146 double th0 = 180.0F * (std::acos(cosine0)) / TMath::Pi();
148 std::vector< std::pair<TVector3, TVector3> > lines;
149 lines.push_back(std::pair<TVector3, TVector3>(this->
fFront, this->
fFront + this->
fDir));
150 lines.push_back(std::pair<TVector3, TVector3>(s1.fFront, s1.fFront + s1.fDir));
155 double cosine1 = (pm - s1.fFront) * (1.0/(pm - s1.fFront).Mag()) * s1.fDir;
156 double th1 = 180.0F * (std::acos(cosine1)) / TMath::Pi();
159 if (th1 < th0) thmin = th1;
TVector2 GetProjectionToSegment(const TVector2 &p, const TVector2 &p0, const TVector2 &p1)
double SolveLeastSquares3D(const std::vector< std::pair< TVector3, TVector3 > > &lines, TVector3 &result)
void ems::ShowerInfo::SetP0Dist |
( |
const TVector3 |
p | ) |
|
|
inline |
double ems::ShowerInfo::fAdcSum |
|
private |
TVector3 ems::ShowerInfo::fDir |
|
private |
TVector3 ems::ShowerInfo::fEnd |
|
private |
TVector3 ems::ShowerInfo::fFront |
|
private |
int ems::ShowerInfo::fGId |
|
private |
bool ems::ShowerInfo::fHasVtx |
|
private |
int ems::ShowerInfo::fKey |
|
private |
double ems::ShowerInfo::fP0Dist |
|
private |
int ems::ShowerInfo::fPlaneId |
|
private |
std::vector<double> ems::ShowerInfo::fVdqdx |
|
private |
std::vector<double> ems::ShowerInfo::fVentot |
|
private |
The documentation for this class was generated from the following file: