ATLAS Offline Software
Loading...
Searching...
No Matches
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
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
24LArG4H6FrontHit::LArG4H6FrontHit(int mw, int x1, int y1)
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
static Double_t sc
CLHEP::Hep3Vector m_pos
int operator==(const LArG4H6FrontHit &right)