ATLAS Offline Software
Loading...
Searching...
No Matches
DileptonInvariantMassSelectorAlg.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_DILEPTONINVARIANTMASSSELECTORALG_H
8#define EVENT_SELECTOR_DILEPTONINVARIANTMASSSELECTORALG_H
9
10// Algorithm includes
16
17// Framework includes
20
22
23namespace CP {
24
27
29
31 public:
32 DileptonInvariantMassSelectorAlg(const std::string &name, ISvcLocator *pSvcLocator);
33 virtual StatusCode initialize() override;
34 virtual StatusCode execute(const EventContext& ctx) override;
35
36 private:
37
39 Gaudi::Property<float> m_mllref {this, "refMLL", 0., "MLL cut (in MeV)"};
40
42 Gaudi::Property<std::string> m_sign {this, "sign", "SetMe", "comparison sign to use"};
43
45 Gaudi::Property<bool> m_useDressedProperties{this, "useDressedProperties", false,
46 "whether to use dressed electron and muon kinematics rather than simple "
47 "P4 kinematics"};
48
51
54
57 this, "electrons", "", "the electron container to use"
58 };
59
62 this, "electronSelection", "", "the selection on the input electrons"
63 };
64
67 this, "muons", "", "the muon container to use"
68 };
69
72 this, "muonSelection", "", "the selection on the input muons"
73 };
74
77 this, "eventInfo", "EventInfo", "the EventInfo container to read selection decisions from"
78 };
79
82 this, "eventPreselection", "SetMe", "name of the preselection to check before applying this one"
83 };
84
87 this, "decorationName", "SetMe", "decoration name for the MLL selector"
88 };
89
90 }; // class
91} // namespace CP
92
93#endif // EVENT_SELECTOR_DILEPTONINVARIANTMASSSELECTORALG_H
CP::SysReadSelectionHandle m_electronSelection
the electrons selection
CP::SysReadSelectionHandle m_preselection
the preselection
SignEnum::ComparisonOperator m_signEnum
the operator version of the comparison (>, <, etc)
CP::SysReadSelectionHandle m_muonSelection
the muons selection
CP::SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the event info handle
CP::SysWriteSelectionHandle m_decoration
the output selection decoration
CP::SysReadHandle< xAOD::IParticleContainer > m_muonsHandle
the muons handle
Gaudi::Property< std::string > m_sign
the comparison (GT, LT, etc)
CP::SysReadHandle< xAOD::IParticleContainer > m_electronsHandle
the electrons handle
DileptonInvariantMassSelectorAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
Gaudi::Property< float > m_mllref
the 2-lepton mass against which to compare
Gaudi::Property< bool > m_useDressedProperties
use dressed kinematics
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.
ComparisonOperator
all possible comparison user inputs
Definition SignEnums.h:18