ATLAS Offline Software
xAODParentTwoChildrenFilter.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef GENERATORFILTERS_XAODPARENTTWOCHILDRENFILTER_H
6 #define GENERATORFILTERS_XAODPARENTTWOCHILDRENFILTER_H
7 
13 #include "xAODTruth/TruthEvent.h"
15 
19 public:
20 
21  xAODParentTwoChildrenFilter(const std::string& name, ISvcLocator* pSvcLocator);
22  virtual StatusCode filterInitialize();
23  virtual StatusCode filterEvent();
24 
25 private:
26 
27  Gaudi::Property<double> m_PtMinParent{this,"PtMinParent",0.,"Min parent Pt"};
28  Gaudi::Property<std::vector<int>> m_PDGParent{this,"PDGParent",0,"PDG ID of parents"};
29  Gaudi::Property<double> m_EtaRangeParent{this,"EtaRangeParent",10.0,"Parent eta range"};
30  Gaudi::Property<std::vector<int>> m_PDGChild{this,"PDGChild",0,"PDG ID of child"};
31  Gaudi::Property<double> m_PtMinChild{this,"PtMinChild",0.,"Min child Pt"};
32  Gaudi::Property<double> m_EtaRangeChild{this,"EtaRangeChild",0.,"Child eta range"};
33 
34 };
35 
36 #endif
xAODParentTwoChildrenFilter::filterInitialize
virtual StatusCode filterInitialize()
Definition: xAODParentTwoChildrenFilter.cxx:17
TruthVertexContainer.h
TruthParticleContainer.h
GenFilter.h
xAODParentTwoChildrenFilter::m_PtMinChild
Gaudi::Property< double > m_PtMinChild
Definition: xAODParentTwoChildrenFilter.h:31
xAODParentTwoChildrenFilter::m_PtMinParent
Gaudi::Property< double > m_PtMinParent
Definition: xAODParentTwoChildrenFilter.h:27
TruthParticleAuxContainer.h
xAODParentTwoChildrenFilter::filterEvent
virtual StatusCode filterEvent()
Definition: xAODParentTwoChildrenFilter.cxx:30
GenFilter
Base class for event generator filtering modules.
Definition: GenFilter.h:30
xAODParentTwoChildrenFilter::m_PDGParent
Gaudi::Property< std::vector< int > > m_PDGParent
Definition: xAODParentTwoChildrenFilter.h:28
xAODParentTwoChildrenFilter::xAODParentTwoChildrenFilter
xAODParentTwoChildrenFilter(const std::string &name, ISvcLocator *pSvcLocator)
Definition: xAODParentTwoChildrenFilter.cxx:10
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
xAODParentTwoChildrenFilter::m_EtaRangeParent
Gaudi::Property< double > m_EtaRangeParent
Definition: xAODParentTwoChildrenFilter.h:29
xAODParentTwoChildrenFilter
Allows the user to search for any given decay Parent -> Child1 + anti(Child1) AND Parent -> Child2 + ...
Definition: xAODParentTwoChildrenFilter.h:18
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
xAODParentTwoChildrenFilter::m_PDGChild
Gaudi::Property< std::vector< int > > m_PDGChild
Definition: xAODParentTwoChildrenFilter.h:30
TruthParticle.h
TruthEventContainer.h
xAODParentTwoChildrenFilter::m_EtaRangeChild
Gaudi::Property< double > m_EtaRangeChild
Definition: xAODParentTwoChildrenFilter.h:32
TruthEvent.h