ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Generators
GeneratorFilters
GeneratorFilters
BoostedHadTopAndTopPair.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
// --------------------------------------------------
6
//
7
// File: GeneratorFilters/BoostedHadTopAndTopPair.h
8
// Description: Filter for ttbar as function of the pT of the hadronic top
9
//
10
// Authors:
11
// I Hinchliffe: December 2001
12
// A Buckley: April 2009
13
14
#ifndef GeneratorFilter_BoostedHadTopAndTopPair_H
15
#define GeneratorFilter_BoostedHadTopAndTopPair_H
16
17
#include <iostream>
18
#include "
GeneratorModules/GenFilter.h
"
19
20
#include "
AtlasHepMC/GenParticle_fwd.h
"
21
22
24
class
BoostedHadTopAndTopPair
:
public
GenFilter
{
25
26
public
:
27
29
BoostedHadTopAndTopPair
(
const
std::string& name, ISvcLocator* pSvcLocator);
30
32
virtual
~BoostedHadTopAndTopPair
() {
33
}
34
36
virtual
StatusCode
filterInitialize
() {
37
return
StatusCode::SUCCESS;
38
}
39
41
virtual
StatusCode
filterFinalize
() {
42
return
StatusCode::SUCCESS;
43
}
44
46
virtual
StatusCode filterEvent(
const
EventContext& ctx);
47
48
49
private
:
50
51
// properties
52
double
m_tHadPtMin
;
53
double
m_tHadPtMax
;
54
double
m_tPairPtMin
;
55
double
m_tPairPtMax
;
56
int
m_cutPtOf
;
57
58
HepMC::ConstGenParticlePtr
findInitial
(
const
HepMC::ConstGenParticlePtr
& part)
const
;
59
bool
isFromTop
(
const
HepMC::ConstGenParticlePtr
& part)
const
;
60
bool
isHadronic
(
const
HepMC::ConstGenParticlePtr
& part)
const
;
61
bool
isFinalParticle
(
const
HepMC::ConstGenParticlePtr
& part)
const
;
62
HepMC::FourVector
momentumBofW
(
const
HepMC::ConstGenParticlePtr
& part)
const
;
63
64
};
65
66
#endif
GenFilter.h
GenParticle_fwd.h
BoostedHadTopAndTopPair::filterFinalize
virtual StatusCode filterFinalize()
Finalize.
Definition
BoostedHadTopAndTopPair.h:41
BoostedHadTopAndTopPair::m_tHadPtMin
double m_tHadPtMin
Definition
BoostedHadTopAndTopPair.h:52
BoostedHadTopAndTopPair::m_tHadPtMax
double m_tHadPtMax
Definition
BoostedHadTopAndTopPair.h:53
BoostedHadTopAndTopPair::filterInitialize
virtual StatusCode filterInitialize()
Initialize.
Definition
BoostedHadTopAndTopPair.h:36
BoostedHadTopAndTopPair::findInitial
HepMC::ConstGenParticlePtr findInitial(const HepMC::ConstGenParticlePtr &part) const
Definition
BoostedHadTopAndTopPair.cxx:112
BoostedHadTopAndTopPair::m_tPairPtMax
double m_tPairPtMax
Definition
BoostedHadTopAndTopPair.h:55
BoostedHadTopAndTopPair::momentumBofW
HepMC::FourVector momentumBofW(const HepMC::ConstGenParticlePtr &part) const
Definition
BoostedHadTopAndTopPair.cxx:148
BoostedHadTopAndTopPair::isFinalParticle
bool isFinalParticle(const HepMC::ConstGenParticlePtr &part) const
Definition
BoostedHadTopAndTopPair.cxx:135
BoostedHadTopAndTopPair::~BoostedHadTopAndTopPair
virtual ~BoostedHadTopAndTopPair()
Destructor.
Definition
BoostedHadTopAndTopPair.h:32
BoostedHadTopAndTopPair::isHadronic
bool isHadronic(const HepMC::ConstGenParticlePtr &part) const
Definition
BoostedHadTopAndTopPair.cxx:123
BoostedHadTopAndTopPair::m_tPairPtMin
double m_tPairPtMin
Definition
BoostedHadTopAndTopPair.h:54
BoostedHadTopAndTopPair::m_cutPtOf
int m_cutPtOf
Definition
BoostedHadTopAndTopPair.h:56
BoostedHadTopAndTopPair::isFromTop
bool isFromTop(const HepMC::ConstGenParticlePtr &part) const
Definition
BoostedHadTopAndTopPair.cxx:100
GenFilter::GenFilter
GenFilter(const std::string &name, ISvcLocator *pSvcLocator)
Definition
GenFilter.cxx:8
BoostedHadTopAndTopPair
Definition
BoostedHadTopAndTopPair.py:1
HepMC::FourVector
HepMC3::FourVector FourVector
Definition
SimpleVector.h:11
HepMC::ConstGenParticlePtr
HepMC3::ConstGenParticlePtr ConstGenParticlePtr
Definition
GenParticle.h:20
Generated on
for ATLAS Offline Software by
1.17.0