00001 #ifndef QUICK_ANA__PILEUP_TOOL_H
00002 #define QUICK_ANA__PILEUP_TOOL_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #include <QuickAna/Global.h>
00021
00022 #include <AthContainers/AuxElement.h>
00023 #include <QuickAna/AnaTool.h>
00024 #include <AsgTools/AnaToolHandle.h>
00025
00026 namespace CP {class IPileupReweightingTool;}
00027
00028 namespace ana
00029 {
00036 class PileupTool : virtual public AnaTool
00037 {
00038
00039
00040
00041
00042 ASG_TOOL_CLASS (PileupTool, ana::IAnaTool)
00043
00044 public:
00045
00049 PileupTool (const std::string& name);
00050
00052 virtual StatusCode
00053 setObjectType (ObjectType type, const std::string& workingPoint) override;
00054
00057 virtual AnalysisStep step () const override;
00058
00060 virtual unsigned inputTypes () const override;
00061
00063 virtual unsigned outputTypes () const override;
00064
00068 StatusCode initialize() override;
00069
00073 virtual StatusCode execute (IEventObjects& objects) override;
00074
00076 public:
00077 std::vector<std::string> muDataFiles;
00078
00080 public:
00081 std::vector<std::string> muMcFiles;
00082
00084 private:
00085 asg::AnaToolHandle<CP::IPileupReweightingTool> m_tool;
00086
00087 };
00088 }
00089
00090 #endif