MdMuonCounterAG/ConsecutiveInWindowStrategy.h
Go to the documentation of this file.
1 #ifndef _MdMuonCounterAG_ConsecutiveInWindowStrategy_h
2 #define _MdMuonCounterAG_ConsecutiveInWindowStrategy_h
3 
4 #include "VMuonCounterFunctor.h"
5 
6 namespace MdMuonCounterAG {
7 
19  public:
26  ConsecutiveInWindowStrategy(unsigned int windowSize, unsigned int nOnes);
32  unsigned int operator()(const utl::TraceB& samples, mevt::ChannelRecData& recData) const;
33  private:
34  unsigned int fWindowSize;
35  unsigned int fNumOnes;
36  };
37 
38 }
39 
40 #endif // _MdMuonCounterAG_ConsecutiveInWindowStrategy_h
unsigned int operator()(const utl::TraceB &samples, mevt::ChannelRecData &recData) const
Performs the counting.
ConsecutiveInWindowStrategy(unsigned int windowSize, unsigned int nOnes)
Creates a functor.
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
Common interface for functors performing the muon counting over binary traces.
Channel level reconstruction data.
Functor implementing a constant window consecutive-rows-of-ones criteria.

, generated on Tue Sep 26 2023.