ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
AtTools
AtHitSampling
AtGaussian.h
Go to the documentation of this file.
1
#ifndef ATGAUSSIAN_H
2
#define ATGAUSSIAN_H
3
#include "
AtHit.h
"
// for AtHit
4
#include "
AtSampleFromReference.h
"
5
6
#include <vector>
// for vector
7
8
namespace
RandomSample
{
9
18
class
AtGaussian
:
public
AtSampleFromReference
{
19
protected
:
20
double
fSigma
;
//< Sigma of gaussian around fReferencehit to sample [mm]
21
22
public
:
23
AtGaussian
(
double
sigma = 30) :
fSigma
(sigma) {}
24
25
protected
:
26
virtual
std::vector<double>
PDF
(
const
AtHit
&hit)
override
;
27
};
28
}
// namespace RandomSample
29
#endif // ATSAMPLEGAUSSIAN_H
RandomSample::AtGaussian::PDF
virtual std::vector< double > PDF(const AtHit &hit) override
Definition:
AtGaussian.cxx:13
AtSampleFromReference.h
RandomSample::AtGaussian
Sample AtHits in gaussian from reference.
Definition:
AtGaussian.h:18
RandomSample
Definition:
AtSampleConsensus.h:26
AtHit.h
RandomSample::AtSampleFromReference
Sample when PDF depends on reference.
Definition:
AtSampleFromReference.h:18
RandomSample::AtGaussian::AtGaussian
AtGaussian(double sigma=30)
Definition:
AtGaussian.h:23
RandomSample::AtGaussian::fSigma
double fSigma
Definition:
AtGaussian.h:20
AtHit
Point in space with charge.
Definition:
AtHit.h:27
Generated on Sat Nov 11 2023 15:30:38 for ATTPCROOT by
1.8.18