ATLAS Offline Software
LArHit_p1.h
Go to the documentation of this file.
1 // This file's extension implies that it's C, but it's really -*- C++ -*-.
2 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef LARHIT_P1_H
8 #define LARHIT_P1_H
9 
13 class LArHit_p1 {
14  public:
16  : m_channelID(0),
17  m_energy(0),
18  m_time(0)
19  {};
20  friend class LArHitCnv_p1;
21  friend class LArHitFloatCnv_p1;
22 
23  private:
25  unsigned int m_channelID;
26 
28  float m_energy;
29 
30  // time (in ns)
31  float m_time;
32 };
33 
34 #endif
LArHit_p1::m_time
float m_time
Definition: LArHit_p1.h:31
LArHit_p1
Persistent LArHit class, version p1.
Definition: LArHit_p1.h:13
LArHitCnv_p1
Definition: LArHitCnv_p1.h:22
LArHitFloatCnv_p1
Definition: LArHitFloatCnv_p1.h:22
LArHit_p1::m_channelID
unsigned int m_channelID
identifier of the cell in which this hit occured.
Definition: LArHit_p1.h:25
LArHit_p1::LArHit_p1
LArHit_p1()
Definition: LArHit_p1.h:15
LArHit_p1::m_energy
float m_energy
energy (in MeV) deposited in this hit
Definition: LArHit_p1.h:28