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 ATWEIGHTEDGAUSSIAN_H
2 #define ATWEIGHTEDGAUSSIAN_H
27 virtual void SetHitsToSample(
const std::vector<const AtHit *> &hits)
override;
30 virtual std::vector<double>
PDF(
const AtHit &hit)
override;
34 #endif // ATSAMPLEGAUSSIAN_H
Sample with a charge-weighted gaussian.
virtual void SetHitsToSample(const std::vector< const AtHit * > &hits) override
AtWeightedGaussian(double sigma=30)
Sample when PDF depends on reference.
Sample AtHits according to charge.
virtual void SampleReferenceHit() override
Get reference hit from fHits.
AtChargeWeighted fChargeSample
virtual std::vector< double > PDF(const AtHit &hit) override
Point in space with charge.