ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonValidation
MuonHistogramming
MuonHistUtils
Root
L1TriggerMuonPlots.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
MuonHistUtils/L1TriggerMuonPlots.h
"
6
7
#include "
xAODMuon/Muon.h
"
8
#include "
xAODMuon/MuonAuxContainer.h
"
9
#include "
xAODMuon/MuonContainer.h
"
10
11
L1TriggerMuonPlots::L1TriggerMuonPlots
(
PlotBase
* pParent,
12
const
std::string& sDir)
13
:
PlotBase
(pParent, sDir),
14
// trigger related information
15
m_oL1TriggerPlots
(this,
"/"
,
"L1Trigger Muons"
) {}
16
17
void
L1TriggerMuonPlots::fill
(
const
xAOD::MuonRoI
& TrigL1mu) {
18
// General L1 Plots
19
xAOD::MuonContainer
* ROIinMuons =
new
xAOD::MuonContainer
;
20
xAOD::MuonAuxContainer
* ROIinMuonsAux =
new
xAOD::MuonAuxContainer
;
21
ROIinMuons->setStore(ROIinMuonsAux);
22
xAOD::Muon
* myROI =
new
xAOD::Muon
();
23
ROIinMuons->
push_back
(myROI);
24
myROI->
setP4
(TrigL1mu.
thrValue
(), TrigL1mu.
eta
(), TrigL1mu.
phi
());
25
26
m_oL1TriggerPlots
.fill(*myROI);
27
delete
ROIinMuons;
28
delete
ROIinMuonsAux;
29
}
MuonContainer.h
Muon.h
L1TriggerMuonPlots.h
MuonAuxContainer.h
DataVector::push_back
value_type push_back(value_type pElem)
Add an element to the end of the collection.
L1TriggerMuonPlots::L1TriggerMuonPlots
L1TriggerMuonPlots(PlotBase *pParent, const std::string &sDir)
Definition
L1TriggerMuonPlots.cxx:11
L1TriggerMuonPlots::m_oL1TriggerPlots
Trk::ParamPlots m_oL1TriggerPlots
Definition
L1TriggerMuonPlots.h:24
L1TriggerMuonPlots::fill
void fill(const xAOD::MuonRoI &TrigL1mu)
Definition
L1TriggerMuonPlots.cxx:17
PlotBase::PlotBase
PlotBase(PlotBase *parent, std::string_view sDir)
Definition
PlotBase.cxx:29
xAOD::MuonRoI_v1::eta
float eta() const
The pseudorapidity ( ) of the muon candidate.
xAOD::MuonRoI_v1::thrValue
float thrValue() const
The highest threshold value (in MeV) passed by the muon candidate.
xAOD::MuonRoI_v1::phi
float phi() const
The azimuthal angle ( ) of the muon candidate.
xAOD::Muon_v1::setP4
void setP4(double pt, double eta, double phi)
Set method for IParticle values.
Definition
Muon_v1.cxx:71
xAOD::MuonAuxContainer
MuonAuxContainer_v5 MuonAuxContainer
Definition of the current Muon auxiliary container.
Definition
MuonAuxContainer.h:19
xAOD::Muon
Muon_v1 Muon
Reference the current persistent version:
Definition
Event/xAOD/xAODMuon/xAODMuon/Muon.h:13
xAOD::MuonContainer
MuonContainer_v1 MuonContainer
Definition of the current "Muon container version".
Definition
Event/xAOD/xAODMuon/xAODMuon/MuonContainer.h:14
xAOD::MuonRoI
MuonRoI_v1 MuonRoI
Definition
MuonRoI.h:15
Generated on
for ATLAS Offline Software by
1.17.0