List of all members | Public Member Functions
MdMuonEstimatorAG::VMuonEstimatorFunctor Class Referenceabstract

Common interface for functors performing the muon counting over binary traces. More...

#include <MdMuonEstimatorAG/VMuonEstimatorFunctor.h>

Inheritance diagram for MdMuonEstimatorAG::VMuonEstimatorFunctor:
Inheritance graph
[legend]

Public Member Functions

virtual double operator() (std::vector< std::pair< unsigned int, unsigned int >> &vModulePatternMatches, mevt::ModuleRecData &mRecData) const =0
 Perform the actual count. More...
 
virtual ~VMuonEstimatorFunctor ()
 Meant to be used as base class: virtual destructor. More...
 

Detailed Description

Common interface for functors performing the muon counting over binary traces.

Author
Rodolfo Federico Gamarra
Date
12 Sep 2009

Definition at line 27 of file VMuonEstimatorFunctor.h.

Constructor & Destructor Documentation

MdMuonEstimatorAG::VMuonEstimatorFunctor::~VMuonEstimatorFunctor ( )
virtual

Meant to be used as base class: virtual destructor.

Definition at line 5 of file VMuonEstimatorFunctor.cc.

Member Function Documentation

virtual double MdMuonEstimatorAG::VMuonEstimatorFunctor::operator() ( std::vector< std::pair< unsigned int, unsigned int >> &  vModulePatternMatches,
mevt::ModuleRecData mRecData 
) const
pure virtual

Perform the actual count.

Parameters
samplesThe trace to examine in order to detect the muons.
recDataThe data where to put the detected muon information.
Returns
The number of detected muons.

Implemented in MdMuonEstimatorAG::InfiniteWindowStrategy, MdMuonEstimatorAG::NBinCenteredStrategy, MdMuonEstimatorAG::NBinStrategy, and MdMuonEstimatorAG::OneBinStrategy.


The documentation for this class was generated from the following files:

, generated on Tue Sep 26 2023.