ATLAS Offline Software
Loading...
Searching...
No Matches
LArCalorimeter
LArG4TB
LArG4TBSimEvent
LArG4TBSimEvent
LArTBWarmTCHit.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
// LArTBWarmTCHit class
7
//
8
// information stored
9
//=================================================
10
11
#ifndef LArTBWarmTCHit_h
12
#define LArTBWarmTCHit_h 1
13
14
#include "CLHEP/Vector/ThreeVector.h"
15
#include <vector>
16
17
class
LArTBWarmTCHit
18
{
19
public
:
20
LArTBWarmTCHit
() =
default
;
21
LArTBWarmTCHit
(
int
ad,
double
en) :
m_addr
(ad),
m_energy
(en) {};
22
23
//Set- Get- methods
24
// energy deposit
25
inline
void
SetEnergy
(
double
ed) {
m_energy
= ed; }
26
inline
void
AddEnergy
(
double
ed) {
m_energy
+= ed; }
27
inline
double
GetEnergy
() {
return
m_energy
; }
28
29
// address
30
inline
void
SetAddr
(
int
d) {
m_addr
= d; }
31
inline
int
GetAddr
() {
return
m_addr
; }
32
33
private
:
34
int
m_addr
{};
// Address:
35
double
m_energy
{};
36
};
37
38
typedef
std::vector<LArTBWarmTCHit>
LArTBWarmTCHitsCollection
;
39
40
#endif
LArTBWarmTCHitsCollection
std::vector< LArTBWarmTCHit > LArTBWarmTCHitsCollection
Definition
LArTBWarmTCHit.h:38
LArTBWarmTCHit::AddEnergy
void AddEnergy(double ed)
Definition
LArTBWarmTCHit.h:26
LArTBWarmTCHit::SetEnergy
void SetEnergy(double ed)
Definition
LArTBWarmTCHit.h:25
LArTBWarmTCHit::m_energy
double m_energy
Definition
LArTBWarmTCHit.h:35
LArTBWarmTCHit::GetEnergy
double GetEnergy()
Definition
LArTBWarmTCHit.h:27
LArTBWarmTCHit::LArTBWarmTCHit
LArTBWarmTCHit()=default
LArTBWarmTCHit::m_addr
int m_addr
Definition
LArTBWarmTCHit.h:34
LArTBWarmTCHit::GetAddr
int GetAddr()
Definition
LArTBWarmTCHit.h:31
LArTBWarmTCHit::LArTBWarmTCHit
LArTBWarmTCHit(int ad, double en)
Definition
LArTBWarmTCHit.h:21
LArTBWarmTCHit::SetAddr
void SetAddr(int d)
Definition
LArTBWarmTCHit.h:30
Generated on
for ATLAS Offline Software by
1.14.0