ATLAS Offline Software
DileptonInvariantMassWindowSelectorAlg.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_DILEPTONINVARIANTMASSWINDOWSELECTORALG_H
8 #define EVENT_SELECTOR_DILEPTONINVARIANTMASSWINDOWSELECTORALG_H
9 
10 // Algorithm includes
18 
19 // Framework includes
22 
23 namespace CP {
24 
28 
30 
32  public:
33  DileptonInvariantMassWindowSelectorAlg(const std::string &name, ISvcLocator *pSvcLocator);
34  virtual StatusCode initialize() override;
35  virtual StatusCode execute() override;
36 
37  private:
38 
40  Gaudi::Property<float> m_mllupper {this, "highMLL", 0., "MLL < HIGH (in MeV)"};
41 
43  Gaudi::Property<float> m_mlllower {this, "lowMLL", 0., "MLL > LOW (in MeV)"};
44 
46  Gaudi::Property<bool> m_veto {this, "vetoMode", false, "switch to veto-mode"};
47 
49  Gaudi::Property<bool> m_useDressedProperties{this, "useDressedProperties", false,
50  "whether to use dressed electron and muon kinematics rather than simple "
51  "P4 kinematics"};
52 
55 
58  this, "electrons", "", "the electron container to use"
59  };
60 
63  this, "electronSelection", "", "the selection on the input electrons"
64  };
65 
68  this, "muons", "", "the muon container to use"
69  };
70 
73  this, "muonSelection", "", "the selection on the input muons"
74  };
75 
78  this, "eventInfo", "EventInfo", "the EventInfo container to read selection decisions from"
79  };
80 
83  this, "eventPreselection", "SetMe", "name of the preselection to check before applying this one"
84  };
85 
88  this, "decorationName", "SetMe", "decoration name for the MLL selector"
89  };
90 
91  }; // class
92 } // namespace CP
93 
94 #endif // EVENT_SELECTOR_DILEPTONINVARIANTMASSSELECTORALG_H
CP::DileptonInvariantMassWindowSelectorAlg::m_muonSelection
CP::SysReadSelectionHandle m_muonSelection
the muons selection
Definition: DileptonInvariantMassWindowSelectorAlg.h:72
CP::DileptonInvariantMassWindowSelectorAlg::m_mlllower
Gaudi::Property< float > m_mlllower
the lower limit of the MLL window
Definition: DileptonInvariantMassWindowSelectorAlg.h:43
PropertyWrapper.h
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition: SysListHandle.h:33
SysWriteDecorHandle.h
CP::DileptonInvariantMassWindowSelectorAlg::m_veto
Gaudi::Property< bool > m_veto
whether to veto events instead of selecting them
Definition: DileptonInvariantMassWindowSelectorAlg.h:46
CP::DileptonInvariantMassWindowSelectorAlg::m_systematicsList
CP::SysListHandle m_systematicsList
the systematics
Definition: DileptonInvariantMassWindowSelectorAlg.h:54
CP::DileptonInvariantMassWindowSelectorAlg::m_electronsHandle
CP::SysReadHandle< xAOD::IParticleContainer > m_electronsHandle
the electrons handle
Definition: DileptonInvariantMassWindowSelectorAlg.h:57
SysWriteSelectionHandle.h
CP::DileptonInvariantMassWindowSelectorAlg::m_preselection
CP::SysReadSelectionHandle m_preselection
the preselection
Definition: DileptonInvariantMassWindowSelectorAlg.h:82
CP::DileptonInvariantMassWindowSelectorAlg
an algorithm to select an event with 2-lepton mass compared to a specified window of values "lowMLL" ...
Definition: DileptonInvariantMassWindowSelectorAlg.h:29
CP::DileptonInvariantMassWindowSelectorAlg::m_muonsHandle
CP::SysReadHandle< xAOD::IParticleContainer > m_muonsHandle
the muons handle
Definition: DileptonInvariantMassWindowSelectorAlg.h:67
CP::DileptonInvariantMassWindowSelectorAlg::initialize
virtual StatusCode initialize() override
Definition: DileptonInvariantMassWindowSelectorAlg.cxx:18
CP::SysReadHandle
a data handle for reading systematics varied input data
Definition: SysReadHandle.h:32
CP
Select isolated Photons, Electrons and Muons.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:48
SysReadHandle.h
CP::DileptonInvariantMassWindowSelectorAlg::m_eventInfoHandle
CP::SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the event info handle
Definition: DileptonInvariantMassWindowSelectorAlg.h:77
AnaAlgorithm.h
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition: AnaAlgorithm.h:73
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IParticleContainer.h
CP::DileptonInvariantMassWindowSelectorAlg::DileptonInvariantMassWindowSelectorAlg
DileptonInvariantMassWindowSelectorAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
Definition: DileptonInvariantMassWindowSelectorAlg.cxx:14
CP::DileptonInvariantMassWindowSelectorAlg::m_useDressedProperties
Gaudi::Property< bool > m_useDressedProperties
use dressed kinematics
Definition: DileptonInvariantMassWindowSelectorAlg.h:49
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
SysReadSelectionHandle.h
CP::DileptonInvariantMassWindowSelectorAlg::execute
virtual StatusCode execute() override
Definition: DileptonInvariantMassWindowSelectorAlg.cxx:32
EventInfo.h
CP::DileptonInvariantMassWindowSelectorAlg::m_decoration
CP::SysWriteSelectionHandle m_decoration
the output selection decoration
Definition: DileptonInvariantMassWindowSelectorAlg.h:87
SysReadDecorHandle.h
CP::SysReadSelectionHandle
a data handle for reading systematically varied selection properties from objects
Definition: SysReadSelectionHandle.h:32
CP::DileptonInvariantMassWindowSelectorAlg::m_electronSelection
CP::SysReadSelectionHandle m_electronSelection
the electrons selection
Definition: DileptonInvariantMassWindowSelectorAlg.h:62
CP::SysWriteSelectionHandle
a data handle for writing systematically varied selection properties from objects
Definition: SysWriteSelectionHandle.h:32
CP::DileptonInvariantMassWindowSelectorAlg::m_mllupper
Gaudi::Property< float > m_mllupper
the upper limit of the MLL window
Definition: DileptonInvariantMassWindowSelectorAlg.h:40