ATLAS Offline Software
Loading...
Searching...
No Matches
L2IsoMuon_v1.h
Go to the documentation of this file.
1// Dear emacs, this is -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5*/
6
7// $Id: L2IsoMuon_v1.h 631108 2014-11-26 07:47:24Z gwatts $
8#ifndef XAODTRIGMUON_VERSIONS_L2ISOMUON_V1_H
9#define XAODTRIGMUON_VERSIONS_L2ISOMUON_V1_H
10
11// System include(s):
12extern "C" {
13# include <stdint.h>
14}
15#include <iosfwd>
16
17// xAOD include(s):
18#include "xAODBase/IParticle.h"
19
20// ROOT include(s):
21#include "Math/Vector4D.h"
22
23namespace xAOD {
24
33 class L2IsoMuon_v1 : public IParticle {
34
35 public:
38
41
43 virtual double pt() const;
45 virtual double eta() const;
47 virtual double phi() const;
49 virtual double m() const;
51 virtual double e() const;
53 virtual double rapidity() const;
54
56 typedef TLorentzVector FourMom_t;
57
59 virtual FourMom_t p4() const;
60
62 typedef ROOT::Math::LorentzVector<ROOT::Math::PtEtaPhiM4D<double> > GenVecFourMom_t;
63
66
68 virtual Type::ObjectType type() const;
69
71
74
76 void setPt( float pt );
78 void setEta( float eta );
80 void setPhi( float phi );
81
83
86
90 void setRoiWord( uint32_t value );
91
93 float charge() const;
95 void setCharge( float value );
96
98 int errorFlag() const;
100 void setErrorFlag( int value );
101
103 float sumPt01() const;
105 void setSumPt01( float value );
106
108 float sumPt02() const;
110 void setSumPt02( float value );
111
113 float sumPt03() const;
115 void setSumPt03( float value );
116
118 float sumPt04() const;
120 void setSumPt04( float value );
121
123 float sumEt01() const;
125 void setSumEt01( float value );
126
128 float sumEt02() const;
130 void setSumEt02( float value );
131
133 float sumEt03() const;
135 void setSumEt03( float value );
136
138 float sumEt04() const;
140 void setSumEt04( float value );
141
143
144 }; // class L2IsoMuon_v1
145
146} // namespace xAOD
147
149std::ostream& operator<< ( std::ostream& out,
150 const xAOD::L2IsoMuon_v1& mu );
151
152#endif // XAODTRIGMUON_VERSIONS_L2ISOMUON_V1_H
std::ostream & operator<<(std::ostream &out, const xAOD::L2IsoMuon_v1 &mu)
Operator for printing the contents of a LVL2 muon.
IParticle()=default
Class describing isolation info for muons reconstructed in the LVL2 trigger.
L2IsoMuon_v1()
Constructor.
float sumPt02() const
get ptcone radius DeltaR<0.2
float sumPt01() const
get ptcone radius DeltaR<0.1
void setPt(float pt)
Set the transverse momentum ( ) of the muon.
virtual double m() const
The invariant mass of the particle.
TLorentzVector FourMom_t
Definition of the 4-momentum type.
float sumPt03() const
get ptcone radius DeltaR<0.3
virtual double phi() const
The azimuthal angle ( ) of the particle.
float sumEt01() const
get ptcone radius DeltaR<0.1
float sumEt03() const
get etcone radius DeltaR<0.3
void setSumEt02(float value)
set etcone radius DeltaR<0.2
void setSumPt03(float value)
set ptcone radius DeltaR<0.3
int errorFlag() const
get algorithm error flag
void setErrorFlag(int value)
set algorithm error flag
float sumEt02() const
get etcone radius DeltaR<0.2
float sumEt04() const
get etcone radius DeltaR<0.4
float charge() const
get seeding muon charge
void setSumEt01(float value)
set ptcone radius DeltaR<0.1
void setSumPt04(float value)
set ptcone radius DeltaR<0.4
virtual double eta() const
The pseudorapidity ( ) of the particle.
virtual Type::ObjectType type() const
The type of the object as a simple enumeration.
void setSumPt02(float value)
set ptcone radius DeltaR<0.2
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > GenVecFourMom_t
Base 4 Momentum type for trig muons.
void setSumEt03(float value)
set etcone radius DeltaR<0.3
GenVecFourMom_t genvecP4() const
The full 4-momentum of the particle : internal trig muon type.
void setSumEt04(float value)
set etcone radius DeltaR<0.4
void setCharge(float value)
set seeding muon charge
virtual double e() const
The total energy of the particle.
float sumPt04() const
get ptcone radius DeltaR<0.4
void setEta(float eta)
Set the pseudorapidity ( ) of the muon.
virtual FourMom_t p4() const
The full 4-momentum of the particle.
void setRoiWord(uint32_t value)
Set the RoI ID of the seeding muon.
uint32_t roiWord() const
Get the RoI ID of the seeding muon.
void setSumPt01(float value)
set ptcone radius DeltaR<0.1
virtual double rapidity() const
The true rapidity (y) of the particle.
virtual double pt() const
The transverse momentum ( ) of the particle.
void setPhi(float phi)
Set the azimuthal angle ( ) of the muon.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
setEventNumber uint32_t