ATTPCROOT  0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
Classes | Enumerations | Functions
RandomSample Namespace Reference

Classes

class  AtChargeWeighted
 Sample AtHits according to charge. More...
 
class  AtGaussian
 Sample AtHits in gaussian from reference. More...
 
class  AtIndependentSample
 Interface for independent samples. More...
 
class  AtSample
 Interface for randomly sampling AtHits. More...
 
class  AtSampleFromReference
 Sample when PDF depends on reference. More...
 
class  AtUniform
 Uniformly sample a collection of AtHits. More...
 
class  AtWeightedGaussian
 Sample with a charge-weighted gaussian. More...
 
class  AtWeightedGaussianTrunc
 Uniformly sample a collection of AtHits. More...
 
class  AtWeightedY
 Sample AtHits according to charge for Y shaped tracks. More...
 
class  AtY
 Sample AtHits according to charge for Y shaped tracks. More...
 

Enumerations

enum  SampleMethod {
  SampleMethod::kUniform = 0, SampleMethod::kChargeWeighted = 1, SampleMethod::kGaussian = 2, SampleMethod::kWeightedGaussian = 3,
  SampleMethod::kWeightedY = 4, SampleMethod::kWeightedGaussianTrunc = 5, SampleMethod::kY = 6
}
 . Methods of random sampling. More...
 

Functions

template<typename... Ts>
std::unique_ptr< AtSampleCreateSampler (SampleMethod method, Ts &&...params)
 . Create a hit sampler More...