AmountGlobalStrategy.h
Go to the documentation of this file.
1 #ifndef _MdMuonCounterAG_AmountGlobalStrategy_h
2 #define _MdMuonCounterAG_AmountGlobalStrategy_h
3 
5 
6 namespace MdMuonCounterAG {
7 
18  public:
25  AmountGlobalStrategy(double nOnesPerPatternMatch, unsigned int nMinOnes);
31  double operator()(const utl::TraceB& samples) const;
32  private:
34  unsigned int fNMinOnes;
35  };
36 
37 }
38 
39 #endif // _MdMuonCounterAG_AmountGlobalStrategy_h
AmountGlobalStrategy(double nOnesPerPatternMatch, unsigned int nMinOnes)
Creates a functor.
Common interface for functors performing the muon counting over binary traces resulting in broken muo...
Template class for a FADC data or calibrated data container. Use the typedefs (TraceD, TraceI, etc.) defined in Trace-fwd.h.
Definition: Trace-fwd.h:19
Functor implementing a counting strategy based only on the number of positive samples.
double operator()(const utl::TraceB &samples) const
Performs the counting.

, generated on Tue Sep 26 2023.