#include "DirOfGamma.h"
Definition at line 46 of file DirOfGamma.h.
ems::Bin2D::Bin2D |
( |
const TVector2 & |
center | ) |
|
void ems::Bin2D::Add |
( |
Hit2D * |
hit | ) |
|
const TVector2& ems::Bin2D::GetCenter |
( |
void |
| ) |
const |
|
inline |
std::vector< Hit2D* > const& ems::Bin2D::GetHits2D |
( |
void |
| ) |
const |
|
inline |
Definition at line 61 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 73 of file DirOfGamma.cxx.
References pma::Dist2(), fCenter2D, fHits2D, and radius.
76 std::vector< art::Ptr< recob::Hit > > vec;
77 for (
unsigned int i = 0; i <
fHits2D.size(); i++)
81 vec.push_back(
fHits2D[i]->GetHitPtr());
82 if (vec.size() == nhits)
break;
double Dist2(const TVector2 &v1, const TVector2 &v2)
const TVector2 & fCenter2D
std::vector< Hit2D * > fHits2D
double ems::Bin2D::GetTotCharge |
( |
void |
| ) |
const |
|
inline |
unsigned int ems::Bin2D::Size |
( |
| ) |
const |
|
inline |
void ems::Bin2D::Sort |
( |
| ) |
|
void ems::Bin2D::SortLess |
( |
| ) |
|
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:
- /cvmfs/larsoft.opensciencegrid.org/products/larreco/v07_10_02/source/larreco/DirOfGamma/DirOfGamma.h
- /cvmfs/larsoft.opensciencegrid.org/products/larreco/v07_10_02/source/larreco/DirOfGamma/DirOfGamma.cxx