AliPhysics  a88b1f0 (a88b1f0)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FastShortHeader.C
Go to the documentation of this file.
1 #ifndef FASTSHORTHEADER_C
2 #define FASTSHORTHEADER_C
3 #ifndef __CINT__
4 # include <TString.h>
5 #endif
6 
7 //====================================================================
24  UInt_t fNSpecNproj; // # of spectator neutrons in projectile
25  UInt_t fNSpecNtgt; // # of spectator neutrons in target
26  UInt_t fNSpecPproj; // # of spectator protons in projectile
27  UInt_t fNSpecPtgt; // # of spectator protons in target
28 
29  void Print()
30  {
31  Printf(" Run #/Event: %9d/%9d", fRunNo, fEventId);
32  Printf(" Participants/binary: %4d/%4d/%3d", fNtgt, fNproj, fNbin);
33  Printf(" Event type: %7s%12s",(fType==1?"Non":
34  fType==2?"Single":
35  "Double"), "-diffractive");
36  Printf(" IP: (%-5.1f,%-5.1f,%-5.1f)",fIpX,fIpY,fIpZ);
37  Printf(" Impact par./cent.: (%13f/%-3d)", fB, Int_t(fC));
38  Printf(" Reaction plane: %19f", fPhiR);
39  Printf(" Specs (Nt,Np,Pt,Pp): %4d/%4d/%4d/%4d",
41  }
42  void Clear(Option_t* option="")
43  {
44  Reset(0,0);
45  }
46  void Reset(UInt_t runNo, UInt_t eventNo)
47  {
48  fRunNo = runNo;
49  fEventId = eventNo;
50  fIpX = 1024;
51  fIpY = 1024;
52  fIpZ = 1024;
53  fNtgt = -1;
54  fNproj = -1;
55  fNbin = -1;
56  fPhiR = -1;
57  fB = -1;
58  fC = -1;
59  fNSpecNtgt = -1;
60  fNSpecNproj = -1;
61  fNSpecPtgt = -1;
62  fNSpecPproj = -1;
63  fEG = kUnknown;
64  }
65 
66  enum EG_t {
67  kUnknown = 0,
72  } fEG;
73 };
74 #endif
75 //
76 // EOF
77 //
void Reset(UInt_t runNo, UInt_t eventNo)
double Double_t
Definition: External.C:58
void Clear(Option_t *option="")
int Int_t
Definition: External.C:63
unsigned int UInt_t
Definition: External.C:33
enum FastShortHeader::EG_t fEG
const char Option_t
Definition: External.C:48