Pluto v6.3.0
Loading...
Searching...
No Matches
PDebugFileOutput Class Reference

#include <PDebugFileOutput.h>

Inheritance diagram for PDebugFileOutput:
PFileOutput PBulkInterface

Public Member Functions

 PDebugFileOutput ()
 ~PDebugFileOutput ()
bool OpenFile (char *filename)
bool CloseFile (void)
bool WriteEvent (void)
bool WriteParticle (PParticle *par)
virtual bool OpenFile (const char *_filename)
Public Member Functions inherited from PFileOutput
 PFileOutput ()
void SetHeader (Int_t _cnt, Int_t _allPARTICLES, Int_t _getVERTEX, Int_t _asciiOUTPUT, Int_t _writeINDEX, PChannel **_channel, Int_t _nCahnnel)
void SetBranchHeader (Int_t _subcnt, Int_t _branchNum, const char *_branchName)
virtual bool WriteEventHeader (void)
virtual bool WriteBranchHeader (void)
const char * GetFilename ()
Public Member Functions inherited from PBulkInterface
 PBulkInterface ()
virtual bool Modify (PParticle **array, int *decay_done, int *num, int maxnum)
void SetWeight (Double_t c)
Double_t GetWeight (void)
void SetPriority (Int_t p)
Int_t GetPriority ()
void SetTree (TTree *my_tree)
TTree * GetTree (void)
void SetSizeBranches (Int_t *my_size_branches)
void SetKeysBranches (Int_t *my_key_branches)
void SetBranchNum (Int_t i, Int_t *my_size)
void SetBranchArray (Int_t i, PParticle **my_particle)
Int_t * GetSizeBranches ()
Int_t * GetKeysBranches ()
Int_t * GetBranchNum (Int_t i)
PParticle ** GetBranchArray (Int_t i)

Protected Attributes

FILE * fp
Protected Attributes inherited from PFileOutput
Int_t cnt
Int_t subcnt
 number of total particles in event
Int_t getVERTEX
 number of particles in branch
Int_t writeINDEX
 transport getVERTEX switch from PReaction
Int_t allPARTICLES
 transport writeINDEX switch from PReaction
Int_t asciiOUTPUT
 transport allPARTICLES switch from PReaction
PChannel ** channel
 transport asciiOUTPUT switch from PReaction
Int_t nChannel
 transport channel array from PReaction
Int_t branchNum
 transport number of channels in array
const char * branchName
 Branch number, 0:std branch, >0:additional branches.
const char * filename
 Branch name.
Protected Attributes inherited from PBulkInterface
Double_t current_weight
Int_t bulk_id
Int_t fPriority
TTree * tree
Int_t * size_branches
Int_t * key_branches
Int_t * current_size_branches [MAX_NUM_BRANCHES]
PParticle ** particle_array_branches [MAX_NUM_BRANCHES]

Detailed Description

Definition at line 11 of file PDebugFileOutput.h.

Constructor & Destructor Documentation

◆ PDebugFileOutput()

PDebugFileOutput::PDebugFileOutput ( )

◆ ~PDebugFileOutput()

PDebugFileOutput::~PDebugFileOutput ( )

Member Function Documentation

◆ CloseFile()

bool PDebugFileOutput::CloseFile ( void )
virtual

Reimplemented from PFileOutput.

◆ OpenFile() [1/2]

bool PDebugFileOutput::OpenFile ( char * filename)

◆ OpenFile() [2/2]

virtual bool PFileOutput::OpenFile ( const char * _filename)
virtual

Reimplemented from PFileOutput.

◆ WriteEvent()

bool PDebugFileOutput::WriteEvent ( void )
virtual

Reimplemented from PFileOutput.

◆ WriteParticle()

bool PDebugFileOutput::WriteParticle ( PParticle * par)
virtual

Reimplemented from PFileOutput.

Member Data Documentation

◆ fp

FILE* PDebugFileOutput::fp
protected

Definition at line 16 of file PDebugFileOutput.h.


The documentation for this class was generated from the following file: