ATLAS Offline Software
Loading...
Searching...
No Matches
HLTriggerMuonPlots.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), m_oHLTriggerPlots(this, "/", "HLT Muons") {}
14
16 // General HL Plots
17 m_oHLTriggerPlots.fill(Trigmu);
18}
19
21 const xAOD::Muon& Trigmu) {
22 // General HL Plots
23 m_oHLTriggerPlots.fill(Trigmu);
24}
25
27 // General HL Plots
30 L2SAinMuons->setStore(L2SAinMuonsAux);
31 xAOD::Muon* myL2SA = new xAOD::Muon();
32 L2SAinMuons->push_back(myL2SA);
33 if (L2SAmu.pt() > 0.) {
34 myL2SA->setP4(L2SAmu.pt() * 1000., L2SAmu.eta(), L2SAmu.phi());
35 }
36 if (L2SAmu.pt() < 0.) {
37 myL2SA->setP4(L2SAmu.pt() * (-1000.), L2SAmu.eta(), L2SAmu.phi());
38 }
39
40 m_oHLTriggerPlots.fill(*myL2SA);
41 delete L2SAinMuons;
42 delete L2SAinMuonsAux;
43}
44
46 // General HL Plots
47 m_oHLTriggerPlots.fill(L2CBmu);
48}
49
51 // General HL Plots
52 m_oHLTriggerPlots.fill(L2Isomu);
53}
value_type push_back(value_type pElem)
Add an element to the end of the collection.
HLTriggerMuonPlots(PlotBase *pParent, const std::string &sDir)
void fill(const xAOD::Muon &Trigmu)
Trk::ParamPlots m_oHLTriggerPlots
PlotBase(PlotBase *parent, std::string_view sDir)
Definition PlotBase.cxx:29
virtual double pt() const
The transverse momentum ( ) of the particle.
virtual double phi() const
The azimuthal angle ( ) of the particle.
virtual double eta() const
The pseudorapidity ( ) of the particle.
void setP4(double pt, double eta, double phi)
Set method for IParticle values.
Definition Muon_v1.cxx:71
L2CombinedMuon_v1 L2CombinedMuon
Define the latest version of the muon CB class.
MuonAuxContainer_v5 MuonAuxContainer
Definition of the current Muon auxiliary container.
Muon_v1 Muon
Reference the current persistent version:
L2StandAloneMuon_v2 L2StandAloneMuon
Define the latest version of the muon SA class.
MuonContainer_v1 MuonContainer
Definition of the current "Muon container version".
L2IsoMuon_v1 L2IsoMuon
Define the latest version of the muon Iso class.
Definition L2IsoMuon.h:15