ATLAS Offline Software
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
18 
19 // Framework includes
22 
24 
25 namespace CP {
26 
30 
32 
34  public:
35  NLargeRJetMassWindowSelectorAlg(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_mupper {this, "highMass", 0., "Mass < HIGH (in MeV)"};
43 
45  Gaudi::Property<float> m_mlower {this, "lowMass", 0., "Mass > LOW (in MeV)"};
46 
48  Gaudi::Property<std::string> m_sign {this, "sign", "SetMe", "comparison sign to use"};
49 
52 
54  Gaudi::Property<bool> m_veto {this, "vetoMode", false, "switch to veto-mode"};
55 
57  Gaudi::Property<int> m_count {this, "count", 0, "count value"};
58 
61 
64  this, "ljets", "", "the large-R jet container to use"
65  };
66 
69  this, "ljetSelection", "", "the selection on the input large-R jets"
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 NObjects by Mass Window selector"
85  };
86 
87  }; // class
88 } // namespace CP
89 
90 #endif // EVENT_SELECTOR_NLARGERJETMASSWINDOWSELECTORALG_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::NLargeRJetMassWindowSelectorAlg::m_signEnum
SignEnum::ComparisonOperator m_signEnum
the operator version of the comparison (>, <, etc)
Definition: NLargeRJetMassWindowSelectorAlg.h:51
SysWriteSelectionHandle.h
CP::NLargeRJetMassWindowSelectorAlg::m_ljetsHandle
CP::SysReadHandle< xAOD::IParticleContainer > m_ljetsHandle
the large-R jet handle
Definition: NLargeRJetMassWindowSelectorAlg.h:63
CP::NLargeRJetMassWindowSelectorAlg::NLargeRJetMassWindowSelectorAlg
NLargeRJetMassWindowSelectorAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
Definition: NLargeRJetMassWindowSelectorAlg.cxx:11
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::NLargeRJetMassWindowSelectorAlg::m_systematicsList
CP::SysListHandle m_systematicsList
the systematics
Definition: NLargeRJetMassWindowSelectorAlg.h:60
SysReadHandle.h
CP::NLargeRJetMassWindowSelectorAlg::m_count
Gaudi::Property< int > m_count
the count of events desired
Definition: NLargeRJetMassWindowSelectorAlg.h:57
CP::NLargeRJetMassWindowSelectorAlg::execute
virtual StatusCode execute() override
Definition: NLargeRJetMassWindowSelectorAlg.cxx:29
AnaAlgorithm.h
CP::NLargeRJetMassWindowSelectorAlg::initialize
virtual StatusCode initialize() override
Definition: NLargeRJetMassWindowSelectorAlg.cxx:15
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::NLargeRJetMassWindowSelectorAlg::m_mupper
Gaudi::Property< float > m_mupper
the upper limit of the Mass window
Definition: NLargeRJetMassWindowSelectorAlg.h:42
CP::NLargeRJetMassWindowSelectorAlg::m_mlower
Gaudi::Property< float > m_mlower
the lower limit of the Mass window
Definition: NLargeRJetMassWindowSelectorAlg.h:45
CP::NLargeRJetMassWindowSelectorAlg::m_decoration
CP::SysWriteSelectionHandle m_decoration
the output selection decoration
Definition: NLargeRJetMassWindowSelectorAlg.h:83
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CP::NLargeRJetMassWindowSelectorAlg::m_veto
Gaudi::Property< bool > m_veto
whether to veto events instead of selecting them
Definition: NLargeRJetMassWindowSelectorAlg.h:54
IParticleContainer.h
CP::NLargeRJetMassWindowSelectorAlg::m_eventInfoHandle
CP::SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the event info handle
Definition: NLargeRJetMassWindowSelectorAlg.h:73
CP::NLargeRJetMassWindowSelectorAlg::m_preselection
CP::SysReadSelectionHandle m_preselection
the preselection
Definition: NLargeRJetMassWindowSelectorAlg.h:78
CP::NLargeRJetMassWindowSelectorAlg::m_sign
Gaudi::Property< std::string > m_sign
the sign against which to compare Mass (GT, LT, etc)
Definition: NLargeRJetMassWindowSelectorAlg.h:48
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
SysReadSelectionHandle.h
CP::NLargeRJetMassWindowSelectorAlg::m_ljetSelection
CP::SysReadSelectionHandle m_ljetSelection
the large-R jet selection
Definition: NLargeRJetMassWindowSelectorAlg.h:68
CP::NLargeRJetMassWindowSelectorAlg
an algorithm to select an event with N large-R jets with a mass compared to a specified window of val...
Definition: NLargeRJetMassWindowSelectorAlg.h:31
EventInfo.h
SysReadDecorHandle.h
CP::SysReadSelectionHandle
a data handle for reading systematically varied selection properties from objects
Definition: SysReadSelectionHandle.h:32
CP::SysWriteSelectionHandle
a data handle for writing systematically varied selection properties from objects
Definition: SysWriteSelectionHandle.h:32