ATLAS Offline Software
LArG4H6FrontHit.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 
8 LArG4H6FrontHit::LArG4H6FrontHit():m_edep(0.),m_pos(),m_scnum(-1),m_mwpcnum(-1),m_x(-1),m_y(-1),m_track_id(-1),m_pcode(0)
9 {
10 }
11 
13  : m_edep(ed),
14  m_pos(0,0,0),
15  m_scnum(sc),
16  m_mwpcnum(-1),
17  m_x(-1),
18  m_y(-1),
19  m_track_id(-1),
20  m_pcode(0)
21 {
22 }
23 
25  : m_edep(0),
26  m_pos(0,0,0),
27  m_scnum(-1),
28  m_mwpcnum(mw),
29  m_x(x1),
30  m_y(y1),
31  m_track_id(-1),
32  m_pcode(0)
33 {
34 }
35 
37 {
38  if(m_edep != right.m_edep) return 0;
39  if(m_pos != right.m_pos) return 0;
40  if(m_scnum != right.m_scnum) return 0;
41  if(m_mwpcnum != right.m_mwpcnum) return 0;
42  if(m_x != right.m_x) return 0;
43  if(m_y != right.m_y) return 0;
44  if(m_pcode != right.m_pcode) return 0;
45  if(m_track_id != right.m_track_id) return 0;
46  if(m_pos != right.m_pos) return 0;
47  return 1;
48 }
49 
plotBeamSpotCompare.x1
x1
Definition: plotBeamSpotCompare.py:216
LArG4H6FrontHit::m_pos
CLHEP::Hep3Vector m_pos
Definition: LArG4H6FrontHit.h:70
LArG4H6FrontHit::m_y
int m_y
Definition: LArG4H6FrontHit.h:71
makeTRTBarrelCans.y1
tuple y1
Definition: makeTRTBarrelCans.py:15
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
LArG4H6FrontHit::m_track_id
int m_track_id
Definition: LArG4H6FrontHit.h:72
LArG4H6FrontHit::m_pcode
int m_pcode
Definition: LArG4H6FrontHit.h:73
LArG4H6FrontHit.h
LArG4H6FrontHit::operator==
int operator==(const LArG4H6FrontHit &right)
Definition: LArG4H6FrontHit.cxx:36
LArG4H6FrontHit::m_mwpcnum
int m_mwpcnum
Definition: LArG4H6FrontHit.h:71
LArG4H6FrontHit::m_edep
double m_edep
Definition: LArG4H6FrontHit.h:69
LArG4H6FrontHit
Definition: LArG4H6FrontHit.h:23
LArG4H6FrontHit::m_x
int m_x
Definition: LArG4H6FrontHit.h:71
LArG4H6FrontHit::LArG4H6FrontHit
LArG4H6FrontHit()
Definition: LArG4H6FrontHit.cxx:8
LArG4H6FrontHit::m_scnum
int m_scnum
Definition: LArG4H6FrontHit.h:71