ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
AtTools
AtHitSampling
AtChargeWeighted.h
Go to the documentation of this file.
1
#ifndef ATCHARGEWEIGHTED_H
2
#define ATCHARGEWEIGHTED_H
3
4
#include "
AtHit.h
"
// for AtHit
5
#include "
AtIndependentSample.h
"
6
7
#include <vector>
// for vector
8
9
namespace
RandomSample
{
10
17
class
AtChargeWeighted
:
public
AtIndependentSample
{
18
19
protected
:
20
virtual
std::vector<double>
PDF
(
const
AtHit
&hit)
override
;
21
};
22
}
// namespace RandomSample
23
#endif // ATCHARGEWEIGHTED
RandomSample
Definition:
AtSampleConsensus.h:26
AtHit.h
RandomSample::AtIndependentSample
Interface for independent samples.
Definition:
AtIndependentSample.h:17
RandomSample::AtChargeWeighted::PDF
virtual std::vector< double > PDF(const AtHit &hit) override
Definition:
AtChargeWeighted.cxx:7
RandomSample::AtChargeWeighted
Sample AtHits according to charge.
Definition:
AtChargeWeighted.h:17
AtIndependentSample.h
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