00001
00002
00003 #ifndef CPANALYSISEXAMPLES_MYTOOLPROVIDER
00004 #define CPANALYSISEXAMPLES_MYTOOLPROVIDER
00005
00006 #include "AsgTools/AsgTool.h"
00007 #include "AsgTools/IAsgTool.h"
00008 #include "AsgTools/AsgMessaging.h"
00010
00011
00012
00013 #include "AsgTools/ToolHandle.h"
00014
00015 #include "JetCalibTools/JetCalibrationTool.h"
00016 #include "JetSelectorTools/JetCleaningTool.h"
00017 #include "JetResolution/JERTool.h"
00018 #include "JetResolution/JERSmearingTool.h"
00019 #include "JetUncertainties/JetUncertaintiesTool.h"
00020 #include "MuonMomentumCorrections/MuonCalibrationAndSmearingTool.h"
00021 #include "MuonEfficiencyCorrections/MuonEfficiencyScaleFactors.h"
00022 #include "MuonSelectorTools/MuonSelectionTool.h"
00023 #include "ElectronPhotonFourMomentumCorrection/EgammaCalibrationAndSmearingTool.h"
00024 #include "ElectronEfficiencyCorrection/AsgElectronEfficiencyCorrectionTool.h"
00025 #include "TauAnalysisTools/TauSelectionTool.h"
00026 #include "TauAnalysisTools/TauEfficiencyCorrectionsTool.h"
00027 #include "TauAnalysisTools/TauSmearingTool.h"
00028 #include "xAODBTaggingEfficiency/BTaggingEfficiencyTool.h"
00029 #include "METUtilities/METRebuilder.h"
00030
00031
00032
00033
00034 class MyToolProvider : public asg::AsgMessaging
00035 {
00036 public:
00037
00038
00039
00040 MyToolProvider(const std::string& name);
00041 ~MyToolProvider();
00042
00043 StatusCode initialize(bool isData = false, bool isAtlfast = true);
00044
00045
00046
00047 JetCalibrationTool * jetCalibTool;
00048 JERTool * jerTool;
00049 JERSmearingTool * jerSmearingTool;
00050 JetUncertaintiesTool * jetUncertaintiesTool;
00051 JetCleaningTool * jetCleaningTool;
00052
00053
00054
00055 CP::MuonCalibrationAndSmearingTool *muonCalibrationAndSmearingTool;
00056 CP::MuonEfficiencyScaleFactors *muonEfficiencySFTool;
00057 CP::MuonSelectionTool *muonSelectionTool;
00058
00059
00060
00061 AsgElectronEfficiencyCorrectionTool *elecEfficiencySFTool;
00062 CP::EgammaCalibrationAndSmearingTool *egammaCalibTool;
00063
00064
00065
00066 TauAnalysisTools::TauSelectionTool *tauSelTool;
00067 TauAnalysisTools::TauSmearingTool *tauSmearingTool;
00068 TauAnalysisTools::TauEfficiencyCorrectionsTool *tauEffTool;
00069
00070
00071
00072 BTaggingEfficiencyTool *btagTool;
00073
00074
00075
00076 met::METRebuilder *metRebuilder;
00077
00078 };
00079
00080 #endif // ifndef CPANALYSISEXAMPLES_MYTOOLPROVIDER