/Users/brown170/Projects/Current/coral_msu_repo/trunk/src/coral/OSCAR/oscar.cc File Reference

#include "oscar.h"
#include "constants.h"
#include "misc.h"
#include "message.h"
#include <fstream>

Include dependency graph for oscar.cc:

Go to the source code of this file.

Functions

vector< COSCARLinereadOSCARFile (string oscarFile)
 reads in OSCAR formatted file of last interactions phase-space points and stores them in a vector
vector< COSCARLinefilterPID (vector< COSCARLine > lines, int pid)
 removes all particles from a vector of particles which don't have particle ID's that match that requested
CSourceFtn1dHisto getOSCARSource1d (vector< COSCARLine > lines, parameterMap p)
 takes the particles from a vector of OSCAR-type particles and forms the 1d (angle-averaged) two-particle imaged source function
CSourceFtn3dHisto getOSCARSource3d (vector< COSCARLine > lines, parameterMap p)
 takes the particles from a vector of OSCAR-type particles and forms the 3d two-particle imaged source function
istream & operator>> (istream &i, COSCARLine &line)
 read OSCAR formatted particles from a stream


Function Documentation

vector<COSCARLine> filterPID ( vector< COSCARLine lines,
int  pid 
)

removes all particles from a vector of particles which don't have particle ID's that match that requested

Definition at line 41 of file oscar.cc.

CSourceFtn1dHisto getOSCARSource1d ( vector< COSCARLine lines,
parameterMap  p 
)

takes the particles from a vector of OSCAR-type particles and forms the 1d (angle-averaged) two-particle imaged source function

Definition at line 50 of file oscar.cc.

CSourceFtn3dHisto getOSCARSource3d ( vector< COSCARLine lines,
parameterMap  p 
)

takes the particles from a vector of OSCAR-type particles and forms the 3d two-particle imaged source function

Definition at line 131 of file oscar.cc.

istream& operator>> ( istream &  i,
COSCARLine line 
)

read OSCAR formatted particles from a stream

Definition at line 235 of file oscar.cc.

vector<COSCARLine> readOSCARFile ( string  oscarFile  ) 

reads in OSCAR formatted file of last interactions phase-space points and stores them in a vector

Definition at line 9 of file oscar.cc.


Generated on Fri Feb 6 13:30:16 2009 for CorAL by  doxygen 1.5.8