14 #include "StHbtMaker/CorrFctn/ParityCorrFctn.h"
24 mParityEventCut = PEC;
28 ParityCorrFctn::~ParityCorrFctn(){
32 void ParityCorrFctn::Finish(){
37 StHbtString ParityCorrFctn::Report(){
38 string stemp =
"Parity Correlation Function Report:\n Hello there\n";
39 StHbtString returnThis = stemp;
43 void ParityCorrFctn::AddRealPair(
const StHbtPair* pair){
45 StHbtThreeVector CrossProd = pair->track1()->FourMomentum().vect().cross(pair->track2()->FourMomentum().vect());
46 mParityEventCut->RealQuantity += CrossProd.z();
47 mParityEventCut->nReals++;
50 void ParityCorrFctn::AddMixedPair(
const StHbtPair* pair){
51 StHbtThreeVector CrossProd = pair->track1()->FourMomentum().vect().cross(pair->track2()->FourMomentum().vect());
52 mParityEventCut->MixedQuantity += CrossProd.z();
53 mParityEventCut->nMixed++;