ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
HijingEventParams Class Reference

#include <HijingEventParams.h>

Collaboration diagram for HijingEventParams:

Public Member Functions

 HijingEventParams (void)
 
 HijingEventParams (int np, int nt, int n0, int n01, int n10, int n11, int natt, int jatt, float b, float bphi)
 
 ~HijingEventParams (void)
 
int get_np () const
 
int get_nt () const
 
int get_n0 () const
 
int get_n01 () const
 
int get_n10 () const
 
int get_n11 () const
 
int get_natt () const
 
int get_jatt () const
 
float get_b () const
 
float get_bphi () const
 
float get_psi (int n) const
 
void set_psi (int ihar, float psi)
 

Private Attributes

int m_np = 0
 
int m_nt = 0
 
int m_n0 = 0
 
int m_n01 = 0
 
int m_n10 = 0
 
int m_n11 = 0
 
int m_natt = 0
 
int m_jatt = 0
 
float m_b = 0
 
float m_bphi = 0
 
float m_psi_1 = 0
 
float m_psi_2 = 0
 
float m_psi_3 = 0
 
float m_psi_4 = 0
 
float m_psi_5 = 0
 
float m_psi_6 = 0
 

Detailed Description

Definition at line 22 of file HijingEventParams.h.

Constructor & Destructor Documentation

◆ HijingEventParams() [1/2]

HijingEventParams::HijingEventParams ( void  )
inline

Definition at line 62 of file HijingEventParams.h.

63 {
64  // std::cout<<"BBBBBBBBBBBBBBBBBB "<<this<<std::endl;
65 }

◆ HijingEventParams() [2/2]

HijingEventParams::HijingEventParams ( int  np,
int  nt,
int  n0,
int  n01,
int  n10,
int  n11,
int  natt,
int  jatt,
float  b,
float  bphi 
)
inline

Definition at line 68 of file HijingEventParams.h.

71 {
72  m_np = np; m_nt = nt; m_n0 = n0; m_n01 = n01; m_n10 = n10; m_n11 = n11;
73  m_natt = natt; m_jatt = jatt; m_b = b; m_bphi = bphi;
74 
76  //std::cout<<"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA "<<this<<std::endl;
77 }

◆ ~HijingEventParams()

HijingEventParams::~HijingEventParams ( void  )
inline

Definition at line 80 of file HijingEventParams.h.

81 {}

Member Function Documentation

◆ get_b()

float HijingEventParams::get_b ( ) const
inline

Definition at line 91 of file HijingEventParams.h.

91 { return m_b; }

◆ get_bphi()

float HijingEventParams::get_bphi ( ) const
inline

Definition at line 92 of file HijingEventParams.h.

92 { return m_bphi; }

◆ get_jatt()

int HijingEventParams::get_jatt ( ) const
inline

Definition at line 90 of file HijingEventParams.h.

90 { return m_jatt; }

◆ get_n0()

int HijingEventParams::get_n0 ( ) const
inline

Definition at line 85 of file HijingEventParams.h.

85 { return m_n0; }

◆ get_n01()

int HijingEventParams::get_n01 ( ) const
inline

Definition at line 86 of file HijingEventParams.h.

86 { return m_n01; }

◆ get_n10()

int HijingEventParams::get_n10 ( ) const
inline

Definition at line 87 of file HijingEventParams.h.

87 { return m_n10; }

◆ get_n11()

int HijingEventParams::get_n11 ( ) const
inline

Definition at line 88 of file HijingEventParams.h.

88 { return m_n11; }

◆ get_natt()

int HijingEventParams::get_natt ( ) const
inline

Definition at line 89 of file HijingEventParams.h.

89 { return m_natt; }

◆ get_np()

int HijingEventParams::get_np ( ) const
inline

Definition at line 83 of file HijingEventParams.h.

83 { return m_np; }

◆ get_nt()

int HijingEventParams::get_nt ( ) const
inline

Definition at line 84 of file HijingEventParams.h.

84 { return m_nt; }

◆ get_psi()

float HijingEventParams::get_psi ( int  n) const
inline

Definition at line 95 of file HijingEventParams.h.

96 {
97  //std::cout<<"1111111111111111111111111 "<<this<<std::endl;
98  if( ihar==1) return m_psi_1;
99  if( ihar==2) return m_psi_2;
100  if( ihar==3) return m_psi_3;
101  if( ihar==4) return m_psi_4;
102  if( ihar==5) return m_psi_5;
103  if( ihar==6) return m_psi_6;
104  return 0;
105 }

◆ set_psi()

void HijingEventParams::set_psi ( int  ihar,
float  psi 
)
inline

Definition at line 107 of file HijingEventParams.h.

108 {
109  if(ihar==1) m_psi_1=psi;
110  if(ihar==2) m_psi_2=psi;
111  if(ihar==3) m_psi_3=psi;
112  if(ihar==4) m_psi_4=psi;
113  if(ihar==5) m_psi_5=psi;
114  if(ihar==6) m_psi_6=psi;
115 }

Member Data Documentation

◆ m_b

float HijingEventParams::m_b = 0
private

Definition at line 55 of file HijingEventParams.h.

◆ m_bphi

float HijingEventParams::m_bphi = 0
private

Definition at line 56 of file HijingEventParams.h.

◆ m_jatt

int HijingEventParams::m_jatt = 0
private

Definition at line 54 of file HijingEventParams.h.

◆ m_n0

int HijingEventParams::m_n0 = 0
private

Definition at line 49 of file HijingEventParams.h.

◆ m_n01

int HijingEventParams::m_n01 = 0
private

Definition at line 50 of file HijingEventParams.h.

◆ m_n10

int HijingEventParams::m_n10 = 0
private

Definition at line 51 of file HijingEventParams.h.

◆ m_n11

int HijingEventParams::m_n11 = 0
private

Definition at line 52 of file HijingEventParams.h.

◆ m_natt

int HijingEventParams::m_natt = 0
private

Definition at line 53 of file HijingEventParams.h.

◆ m_np

int HijingEventParams::m_np = 0
private

Definition at line 47 of file HijingEventParams.h.

◆ m_nt

int HijingEventParams::m_nt = 0
private

Definition at line 48 of file HijingEventParams.h.

◆ m_psi_1

float HijingEventParams::m_psi_1 = 0
private

Definition at line 58 of file HijingEventParams.h.

◆ m_psi_2

float HijingEventParams::m_psi_2 = 0
private

Definition at line 58 of file HijingEventParams.h.

◆ m_psi_3

float HijingEventParams::m_psi_3 = 0
private

Definition at line 58 of file HijingEventParams.h.

◆ m_psi_4

float HijingEventParams::m_psi_4 = 0
private

Definition at line 58 of file HijingEventParams.h.

◆ m_psi_5

float HijingEventParams::m_psi_5 = 0
private

Definition at line 58 of file HijingEventParams.h.

◆ m_psi_6

float HijingEventParams::m_psi_6 = 0
private

Definition at line 58 of file HijingEventParams.h.


The documentation for this class was generated from the following file:
HijingEventParams::m_n10
int m_n10
Definition: HijingEventParams.h:51
HijingEventParams::m_nt
int m_nt
Definition: HijingEventParams.h:48
HijingEventParams::m_np
int m_np
Definition: HijingEventParams.h:47
HijingEventParams::m_psi_5
float m_psi_5
Definition: HijingEventParams.h:58
PlotPulseshapeFromCool.np
np
Definition: PlotPulseshapeFromCool.py:64
HijingEventParams::m_psi_4
float m_psi_4
Definition: HijingEventParams.h:58
HijingEventParams::m_n11
int m_n11
Definition: HijingEventParams.h:52
HijingEventParams::m_jatt
int m_jatt
Definition: HijingEventParams.h:54
HijingEventParams::m_bphi
float m_bphi
Definition: HijingEventParams.h:56
HijingEventParams::m_psi_6
float m_psi_6
Definition: HijingEventParams.h:58
HijingEventParams::m_n01
int m_n01
Definition: HijingEventParams.h:50
HijingEventParams::m_n0
int m_n0
Definition: HijingEventParams.h:49
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
HijingEventParams::m_natt
int m_natt
Definition: HijingEventParams.h:53
HijingEventParams::m_psi_1
float m_psi_1
Definition: HijingEventParams.h:58
HijingEventParams::m_b
float m_b
Definition: HijingEventParams.h:55
HijingEventParams::m_psi_3
float m_psi_3
Definition: HijingEventParams.h:58
HijingEventParams::m_psi_2
float m_psi_2
Definition: HijingEventParams.h:58
beamspotnt.nt
def nt
Definition: bin/beamspotnt.py:1063