ATLAS Offline Software
DileptonOSSFInvariantMassWindowSelectorAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 #ifndef EVENT_SELECTOR_DILEPTONOSSFINVARIANTMASSWINDOWSELECTORALG_H
8 #define EVENT_SELECTOR_DILEPTONOSSFINVARIANTMASSWINDOWSELECTORALG_H
9 
10 // Algorithm includes
16 
17 // Framework includes
19 #include <xAODMuon/MuonContainer.h>
22 
23 namespace CP {
25 
27 
29  public:
30  DileptonOSSFInvariantMassWindowSelectorAlg(const std::string &name, ISvcLocator *pSvcLocator);
31  virtual StatusCode initialize() override;
32  virtual StatusCode execute() override;
33 
34  private:
35  Gaudi::Property<float> m_mll_lower {this, "lowMll", 0., "MLL > LOW (in MeV)"};
36  Gaudi::Property<float> m_mll_upper {this, "highMll", 0., "MLL < High (in MeV)"};
38  Gaudi::Property<bool> m_veto {this, "vetoMode", false, "switch to veto-mode"};
39 
41  Gaudi::Property<bool> m_useDressedProperties{this, "useDressedProperties", false,
42  "whether to use dressed electron and muon kinematics rather than simple "
43  "P4 kinematics"};
44 
47  this, "electrons", "", "the electron container to use"
48  };
50  this, "electronSelection", "", "the selection on the input electrons"
51  };
53  this, "muons", "", "the muon container to use"
54  };
56  this, "muonSelection", "", "the selection on the input muons"
57  };
59  this, "truthElectrons", "", "the truth electron container to use"
60  };
62  this, "truthElectronSelection", "", "the selection on the input truth electrons"
63  };
65  this, "truthMuons", "", "the truth muon container to use"
66  };
68  this, "truthMuonSelection", "", "the selection on the input muons"
69  };
71  this, "eventInfo", "EventInfo", "the EventInfo container to read selection decisions from"
72  };
74  this, "eventPreselection", "SetMe", "name of the preselection to check before applying this one"
75  };
77  this, "decorationName", "SetMe", "decoration name for the MLL selector"
78  };
79 
80  }; // class
81 } // namespace CP
82 
83 #endif // EVENT_SELECTOR_DILEPTONOSSFINVARIANTMASSWINDOWSELECTORALG_H
PropertyWrapper.h
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition: SysListHandle.h:33
CP::DileptonOSSFInvariantMassWindowSelectorAlg::m_mll_upper
Gaudi::Property< float > m_mll_upper
Definition: DileptonOSSFInvariantMassWindowSelectorAlg.h:36
CP::DileptonOSSFInvariantMassWindowSelectorAlg::m_muonSelection
CP::SysReadSelectionHandle m_muonSelection
Definition: DileptonOSSFInvariantMassWindowSelectorAlg.h:55
SysWriteSelectionHandle.h
TruthParticleContainer.h
CP::DileptonOSSFInvariantMassWindowSelectorAlg::m_veto
Gaudi::Property< bool > m_veto
whether to veto events instead of selecting them
Definition: DileptonOSSFInvariantMassWindowSelectorAlg.h:38
CP::DileptonOSSFInvariantMassWindowSelectorAlg::DileptonOSSFInvariantMassWindowSelectorAlg
DileptonOSSFInvariantMassWindowSelectorAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
Definition: DileptonOSSFInvariantMassWindowSelectorAlg.cxx:13
CP::SysReadHandle< xAOD::ElectronContainer >
CP::DileptonOSSFInvariantMassWindowSelectorAlg::m_muonTruthSelection
CP::SysReadSelectionHandle m_muonTruthSelection
Definition: DileptonOSSFInvariantMassWindowSelectorAlg.h:67
CP
Select isolated Photons, Electrons and Muons.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:48
CP::DileptonOSSFInvariantMassWindowSelectorAlg
an algorithm that vetos an event with two OS electrons or muons mass in a specific mass window
Definition: DileptonOSSFInvariantMassWindowSelectorAlg.h:26
SysReadHandle.h
AnaAlgorithm.h
CP::DileptonOSSFInvariantMassWindowSelectorAlg::m_muonsHandle
CP::SysReadHandle< xAOD::MuonContainer > m_muonsHandle
Definition: DileptonOSSFInvariantMassWindowSelectorAlg.h:52
CP::DileptonOSSFInvariantMassWindowSelectorAlg::m_muonsTruthHandle
CP::SysReadHandle< xAOD::TruthParticleContainer > m_muonsTruthHandle
Definition: DileptonOSSFInvariantMassWindowSelectorAlg.h:64
CP::DileptonOSSFInvariantMassWindowSelectorAlg::m_systematicsList
CP::SysListHandle m_systematicsList
Definition: DileptonOSSFInvariantMassWindowSelectorAlg.h:45
CP::DileptonOSSFInvariantMassWindowSelectorAlg::m_electronsHandle
CP::SysReadHandle< xAOD::ElectronContainer > m_electronsHandle
Definition: DileptonOSSFInvariantMassWindowSelectorAlg.h:46
CP::DileptonOSSFInvariantMassWindowSelectorAlg::m_preselection
CP::SysReadSelectionHandle m_preselection
Definition: DileptonOSSFInvariantMassWindowSelectorAlg.h:73
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition: AnaAlgorithm.h:73
ElectronContainer.h
CP::DileptonOSSFInvariantMassWindowSelectorAlg::m_electronSelection
CP::SysReadSelectionHandle m_electronSelection
Definition: DileptonOSSFInvariantMassWindowSelectorAlg.h:49
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CP::DileptonOSSFInvariantMassWindowSelectorAlg::execute
virtual StatusCode execute() override
Definition: DileptonOSSFInvariantMassWindowSelectorAlg.cxx:35
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
SysReadSelectionHandle.h
CP::DileptonOSSFInvariantMassWindowSelectorAlg::m_electronTruthSelection
CP::SysReadSelectionHandle m_electronTruthSelection
Definition: DileptonOSSFInvariantMassWindowSelectorAlg.h:61
CP::DileptonOSSFInvariantMassWindowSelectorAlg::m_mll_lower
Gaudi::Property< float > m_mll_lower
Definition: DileptonOSSFInvariantMassWindowSelectorAlg.h:35
EventInfo.h
MuonContainer.h
CP::DileptonOSSFInvariantMassWindowSelectorAlg::m_eventInfoHandle
CP::SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
Definition: DileptonOSSFInvariantMassWindowSelectorAlg.h:70
CP::DileptonOSSFInvariantMassWindowSelectorAlg::initialize
virtual StatusCode initialize() override
Definition: DileptonOSSFInvariantMassWindowSelectorAlg.cxx:17
CP::SysReadSelectionHandle
a data handle for reading systematically varied selection properties from objects
Definition: SysReadSelectionHandle.h:32
CP::DileptonOSSFInvariantMassWindowSelectorAlg::m_decoration
CP::SysWriteSelectionHandle m_decoration
Definition: DileptonOSSFInvariantMassWindowSelectorAlg.h:76
CP::DileptonOSSFInvariantMassWindowSelectorAlg::m_useDressedProperties
Gaudi::Property< bool > m_useDressedProperties
use dressed kinematics
Definition: DileptonOSSFInvariantMassWindowSelectorAlg.h:41
CP::SysWriteSelectionHandle
a data handle for writing systematically varied selection properties from objects
Definition: SysWriteSelectionHandle.h:32
CP::DileptonOSSFInvariantMassWindowSelectorAlg::m_electronsTruthHandle
CP::SysReadHandle< xAOD::TruthParticleContainer > m_electronsTruthHandle
Definition: DileptonOSSFInvariantMassWindowSelectorAlg.h:58