ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigEvent
TrigMuonEvent
TrigMuonEvent
TileMuFeature.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// *****************************************************************************
6
// Filename : TileMuFeature.h
7
// Author : Heuijin Lim
8
// Created : Sep. 2007
9
//
10
// DESCRIPTION:
11
// Contain the muon candidates from TileCal and the combined tracks from
12
// Inner-Detector.
13
//
14
// HISTORY:
15
//
16
// BUGS:
17
//
18
//*****************************************************************************
19
20
#ifndef TRIGMUONEVENT_TILEMUFEATURE_H
21
#define TRIGMUONEVENT_TILEMUFEATURE_H
22
23
#include "
AthenaKernel/CLASS_DEF.h
"
24
#include "
AthContainers/DataVector.h
"
25
26
#include <vector>
27
#include <string>
28
#include <map>
29
30
class
MsgStream;
31
32
class
TileMuFeature
33
{
34
public
:
35
36
TileMuFeature
();
37
38
TileMuFeature
(
float
eta
,
float
phi
,
const
std::vector<float> & ener,
float
qual );
39
TileMuFeature
(
float
eta
,
float
phi
, std::vector<float> && ener,
float
qual );
40
42
//virtual ~TileMuFeature() {}
43
//~TileMuFeature();
44
45
//void Set( float eta, float phi, std::vector<float> & ener, float qual );
46
48
TileMuFeature
(
const
TileMuFeature
* muon_feature);
49
51
TileMuFeature
(
const
TileMuFeature
& muon_feature);
52
54
TileMuFeature
&
operator=
(
const
TileMuFeature
& muon_feature);
55
TileMuFeature
&
operator=
(
TileMuFeature
&& muon_feature);
56
58
float
eta
()
const
{
return
m_eta
; }
59
float
phi
()
const
{
return
m_phi
; }
60
const
std::vector<float>&
enedep
()
const
{
return
m_energy_deposited
; }
61
float
quality
()
const
{
return
m_quality_factor
; }
62
63
//void print (void) const;
64
// Convertion operator to a std::string
65
// Can be used in a cast operation : (std::string) TileMuFeature
66
//operator std::string() const;
67
68
/*
69
void SetIDTrk(float Pt_IDTrk, float Eta_IDTrk, float EtaTR_IDTrk, float Phi_IDTrk, float PhiTR_IDTrk, float zPos_IDTrk, int Typ_IDTrk);
70
float Pt_IDTrk() const { return m_Pt_IDTrk; }
71
float Eta_IDTrk() const { return m_Eta_IDTrk; }
72
float EtaTR_IDTrk() const { return m_EtaTR_IDTrk; }
73
float Phi_IDTrk() const { return m_Phi_IDTrk; }
74
float PhiTR_IDTrk() const { return m_PhiTR_IDTrk; }
75
float zPos_IDTrk() const { return m_zPos_IDTrk; }
76
int Typ_IDTrk() const { return m_IDTrk; }
77
*/
78
79
private
:
80
81
float
m_eta
;
82
float
m_phi
;
83
std::vector<float>
m_energy_deposited
;
84
float
m_quality_factor
;
85
86
/*
87
float m_Pt_IDTrk, m_Eta_IDTrk, m_EtaTR_IDTrk;
88
float m_Phi_IDTrk, m_PhiTR_IDTrk, m_zPos_IDTrk;
89
int m_IDTrk;
90
*/
91
};
92
94
std::string
str
(
const
TileMuFeature
& d );
95
97
MsgStream&
operator<<
( MsgStream& m,
const
TileMuFeature
& d );
98
100
bool
operator==
(
const
TileMuFeature
&
a
,
const
TileMuFeature
& b );
101
103
inline
bool
operator!=
(
const
TileMuFeature
&
a
,
const
TileMuFeature
& b )
104
{
105
return
!(
a
== b );
106
}
107
109
void
diff
(
const
TileMuFeature
&
a
,
const
TileMuFeature
& b, std::map< std::string, double >& variableChange );
110
111
CLASS_DEF
(
TileMuFeature
, 1503, 0)
112
CLASS_DEF
(
DataVector
<
TileMuFeature
>, 49567812, 0)
113
114
115
#endif
CLASS_DEF.h
macros to associate a CLID to a type
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:67
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
a
static Double_t a
Definition
LArPhysWaveHECTool.cxx:38
operator==
bool operator==(const TileMuFeature &a, const TileMuFeature &b)
Operator comparing two CombinedMuonFeature objects for equality.
Definition
TileMuFeature.cxx:116
operator<<
MsgStream & operator<<(MsgStream &m, const TileMuFeature &d)
Helper operator for printing the object.
Definition
TileMuFeature.cxx:111
diff
void diff(const TileMuFeature &a, const TileMuFeature &b, std::map< std::string, double > &variableChange)
Comparison with feedback.
Definition
TileMuFeature.cxx:125
operator!=
bool operator!=(const TileMuFeature &a, const TileMuFeature &b)
Operator comparing two CombinedMuonFeature objects for inequality.
Definition
TileMuFeature.h:103
DataVector
Derived DataVector<T>.
Definition
DataVector.h:795
TileMuFeature
Definition
TileMuFeature.h:33
TileMuFeature::m_quality_factor
float m_quality_factor
Definition
TileMuFeature.h:84
TileMuFeature::enedep
const std::vector< float > & enedep() const
Definition
TileMuFeature.h:60
TileMuFeature::quality
float quality() const
Definition
TileMuFeature.h:61
TileMuFeature::m_energy_deposited
std::vector< float > m_energy_deposited
Definition
TileMuFeature.h:83
TileMuFeature::operator=
TileMuFeature & operator=(const TileMuFeature &muon_feature)
Assignement operator.
Definition
TileMuFeature.cxx:73
TileMuFeature::m_eta
float m_eta
Definition
TileMuFeature.h:81
TileMuFeature::phi
float phi() const
Definition
TileMuFeature.h:59
TileMuFeature::m_phi
float m_phi
Definition
TileMuFeature.h:82
TileMuFeature::eta
float eta() const
Accessor.
Definition
TileMuFeature.h:58
TileMuFeature::TileMuFeature
TileMuFeature()
Definition
TileMuFeature.cxx:34
str
Definition
BTagTrackIpAccessor.cxx:11
Generated on
for ATLAS Offline Software by
1.17.0