ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArRecEvent
LArRecEvent
LArCollisionTime.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 LArCollisionTime_H
6
#define LArCollisionTime_H
7
15
16
#include "
AthenaKernel/CLASS_DEF.h
"
17
18
class
LArCollisionTime
19
{
20
21
public
:
22
24
LArCollisionTime
();
25
27
LArCollisionTime
(
int
ncellA
,
int
ncellC
,
float
energyA
,
float
energyC
,
float
timeA
,
float
timeC
);
28
30
int
ncellA
()
const
{
return
m_ncellA
; }
31
33
int
ncellC
()
const
{
return
m_ncellC
; };
34
36
double
energyA
()
const
{
return
m_energyA
; };
37
39
double
energyC
()
const
{
return
m_energyC
; };
40
42
double
timeA
()
const
{
return
m_timeA
; };
43
45
double
timeC
()
const
{
return
m_timeC
; };
46
47
private
:
48
49
int
m_ncellA
;
50
int
m_ncellC
;
51
float
m_energyA
;
52
float
m_energyC
;
53
float
m_timeA
;
54
float
m_timeC
;
55
56
};
57
58
CLASS_DEF
(
LArCollisionTime
,79775856,0)
59
60
inline
LArCollisionTime
::
LArCollisionTime
()
61
:
m_ncellA
(0),
m_ncellC
(0),
m_energyA
(0.),
m_energyC
(0.),
m_timeA
(0.),
m_timeC
(0.) {}
62
63
inline
LArCollisionTime::LArCollisionTime
(
int
ncellA
,
int
ncellC
,
float
energyA
,
float
energyC
,
float
timeA
,
float
timeC
)
64
:
m_ncellA
(
ncellA
),
m_ncellC
(
ncellC
),
m_energyA
(
energyA
),
m_energyC
(
energyC
),
m_timeA
(
timeA
),
m_timeC
(
timeC
){}
65
66
67
#endif
//LArCollisionTime_H
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
LArCollisionTime
Holds information about collisions timing from end-cap LAr calorimeters.
Definition
LArCollisionTime.h:19
LArCollisionTime::m_ncellC
int m_ncellC
Definition
LArCollisionTime.h:50
LArCollisionTime::ncellA
int ncellA() const
get number of cells for time A side
Definition
LArCollisionTime.h:30
LArCollisionTime::LArCollisionTime
LArCollisionTime()
main constructor with all data members set to zero
Definition
LArCollisionTime.h:60
LArCollisionTime::timeA
double timeA() const
time A side
Definition
LArCollisionTime.h:42
LArCollisionTime::ncellC
int ncellC() const
get number of cells for time C side
Definition
LArCollisionTime.h:33
LArCollisionTime::m_timeC
float m_timeC
Definition
LArCollisionTime.h:54
LArCollisionTime::energyA
double energyA() const
total energy A side
Definition
LArCollisionTime.h:36
LArCollisionTime::m_energyC
float m_energyC
Definition
LArCollisionTime.h:52
LArCollisionTime::m_ncellA
int m_ncellA
Definition
LArCollisionTime.h:49
LArCollisionTime::energyC
double energyC() const
total energy C side
Definition
LArCollisionTime.h:39
LArCollisionTime::m_energyA
float m_energyA
Definition
LArCollisionTime.h:51
LArCollisionTime::m_timeA
float m_timeA
Definition
LArCollisionTime.h:53
LArCollisionTime::timeC
double timeC() const
time C side
Definition
LArCollisionTime.h:45
Generated on
for ATLAS Offline Software by
1.17.0