ATLAS Offline Software
MissingETPlusTransverseMassSelectorAlg.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_MISSINGETPLUSTRANSVERSEMASSSELECTORALG_H
8 #define EVENT_SELECTOR_MISSINGETPLUSTRANSVERSEMASSSELECTORALG_H
9 
10 // Algorithm includes
18 
19 // Framework includes
23 
25 
26 namespace CP {
27 
30 
32 
34  public:
35  MissingETPlusTransverseMassSelectorAlg(const std::string &name, ISvcLocator *pSvcLocator);
36  virtual StatusCode initialize() override;
37  virtual StatusCode execute() override;
38 
39  private:
40 
42  Gaudi::Property<float> m_sumref {this, "refMETMWT", 0., "MET+MWT cut (in MeV)"};
43 
45  Gaudi::Property<std::string> m_sign {this, "sign", "SetMe", "comparison sign to use"};
46 
49 
51  Gaudi::Property<bool> m_useDressedProperties{this, "useDressedProperties", false,
52  "whether to use dressed electron and muon kinematics rather than simple "
53  "P4 kinematics"};
54 
57 
60  this, "electrons", "", "the electron container to use"
61  };
62 
65  this, "electronSelection", "", "the selection on the input electrons"
66  };
67 
70  this, "muons", "", "the muon container to use"
71  };
72 
75  this, "muonSelection", "", "the selection on the input muons"
76  };
77 
80  this, "met", "SetMe", "the MET container to use"
81  };
82 
84  Gaudi::Property<std::string> m_metTerm {this, "metTerm", "Final", "the MET term to use"};
85 
88  this, "eventInfo", "EventInfo", "the EventInfo container to read selection decisions from"
89  };
90 
93  this, "eventPreselection", "SetMe", "name of the preselection to check before applying this one"
94  };
95 
98  this, "decorationName", "SetMe", "decoration name for the MET+MWT selector"
99  };
100 
101  }; // class
102 } // namespace CP
103 
104 #endif // EVENT_SELECTOR_MISSINGETPLUSTRANSVERSEMASSSELECTORALG_H
CP::MissingETPlusTransverseMassSelectorAlg::m_sumref
Gaudi::Property< float > m_sumref
the MET+MWT threshold against which to compare
Definition: MissingETPlusTransverseMassSelectorAlg.h:42
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
SysWriteSelectionHandle.h
CP::MissingETPlusTransverseMassSelectorAlg::execute
virtual StatusCode execute() override
Definition: MissingETPlusTransverseMassSelectorAlg.cxx:32
CP::MissingETPlusTransverseMassSelectorAlg
an algorithm to select an event with MET + W-boson mass compared to a specified MET+MWT value
Definition: MissingETPlusTransverseMassSelectorAlg.h:31
CP::MissingETPlusTransverseMassSelectorAlg::m_electronsHandle
CP::SysReadHandle< xAOD::IParticleContainer > m_electronsHandle
the electron input handle
Definition: MissingETPlusTransverseMassSelectorAlg.h:59
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
CP::MissingETPlusTransverseMassSelectorAlg::m_signEnum
SignEnum::ComparisonOperator m_signEnum
the operator version of the comparison (>, <, etc)
Definition: MissingETPlusTransverseMassSelectorAlg.h:48
SysReadHandle.h
CP::MissingETPlusTransverseMassSelectorAlg::m_preselection
CP::SysReadSelectionHandle m_preselection
the preselection
Definition: MissingETPlusTransverseMassSelectorAlg.h:92
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
CP::MissingETPlusTransverseMassSelectorAlg::m_eventInfoHandle
CP::SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the event info handle
Definition: MissingETPlusTransverseMassSelectorAlg.h:87
CP::MissingETPlusTransverseMassSelectorAlg::m_systematicsList
CP::SysListHandle m_systematicsList
the systematics
Definition: MissingETPlusTransverseMassSelectorAlg.h:56
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IParticleContainer.h
CP::MissingETPlusTransverseMassSelectorAlg::m_decoration
CP::SysWriteSelectionHandle m_decoration
the output selection decoration
Definition: MissingETPlusTransverseMassSelectorAlg.h:97
CP::MissingETPlusTransverseMassSelectorAlg::m_metTerm
Gaudi::Property< std::string > m_metTerm
the MET term
Definition: MissingETPlusTransverseMassSelectorAlg.h:84
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
SysReadSelectionHandle.h
CP::MissingETPlusTransverseMassSelectorAlg::m_muonSelection
CP::SysReadSelectionHandle m_muonSelection
the muon selection
Definition: MissingETPlusTransverseMassSelectorAlg.h:74
CP::MissingETPlusTransverseMassSelectorAlg::m_useDressedProperties
Gaudi::Property< bool > m_useDressedProperties
use dressed kinematics
Definition: MissingETPlusTransverseMassSelectorAlg.h:51
CP::MissingETPlusTransverseMassSelectorAlg::MissingETPlusTransverseMassSelectorAlg
MissingETPlusTransverseMassSelectorAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
Definition: MissingETPlusTransverseMassSelectorAlg.cxx:11
EventInfo.h
CP::MissingETPlusTransverseMassSelectorAlg::m_sign
Gaudi::Property< std::string > m_sign
the comparison (GT, LT, etc)
Definition: MissingETPlusTransverseMassSelectorAlg.h:45
CP::MissingETPlusTransverseMassSelectorAlg::m_muonsHandle
CP::SysReadHandle< xAOD::IParticleContainer > m_muonsHandle
the muon input handle
Definition: MissingETPlusTransverseMassSelectorAlg.h:69
SysReadDecorHandle.h
CP::SysReadSelectionHandle
a data handle for reading systematically varied selection properties from objects
Definition: SysReadSelectionHandle.h:32
CP::MissingETPlusTransverseMassSelectorAlg::m_metHandle
CP::SysReadHandle< xAOD::MissingETContainer > m_metHandle
the MET handle
Definition: MissingETPlusTransverseMassSelectorAlg.h:79
CP::MissingETPlusTransverseMassSelectorAlg::m_electronSelection
CP::SysReadSelectionHandle m_electronSelection
the electrons selection
Definition: MissingETPlusTransverseMassSelectorAlg.h:64
CP::SysWriteSelectionHandle
a data handle for writing systematically varied selection properties from objects
Definition: SysWriteSelectionHandle.h:32
MissingETContainer.h
CP::MissingETPlusTransverseMassSelectorAlg::initialize
virtual StatusCode initialize() override
Definition: MissingETPlusTransverseMassSelectorAlg.cxx:15