ATLAS Offline Software
LArFebEnergy.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef LARFEBENERGY_H
6 #define LARFEBENERGY_H
7 
21 {
22 
23  public:
24 
26  LArFebEnergy();
27 
29  LArFebEnergy( unsigned int febid, double ex, double ey, double ez, double sume );
30 
32  LArFebEnergy( unsigned int febid );
33 
35  unsigned int getFebId() const{ return m_febId; }
36 
38  double getFebEx() const{ return m_ex; }
39 
41  double getFebEy() const{ return m_ey; }
42 
44  double getFebEz() const{ return m_ez; }
45 
47  double getFebSumE() const{ return m_sumE; }
48 
50  void setFebEx( const double enex ) { m_ex = enex; }
51 
53  void setFebEy( const double eney ) { m_ey = eney; }
54 
56  void setFebEz( const double enez ) { m_ez = enez; }
57 
59  void setFebSumE( const double sume ) { m_sumE = sume; }
60 
61  private:
62 
64  unsigned int m_febId;
65 
67  double m_ex;
68 
70  double m_ey;
71 
73  double m_ez;
74 
76  double m_sumE;
77 
78 };
79 
81  : m_febId(0) , m_ex(0.) , m_ey(0.), m_ez(0.), m_sumE(0.){}
82 
83 inline LArFebEnergy::LArFebEnergy( unsigned int febid, double ex, double ey, double ez, double sume )
84  : m_febId(febid), m_ex(ex), m_ey(ey), m_ez(ez), m_sumE(sume){}
85 
86 inline LArFebEnergy::LArFebEnergy( unsigned int febid )
87  : m_febId(febid) , m_ex(0.) , m_ey(0.), m_ez(0.), m_sumE(0.) {}
88 
89 #endif //LARFEBENERGY_H
LArFebEnergy
Holds partial energy sums Ex,Ey,Ez for each Feb.
Definition: LArFebEnergy.h:21
LArFebEnergy::m_ez
double m_ez
Feb Ez.
Definition: LArFebEnergy.h:73
LArFebEnergy::m_febId
unsigned int m_febId
Feb identifier.
Definition: LArFebEnergy.h:64
LArFebEnergy::setFebEy
void setFebEy(const double eney)
set FebEy (data member)
Definition: LArFebEnergy.h:53
LArFebEnergy::m_ey
double m_ey
Feb Ey.
Definition: LArFebEnergy.h:70
LArFebEnergy::setFebEz
void setFebEz(const double enez)
set FebEz (data member)
Definition: LArFebEnergy.h:56
LArFebEnergy::LArFebEnergy
LArFebEnergy()
main constructor with all data members set to zero
Definition: LArFebEnergy.h:80
LArFebEnergy::getFebSumE
double getFebSumE() const
get FebSumE (data member)
Definition: LArFebEnergy.h:47
LArFebEnergy::m_sumE
double m_sumE
Feb SumE.
Definition: LArFebEnergy.h:76
LArFebEnergy::setFebSumE
void setFebSumE(const double sume)
set FebSumE (data member)
Definition: LArFebEnergy.h:59
LArFebEnergy::getFebId
unsigned int getFebId() const
get FebId (data member)
Definition: LArFebEnergy.h:35
LArFebEnergy::getFebEz
double getFebEz() const
get FebEz (data member)
Definition: LArFebEnergy.h:44
LArFebEnergy::getFebEx
double getFebEx() const
get FebEx (data member)
Definition: LArFebEnergy.h:38
LArFebEnergy::getFebEy
double getFebEy() const
get FebEy (data member)
Definition: LArFebEnergy.h:41
LArFebEnergy::setFebEx
void setFebEx(const double enex)
set FebEx (data member)
Definition: LArFebEnergy.h:50
LArFebEnergy::m_ex
double m_ex
Feb Ex.
Definition: LArFebEnergy.h:67