ATLAS Offline Software
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 
10 L1TriggerMuonPlots::L1TriggerMuonPlots(PlotBase* pParent, const std::string& sDir):PlotBase(pParent, sDir),
11 // trigger related information
12 m_oL1TriggerPlots(this, "/", "L1Trigger Muons")
13 {}
14 
15 
17  //General L1 Plots
18  xAOD::MuonContainer* ROIinMuons = new xAOD::MuonContainer;
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 }
Trk::ParamPlots::fill
void fill(const xAOD::IParticle &prt, float weight=1.0)
Definition: Tracking/TrkValidation/TrkValHistUtils/Root/ParamPlots.cxx:40
PlotBase
Definition: PlotBase.h:34
xAOD::MuonContainer
MuonContainer_v1 MuonContainer
Definition of the current "Muon container version".
Definition: Event/xAOD/xAODMuon/xAODMuon/MuonContainer.h:14
L1TriggerMuonPlots::L1TriggerMuonPlots
L1TriggerMuonPlots(PlotBase *pParent, const std::string &sDir)
Definition: L1TriggerMuonPlots.cxx:10
Muon.h
python.copyTCTOutput.sDir
sDir
Definition: copyTCTOutput.py:60
xAOD::MuonRoI_v1::eta
float eta() const
The pseudorapidity ( ) 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:66
xAOD::MuonRoI_v1::thrValue
float thrValue() const
The highest threshold value (in MeV) passed by the muon candidate.
xAOD::Muon_v1
Class describing a Muon.
Definition: Muon_v1.h:38
MuonAuxContainer.h
xAOD::MuonAuxContainer_v5
Temporary container used until we have I/O for AuxStoreInternal.
Definition: MuonAuxContainer_v5.h:31
xAOD::MuonRoI_v1
Class describing a LVL1 muon region of interest.
Definition: MuonRoI_v1.h:29
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
xAOD::Muon
Muon_v1 Muon
Reference the current persistent version:
Definition: Event/xAOD/xAODMuon/xAODMuon/Muon.h:13
L1TriggerMuonPlots::m_oL1TriggerPlots
Trk::ParamPlots m_oL1TriggerPlots
Definition: L1TriggerMuonPlots.h:24
DataVector::push_back
value_type push_back(value_type pElem)
Add an element to the end of the collection.
MuonContainer.h
L1TriggerMuonPlots.h
xAOD::MuonAuxContainer
MuonAuxContainer_v5 MuonAuxContainer
Definition of the current Muon auxiliary container.
Definition: MuonAuxContainer.h:19
xAOD::MuonRoI_v1::phi
float phi() const
The azimuthal angle ( ) of the muon candidate.
L1TriggerMuonPlots::fill
void fill(const xAOD::MuonRoI &TrigL1mu)
Definition: L1TriggerMuonPlots.cxx:16