1 #ifndef _MdPileUpCorrecterAG_MdPileUpCorrecter_h_
2 #define _MdPileUpCorrecterAG_MdPileUpCorrecter_h_
4 #include <utl/config.h>
6 #include <fwk/VModule.h>
7 #include <mevt/MEvent.h>
8 #include <mevt/Module.h>
9 #include <evt/ShowerRecData.h>
11 #include <utl/Trace-fwd.h>
12 #include <utl/MessageLoggerConfig.h>
13 #include <utl/UnitsConfig.h>
19 #include <boost/utility.hpp>
24 namespace MdPileUpCorrecterAG {
27 class VPileUpCorrecterFunctor;
51 VModule::ResultFlag
Init();
53 VModule::ResultFlag
Finish();
61 void InitTable(std::unique_ptr<utl::TabularStream>& pt,
unsigned int nCol)
const;
Strategy fStrategy
Counting stategy to be performed.
Helper class for configuration of units: value and name.
VModule::ResultFlag Run(evt::Event &e)
Run: invoked once per event.
VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
Strategy
Kind of possible counting criteria to be used.
std::unique_ptr< VPileUpCorrecterFunctor > fCorrecter
Object performing the pattern identification on individuals channels.
static const char *const kStrategyTags[]
Tags for the types of strategy.
Wraps a message to logger (received as parameter or created here), its access and configuration...
REGISTER_MODULE("MdPileUpCorrecter", MdPileUpCorrecter)
utl::MessageLoggerConfig fLog
Output messages handler.
void InitTable(std::unique_ptr< utl::TabularStream > &pt, unsigned int nCol) const
Helper to init a tabular stream.
VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)
utl::UnitsConfig fUnits
Units configuration.
Perform pile-up correction.