ATLAS Offline Software
Loading...
Searching...
No Matches
DileptonOSSFInvariantMassWindowSelectorAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
7
8#ifndef EVENT_SELECTOR_DILEPTONOSSFINVARIANTMASSWINDOWSELECTORALG_H
9#define EVENT_SELECTOR_DILEPTONOSSFINVARIANTMASSWINDOWSELECTORALG_H
10
11// Algorithm includes
17
18// Framework includes
23
24namespace CP {
26
28
30 public:
32 virtual StatusCode initialize() override;
33 virtual StatusCode execute() override;
34
35 private:
36 bool inWindow(float mll) const;
37 Gaudi::Property<float> m_mll_lower {this, "lowMll", 0., "MLL > LOW (in MeV)"};
38 Gaudi::Property<float> m_mll_upper {this, "highMll", 0., "MLL < High (in MeV)"};
40 Gaudi::Property<bool> m_veto {this, "vetoMode", false, "switch to veto-mode"};
41
43 Gaudi::Property<bool> m_useDressedProperties{this, "useDressedProperties", false,
44 "whether to use dressed electron and muon kinematics rather than simple "
45 "P4 kinematics"};
46
49 this, "electrons", "", "the electron container to use"
50 };
52 this, "electronSelection", "", "the selection on the input electrons"
53 };
55 this, "muons", "", "the muon container to use"
56 };
58 this, "muonSelection", "", "the selection on the input muons"
59 };
61 this, "truthElectrons", "", "the truth electron container to use"
62 };
64 this, "truthElectronSelection", "", "the selection on the input truth electrons"
65 };
67 this, "truthMuons", "", "the truth muon container to use"
68 };
70 this, "truthMuonSelection", "", "the selection on the input muons"
71 };
73 this, "eventInfo", "EventInfo", "the EventInfo container to read selection decisions from"
74 };
76 this, "eventPreselection", "SetMe", "name of the preselection to check before applying this one"
77 };
79 this, "decorationName", "SetMe", "decoration name for the MLL selector"
80 };
81
82 }; // class
83} // namespace CP
84
85#endif // EVENT_SELECTOR_DILEPTONOSSFINVARIANTMASSWINDOWSELECTORALG_H
an algorithm that vetos an event with two OS electrons or muons mass in a specific mass window
CP::SysReadHandle< xAOD::TruthParticleContainer > m_electronsTruthHandle
Gaudi::Property< bool > m_veto
whether to veto events instead of selecting them
Gaudi::Property< bool > m_useDressedProperties
use dressed kinematics
CP::SysReadHandle< xAOD::TruthParticleContainer > m_muonsTruthHandle
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
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Select isolated Photons, Electrons and Muons.