ATLAS Offline Software
Loading...
Searching...
No Matches
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
16
17// Framework includes
20
21namespace CP {
22
26
28
30 public:
31 DileptonInvariantMassWindowSelectorAlg(const std::string &name, ISvcLocator *pSvcLocator);
32 virtual StatusCode initialize() override;
33 virtual StatusCode execute(const EventContext& ctx) override;
34
35 private:
36
38 Gaudi::Property<float> m_mllupper {this, "highMLL", 0., "MLL < HIGH (in MeV)"};
39
41 Gaudi::Property<float> m_mlllower {this, "lowMLL", 0., "MLL > LOW (in MeV)"};
42
44 Gaudi::Property<bool> m_veto {this, "vetoMode", false, "switch to veto-mode"};
45
47 Gaudi::Property<bool> m_useDressedProperties{this, "useDressedProperties", false,
48 "whether to use dressed electron and muon kinematics rather than simple "
49 "P4 kinematics"};
50
53
56 this, "electrons", "", "the electron container to use"
57 };
58
61 this, "electronSelection", "", "the selection on the input electrons"
62 };
63
66 this, "muons", "", "the muon container to use"
67 };
68
71 this, "muonSelection", "", "the selection on the input muons"
72 };
73
76 this, "eventInfo", "EventInfo", "the EventInfo container to read selection decisions from"
77 };
78
81 this, "eventPreselection", "SetMe", "name of the preselection to check before applying this one"
82 };
83
86 this, "decorationName", "SetMe", "decoration name for the MLL selector"
87 };
88
89 }; // class
90} // namespace CP
91
92#endif // EVENT_SELECTOR_DILEPTONINVARIANTMASSSELECTORALG_H
Gaudi::Property< float > m_mllupper
the upper limit of the MLL window
CP::SysWriteSelectionHandle m_decoration
the output selection decoration
Gaudi::Property< float > m_mlllower
the lower limit of the MLL window
CP::SysReadSelectionHandle m_electronSelection
the electrons selection
CP::SysReadSelectionHandle m_muonSelection
the muons selection
CP::SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the event info handle
CP::SysReadHandle< xAOD::IParticleContainer > m_muonsHandle
the muons handle
DileptonInvariantMassWindowSelectorAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
CP::SysReadSelectionHandle m_preselection
the preselection
CP::SysReadHandle< xAOD::IParticleContainer > m_electronsHandle
the electrons handle
Gaudi::Property< bool > m_useDressedProperties
use dressed kinematics
Gaudi::Property< bool > m_veto
whether to veto events instead of selecting them
a class managing the property to configure the list of systematics to process
a data handle for reading systematics varied input data
a data handle for reading systematically varied selection properties from objects
a data handle for writing systematically varied selection properties from objects
the (new) base class for EventLoop algorithms
virtual::StatusCode execute()
execute this algorithm
Select isolated Photons, Electrons and Muons.