ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
|
Go to the documentation of this file. 1 #ifndef ATWEIGHTEDGAUSSIANTRUNC_H
2 #define ATWEIGHTEDGAUSSIANTRUNC_H
18 virtual std::vector<AtHit>
SampleHits(
int N)
override;
22 virtual std::vector<double>
PDF(
const AtHit &hit)
override;
25 #endif //#ifndef ATWEIGHTEDGAUSSIANTRUNC_H
const std::vector< const AtHit * > * fHits
virtual std::vector< AtHit > SampleHits(int N) override
Sample hits (AtHit) from fHits.
virtual std::vector< double > PDF(const AtHit &hit) override
virtual void SetHitsToSample(const std::vector< const AtHit * > &hits) override
Interface for randomly sampling AtHits.
Uniformly sample a collection of AtHits.
Point in space with charge.