ATLAS Offline Software
PhysicsAnalysis
TopPhys
xAOD
TopEventSelectionTools
TopEventSelectionTools
JetNGhostSelector.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
// Filename: JetNGhostSelector.h
6
// Description:
7
// Author: Fabian Wilk
8
// Created: Fri May 8 15:38:21 2015
9
10
#ifndef _JETNGHOSTSELECTOR_H_
11
#define _JETNGHOSTSELECTOR_H_
12
13
#include "
TopEventSelectionTools/SignValueSelector.h
"
14
15
namespace
top
{
16
class
JetNGhostSelector
:
public
SignValueSelector
{
17
public
:
18
explicit
JetNGhostSelector
(
const
std::string&
params
);
19
25
bool
apply
(
const
top::Event
&)
const override
{
return
true
;}
26
33
bool
applyParticleLevel
(
const
top::ParticleLevelEvent
& plEvent)
const override
;
34
35
std::string
name
()
const override
;
36
private
:
37
std::string
parseType
(
const
std::string&
params
);
38
39
enum
Type
{
40
c
=
static_cast<
int
>
(
'c'
),
41
C
=
static_cast<
int
>
(
'C'
),
42
b
=
static_cast<
int
>
(
'b'
),
43
B
=
static_cast<
int
>
(
'B'
),
44
t
=
static_cast<
int
>
(
't'
),
45
W
=
static_cast<
int
>
(
'W'
),
46
Z
=
static_cast<
int
>
(
'Z'
),
47
H
=
static_cast<
int
>
(
'H'
),
48
tau
,
49
Invalid
50
};
51
Type
m_type
;
52
53
std::string
m_name
;
54
};
55
}
56
57
#endif
/* _JETNGHOSTSELECTOR_H_ */
top::JetNGhostSelector::m_name
std::string m_name
Definition:
JetNGhostSelector.h:53
top
TopConfig A simple configuration that is NOT a singleton.
Definition:
AnalysisTrackingHelper.cxx:58
top::JetNGhostSelector
Definition:
JetNGhostSelector.h:16
top::JetNGhostSelector::t
@ t
Definition:
JetNGhostSelector.h:44
top::JetNGhostSelector::Invalid
@ Invalid
Definition:
JetNGhostSelector.h:49
top::JetNGhostSelector::W
@ W
Definition:
JetNGhostSelector.h:45
top::JetNGhostSelector::b
@ b
Definition:
JetNGhostSelector.h:42
top::JetNGhostSelector::JetNGhostSelector
JetNGhostSelector(const std::string ¶ms)
Definition:
JetNGhostSelector.cxx:8
top::SignValueSelector
Many of the tools need a sign (>=) and a value (2).
Definition:
SignValueSelector.h:16
SignValueSelector.h
top::JetNGhostSelector::Z
@ Z
Definition:
JetNGhostSelector.h:46
top::JetNGhostSelector::name
std::string name() const override
The name is generated in the constructor for this kind of tool.
Definition:
JetNGhostSelector.cxx:133
top::JetNGhostSelector::c
@ c
Definition:
JetNGhostSelector.h:40
top::JetNGhostSelector::B
@ B
Definition:
JetNGhostSelector.h:43
top::ParticleLevelEvent
Definition:
ParticleLevelEvent.h:24
top::JetNGhostSelector::tau
@ tau
Definition:
JetNGhostSelector.h:48
top::JetNGhostSelector::H
@ H
Definition:
JetNGhostSelector.h:47
xAODType
Definition:
ObjectType.h:13
top::JetNGhostSelector::apply
bool apply(const top::Event &) const override
Apply on reco level.
Definition:
JetNGhostSelector.h:25
top::JetNGhostSelector::parseType
std::string parseType(const std::string ¶ms)
Definition:
JetNGhostSelector.cxx:44
top::JetNGhostSelector::applyParticleLevel
bool applyParticleLevel(const top::ParticleLevelEvent &plEvent) const override
Apply on particle level.
Definition:
JetNGhostSelector.cxx:81
top::Event
Very simple class to hold event data after reading from a file.
Definition:
Event.h:49
top::JetNGhostSelector::C
@ C
Definition:
JetNGhostSelector.h:41
PowhegControl_ttFCNC_NLO.params
params
Definition:
PowhegControl_ttFCNC_NLO.py:226
top::JetNGhostSelector::m_type
Type m_type
Definition:
JetNGhostSelector.h:51
Generated on Fri Jul 5 2024 21:18:59 for ATLAS Offline Software by
1.8.18