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

#include <PFileOutput.h>

Inheritance diagram for PFileOutput:
PBulkInterface PDebugFileOutput PHGeantOutput

Public Member Functions

 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 OpenFile (const char *_filename)
virtual bool CloseFile (void)
virtual bool WriteEvent (void)
virtual bool WriteEventHeader (void)
virtual bool WriteBranchHeader (void)
virtual bool WriteParticle (PParticle *par)
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

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 13 of file PFileOutput.h.

Constructor & Destructor Documentation

◆ PFileOutput()

PFileOutput::PFileOutput ( )

Member Function Documentation

◆ CloseFile()

virtual bool PFileOutput::CloseFile ( void )
virtual

Reimplemented in PDebugFileOutput, and PHGeantOutput.

◆ GetFilename()

const char * PFileOutput::GetFilename ( )
inline

Definition at line 68 of file PFileOutput.h.

◆ OpenFile()

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

Reimplemented in PDebugFileOutput, and PHGeantOutput.

◆ SetBranchHeader()

void PFileOutput::SetBranchHeader ( Int_t _subcnt,
Int_t _branchNum,
const char * _branchName )
inline

Definition at line 55 of file PFileOutput.h.

◆ SetHeader()

void PFileOutput::SetHeader ( Int_t _cnt,
Int_t _allPARTICLES,
Int_t _getVERTEX,
Int_t _asciiOUTPUT,
Int_t _writeINDEX,
PChannel ** _channel,
Int_t _nCahnnel )
inline

Definition at line 36 of file PFileOutput.h.

◆ WriteBranchHeader()

virtual bool PFileOutput::WriteBranchHeader ( void )
virtual

◆ WriteEvent()

virtual bool PFileOutput::WriteEvent ( void )
virtual

Reimplemented in PDebugFileOutput.

◆ WriteEventHeader()

virtual bool PFileOutput::WriteEventHeader ( void )
virtual

Reimplemented in PHGeantOutput.

◆ WriteParticle()

virtual bool PFileOutput::WriteParticle ( PParticle * par)
virtual

Reimplemented in PDebugFileOutput, and PHGeantOutput.

Member Data Documentation

◆ allPARTICLES

Int_t PFileOutput::allPARTICLES
protected

transport writeINDEX switch from PReaction

Definition at line 23 of file PFileOutput.h.

◆ asciiOUTPUT

Int_t PFileOutput::asciiOUTPUT
protected

transport allPARTICLES switch from PReaction

Definition at line 24 of file PFileOutput.h.

◆ branchName

const char* PFileOutput::branchName
protected

Branch number, 0:std branch, >0:additional branches.

Definition at line 29 of file PFileOutput.h.

◆ branchNum

Int_t PFileOutput::branchNum
protected

transport number of channels in array

Definition at line 28 of file PFileOutput.h.

◆ channel

PChannel** PFileOutput::channel
protected

transport asciiOUTPUT switch from PReaction

Definition at line 25 of file PFileOutput.h.

◆ cnt

Int_t PFileOutput::cnt
protected

Definition at line 19 of file PFileOutput.h.

◆ filename

const char* PFileOutput::filename
protected

Branch name.

Definition at line 31 of file PFileOutput.h.

◆ getVERTEX

Int_t PFileOutput::getVERTEX
protected

number of particles in branch

Definition at line 21 of file PFileOutput.h.

◆ nChannel

Int_t PFileOutput::nChannel
protected

transport channel array from PReaction

Definition at line 26 of file PFileOutput.h.

◆ subcnt

Int_t PFileOutput::subcnt
protected

number of total particles in event

Definition at line 20 of file PFileOutput.h.

◆ writeINDEX

Int_t PFileOutput::writeINDEX
protected

transport getVERTEX switch from PReaction

Definition at line 22 of file PFileOutput.h.


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