ATLAS Offline Software
Loading...
Searching...
No Matches
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
26namespace 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
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 MWT selector"
99 };
100
101 }; // class
102} // namespace CP
103
104#endif // EVENT_SELECTOR_TRANSVERSEMASSSELECTORALG_H
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
CP::SysReadHandle< xAOD::IParticleContainer > m_electronsHandle
the electron handle
TransverseMassSelectorAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
Gaudi::Property< std::string > m_metTerm
the MET term
CP::SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the event info handle
CP::SysReadSelectionHandle m_muonSelection
the muon selection
CP::SysWriteSelectionHandle m_decoration
the output selection decoration
CP::SysReadHandle< xAOD::MissingETContainer > m_metHandle
the MET handle
Gaudi::Property< bool > m_useDressedProperties
use dressed kinematics
SignEnum::ComparisonOperator m_signEnum
the operator version of the comparison (>, <, etc)
CP::SysReadSelectionHandle m_electronSelection
the electron selection
CP::SysReadSelectionHandle m_preselection
the preselection
CP::SysListHandle m_systematicsList
the systematics
Gaudi::Property< float > m_mwtref
the MWT cut against which to compare
virtual StatusCode initialize() override
Gaudi::Property< std::string > m_sign
the comparison (GT, LT, etc)
CP::SysReadHandle< xAOD::IParticleContainer > m_muonsHandle
the muons handle
virtual StatusCode execute() override
the (new) base class for EventLoop algorithms
Select isolated Photons, Electrons and Muons.
ComparisonOperator
all possible comparison user inputs
Definition SignEnums.h:18