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

#include <PFileInput.h>

Inheritance diagram for PFileInput:
PParticle

Public Member Functions

 PFileInput (Char_t *mode, Char_t *filename)
 event header flag
void setToMidrapidity (float agev)
Int_t IsFileInput ()
Int_t readEventHeader (Float_t &b)
Int_t readParticle (Double_t &px, Double_t &py, Double_t &pz, Double_t &E, Double_t &vx, Double_t &vy, Double_t &vz, Double_t &vt, Int_t &Id, Int_t &srcId, Int_t &parId, Int_t &parInd, Double_t &weight)
PChannel * makeChannel (Int_t nMax, Float_t Ebeam=0.)
virtual void Print (const Option_t *delme=NULL) const
virtual ~PFileInput ()
Public Member Functions inherited from PParticle
 PParticle (Int_t id=0, Double_t T=0., Double_t w=1.)
 PParticle (const char *, Double_t T=0., Double_t w=1.)
 PParticle (Int_t, Double_t, Double_t, Double_t, Double_t m=0., Double_t w=1.)
 PParticle (const char *, Double_t, Double_t, Double_t, Double_t m=0., Double_t w=1.)
 PParticle (Int_t, const TVector3 &, Double_t m=0., Double_t w=1.)
 PParticle (Int_t, Double_t *, Double_t w=1.)
 PParticle (Int_t, float *, Double_t w=1.)
 PParticle (const PParticle &)
 PParticle (const PParticle *)
virtual ~PParticle ()
Int_t Is (const char *id)
Int_t is (const char *id)
Int_t HasID (const Int_t id)
Int_t HasNotID (const Int_t id)
Int_t size ()
Int_t IsNucleon ()
Int_t IsDelta ()
Int_t IsPi ()
Int_t IsRho ()
Int_t ID () const
const char * Name ()
void SetSpectator (Int_t s)
Int_t IsSpectator ()
void SetID (const Int_t id)
Double_t W () const
void SetW (Double_t w=1.)
void SetMultiplicity (Double_t w=1.)
Double_t GetMultiplicity ()
Double_t GenW () const
void SetGenW (Double_t w=1.)
Double_t InvGenW () const
void SetInvGenW (Double_t w=1.)
virtual Double_t KE () const
void SetKE (Double_t T=0.)
void SetM (Double_t m=0.)
void SetMom (Double_t mom=0.)
void ResetE ()
Double_t Life (Double_t m=0., Int_t idx=-1)
TLorentzVector Vect4 () const
void SetVect4 (const TLorentzVector &v)
Int_t IsMeson () const
Int_t IsHadron () const
Int_t BaryonN () const
Int_t LeptonN () const
Int_t Charge () const
Int_t Key () const
void Reset (const Int_t id, const TLorentzVector &v, const Double_t w=1.)
virtual Int_t IsFireball ()
virtual Int_t IsDilepton ()
void Reset (const Int_t id=0, const Double_t px=0., const Double_t py=0., const Double_t pz=0., const Double_t e=0., const Double_t w=1.)
void Reset (const PParticle &p)
PParticle * Clone (const char *delme=NULL) const
bool SetValue (Int_t id, Double_t val)
bool SetValue (Int_t id)
bool GetValue (Int_t id, Double_t *val)
Int_t GetDBInt (char *name)
Double_t GetDBDouble (char *name)
char GetDBString (char *name) const
void SetStatus (Int_t st)
Int_t GetStatus ()
Double_t InvariantT (Double_t m3, Double_t m4, Double_t cos_th_cm)
PParticle operator+ (const PParticle &b) const
void Scatter (PParticle *p1, PParticle *p2)
PParticle operator- (const PParticle &b) const
void Reconstruct (void)
PParticle & operator+= (const PParticle &)
PParticle & operator-= (const PParticle &)
PParticle & operator= (const PParticle &)
PParticle & operator*= (const TRotation &)
PParticle & operator*= (const TLorentzRotation &)
PParticle & Transform (const TRotation &)
PParticle & Transform (const TLorentzRotation &)
PParticle & AddTmp (const PParticle &p)
PParticle & SubTmp (const PParticle &p)
void Print (const Option_t *delme=NULL) const
void SetParentId (Int_t pId)
void SetSourceId (Int_t sId)
Int_t GetParentId () const
Int_t GetSourceId () const
Int_t getSourceId () const
void SetParentIndex (Int_t pInd)
Int_t GetParentIndex () const
void SetDecayModeIndex (Int_t pInd, Int_t i=0)
Int_t GetDecayModeIndex (Int_t opt=0) const
void SetDaughterIndex (Int_t dInd)
Int_t GetDaughterIndex () const
void SetSiblingIndex (Int_t sInd)
Int_t GetSiblingIndex () const
void SetIndex (Int_t Ind)
Int_t GetIndex () const
Bool_t IsActive () const
void SetActive ()
void SetInActive ()
void SetProperTime ()
void SetProperTime (Double_t t)
Double_t GetProperTime () const
void SetVertex (Double_t x, Double_t y, Double_t z, Double_t t)
void SetVertex (Double_t x, Double_t y, Double_t z)
void SetVertex (TVector3 &v, Double_t t)
TVector3 & GetVertex ()
TVector3 & getVertex ()
Double_t X () const
Double_t Y () const
Double_t Z () const
Double_t R () const
Double_t T () const
void SetT (Double_t time)
void SetInput (PParticle *p)
PParticle * GetInput ()
void SetParent (PParticle *p)
PParticle * GetParent ()
void SetSibling (PParticle *p)
PParticle * GetSibling ()
void ResetDaughters (void)
void SetDaughter (PParticle *d)
PParticle * GetDaughter (int i)
PParticle * GetScattering (Int_t i)
PParticle * GetBeam (void)
PParticle * GetTarget (void)
void addDebugString (char *s)
void clearDebugString ()
TString * GetDebugString ()
Int_t GetScatterClone (void)
void SetScatterClone (Int_t t)
Double_t Sample ()
 Helper for PReaction.

Protected Attributes

Int_t imode
Char_t * name
Char_t * file
 input generator name
PParticle ** part
 input file name
FILE * fp
 array of particle pointers
Int_t flag
 input file pointer
Protected Attributes inherited from PParticle
Int_t pid
Int_t sourceId
Int_t parentId
Int_t parentIndex
Int_t decayModeIndex
Int_t destroyDecayModeIndex
Int_t daughterIndex
Int_t siblingIndex
Int_t spectator
Double_t decayTime
 flag that forces particle to be treated as spectator
Double_t wt
Double_t genwt
Double_t invgenwt
 generator weight
Double_t mult
 inverted generator weight
TVector3 fV
 multiplicity
Double_t fT
Bool_t active
Int_t index
 internal activity flag
PParticle * pParticle
 index in particle array
PParticle * qParticle1
 pointer to particle object
PParticle * qParticle2
PParticle * sParticle
PParticle * daughters [MAX_DAUGHTERS+1]
 pointer to particle object
TString debug
 pointer to daughter array
PValues * values
 debug string
Int_t status
 pointer to value container
Bool_t make_new_qParticle
 status of parent particle in PChannel::Decay

Additional Inherited Members

Public Attributes inherited from PParticle
Double_t weight_divisor
Protected Member Functions inherited from PParticle
void defaults (void)

Detailed Description

Definition at line 12 of file PFileInput.h.

Constructor & Destructor Documentation

◆ PFileInput()

PFileInput::PFileInput ( Char_t * mode,
Char_t * filename )

event header flag

◆ ~PFileInput()

virtual PFileInput::~PFileInput ( )
inlinevirtual

Definition at line 37 of file PFileInput.h.

Member Function Documentation

◆ IsFileInput()

Int_t PFileInput::IsFileInput ( )
inlinevirtual

Reimplemented from PParticle.

Definition at line 28 of file PFileInput.h.

◆ makeChannel()

PChannel * PFileInput::makeChannel ( Int_t nMax,
Float_t Ebeam = 0. )

◆ Print()

virtual void PFileInput::Print ( const Option_t * delme = NULL) const
virtual

◆ readEventHeader()

Int_t PFileInput::readEventHeader ( Float_t & b)

◆ readParticle()

Int_t PFileInput::readParticle ( Double_t & px,
Double_t & py,
Double_t & pz,
Double_t & E,
Double_t & vx,
Double_t & vy,
Double_t & vz,
Double_t & vt,
Int_t & Id,
Int_t & srcId,
Int_t & parId,
Int_t & parInd,
Double_t & weight )

◆ setToMidrapidity()

void PFileInput::setToMidrapidity ( float agev)

Member Data Documentation

◆ file

Char_t* PFileInput::file
protected

input generator name

Definition at line 19 of file PFileInput.h.

◆ flag

Int_t PFileInput::flag
protected

input file pointer

Definition at line 22 of file PFileInput.h.

◆ fp

FILE* PFileInput::fp
protected

array of particle pointers

Definition at line 21 of file PFileInput.h.

◆ imode

Int_t PFileInput::imode
protected

Definition at line 17 of file PFileInput.h.

◆ name

Char_t* PFileInput::name
protected

Definition at line 18 of file PFileInput.h.

◆ part

PParticle** PFileInput::part
protected

input file name

Definition at line 20 of file PFileInput.h.


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