13 class DetectorPropertiesData;
80 std::vector<Hit2D*>
const&
92 std::vector<art::Ptr<recob::Hit>> GetIniHits(
const double radius = 10.0,
93 const unsigned int nhits = 10)
const;
109 return fCenter2D.GetPointCm();
112 double GetAsymmetry()
const;
123 return fBins[fMaxChargeIdBin];
126 std::vector<Bin2D>
const&
135 return fCenter2D.GetHitPtr();
138 const std::vector<art::Ptr<recob::Hit>>
141 return MaxChargeBin().GetIniHits();
173 void ComputeMaxCharge();
174 void ComputeMeanCharge();
189 for (
unsigned int i = 0; i < fPoints2D.size(); ++i)
199 std::vector<Hit2D*>
const&
205 std::vector<EndPoint>
const&
215 fIsCandidateIDset =
true;
217 fStartHit = fCandidates[id].GetHit();
218 fStartPoint = fCandidates[id].GetPosition();
219 fIniHits = fCandidates[id].MaxChargeBin().GetIniHits();
234 std::vector<art::Ptr<recob::Hit>>
const&
246 std::vector<art::Ptr<recob::Hit>>
const&
270 std::vector<art::Ptr<recob::Hit>>
fHits;
272 void FindInitialPart();
276 bool FindCandidates();
277 void ComputeBaryCenter();
278 void ComputeMaxDist();
279 void ComputeMaxCharge();
280 void ComputeFinalValues();
299 double b1 = dx * dx + dy * dy;
302 double b2 = dx * dx + dy * dy;
320 double b1 = dx * dx + dy * dy;
323 double b2 = dx * dx + dy * dy;
TVector2 const & GetPosition() const
art::Ptr< recob::Hit > const & GetFirstHit() const
std::vector< art::Ptr< recob::Hit > > fHits
std::vector< art::Ptr< recob::Hit > > const & GetHits()
std::vector< EndPoint > const & GetCandidates() const
std::vector< Bin2D > const & GetBins2D() const
std::vector< Hit2D * > fPoints2D
bDistCentMore2D(const TVector2 &c)
std::vector< Hit2D * > fHits2D
size_t const & GetPlane() const
size_t const GetIdCl() const
art::Ptr< recob::Hit > const & GetHit() const
unsigned int Size() const
art::Ptr< recob::Hit > const & GetHitPtr() const
std::vector< Bin2D > fBins
void SetIdCandidate(size_t id)
bDistCentLess2D(const TVector2 &c)
std::vector< Hit2D * > const & GetHits2D() const
const TVector2 & fCenter2D
std::vector< art::Ptr< recob::Hit > > const & GetIniHits() const
TVector2 const & GetBaryCenterCm() const
General LArSoft Utilities.
double GetTotCharge() const
Detector simulation of raw signals on wires.
size_t const & GetTPC() const
Declaration of signal hit object.
double GetMaxCharge() const
const size_t GetIdCandidate()
art::Ptr< recob::Hit > fHit
const std::vector< art::Ptr< recob::Hit > > GetIniHits() const
size_t const & GetCryo() const
const TVector2 & GetCenter() const
bool operator()(Hit2D *p1, Hit2D *p2)
std::vector< EndPoint > fCandidates
TVector2 const & GetPointCm() const
Bin2D const & MaxChargeBin() const
TVector2 const & GetFirstPoint() const
std::vector< Hit2D * > const & GetHits2D() const
std::vector< Bin2D > fBins
art::Ptr< recob::Hit > fStartHit
bool operator()(Hit2D *p1, Hit2D *p2)
std::vector< art::Ptr< recob::Hit > > fIniHits
std::vector< Hit2D * > fPoints2D