|
ATLAS Offline Software
|
Go to the documentation of this file.
11 using ROOT::Math::PtEtaPhiMVector;
54 return StatusCode::SUCCESS;
111 int nJets = selected_jets.size();
124 if (selected_taus.size() >= 2)
126 vis1 = selected_taus.
at(0);
127 vis2 = selected_taus.
at(1);
129 else if (selected_taus.size() == 1 && selected_electrons.size() >= 1)
131 vis1 = selected_taus.
at(0);
132 vis2 = selected_electrons.
at(0);
134 else if (selected_taus.size() == 1 && selected_muons.size() >= 1)
136 vis1 = selected_taus.
at(0);
137 vis2 = selected_muons.
at(0);
139 else if (selected_electrons.size() >= 1 && selected_muons.size() >= 1)
141 vis1 = selected_electrons.
at(0);
142 vis2 = selected_muons.
at(0);
144 else if (selected_muons.size() >= 2)
146 vis1 = selected_muons.
at(0);
147 vis2 = selected_muons.
at(1);
149 else if (selected_electrons.size() >= 2)
151 vis1 = selected_electrons.
at(0);
152 vis2 = selected_electrons.
at(1);
156 ANA_MSG_WARNING(
"Not enough charged leptons in the event to run the MMC!");
162 PtEtaPhiMVector null4V(0.0, 0.0, 0.0, 0.0);
163 int fitStatus =
m_mmc->GetFitStatus(0);
197 return StatusCode::SUCCESS;
204 return StatusCode::SUCCESS;
SysReadHandle< xAOD::JetContainer > m_jetsHandle
SysWriteDecorHandle< PtEtaPhiMVector > m_maxw_nu2_4vect_decor
void set(const SG::AuxElement &object, const T &value, const CP::SystematicSet &sys) const
set the object decoration for the given systematic
Gaudi::Property< bool > m_doMAXW
ElementProxy at(size_type n)
Access an element, as an lvalue.
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts
DataVector adapter that acts like it holds const pointers.
SysWriteDecorHandle< PtEtaPhiMVector > m_maxw_tau2_4vect_decor
virtual StatusCode initialize() override
SysWriteDecorHandle< PtEtaPhiMVector > m_mlnu3p_tau1_4vect_decor
SysReadHandle< xAOD::MuonContainer > m_muonsHandle
SysReadHandle< xAOD::MissingETContainer > m_metHandle
SysWriteDecorHandle< int > m_fitStatus_decor
SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
::StatusCode retrieve(const T *&object, const CP::SystematicSet &sys) const
retrieve the object for the given name
const std::vector< CP::SystematicSet > & systematicsVector() const
the list of systematics to loop over
SysWriteDecorHandle< PtEtaPhiMVector > m_mlnu3p_nu1_4vect_decor
Class providing the definition of the 4-vector interface.
SysReadHandle< xAOD::TauJetContainer > m_tausHandle
Select isolated Photons, Electrons and Muons.
SysWriteDecorHandle< PtEtaPhiMVector > m_maxw_res_4vect_decor
SysReadSelectionHandle m_muonSelection
SysReadHandle< xAOD::ElectronContainer > m_electronsHandle
StatusCode initialize(SysListHandle &sysListHandle)
initialize this handle
SysReadSelectionHandle m_tauSelection
::StatusCode initialize()
intialize this property
bool getBool(const SG::AuxElement &element, const CP::SystematicSet &sys) const
get the selection as a bool
SysReadSelectionHandle m_electronSelection
SysWriteDecorHandle< double > m_mlnu3p_mass_decor
::StatusCode StatusCode
StatusCode definition for legacy code.
ToolHandle< DiTauMassTools::MissingMassTool > m_mmc
StatusCode initialize(SysListHandle &sysListHandle, const ISysHandleBase &objectHandle)
initialize this handle
Class describing a tau jet.
SysWriteDecorHandle< PtEtaPhiMVector > m_maxw_nu1_4vect_decor
virtual StatusCode finalize() override
Gaudi::Property< bool > m_doMLNU3P
Container for xAOD::MissingET_v1 objects.
SysReadSelectionHandle m_jetSelection
SysWriteDecorHandle< PtEtaPhiMVector > m_mlnu3p_nu2_4vect_decor
SysReadSelectionHandle m_preselection
SysWriteDecorHandle< PtEtaPhiMVector > m_mlnu3p_res_4vect_decor
value_type push_back(value_type pElem)
Add an element to the end of the collection.
SysWriteDecorHandle< PtEtaPhiMVector > m_maxw_tau1_4vect_decor
virtual StatusCode execute() override
Class describing the basic event information.
SysWriteDecorHandle< double > m_maxw_mass_decor
DataVector adapter that acts like it holds const pointers.
StatusCode initialize(SysListHandle &sysListHandle, const ISysHandleBase &objectHandle)
initialize the accessor
SysListHandle m_systematicsList
SysWriteDecorHandle< PtEtaPhiMVector > m_mlnu3p_tau2_4vect_decor
SysWriteDecorHandle< double > m_mlm_mass_decor