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 ATSAMPLEFROMREFERENCE_H
2 #define ATSAMPLEFROMREFERENCE_H
24 virtual std::vector<AtHit>
SampleHits(
int N)
override;
33 #endif //#ifndef ATSAMPLEFROMREFERENCE_H
const AtHit & GetReferenceHit() const
void SetReferenceHit(AtHit hit)
const std::vector< const AtHit * > * fHits
virtual ~AtSampleFromReference()=default
virtual std::vector< AtHit > SampleHits(int N) override
Sample hits (AtHit) from fHits.
Sample when PDF depends on reference.
Interface for randomly sampling AtHits.
virtual void SetHitsToSample(const std::vector< const AtHit * > &hits) override
Point in space with charge.
virtual void SampleReferenceHit()
Get reference hit from fHits.