JSFReadGeneratorBuf
class description - source file - inheritance tree
public:
JSFReadGeneratorBuf(const char* name = "JSFReadGeneratorBuf", const char* title = "JSF Read Generator", JSFReadGenerator* module = 0)
JSFReadGeneratorBuf(const JSFReadGeneratorBuf&)
virtual ~JSFReadGeneratorBuf()
static TClass* Class()
virtual TClass* IsA() const
virtual Bool_t ReadHepEvent(const Int_t maxhep, Int_t& nevhep, Int_t& nhep, Int_t* isthep, Int_t* idhep, Int_t** jmohep, Int_t** jdahep, Double_t** phep, Double_t** vhep)
virtual Bool_t ReadOneRecord()
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
JSFReadGenerator
Read a generator data file, and stored into JSFGeneratorParticle class
Currently, HEPEVT format file is supported.
HEPEVT format: This file is accessed by subroutines in readgenutil.F.
The file is a Fortran binary file. and should be created as follows.
INTEGER*4 NENDIAN
INTEGER*4 NVERS
INTEGER*4 NEVHEP
INTEGER*4 NHEP
INTEGER*4 ISTHEP(NMXHEP), IDHEP(NMXHEP)
INTEGER*4 JMOHEP(2,NMXHEP), JDAHEP(2,NMXHEP)
REAL*8 PHEP(5,NMXHEP), VHEP(4,NMXHEP)
IU=1
NENDIAN=1296651082
WRITE(IU) NENDIAN, NVERS, NEVHEP, NHEP, (ITHEP(K),K=1,NHEP),
. (IDHEP(K),K=1,NHEP),
. (JMOHEP(1,K),JMOHEP(2,K),K=1,NHEP),
. (JDAHEP(1,K),JDAHEP(2,K),K=1,NHEP),
. ((PHEP(J,K),J=1,5),K=1,NHEP),
. ((VHEP(J,K),J=1,5),K=1,NHEP)
(Update)
16-Apr-2000 A.Miyamoto Put bug fixes written by I.Nakamura in ReadOneRecord()
31-Jan-2000 A.Miyamoto Mange jmohep[i][0]=0 and isthep[i]=1 | 2 case in ReadOneRecord()
21-Jan-2003 A.Miyamoto Create ReadHepEvent method.
$Id: JSFReadGenerator.cxx,v 1.7 2003/01/22 00:17:20 miyamoto Exp $
JSFReadGeneratorBuf(const char *name,
const char *title, JSFReadGenerator *module)
:JSFGeneratorBuf(name, title, (JSFGenerator*)module)
Bool_t ReadHepEvent(const Int_t maxhep, Int_t &nevhep, Int_t &nhep,
Int_t isthep[], Int_t idhep[], Int_t jmohep[][2], Int_t jdahep[][2],
Double_t phep[][5], Double_t vhep[][4])
Read Generator data and saved to the class.
Bool_t ReadOneRecord()
Read Generator data and saved to the class.
Inline Functions
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
JSFReadGeneratorBuf JSFReadGeneratorBuf(const JSFReadGeneratorBuf&)
void ~JSFReadGeneratorBuf()
Last update: Tue Jan 20 15:54:27 2004
ROOT page - Home page - Class index - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.