ATLAS Offline Software
Loading...
Searching...
No Matches
LArG4H6FrontHit Class Reference

#include <LArG4H6FrontHit.h>

Collaboration diagram for LArG4H6FrontHit:

Public Member Functions

 LArG4H6FrontHit ()
 LArG4H6FrontHit (int sc, double ed)
 LArG4H6FrontHit (int mw, int x1, int y1)
 LArG4H6FrontHit (const LArG4H6FrontHit &right)=default
LArG4H6FrontHitoperator= (const LArG4H6FrontHit &right)=default
int operator== (const LArG4H6FrontHit &right)
void Draw ()
void Print ()
void SetEdep (double ed)
double GetEdep () const
void SetPos (const CLHEP::Hep3Vector &p)
CLHEP::Hep3Vector GetPos () const
void SetSC (int sc)
int GetSC () const
void SetMWPC (int mw)
int GetMWPC () const
void SetX (int x1)
int GetX () const
void SetY (int y1)
int GetY () const
void SetTrackID (int id)
int GetTrackID () const
void SetPcode (int code)
int GetPcode () const

Private Attributes

double m_edep
CLHEP::Hep3Vector m_pos
int m_scnum
int m_mwpcnum
int m_x
int m_y
int m_track_id
int m_pcode

Detailed Description

Definition at line 22 of file LArG4H6FrontHit.h.

Constructor & Destructor Documentation

◆ LArG4H6FrontHit() [1/4]

LArG4H6FrontHit::LArG4H6FrontHit ( )

◆ LArG4H6FrontHit() [2/4]

LArG4H6FrontHit::LArG4H6FrontHit ( int sc,
double ed )

Definition at line 12 of file LArG4H6FrontHit.cxx.

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}
static Double_t sc

◆ LArG4H6FrontHit() [3/4]

LArG4H6FrontHit::LArG4H6FrontHit ( int mw,
int x1,
int y1 )

Definition at line 24 of file LArG4H6FrontHit.cxx.

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}

◆ LArG4H6FrontHit() [4/4]

LArG4H6FrontHit::LArG4H6FrontHit ( const LArG4H6FrontHit & right)
default

Member Function Documentation

◆ Draw()

void LArG4H6FrontHit::Draw ( )
inline

Definition at line 36 of file LArG4H6FrontHit.h.

36{;};

◆ GetEdep()

double LArG4H6FrontHit::GetEdep ( ) const
inline

Definition at line 42 of file LArG4H6FrontHit.h.

42{ return m_edep; }

◆ GetMWPC()

int LArG4H6FrontHit::GetMWPC ( ) const
inline

Definition at line 54 of file LArG4H6FrontHit.h.

54{ return m_mwpcnum; }

◆ GetPcode()

int LArG4H6FrontHit::GetPcode ( ) const
inline

Definition at line 66 of file LArG4H6FrontHit.h.

66{ return m_pcode; }

◆ GetPos()

CLHEP::Hep3Vector LArG4H6FrontHit::GetPos ( ) const
inline

Definition at line 46 of file LArG4H6FrontHit.h.

46{ return m_pos; }

◆ GetSC()

int LArG4H6FrontHit::GetSC ( ) const
inline

Definition at line 50 of file LArG4H6FrontHit.h.

50{ return m_scnum; }

◆ GetTrackID()

int LArG4H6FrontHit::GetTrackID ( ) const
inline

Definition at line 62 of file LArG4H6FrontHit.h.

62{ return m_track_id; }

◆ GetX()

int LArG4H6FrontHit::GetX ( ) const
inline

Definition at line 56 of file LArG4H6FrontHit.h.

56{ return m_x; }

◆ GetY()

int LArG4H6FrontHit::GetY ( ) const
inline

Definition at line 58 of file LArG4H6FrontHit.h.

58{ return m_y; }

◆ operator=()

LArG4H6FrontHit & LArG4H6FrontHit::operator= ( const LArG4H6FrontHit & right)
default

◆ operator==()

int LArG4H6FrontHit::operator== ( const LArG4H6FrontHit & right)

Definition at line 36 of file LArG4H6FrontHit.cxx.

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}

◆ Print()

void LArG4H6FrontHit::Print ( )
inline

Definition at line 37 of file LArG4H6FrontHit.h.

37{;};

◆ SetEdep()

void LArG4H6FrontHit::SetEdep ( double ed)
inline

Definition at line 41 of file LArG4H6FrontHit.h.

41{ m_edep = ed; }

◆ SetMWPC()

void LArG4H6FrontHit::SetMWPC ( int mw)
inline

Definition at line 53 of file LArG4H6FrontHit.h.

53{ m_mwpcnum = mw; }

◆ SetPcode()

void LArG4H6FrontHit::SetPcode ( int code)
inline

Definition at line 65 of file LArG4H6FrontHit.h.

65{ m_pcode = code; }

◆ SetPos()

void LArG4H6FrontHit::SetPos ( const CLHEP::Hep3Vector & p)
inline

◆ SetSC()

void LArG4H6FrontHit::SetSC ( int sc)
inline

Definition at line 49 of file LArG4H6FrontHit.h.

49{ m_scnum = sc; }

◆ SetTrackID()

void LArG4H6FrontHit::SetTrackID ( int id)
inline

◆ SetX()

void LArG4H6FrontHit::SetX ( int x1)
inline

Definition at line 55 of file LArG4H6FrontHit.h.

◆ SetY()

void LArG4H6FrontHit::SetY ( int y1)
inline

Definition at line 57 of file LArG4H6FrontHit.h.

57{ m_y = y1; }

Member Data Documentation

◆ m_edep

double LArG4H6FrontHit::m_edep
private

Definition at line 69 of file LArG4H6FrontHit.h.

◆ m_mwpcnum

int LArG4H6FrontHit::m_mwpcnum
private

Definition at line 71 of file LArG4H6FrontHit.h.

◆ m_pcode

int LArG4H6FrontHit::m_pcode
private

Definition at line 73 of file LArG4H6FrontHit.h.

◆ m_pos

CLHEP::Hep3Vector LArG4H6FrontHit::m_pos
private

Definition at line 70 of file LArG4H6FrontHit.h.

◆ m_scnum

int LArG4H6FrontHit::m_scnum
private

Definition at line 71 of file LArG4H6FrontHit.h.

◆ m_track_id

int LArG4H6FrontHit::m_track_id
private

Definition at line 72 of file LArG4H6FrontHit.h.

◆ m_x

int LArG4H6FrontHit::m_x
private

Definition at line 71 of file LArG4H6FrontHit.h.

◆ m_y

int LArG4H6FrontHit::m_y
private

Definition at line 71 of file LArG4H6FrontHit.h.


The documentation for this class was generated from the following files: