00001 #ifndef QUICK_ANA__EVENT_SELECT_HAS_VERTEX_H
00002 #define QUICK_ANA__EVENT_SELECT_HAS_VERTEX_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #include <QuickAna/Global.h>
00015
00016 #include <QuickAna/AnaTool.h>
00017 #include <QuickAna/SelectionCut.h>
00018 #include <QuickAna/SelectionData.h>
00019
00020 namespace ana
00021 {
00022
00025 class EventSelectHasVertex : virtual public AnaTool
00026 {
00027
00028
00029
00030
00031 ASG_TOOL_CLASS (EventSelectHasVertex, ana::IAnaTool)
00032
00033 public:
00034
00038 EventSelectHasVertex (const std::string& name);
00039
00040 StatusCode initialize() override;
00041
00043 virtual StatusCode
00044 setObjectType (ObjectType type, const std::string& workingPoint) override;
00045
00046 public:
00047 virtual StatusCode
00048 useConfiguration (const InternalConfiguration& configuration)
00049 override;
00050
00053 virtual AnalysisStep step () const override;
00054
00056 virtual unsigned inputTypes () const override;
00057
00059 virtual unsigned outputTypes () const override;
00060
00064 virtual StatusCode execute (IEventObjects& objects) override;
00065
00066
00068 private:
00069 SelectionData m_selection;
00070
00071 private:
00072 SelectionCut cut_vertex;
00073 };
00074 }
00075
00076 #endif