ATLAS Offline Software
Loading...
Searching...
No Matches
NLargeRJetMassWindowSelectorAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7#ifndef EVENT_SELECTOR_NLARGERJETMASSWINDOWSELECTORALG_H
8#define EVENT_SELECTOR_NLARGERJETMASSWINDOWSELECTORALG_H
9
10// Algorithm includes
16
17// Framework includes
20
22
23namespace CP {
24
28
30
32 public:
33 NLargeRJetMassWindowSelectorAlg(const std::string &name, ISvcLocator *pSvcLocator);
34 virtual StatusCode initialize() override;
35 virtual StatusCode execute(const EventContext& ctx) override;
36
37 private:
38
40 Gaudi::Property<float> m_mupper {this, "highMass", 0., "Mass < HIGH (in MeV)"};
41
43 Gaudi::Property<float> m_mlower {this, "lowMass", 0., "Mass > LOW (in MeV)"};
44
46 Gaudi::Property<std::string> m_sign {this, "sign", "SetMe", "comparison sign to use"};
47
50
52 Gaudi::Property<bool> m_veto {this, "vetoMode", false, "switch to veto-mode"};
53
55 Gaudi::Property<int> m_count {this, "count", 0, "count value"};
56
59
62 this, "ljets", "", "the large-R jet container to use"
63 };
64
67 this, "ljetSelection", "", "the selection on the input large-R jets"
68 };
69
72 this, "eventInfo", "EventInfo", "the EventInfo container to read selection decisions from"
73 };
74
77 this, "eventPreselection", "SetMe", "name of the preselection to check before applying this one"
78 };
79
82 this, "decorationName", "SetMe", "decoration name for the NObjects by Mass Window selector"
83 };
84
85 }; // class
86} // namespace CP
87
88#endif // EVENT_SELECTOR_NLARGERJETMASSWINDOWSELECTORALG_H
Gaudi::Property< float > m_mupper
the upper limit of the Mass window
CP::SysWriteSelectionHandle m_decoration
the output selection decoration
NLargeRJetMassWindowSelectorAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
Gaudi::Property< std::string > m_sign
the sign against which to compare Mass (GT, LT, etc)
CP::SysReadSelectionHandle m_preselection
the preselection
Gaudi::Property< int > m_count
the count of events desired
CP::SysListHandle m_systematicsList
the systematics
CP::SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the event info handle
CP::SysReadSelectionHandle m_ljetSelection
the large-R jet selection
Gaudi::Property< float > m_mlower
the lower limit of the Mass window
Gaudi::Property< bool > m_veto
whether to veto events instead of selecting them
SignEnum::ComparisonOperator m_signEnum
the operator version of the comparison (>, <, etc)
CP::SysReadHandle< xAOD::IParticleContainer > m_ljetsHandle
the large-R jet handle
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
the (new) base class for EventLoop algorithms
virtual::StatusCode execute()
execute this algorithm
Select isolated Photons, Electrons and Muons.
ComparisonOperator
all possible comparison user inputs
Definition SignEnums.h:18