ATLAS Offline Software
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
18 
19 // Framework includes
22 
24 
25 namespace CP {
26 
29 
31 
33  public:
34  DileptonInvariantMassSelectorAlg(const std::string &name, ISvcLocator *pSvcLocator);
35  virtual StatusCode initialize() override;
36  virtual StatusCode execute() override;
37 
38  private:
39 
41  Gaudi::Property<float> m_mllref {this, "refMLL", 0., "MLL cut (in MeV)"};
42 
44  Gaudi::Property<std::string> m_sign {this, "sign", "SetMe", "comparison sign to use"};
45 
48 
51 
54  this, "electrons", "", "the electron container to use"
55  };
56 
59  this, "electronSelection", "", "the selection on the input electrons"
60  };
61 
64  this, "muons", "", "the muon container to use"
65  };
66 
69  this, "muonSelection", "", "the selection on the input muons"
70  };
71 
74  this, "eventInfo", "EventInfo", "the EventInfo container to read selection decisions from"
75  };
76 
79  this, "eventPreselection", "SetMe", "name of the preselection to check before applying this one"
80  };
81 
84  this, "decorationName", "SetMe", "decoration name for the MLL selector"
85  };
86 
87  }; // class
88 } // namespace CP
89 
90 #endif // EVENT_SELECTOR_DILEPTONINVARIANTMASSSELECTORALG_H
PropertyWrapper.h
SignEnums.h
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition: SysListHandle.h:33
SysWriteDecorHandle.h
CP::DileptonInvariantMassSelectorAlg::execute
virtual StatusCode execute() override
Definition: DileptonInvariantMassSelectorAlg.cxx:34
SysWriteSelectionHandle.h
CP::DileptonInvariantMassSelectorAlg::m_decoration
CP::SysWriteSelectionHandle m_decoration
the output selection decoration
Definition: DileptonInvariantMassSelectorAlg.h:83
CP::DileptonInvariantMassSelectorAlg::m_preselection
CP::SysReadSelectionHandle m_preselection
the preselection
Definition: DileptonInvariantMassSelectorAlg.h:78
CP::DileptonInvariantMassSelectorAlg::m_signEnum
SignEnum::ComparisonOperator m_signEnum
the operator version of the comparison (>, <, etc)
Definition: DileptonInvariantMassSelectorAlg.h:47
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::DileptonInvariantMassSelectorAlg::m_electronsHandle
CP::SysReadHandle< xAOD::IParticleContainer > m_electronsHandle
the electrons handle
Definition: DileptonInvariantMassSelectorAlg.h:53
AnaAlgorithm.h
SignEnum::ComparisonOperator
ComparisonOperator
all possible comparison user inputs
Definition: SignEnums.h:16
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::DileptonInvariantMassSelectorAlg::m_mllref
Gaudi::Property< float > m_mllref
the 2-lepton mass against which to compare
Definition: DileptonInvariantMassSelectorAlg.h:41
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
SysReadSelectionHandle.h
EventInfo.h
CP::DileptonInvariantMassSelectorAlg::m_eventInfoHandle
CP::SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the event info handle
Definition: DileptonInvariantMassSelectorAlg.h:73
CP::DileptonInvariantMassSelectorAlg
an algorithm to select an event with 2-lepton mass compared to a specified value
Definition: DileptonInvariantMassSelectorAlg.h:30
CP::DileptonInvariantMassSelectorAlg::m_electronSelection
CP::SysReadSelectionHandle m_electronSelection
the electrons selection
Definition: DileptonInvariantMassSelectorAlg.h:58
CP::DileptonInvariantMassSelectorAlg::m_muonsHandle
CP::SysReadHandle< xAOD::IParticleContainer > m_muonsHandle
the muons handle
Definition: DileptonInvariantMassSelectorAlg.h:63
SysReadDecorHandle.h
CP::SysReadSelectionHandle
a data handle for reading systematically varied selection properties from objects
Definition: SysReadSelectionHandle.h:32
CP::DileptonInvariantMassSelectorAlg::m_sign
Gaudi::Property< std::string > m_sign
the comparison (GT, LT, etc)
Definition: DileptonInvariantMassSelectorAlg.h:44
CP::DileptonInvariantMassSelectorAlg::DileptonInvariantMassSelectorAlg
DileptonInvariantMassSelectorAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
Definition: DileptonInvariantMassSelectorAlg.cxx:14
CP::DileptonInvariantMassSelectorAlg::m_systematicsList
CP::SysListHandle m_systematicsList
the systematics
Definition: DileptonInvariantMassSelectorAlg.h:50
CP::DileptonInvariantMassSelectorAlg::initialize
virtual StatusCode initialize() override
Definition: DileptonInvariantMassSelectorAlg.cxx:18
CP::SysWriteSelectionHandle
a data handle for writing systematically varied selection properties from objects
Definition: SysWriteSelectionHandle.h:32
CP::DileptonInvariantMassSelectorAlg::m_muonSelection
CP::SysReadSelectionHandle m_muonSelection
the muons selection
Definition: DileptonInvariantMassSelectorAlg.h:68