Skip to content
Snippets Groups Projects
Commit 96ca31b2 authored by Alexander Naip Tuna's avatar Alexander Naip Tuna Committed by Vakhtang Tsulaia
Browse files

Add L1ID to MuonValidation/MuonTesterTree EventInfoBranch

Add L1ID to MuonValidation/MuonTesterTree EventInfoBranch
parent dd45c40c
No related branches found
No related tags found
No related merge requests found
/*
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
*/
......@@ -26,8 +25,9 @@ private:
ScalarBranch<unsigned long long>& m_evtNumber{m_parent.newScalar<unsigned long long>("evtNumber")};
ScalarBranch<uint32_t>& m_runNumber{m_parent.newScalar<uint32_t>("runNumber")};
ScalarBranch<uint32_t>& m_lbNumber{m_parent.newScalar<uint32_t>("lbNumber")};
ScalarBranch<uint32_t>& m_l1id{m_parent.newScalar<uint32_t>("l1id")};
ScalarBranch<uint32_t>& m_mcChannel{m_parent.newScalar<uint32_t>("mcChanneNumber")};
ScalarBranch<double>& m_weight{m_parent.newScalar<double>("evtWeight")};
};
#endif
\ No newline at end of file
#endif
/*
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
*/
......@@ -25,6 +24,7 @@ bool EventInfoBranch::fill(const EventContext& ctx) {
m_evtNumber = evt_info->eventNumber();
m_runNumber = evt_info->runNumber();
m_lbNumber = evt_info->lumiBlock();
m_l1id = evt_info->extendedLevel1ID();
if (m_ismc) {
m_mcChannel = evt_info->mcChannelNumber();
m_weight = evt_info->mcEventWeight(0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment