StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
TGeVSimParams.cxx
1 //
3 // Params Source File Documentation is HERE
4 //
5 // MSD
6 //
8 
9 
10 #include "TGeVSimParams.h"
11 #include <iostream>
12 
13 ClassImp(TGeVSimParams);
14 
16 
17 TGeVSimParams::TGeVSimParams() {
18  PDG = 0;
19  Model = 0;
20  Temp = 0;
21  SigmaY = 0;
22  ExpVel = 0;
23  SigmaTemp = 0;
24  V1Scalar = 0;
25  V2Scalar = 0;
26  Mult = 0;
27 }
28 
30 
31 TGeVSimParams::TGeVSimParams(Int_t p,Int_t mod,Float_t t,Float_t sy,Float_t ev,Float_t st,
32  Float_t v1,Float_t v2,Float_t m) {
33  PDG = p;
34  Model = mod;
35  Temp = t;
36  SigmaY = sy;
37  ExpVel = ev;
38  SigmaTemp = st;
39  V1Scalar = v1;
40  V2Scalar = v2;
41  Mult = (Int_t)m;
42 }
43 
45 
46 void TGeVSimParams::Print(Option_t* option) const {
47 
48  printf("%d\t%d\t%d\t%4.3f\t%4.3f\t%4.3f\t%4.3f\t%4.3f\t%4.3f\n",
49  PDG, Model, Mult, Temp, SigmaTemp, SigmaY, ExpVel, V1Scalar, V2Scalar);
50 }
51 
53 
54 void TGeVSimParams::PrintHeader() {
55 
56  printf("PDG\tModel\tMult\tTemp\tSigTemp\tSigmaY\tExpVel\tV1sc\tV2sc\n");
57 }
58 
60 
61 void TGeVSimParams::Clear(Option_t* option) {
62  PDG = 0;
63  Model = 0;
64  Temp = 0;
65  SigmaY = 0;
66  ExpVel = 0;
67  SigmaTemp = 0;
68  V1Scalar = 0;
69  V2Scalar = 0;
70  Mult = 0;
71 }
72