ATLAS Offline Software
MuonSpShower.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 /***************************************************************************
8  MuonSpShower.h - Description
9  -------------------
10  begin : 28-07-2006
11  authors : Ketevi A. Assamagan
12  email : ketevi@bnl.gov
13 
14  Store the numbers of hits and numbers of MuonSegments (MDT & CSC) in some
15  cone around jet axes. Store these number for Inner, Middle and Outer
16  multi-layers.
17 
18  April 2009: Riccardo Maria BIANCHI - Completing Doxygen docs for AOD Content Documentation
19  ***************************************************************************/
20 #ifndef MUONEVENT_MUONSPSHOWER_H
21 #define MUONEVENT_MUONSPSHOWER_H 1
22 
23 #include <vector>
24 
25 namespace Rec {
26 
27  class MuonSpShower {
28 
29  public:
30 
32  MuonSpShower();
33 
36  const float eta, const float phi,
37  const unsigned short numOfTriggerHits,
38  const unsigned short numOfInnerHits,
39  const unsigned short numOfMiddleHits,
40  const unsigned short numOfOuterHits,
41  const unsigned short numOfInnerSegments,
42  const unsigned short numOfMiddleSegments,
43  const unsigned short numOfOuterSegments);
44 
46  MuonSpShower(const MuonSpShower & rhs);
47 
50 
52  virtual ~MuonSpShower();
53 
55  float eta() const { return m_eta; }
57  float phi() const { return m_phi; }
58 
60  unsigned short numberOfTriggerHits() const
61  { return m_numberOfTriggerHits; }
63  unsigned short numberOfInnerHits() const
64  { return m_numberOfInnerHits; }
66  unsigned short numberOfMiddleHits() const
67  { return m_numberOfMiddleHits; }
69  unsigned short numberOfOuterHits() const
70  { return m_numberOfOuterHits; }
71 
73  unsigned short numberOfInnerSegments() const
74  { return m_numberOfInnerSegments; }
76  unsigned short numberOfMiddleSegments() const
77  { return m_numberOfMiddleSegments; }
79  unsigned short numberOfOuterSegments () const
80  { return m_numberOfOuterSegments; }
81 
83  void set_eta(const float axisEta) { m_eta = axisEta; }
85  void set_phi(const float axisPhi) { m_phi = axisPhi; }
86 
88  void set_numberOfTriggerHits (const unsigned short nHit) { m_numberOfTriggerHits = nHit; }
90  void set_numberOfInnerHits (const unsigned short nHit) { m_numberOfInnerHits = nHit; }
92  void set_numberOfMiddleHits (const unsigned short nHit) { m_numberOfMiddleHits = nHit; }
94  void set_numberOfOuterHits (const unsigned short nHit) { m_numberOfOuterHits = nHit; }
95 
97  void set_numberOfInnerSegments (const unsigned short nSeg) { m_numberOfInnerSegments = nSeg; }
99  void set_numberOfMiddleSegments (const unsigned short nSeg) { m_numberOfMiddleSegments = nSeg; }
101  void set_numberOfOuterSegments (const unsigned short nSeg) { m_numberOfOuterSegments = nSeg; }
102 
103  private:
104 
105  float m_eta;
106  float m_phi;
107  unsigned short m_numberOfTriggerHits;
108  unsigned short m_numberOfInnerHits;
109  unsigned short m_numberOfInnerSegments;
110  unsigned short m_numberOfMiddleHits;
111  unsigned short m_numberOfMiddleSegments;
112  unsigned short m_numberOfOuterHits;
113  unsigned short m_numberOfOuterSegments;
114 
115  };
116 
117 }
118 
119 #endif
120 
Rec::MuonSpShower::set_numberOfMiddleSegments
void set_numberOfMiddleSegments(const unsigned short nSeg)
set the number of Middle segments
Definition: MuonSpShower.h:123
Rec::MuonSpShower::numberOfOuterSegments
unsigned short numberOfOuterSegments() const
return the number of Outer segments
Definition: MuonSpShower.h:103
Rec::MuonSpShower::phi
float phi() const
return the Jet axis - phi
Definition: MuonSpShower.h:81
Rec::MuonSpShower::numberOfMiddleSegments
unsigned short numberOfMiddleSegments() const
return the number of Middle segments
Definition: MuonSpShower.h:100
Rec::MuonSpShower::~MuonSpShower
virtual ~MuonSpShower()
Destructor.
Rec::MuonSpShower::MuonSpShower
MuonSpShower()
Default Constructor needed for persistency.
Definition: MuonSpShower.cxx:26
Rec::MuonSpShower::set_numberOfInnerHits
void set_numberOfInnerHits(const unsigned short nHit)
set the number of Inner Hits
Definition: MuonSpShower.h:114
Rec::MuonSpShower::m_numberOfInnerSegments
unsigned short m_numberOfInnerSegments
Definition: MuonSpShower.h:133
Rec::MuonSpShower::set_numberOfOuterSegments
void set_numberOfOuterSegments(const unsigned short nSeg)
set the number of Outer segments
Definition: MuonSpShower.h:125
Rec::MuonSpShower::eta
float eta() const
return the Jet axis - eta
Definition: MuonSpShower.h:79
Rec::MuonSpShower::numberOfOuterHits
unsigned short numberOfOuterHits() const
return the number of Outer hits
Definition: MuonSpShower.h:93
Rec::MuonSpShower::m_eta
float m_eta
Definition: MuonSpShower.h:129
Rec::MuonSpShower::set_numberOfMiddleHits
void set_numberOfMiddleHits(const unsigned short nHit)
set the number of Middle Hits
Definition: MuonSpShower.h:116
Rec::MuonSpShower
Definition: MuonSpShower.h:39
Rec::MuonSpShower::set_phi
void set_phi(const float axisPhi)
set the Jet axis - phi
Definition: MuonSpShower.h:109
Rec::MuonSpShower::set_eta
void set_eta(const float axisEta)
set the Jet axis - eta
Definition: MuonSpShower.h:107
Rec
Name: MuonSpContainer.h Package : offline/Reconstruction/MuonIdentification/muonEvent.
Definition: FakeTrackBuilder.h:10
Rec::MuonSpShower::operator=
MuonSpShower & operator=(const MuonSpShower &)
Assignement operator.
Definition: MuonSpShower.cxx:66
Rec::MuonSpShower::set_numberOfInnerSegments
void set_numberOfInnerSegments(const unsigned short nSeg)
set the number of Inner segments
Definition: MuonSpShower.h:121
Rec::MuonSpShower::m_phi
float m_phi
Definition: MuonSpShower.h:130
Rec::MuonSpShower::m_numberOfMiddleSegments
unsigned short m_numberOfMiddleSegments
Definition: MuonSpShower.h:135
Rec::MuonSpShower::numberOfInnerSegments
unsigned short numberOfInnerSegments() const
return the number of Inner segments
Definition: MuonSpShower.h:97
Rec::MuonSpShower::set_numberOfTriggerHits
void set_numberOfTriggerHits(const unsigned short nHit)
set the number of Trigger Hits
Definition: MuonSpShower.h:112
Rec::MuonSpShower::numberOfMiddleHits
unsigned short numberOfMiddleHits() const
return the number of Middle hits
Definition: MuonSpShower.h:90
Rec::MuonSpShower::m_numberOfMiddleHits
unsigned short m_numberOfMiddleHits
Definition: MuonSpShower.h:134
Rec::MuonSpShower::m_numberOfOuterSegments
unsigned short m_numberOfOuterSegments
Definition: MuonSpShower.h:137
Rec::MuonSpShower::set_numberOfOuterHits
void set_numberOfOuterHits(const unsigned short nHit)
set the number of Outer Hits
Definition: MuonSpShower.h:118
Rec::MuonSpShower::m_numberOfTriggerHits
unsigned short m_numberOfTriggerHits
Definition: MuonSpShower.h:131
Rec::MuonSpShower::numberOfInnerHits
unsigned short numberOfInnerHits() const
return the number of Inner hits
Definition: MuonSpShower.h:87
Rec::MuonSpShower::m_numberOfInnerHits
unsigned short m_numberOfInnerHits
Definition: MuonSpShower.h:132
Rec::MuonSpShower::m_numberOfOuterHits
unsigned short m_numberOfOuterHits
Definition: MuonSpShower.h:136
Rec::MuonSpShower::numberOfTriggerHits
unsigned short numberOfTriggerHits() const
return the number of Trigger hits
Definition: MuonSpShower.h:84