ATLAS Offline Software
XtoVVDecayFilterExtended.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 GENERATORFILTERS_XTOVVDECAYFILTEREXTENDED_H
6 #define GENERATORFILTERS_XTOVVDECAYFILTEREXTENDED_H
7 
9 
20 public:
21 
22  XtoVVDecayFilterExtended(const std::string& name, ISvcLocator* pSvcLocator);
23  virtual StatusCode filterInitialize();
24  virtual StatusCode filterFinalize();
25  virtual StatusCode filterEvent();
26 
27 private:
28 
32  std::vector<int> m_PDGChild1;
33  std::vector<int> m_PDGChild2;
34 
35  int m_nHtoVV;
37 
38  void FindAncestor(const HepMC::ConstGenVertexPtr& searchvertex,
39  int targetPDGID, bool& okPDGChild1, bool& okPDGChild2) const;
41  bool RunHistory(const HepMC::ConstGenParticlePtr& pitr) const;
42 };
43 
44 #endif
XtoVVDecayFilterExtended::m_PDGGrandParent
int m_PDGGrandParent
Definition: XtoVVDecayFilterExtended.h:29
XtoVVDecayFilterExtended::filterInitialize
virtual StatusCode filterInitialize()
Definition: XtoVVDecayFilterExtended.cxx:24
GenFilter.h
XtoVVDecayFilterExtended
The main purpose of this EF is to specify the decay of V1/V2 in H->V1V2, V1->decay,...
Definition: XtoVVDecayFilterExtended.h:19
XtoVVDecayFilterExtended::m_PDGChild1
std::vector< int > m_PDGChild1
Definition: XtoVVDecayFilterExtended.h:32
GenFilter
Base class for event generator filtering modules.
Definition: GenFilter.h:30
XtoVVDecayFilterExtended::m_PDGChild2
std::vector< int > m_PDGChild2
Definition: XtoVVDecayFilterExtended.h:33
XtoVVDecayFilterExtended::m_PDGParent
int m_PDGParent
Definition: XtoVVDecayFilterExtended.h:30
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
XtoVVDecayFilterExtended::FindAncestor
void FindAncestor(const HepMC::ConstGenVertexPtr &searchvertex, int targetPDGID, bool &okPDGChild1, bool &okPDGChild2) const
Definition: XtoVVDecayFilterExtended.cxx:209
XtoVVDecayFilterExtended::m_nHtoVV
int m_nHtoVV
Definition: XtoVVDecayFilterExtended.h:35
HepMC::ConstGenParticlePtr
const GenParticle * ConstGenParticlePtr
Definition: GenParticle.h:38
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
XtoVVDecayFilterExtended::m_nGoodHtoVV
int m_nGoodHtoVV
Definition: XtoVVDecayFilterExtended.h:36
XtoVVDecayFilterExtended::RunHistory
bool RunHistory(const HepMC::ConstGenParticlePtr &pitr) const
Definition: XtoVVDecayFilterExtended.cxx:86
XtoVVDecayFilterExtended::filterEvent
virtual StatusCode filterEvent()
Definition: XtoVVDecayFilterExtended.cxx:50
XtoVVDecayFilterExtended::XtoVVDecayFilterExtended
XtoVVDecayFilterExtended(const std::string &name, ISvcLocator *pSvcLocator)
Definition: XtoVVDecayFilterExtended.cxx:8
XtoVVDecayFilterExtended::CheckGrandparent
HepMC::ConstGenParticlePtr CheckGrandparent(const HepMC::ConstGenParticlePtr &pitr, int &) const
Definition: XtoVVDecayFilterExtended.cxx:145
HepMC::ConstGenVertexPtr
const HepMC::GenVertex * ConstGenVertexPtr
Definition: GenVertex.h:60
XtoVVDecayFilterExtended::m_StatusParent
int m_StatusParent
Definition: XtoVVDecayFilterExtended.h:31
XtoVVDecayFilterExtended::filterFinalize
virtual StatusCode filterFinalize()
Definition: XtoVVDecayFilterExtended.cxx:41