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#include "xAODMuon/Muon.h"
9
10L1TriggerMuonPlots::L1TriggerMuonPlots(PlotBase* pParent, const std::string& sDir):PlotBase(pParent, sDir),
11// trigger related information
12m_oL1TriggerPlots(this, "/", "L1Trigger Muons")
13{}
14
15
17 //General L1 Plots
20 ROIinMuons->setStore( ROIinMuonsAux );
21 xAOD::Muon* myROI=new xAOD::Muon();
22 ROIinMuons->push_back(myROI);
23 myROI->setP4(TrigL1mu.thrValue(),TrigL1mu.eta(),TrigL1mu.phi());
24
25 m_oL1TriggerPlots.fill(*myROI);
26 delete ROIinMuons;
27 delete ROIinMuonsAux;
28}
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, const std::string &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
Muon_v1 Muon
Reference the current persistent version:
MuonAuxContainer_v5 MuonAuxContainer
Definition of the current Muon auxiliary container.
MuonContainer_v1 MuonContainer
Definition of the current "Muon container version".
MuonRoI_v1 MuonRoI
Definition MuonRoI.h:15