3 namespace MdMuonEstimatorAG {
6 fTraceSize(nTraceLength)
21 if (vModulePatternMatches.size()>0) {
28 for (
unsigned int ich = 1 ; ich <= 64 ; ++ich)
30 for (std::vector<std::pair<unsigned int, unsigned int>>::const_iterator it = vModulePatternMatches.begin(); it != vModulePatternMatches.end(); ++it) {
31 if (it->first == ich) {
44 mu = -(double) nActiveCh * log(1. - (
double) k/(double) nActiveCh);
45 nmu = log(1. - (
double) k/(
double) nActiveCh) / log(1. - 1./(
double) nActiveCh);
Module level reconstruction data. This class contains all data required by the muon reconstruction...
void SetSaturated(const bool sat)
InfiniteWindowStrategy(unsigned int fTraceSize)
Creates a functor.
void SetMeanMuons(const double m)
void SetNumberOfEstimatedMuons(const double m)
Number of estimated muons in a module.
size_t GetSegmentation() const
double operator()(std::vector< std::pair< unsigned int, unsigned int >> &vModulePatternMatches, mevt::ModuleRecData &mRecData) const
Performs the counting.