4 #include "KVSimReader_HIPSE.h"
44 h1 =
new TH1F(
"impact_parameter",
"distri", 200, 0, 20);
50 if (nevt % 1000 == 0)
Info(
"ReadFile",
"%d evts lus", nevt);
51 h1->
Fill(evt->GetParameters()->GetDoubleValue(
"Bparstore"));
117 Int_t mult = 0, mtotal = 0;
127 Info(
"ReadEvent",
"case 0 line est vide");
130 evt->SetNumber(nevt);
133 evt->GetParameters()->SetValue(
"mult", mtotal);
200 evt->SetNumber(nevt);
201 for (
Int_t mm = 0; mm < mult; mm += 1) {
221 Info(
"ReadNucleus",
"case 0 line est vide");
243 Info(
"ReadNucleus",
"case 0 line est vide");
255 int AA = nuc->GetA();
266 Info(
"ReadNucleus",
"case 0 line est vide");
282 Info(
"ReadNucleus",
"case 0 line est vide");
303 void KVSimReader_HIPSE::define_output_filename()
321 define_output_filename();
322 tree_title.Form(
"HIPSE primary events %s + %s %.1f MeV/nuc.",
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char filename
char * Form(const char *fmt,...)
@ EmptyLine
last line read was empty (only whitespace)
@ OK
successful read and import of parameters from line
ReadStatus ReadLineAndCheck(Int_t nexpect, const KVString &pattern)
Double_t GetDoubleReadPar(Int_t pos) const
Int_t GetIntReadPar(Int_t pos) const
KVString GetReadPar(Int_t pos) const
Bool_t OpenFileToRead(const KVString &filename)
const Char_t * GetSymbol(Option_t *opt="") const
void SetZandA(Int_t z, Int_t a)
Set atomic number and mass number.
Nucleus in a simulated event.
Read ascii file for events of the HIPSE code after clusterization.
void ConvertEventsInFile(KVString filename) override
Bool_t ReadNucleus() override
Bool_t ReadEvent() override
Bool_t ReadHeader() override
KVSimReader_HIPSE()
Default constructor.
virtual ~KVSimReader_HIPSE()
void AddInfo(const KVNamedParameter &)
void Run(Option_t *option="recreate")
void SetROOTFileName(const Char_t *n)
virtual Bool_t HasToFill()
void AddObject(TObject *obj)
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
virtual void SetDirectory(TDirectory *dir)
virtual Int_t Fill(const char *name, Double_t w)
virtual void Info(const char *method, const char *msgfmt,...) const