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 
50 
53  this, "electrons", "", "the electron container to use"
54  };
55 
58  this, "electronSelection", "", "the selection on the input electrons"
59  };
60 
63  this, "muons", "", "the muon container to use"
64  };
65 
68  this, "muonSelection", "", "the selection on the input muons"
69  };
70 
73  this, "eventInfo", "EventInfo", "the EventInfo container to read selection decisions from"
74  };
75 
78  this, "eventPreselection", "SetMe", "name of the preselection to check before applying this one"
79  };
80 
83  this, "decorationName", "SetMe", "decoration name for the MLL selector"
84  };
85 
86  }; // class
87 } // namespace CP
88 
89 #endif // EVENT_SELECTOR_DILEPTONINVARIANTMASSSELECTORALG_H
CP::DileptonInvariantMassWindowSelectorAlg::m_muonSelection
CP::SysReadSelectionHandle m_muonSelection
the muons selection
Definition: DileptonInvariantMassWindowSelectorAlg.h:67
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:49
CP::DileptonInvariantMassWindowSelectorAlg::m_electronsHandle
CP::SysReadHandle< xAOD::IParticleContainer > m_electronsHandle
the electrons handle
Definition: DileptonInvariantMassWindowSelectorAlg.h:52
SysWriteSelectionHandle.h
CP::DileptonInvariantMassWindowSelectorAlg::m_preselection
CP::SysReadSelectionHandle m_preselection
the preselection
Definition: DileptonInvariantMassWindowSelectorAlg.h:77
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:62
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:72
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
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
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:82
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:57
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