File indexing completed on 2024-04-06 12:24:17
0001 #include "FWCore/PluginManager/interface/ModuleDef.h"
0002 #include "FWCore/Framework/interface/MakerMacros.h"
0003 #include "FWCore/Framework/interface/ModuleFactory.h"
0004 #include "FWCore/ServiceRegistry/interface/ServiceMaker.h"
0005
0006 #include "PhysicsTools/UtilAlgos/interface/VariableHelper.h"
0007 DEFINE_FWK_SERVICE(VariableHelperService);
0008
0009 #include "CommonTools/UtilAlgos/interface/EventSelector.h"
0010 #include "PhysicsTools/UtilAlgos/plugins/VariableEventSelector.h"
0011 DEFINE_EDM_PLUGIN(EventSelectorFactoryFromHelper, VariableEventSelector, "VariableEventSelector");
0012 DEFINE_EDM_PLUGIN(EventSelectorFactoryFromHelper, VariableFormulaEventSelector, "VariableFormulaEventSelector");
0013
0014 #include "PhysicsTools/UtilAlgos/interface/CachingVariable.h"
0015 DEFINE_EDM_PLUGIN(CachingVariableFactory, VariablePower, "VariablePower");
0016 DEFINE_EDM_PLUGIN(CachingVariableFactory, VarSplitter, "VarSplitter");
0017
0018 typedef SimpleValueVariable<double> DoubleVar;
0019 typedef SimpleValueVariable<bool> BoolVar;
0020 typedef SimpleValueVectorVariable<bool> DoubleVVar;
0021 typedef SimpleValueVectorVariable<bool> BoolVVar;
0022 DEFINE_EDM_PLUGIN(CachingVariableFactory, DoubleVar, "DoubleVar");
0023 DEFINE_EDM_PLUGIN(CachingVariableFactory, BoolVar, "BoolVar");
0024 DEFINE_EDM_PLUGIN(CachingVariableFactory, DoubleVVar, "DoubleVVar");
0025 DEFINE_EDM_PLUGIN(CachingVariableFactory, BoolVVar, "BoolVVar");
0026
0027 DEFINE_EDM_PLUGIN(CachingVariableFactory, ComputedVariable, "ComputedVariable");
0028
0029 DEFINE_EDM_PLUGIN(VariableComputerFactory, VariableComputerTest, "VariableComputerTest");
0030
0031 #include "PhysicsTools/UtilAlgos/interface/Plotter.h"
0032 DEFINE_EDM_PLUGIN(PlotterFactory, VariablePlotter, "VariablePlotter");
0033
0034 #include "PhysicsTools/UtilAlgos/interface/StringBasedNTupler.h"
0035 DEFINE_EDM_PLUGIN(NTuplerFactory, StringBasedNTupler, "StringBasedNTupler");
0036 #include "PhysicsTools/UtilAlgos/interface/VariableNTupler.h"
0037 DEFINE_EDM_PLUGIN(NTuplerFactory, VariableNTupler, "VariableNTupler");
0038 #include "PhysicsTools/UtilAlgos/interface/CompleteNTupler.h"
0039 DEFINE_EDM_PLUGIN(NTuplerFactory, CompleteNTupler, "CompleteNTupler");