#include <oscar_accumulator.h>
Public Member Functions | |
COSCARAccumulator (void) | |
virtual | ~COSCARAccumulator (void) |
virtual bool | Read (const parameterMap &m) |
virtual bool | Write (parameterMap &m) |
void | filterParticles (vector< COSCARLine > plist) |
void | accumulatePairs (void) |
virtual bool | pairIsGood (const COSCARLine &p1, const COSCARLine &p2)=0 |
virtual bool | addOnePair (const COSCARLine &p1, const COSCARLine &p2)=0 |
virtual bool | postProcessPairs (void)=0 |
bool | likePair (void) |
void | setCOMVariables (const COSCARLine &p1, const COSCARLine &p2) |
void | getSideOutLong (double *inVec, double *outVec) |
Public Attributes | |
int | pid1 |
int | pid2 |
int | max_number_pairs |
int | totalPairs |
vector< COSCARLine > | particleList1 |
vector< COSCARLine > | particleList2 |
Protected Attributes | |
int | iSide |
int | iOut |
In a 3-vector, this is index corresponding to sideward direction. | |
int | iLong |
In a 3-vector, this is index corresponding to outward direction. | |
double | S [3] |
In a 3-vector, this is index corresponding to longitudinal direction. | |
double | O [3] |
Unit vector in sideward direction. | |
double | L [3] |
Unit vector in outward direction. | |
double | q_lab [4] |
Unit vector in longitudinal direction (set in constructor). | |
double | q_cm [4] |
Relative 4-momentum ![]() | |
double | P_lab [4] |
Relative 4-momentum ![]() | |
double | beta [4] |
Total pair momentum ![]() | |
double | r_lab [4] |
Boost 4-velocity from lab to COM frame. | |
double | r_cm [4] |
Space-time separation, ![]() | |
double | sqr_q_cm |
Space-time separation, ![]() | |
double | rinv |
![]() | |
double | qinv |
![]() |
Definition at line 7 of file oscar_accumulator.h.
COSCARAccumulator::COSCARAccumulator | ( | void | ) | [inline] |
Definition at line 11 of file oscar_accumulator.h.
virtual COSCARAccumulator::~COSCARAccumulator | ( | void | ) | [inline, virtual] |
Definition at line 15 of file oscar_accumulator.h.
void COSCARAccumulator::accumulatePairs | ( | void | ) |
Definition at line 45 of file oscar_accumulator.cc.
virtual bool COSCARAccumulator::addOnePair | ( | const COSCARLine & | p1, | |
const COSCARLine & | p2 | |||
) | [pure virtual] |
void COSCARAccumulator::filterParticles | ( | vector< COSCARLine > | plist | ) |
Definition at line 28 of file oscar_accumulator.cc.
void COSCARAccumulator::getSideOutLong | ( | double * | inVec, | |
double * | outVec | |||
) |
Definition at line 77 of file oscar_accumulator.cc.
bool COSCARAccumulator::likePair | ( | void | ) |
Definition at line 74 of file oscar_accumulator.cc.
virtual bool COSCARAccumulator::pairIsGood | ( | const COSCARLine & | p1, | |
const COSCARLine & | p2 | |||
) | [pure virtual] |
Implemented in COSCARCorrelationGeneratorBase, and COSCARSourceGeneratorBase.
virtual bool COSCARAccumulator::postProcessPairs | ( | void | ) | [pure virtual] |
bool COSCARAccumulator::Read | ( | const parameterMap & | m | ) | [virtual] |
Reimplemented in COSCARCorrelationGenerator3dCart, COSCARCorrelationGeneratorBase, COSCARSourceGenerator3dCart, COSCARSourceGenerator3dSphr, and COSCARSourceGeneratorBase.
Definition at line 5 of file oscar_accumulator.cc.
void COSCARAccumulator::setCOMVariables | ( | const COSCARLine & | p1, | |
const COSCARLine & | p2 | |||
) |
Definition at line 101 of file oscar_accumulator.cc.
bool COSCARAccumulator::Write | ( | parameterMap & | m | ) | [virtual] |
Reimplemented in COSCARCorrelationGenerator3dCart, COSCARCorrelationGeneratorBase, COSCARSourceGenerator3dCart, COSCARSourceGenerator3dSphr, and COSCARSourceGeneratorBase.
Definition at line 17 of file oscar_accumulator.cc.
double COSCARAccumulator::beta[4] [protected] |
int COSCARAccumulator::iLong [protected] |
In a 3-vector, this is index corresponding to outward direction.
Definition at line 37 of file oscar_accumulator.h.
int COSCARAccumulator::iOut [protected] |
In a 3-vector, this is index corresponding to sideward direction.
Definition at line 36 of file oscar_accumulator.h.
int COSCARAccumulator::iSide [protected] |
Definition at line 35 of file oscar_accumulator.h.
double COSCARAccumulator::L[3] [protected] |
Definition at line 30 of file oscar_accumulator.h.
double COSCARAccumulator::O[3] [protected] |
double COSCARAccumulator::P_lab[4] [protected] |
vector< COSCARLine > COSCARAccumulator::particleList1 |
Definition at line 31 of file oscar_accumulator.h.
vector< COSCARLine > COSCARAccumulator::particleList2 |
Definition at line 31 of file oscar_accumulator.h.
Definition at line 30 of file oscar_accumulator.h.
Definition at line 30 of file oscar_accumulator.h.
double COSCARAccumulator::q_cm[4] [protected] |
double COSCARAccumulator::q_lab[4] [protected] |
Unit vector in longitudinal direction (set in constructor).
Definition at line 41 of file oscar_accumulator.h.
double COSCARAccumulator::qinv [protected] |
double COSCARAccumulator::r_cm[4] [protected] |
Space-time separation, , of pair emission in lab frame.
Definition at line 46 of file oscar_accumulator.h.
double COSCARAccumulator::r_lab[4] [protected] |
double COSCARAccumulator::rinv [protected] |
double COSCARAccumulator::S[3] [protected] |
In a 3-vector, this is index corresponding to longitudinal direction.
Definition at line 38 of file oscar_accumulator.h.
double COSCARAccumulator::sqr_q_cm [protected] |
Space-time separation, , of pair emission in COM frame.
Definition at line 47 of file oscar_accumulator.h.
Definition at line 30 of file oscar_accumulator.h.