ATLAS Offline Software
Loading...
Searching...
No Matches
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
6
7#include "xAODMuon/Muon.h"
10
12 const std::string& sDir)
13 : PlotBase(pParent, sDir),
14 // trigger related information
15 m_oL1TriggerPlots(this, "/", "L1Trigger Muons") {}
16
18 // General L1 Plots
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}
value_type push_back(value_type pElem)
Add an element to the end of the collection.
L1TriggerMuonPlots(PlotBase *pParent, const std::string &sDir)
Trk::ParamPlots m_oL1TriggerPlots
void fill(const xAOD::MuonRoI &TrigL1mu)
PlotBase(PlotBase *parent, std::string_view sDir)
Definition PlotBase.cxx:29
float eta() const
The pseudorapidity ( ) of the muon candidate.
float thrValue() const
The highest threshold value (in MeV) passed by the muon candidate.
float phi() const
The azimuthal angle ( ) of the muon candidate.
void setP4(double pt, double eta, double phi)
Set method for IParticle values.
Definition Muon_v1.cxx:58
MuonAuxContainer_v5 MuonAuxContainer
Definition of the current Muon auxiliary container.
Muon_v1 Muon
Reference the current persistent version:
MuonContainer_v1 MuonContainer
Definition of the current "Muon container version".
MuonRoI_v1 MuonRoI
Definition MuonRoI.h:15