#include <DirOfGamma.h>
Definition at line 60 of file DirOfGamma.h.
ems::Bin2D::Bin2D |
( |
const TVector2 & |
center | ) |
|
void ems::Bin2D::Add |
( |
Hit2D * |
hit | ) |
|
const TVector2& ems::Bin2D::GetCenter |
( |
| ) |
const |
|
inline |
Definition at line 89 of file DirOfGamma.h.
const TVector2 & fCenter2D
std::vector<Hit2D*> const& ems::Bin2D::GetHits2D |
( |
| ) |
const |
|
inline |
Definition at line 83 of file DirOfGamma.h.
std::vector< Hit2D * > fHits2D
std::vector< art::Ptr< recob::Hit > > ems::Bin2D::GetIniHits |
( |
const double |
radius = 10.0 , |
|
|
const unsigned int |
nhits = 10 |
|
) |
| const |
Definition at line 63 of file DirOfGamma.cxx.
66 std::vector<art::Ptr<recob::Hit>> vec;
67 for (
unsigned int i = 0; i <
fHits2D.size(); i++) {
69 vec.push_back(
fHits2D[i]->GetHitPtr());
70 if (vec.size() == nhits)
break;
double Dist2(const TVector2 &v1, const TVector2 &v2)
std::vector< Hit2D * > fHits2D
const TVector2 & fCenter2D
double ems::Bin2D::GetTotCharge |
( |
| ) |
const |
|
inline |
unsigned int ems::Bin2D::Size |
( |
| ) |
const |
|
inline |
void ems::Bin2D::Sort |
( |
| ) |
|
Definition at line 51 of file DirOfGamma.cxx.
std::vector< Hit2D * > fHits2D
const TVector2 & fCenter2D
void ems::Bin2D::SortLess |
( |
| ) |
|
Definition at line 57 of file DirOfGamma.cxx.
std::vector< Hit2D * > fHits2D
const TVector2 & fCenter2D
const TVector2& ems::Bin2D::fCenter2D |
|
private |
std::vector<Hit2D*> ems::Bin2D::fHits2D |
|
private |
unsigned int ems::Bin2D::fSize |
|
private |
double ems::Bin2D::fTotCharge |
|
private |
The documentation for this class was generated from the following files: