ATLAS Offline Software
xAODFourLeptonMassFilter.h
Go to the documentation of this file.
1 
2 /*
3  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
4 */
5 
6 
7 #ifndef GENERATORFILTER_xAODFOUREPTONMASSFILTER
8 #define GENERATORFILTER_xAODFOUREPTONMASSFILTER
9 
11 #include "xAODTruth/TruthEvent.h"
13 
24  public:
25  xAODFourLeptonMassFilter(const std::string& name, ISvcLocator* pSvcLocator);
26  virtual StatusCode filterInitialize() override;
27  virtual StatusCode filterEvent() override;
28 
29  private:
30  Gaudi::Property<double> m_minPt{this, "MinPt", 5000., " "};
31  Gaudi::Property<double> m_maxEta{this, "MaxEta", 3.0, " "};
32  Gaudi::Property<double> m_minMass1{this, "MinMass1", 60000, " "};
33  Gaudi::Property<double> m_maxMass1{this, "MaxMass1", 14000000, " "};
34  Gaudi::Property<double> m_minMass2{this, "MinMass2", 12000, " "};
35  Gaudi::Property<double> m_maxMass2{this, "MaxMass2", 14000000, " "};
36  Gaudi::Property<bool> m_allowElecMu{this, "AllowElecMu", true, " "};
37  Gaudi::Property<bool> m_allowSameCharge{this, "AllowSameCharge", true, " "};
38 
39 
41  {this, "xAODTruthParticleContainerNameLightLepton","TruthLightLeptons","Name of Truth Light Leptons container from the slimmer"};
42 
43 };
44 
45 #endif
xAODFourLeptonMassFilter::m_maxMass2
Gaudi::Property< double > m_maxMass2
Definition: xAODFourLeptonMassFilter.h:35
xAODFourLeptonMassFilter::m_maxEta
Gaudi::Property< double > m_maxEta
Definition: xAODFourLeptonMassFilter.h:31
xAODFourLeptonMassFilter::m_maxMass1
Gaudi::Property< double > m_maxMass1
Definition: xAODFourLeptonMassFilter.h:33
xAODFourLeptonMassFilter::filterInitialize
virtual StatusCode filterInitialize() override
Definition: xAODFourLeptonMassFilter.cxx:16
GenFilter.h
xAODFourLeptonMassFilter::xAODFourLeptonMassFilter
xAODFourLeptonMassFilter(const std::string &name, ISvcLocator *pSvcLocator)
Definition: xAODFourLeptonMassFilter.cxx:13
SG::ReadHandleKey< xAOD::TruthParticleContainer >
GenFilter
Base class for event generator filtering modules.
Definition: GenFilter.h:30
xAODFourLeptonMassFilter
Filter on two dilepton-pairs with two mass windows (by default >60GeV and >12GeV)
Definition: xAODFourLeptonMassFilter.h:23
xAODFourLeptonMassFilter::m_minPt
Gaudi::Property< double > m_minPt
Definition: xAODFourLeptonMassFilter.h:30
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
xAODFourLeptonMassFilter::m_minMass2
Gaudi::Property< double > m_minMass2
Definition: xAODFourLeptonMassFilter.h:34
xAODFourLeptonMassFilter::m_allowElecMu
Gaudi::Property< bool > m_allowElecMu
Definition: xAODFourLeptonMassFilter.h:36
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
xAODFourLeptonMassFilter::m_xaodTruthParticleContainerNameLightLeptonKey
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_xaodTruthParticleContainerNameLightLeptonKey
Definition: xAODFourLeptonMassFilter.h:41
xAODFourLeptonMassFilter::m_allowSameCharge
Gaudi::Property< bool > m_allowSameCharge
Definition: xAODFourLeptonMassFilter.h:37
xAODFourLeptonMassFilter::filterEvent
virtual StatusCode filterEvent() override
Definition: xAODFourLeptonMassFilter.cxx:28
TruthEventContainer.h
xAODFourLeptonMassFilter::m_minMass1
Gaudi::Property< double > m_minMass1
Definition: xAODFourLeptonMassFilter.h:32
TruthEvent.h