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