ATLAS Offline Software
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 
26 public:
27 
29  BoostedHadTopAndTopPair(const std::string& name, ISvcLocator* pSvcLocator);
30 
33  }
34 
37  return StatusCode::SUCCESS;
38  }
39 
42  return StatusCode::SUCCESS;
43  }
44 
46  virtual StatusCode filterEvent();
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 
59  bool isFromTop(const HepMC::ConstGenParticlePtr& part) const;
60  bool isHadronic(const HepMC::ConstGenParticlePtr& part) const;
62  HepMC::FourVector momentumBofW(const HepMC::ConstGenParticlePtr& part) const;
63 
64 };
65 
66 #endif
LArG4FSStartPointFilter.part
part
Definition: LArG4FSStartPointFilter.py:21
BoostedHadTopAndTopPair::filterInitialize
virtual StatusCode filterInitialize()
Initialize.
Definition: BoostedHadTopAndTopPair.h:36
GenFilter.h
BoostedHadTopAndTopPair::~BoostedHadTopAndTopPair
virtual ~BoostedHadTopAndTopPair()
Destructor.
Definition: BoostedHadTopAndTopPair.h:32
BoostedHadTopAndTopPair::filterEvent
virtual StatusCode filterEvent()
Do the filtering.
Definition: BoostedHadTopAndTopPair.cxx:29
GenParticle_fwd.h
BoostedHadTopAndTopPair::m_tHadPtMin
double m_tHadPtMin
Definition: BoostedHadTopAndTopPair.h:52
BoostedHadTopAndTopPair
Definition: BoostedHadTopAndTopPair.py:1
GenFilter
Base class for event generator filtering modules.
Definition: GenFilter.h:30
BoostedHadTopAndTopPair::isHadronic
bool isHadronic(const HepMC::ConstGenParticlePtr &part) const
Definition: BoostedHadTopAndTopPair.cxx:138
BoostedHadTopAndTopPair::BoostedHadTopAndTopPair
BoostedHadTopAndTopPair(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition: BoostedHadTopAndTopPair.cxx:17
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
BoostedHadTopAndTopPair::filterFinalize
virtual StatusCode filterFinalize()
Finalize.
Definition: BoostedHadTopAndTopPair.h:41
BoostedHadTopAndTopPair::isFinalParticle
bool isFinalParticle(const HepMC::ConstGenParticlePtr &part) const
Definition: BoostedHadTopAndTopPair.cxx:150
HepMC::ConstGenParticlePtr
const GenParticle * ConstGenParticlePtr
Definition: GenParticle.h:38
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
BoostedHadTopAndTopPair::m_tPairPtMax
double m_tPairPtMax
Definition: BoostedHadTopAndTopPair.h:55
BoostedHadTopAndTopPair::momentumBofW
HepMC::FourVector momentumBofW(const HepMC::ConstGenParticlePtr &part) const
Definition: BoostedHadTopAndTopPair.cxx:163
BoostedHadTopAndTopPair::isFromTop
bool isFromTop(const HepMC::ConstGenParticlePtr &part) const
Definition: BoostedHadTopAndTopPair.cxx:99
BoostedHadTopAndTopPair::m_cutPtOf
int m_cutPtOf
Definition: BoostedHadTopAndTopPair.h:56
BoostedHadTopAndTopPair::m_tHadPtMax
double m_tHadPtMax
Definition: BoostedHadTopAndTopPair.h:53
BoostedHadTopAndTopPair::findInitial
HepMC::ConstGenParticlePtr findInitial(const HepMC::ConstGenParticlePtr &part) const
Definition: BoostedHadTopAndTopPair.cxx:119
BoostedHadTopAndTopPair::m_tPairPtMin
double m_tPairPtMin
Definition: BoostedHadTopAndTopPair.h:54