ATLAS Offline Software
PhysicsAnalysis
TopPhys
xAOD
TopEventSelectionTools
TopEventSelectionTools
PhysicsAnalysis/TopPhys/xAOD/TopEventSelectionTools/TopEventSelectionTools/PrimaryVertexSelector.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef PRIMARYVERTEXSELECTOR_H_
6
#define PRIMARYVERTEXSELECTOR_H_
7
8
#include "
TopEventSelectionTools/EventSelectorBase.h
"
9
10
namespace
top
{
17
class
PrimaryVertexSelector
:
public
EventSelectorBase
{
18
public
:
19
PrimaryVertexSelector
();
20
virtual
~PrimaryVertexSelector
() {};
21
28
virtual
bool
apply
(
const
top::Event
&
event
)
const override
;
29
35
std::string
name
()
const override
;
36
};
37
}
38
39
#endif
/* PrimaryVertexSelector */
top
TopConfig A simple configuration that is NOT a singleton.
Definition:
AnalysisTrackingHelper.cxx:58
top::PrimaryVertexSelector::name
std::string name() const override
The name of the tool.
Definition:
PrimaryVertexSelector.cxx:21
top::PrimaryVertexSelector::~PrimaryVertexSelector
virtual ~PrimaryVertexSelector()
Definition:
PhysicsAnalysis/TopPhys/xAOD/TopEventSelectionTools/TopEventSelectionTools/PrimaryVertexSelector.h:20
top::PrimaryVertexSelector::PrimaryVertexSelector
PrimaryVertexSelector()
Definition:
PrimaryVertexSelector.cxx:9
top::PrimaryVertexSelector::apply
virtual bool apply(const top::Event &event) const override
MC simulation passes, data is checked against the GRL.
Definition:
PrimaryVertexSelector.cxx:12
event
POOL::TEvent event(POOL::TEvent::kClassAccess)
top::EventSelectorBase
This should apply event-level cuts and perform simple plotting on top::Event objects.
Definition:
EventSelectorBase.h:20
EventSelectorBase.h
top::Event
Very simple class to hold event data after reading from a file.
Definition:
Event.h:49
top::PrimaryVertexSelector
Select data events with good Primary vertices following: https://twiki.cern.ch/twiki/bin/viewauth/Atl...
Definition:
PhysicsAnalysis/TopPhys/xAOD/TopEventSelectionTools/TopEventSelectionTools/PrimaryVertexSelector.h:17
Generated on Fri Jul 5 2024 21:24:59 for ATLAS Offline Software by
1.8.18