ATLAS Offline Software
Loading...
Searching...
No Matches
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>
19
21
22
25
26public:
27
29 BoostedHadTopAndTopPair(const std::string& name, ISvcLocator* pSvcLocator);
30
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();
47
48
49private:
50
51 // properties
54 double m_tPairPtMin;
57
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
virtual StatusCode filterFinalize()
Finalize.
virtual StatusCode filterInitialize()
Initialize.
HepMC::ConstGenParticlePtr findInitial(const HepMC::ConstGenParticlePtr &part) const
HepMC::FourVector momentumBofW(const HepMC::ConstGenParticlePtr &part) const
bool isFinalParticle(const HepMC::ConstGenParticlePtr &part) const
virtual ~BoostedHadTopAndTopPair()
Destructor.
bool isHadronic(const HepMC::ConstGenParticlePtr &part) const
bool isFromTop(const HepMC::ConstGenParticlePtr &part) const
GenFilter(const std::string &name, ISvcLocator *pSvcLocator)
Definition GenFilter.cxx:8
const GenParticle * ConstGenParticlePtr
Definition GenParticle.h:38