ATLAS Offline Software
DileptonOSSFInvariantMassWindowSelectorAlg.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_DILEPTONOSSFINVARIANTMASSWINDOWSELECTORALG_H
8 #define EVENT_SELECTOR_DILEPTONOSSFINVARIANTMASSWINDOWSELECTORALG_H
9 
10 // Algorithm includes
16 
17 // Framework includes
19 #include <xAODMuon/MuonContainer.h>
22 
23 namespace CP {
25 
27 
29  public:
30  DileptonOSSFInvariantMassWindowSelectorAlg(const std::string &name, ISvcLocator *pSvcLocator);
31  virtual StatusCode initialize() override;
32  virtual StatusCode execute() override;
33 
34  private:
35  Gaudi::Property<float> m_mll_lower {this, "lowMll", 0., "MLL > LOW (in MeV)"};
36  Gaudi::Property<float> m_mll_upper {this, "highMll", 0., "MLL < High (in MeV)"};
38  Gaudi::Property<bool> m_veto {this, "vetoMode", false, "switch to veto-mode"};
39 
42  this, "electrons", "", "the electron container to use"
43  };
45  this, "electronSelection", "", "the selection on the input electrons"
46  };
48  this, "muons", "", "the muon container to use"
49  };
51  this, "muonSelection", "", "the selection on the input muons"
52  };
54  this, "truthElectrons", "", "the truth electron container to use"
55  };
57  this, "truthElectronSelection", "", "the selection on the input truth electrons"
58  };
60  this, "truthMuons", "", "the truth muon container to use"
61  };
63  this, "truthMuonSelection", "", "the selection on the input muons"
64  };
66  this, "eventInfo", "EventInfo", "the EventInfo container to read selection decisions from"
67  };
69  this, "eventPreselection", "SetMe", "name of the preselection to check before applying this one"
70  };
72  this, "decorationName", "SetMe", "decoration name for the MLL selector"
73  };
74 
75  }; // class
76 } // namespace CP
77 
78 #endif // EVENT_SELECTOR_DILEPTONOSSFINVARIANTMASSWINDOWSELECTORALG_H
PropertyWrapper.h
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition: SysListHandle.h:33
CP::DileptonOSSFInvariantMassWindowSelectorAlg::m_mll_upper
Gaudi::Property< float > m_mll_upper
Definition: DileptonOSSFInvariantMassWindowSelectorAlg.h:36
CP::DileptonOSSFInvariantMassWindowSelectorAlg::m_muonSelection
CP::SysReadSelectionHandle m_muonSelection
Definition: DileptonOSSFInvariantMassWindowSelectorAlg.h:50
SysWriteSelectionHandle.h
TruthParticleContainer.h
CP::DileptonOSSFInvariantMassWindowSelectorAlg::m_veto
Gaudi::Property< bool > m_veto
whether to veto events instead of selecting them
Definition: DileptonOSSFInvariantMassWindowSelectorAlg.h:38
CP::DileptonOSSFInvariantMassWindowSelectorAlg::DileptonOSSFInvariantMassWindowSelectorAlg
DileptonOSSFInvariantMassWindowSelectorAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
Definition: DileptonOSSFInvariantMassWindowSelectorAlg.cxx:11
CP::SysReadHandle< xAOD::ElectronContainer >
CP::DileptonOSSFInvariantMassWindowSelectorAlg::m_muonTruthSelection
CP::SysReadSelectionHandle m_muonTruthSelection
Definition: DileptonOSSFInvariantMassWindowSelectorAlg.h:62
CP
Select isolated Photons, Electrons and Muons.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:48
CP::DileptonOSSFInvariantMassWindowSelectorAlg
an algorithm that vetos an event with two OS electrons or muons mass in a specific mass window
Definition: DileptonOSSFInvariantMassWindowSelectorAlg.h:26
SysReadHandle.h
AnaAlgorithm.h
CP::DileptonOSSFInvariantMassWindowSelectorAlg::m_muonsHandle
CP::SysReadHandle< xAOD::MuonContainer > m_muonsHandle
Definition: DileptonOSSFInvariantMassWindowSelectorAlg.h:47
CP::DileptonOSSFInvariantMassWindowSelectorAlg::m_muonsTruthHandle
CP::SysReadHandle< xAOD::TruthParticleContainer > m_muonsTruthHandle
Definition: DileptonOSSFInvariantMassWindowSelectorAlg.h:59
CP::DileptonOSSFInvariantMassWindowSelectorAlg::m_systematicsList
CP::SysListHandle m_systematicsList
Definition: DileptonOSSFInvariantMassWindowSelectorAlg.h:40
CP::DileptonOSSFInvariantMassWindowSelectorAlg::m_electronsHandle
CP::SysReadHandle< xAOD::ElectronContainer > m_electronsHandle
Definition: DileptonOSSFInvariantMassWindowSelectorAlg.h:41
CP::DileptonOSSFInvariantMassWindowSelectorAlg::m_preselection
CP::SysReadSelectionHandle m_preselection
Definition: DileptonOSSFInvariantMassWindowSelectorAlg.h:68
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition: AnaAlgorithm.h:73
ElectronContainer.h
CP::DileptonOSSFInvariantMassWindowSelectorAlg::m_electronSelection
CP::SysReadSelectionHandle m_electronSelection
Definition: DileptonOSSFInvariantMassWindowSelectorAlg.h:44
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CP::DileptonOSSFInvariantMassWindowSelectorAlg::execute
virtual StatusCode execute() override
Definition: DileptonOSSFInvariantMassWindowSelectorAlg.cxx:33
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
SysReadSelectionHandle.h
CP::DileptonOSSFInvariantMassWindowSelectorAlg::m_electronTruthSelection
CP::SysReadSelectionHandle m_electronTruthSelection
Definition: DileptonOSSFInvariantMassWindowSelectorAlg.h:56
CP::DileptonOSSFInvariantMassWindowSelectorAlg::m_mll_lower
Gaudi::Property< float > m_mll_lower
Definition: DileptonOSSFInvariantMassWindowSelectorAlg.h:35
EventInfo.h
MuonContainer.h
CP::DileptonOSSFInvariantMassWindowSelectorAlg::m_eventInfoHandle
CP::SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
Definition: DileptonOSSFInvariantMassWindowSelectorAlg.h:65
CP::DileptonOSSFInvariantMassWindowSelectorAlg::initialize
virtual StatusCode initialize() override
Definition: DileptonOSSFInvariantMassWindowSelectorAlg.cxx:15
CP::SysReadSelectionHandle
a data handle for reading systematically varied selection properties from objects
Definition: SysReadSelectionHandle.h:32
CP::DileptonOSSFInvariantMassWindowSelectorAlg::m_decoration
CP::SysWriteSelectionHandle m_decoration
Definition: DileptonOSSFInvariantMassWindowSelectorAlg.h:71
CP::SysWriteSelectionHandle
a data handle for writing systematically varied selection properties from objects
Definition: SysWriteSelectionHandle.h:32
CP::DileptonOSSFInvariantMassWindowSelectorAlg::m_electronsTruthHandle
CP::SysReadHandle< xAOD::TruthParticleContainer > m_electronsTruthHandle
Definition: DileptonOSSFInvariantMassWindowSelectorAlg.h:53