Pluto v6.3.0
Loading...
Searching...
No Matches
PHGeantOutput.h
Go to the documentation of this file.
1// Author: Jochen Markert
2// Written: 05/12/2007
3// Modified:
4// PHGeantOutput Class Header
5
6#ifndef _PHGEANTOUTPUT_H_
7#define _PHGEANTOUTPUT_H_
8
9#include "PFileOutput.h"
10#include "PParticle.h"
11#include <stdio.h>
12
14
15 private:
16
17 Double_t *event_impact_param, *seqnr;
18
19 protected:
20
21 FILE *asciiFile;
22 Int_t ctEvt;
25 public:
26
28
29 bool OpenFile(const char *_filename); //filename
30 bool CloseFile(void); //
31 bool WriteEventHeader(void);
32 bool WriteParticle(PParticle *par); //write one particle
33 void SetWriteSeqNumber(Bool_t write) { writeSEQNUMBER = write; }
34
35 ClassDef(PHGeantOutput, 0) // Pluto ascii file output for HGEANT
36};
37#endif
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
PParticle * par[11]
Int_t ctParticlePerEvt
bool WriteEventHeader(void)
void SetWriteSeqNumber(Bool_t write)
bool OpenFile(const char *_filename)
bool CloseFile(void)
Bool_t writeSEQNUMBER
bool WriteParticle(PParticle *par)