ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonValidation
MuonTesterTree
Root
EventIDBranch.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
#include "
MuonTesterTree/EventIDBranch.h
"
5
6
namespace
MuonVal
{
7
EventIDBranch::EventIDBranch
(
MuonTesterTree
&
parent
,
const
std::string& objName):
8
MuonTesterBranch
{
parent
, objName} {}
9
10
11
void
EventIDBranch::operator=
(
const
EventIDBase& eventID){
12
set
(eventID);
13
}
14
void
EventIDBranch::set
(
const
EventIDBase& eventID){
15
m_lumiBlock
= eventID.lumi_block();
16
m_runNumber
= eventID.run_number();
17
m_eventNumber
= eventID.event_number();
18
m_timeStamp
= eventID.time_stamp();
19
}
20
bool
EventIDBranch::fill
(
const
EventContext&) {
21
return
true
;
22
}
23
bool
EventIDBranch::init
() {
24
return
true
;
25
}
26
}
EventIDBranch.h
MuonVal::EventIDBranch::fill
bool fill(const EventContext &) override final
Interface function from the IMuonTesterBranch.
Definition
EventIDBranch.cxx:20
MuonVal::EventIDBranch::m_timeStamp
ScalarBranch< unsigned > & m_timeStamp
Definition
EventIDBranch.h:41
MuonVal::EventIDBranch::init
bool init() override final
Interface function from the IMuonTesterBranch.
Definition
EventIDBranch.cxx:23
MuonVal::EventIDBranch::m_runNumber
ScalarBranch< unsigned > & m_runNumber
Definition
EventIDBranch.h:39
MuonVal::EventIDBranch::set
void set(const EventIDBase &eventID)
Definition
EventIDBranch.cxx:14
MuonVal::EventIDBranch::EventIDBranch
EventIDBranch(MuonTesterTree &parent, const std::string &objName)
Standard constructor.
Definition
EventIDBranch.cxx:7
MuonVal::EventIDBranch::m_lumiBlock
ScalarBranch< unsigned > & m_lumiBlock
Definition
EventIDBranch.h:38
MuonVal::EventIDBranch::operator=
void operator=(const EventIDBase &eventID)
Fill the eventID information.
Definition
EventIDBranch.cxx:11
MuonVal::EventIDBranch::m_eventNumber
ScalarBranch< Long64_t > & m_eventNumber
Definition
EventIDBranch.h:40
MuonVal::MuonTesterBranch::MuonTesterBranch
MuonTesterBranch(MuonTesterTree &tree, const std::string &br_name)
Definition
MuonTesterBranch.cxx:33
MuonVal::MuonTesterBranch::parent
MuonTesterTree & parent()
Returns the reference to the MuonTesterTree parent.
Definition
MuonTesterBranch.cxx:38
MuonVal::MuonTesterTree
Definition
MuonTesterTree.h:38
MuonVal
Class to store array like branches into the n-tuples.
Definition
HitValAlg.cxx:19
Generated on
for ATLAS Offline Software by
1.17.0