ATTPCROOT  0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
AtIndependentSample.cxx
Go to the documentation of this file.
1 #include "AtIndependentSample.h"
2 
3 using namespace RandomSample;
4 
5 void AtIndependentSample::SetHitsToSample(const std::vector<const AtHit *> &hits)
6 {
7  fHits = &hits;
8  FillCDF();
9 }
RandomSample
Definition: AtSampleConsensus.h:26
RandomSample::AtSample::fHits
const std::vector< const AtHit * > * fHits
Definition: AtSample.h:38
RandomSample::AtSample::FillCDF
void FillCDF()
Definition: AtSample.cxx:115
RandomSample::AtIndependentSample::SetHitsToSample
virtual void SetHitsToSample(const std::vector< const AtHit * > &hits) override
Definition: AtIndependentSample.cxx:5
AtIndependentSample.h