BOSS 7.1.0
BESIII Offline Software System
Loading...
Searching...
No Matches
QCMCFilter.cxx File Reference
#include "QCMCFilterAlg/QCMCFilter.h"
#include "QCMCFilterAlg/Dalitz.h"
#include "QCMCFilterAlg/D0To2pip2pim.h"
#include "QCMCFilterAlg/D0Topippim2pi0.h"
#include "QCMCFilterAlg/D0ToKSpipipi0.h"
#include "QCMCFilterAlg/D0ToKSpipi.h"
#include "QCMCFilterAlg/D0ToKLpipi.h"
#include "QCMCFilterAlg/D0ToKLpipi2018.h"
#include "QCMCFilterAlg/D0ToKSpipi2018.h"
#include "QCMCFilterAlg/D0ToKKpipi.h"
#include "QCMCFilterAlg/D0TopiKpipi.h"
#include "QCMCFilterAlg/D0ToKpipipiLHCb.h"
#include "GaudiKernel/MsgStream.h"
#include "GaudiKernel/AlgFactory.h"
#include "GaudiKernel/ISvcLocator.h"
#include "GaudiKernel/SmartDataPtr.h"
#include "GaudiKernel/IDataProviderSvc.h"
#include "GaudiKernel/PropertyMgr.h"
#include "GaudiKernel/Bootstrap.h"
#include "GaudiKernel/RegistryEntry.h"
#include "TMath.h"
#include <cmath>
#include "HepPDT/ParticleDataTable.hh"
#include "HepPDT/ParticleData.hh"
#include "GaudiKernel/IPartPropSvc.h"
#include "McTruth/McParticle.h"
#include "McTruth/MdcMcHit.h"
#include "EventModel/EventModel.h"
#include "EventModel/Event.h"
#include "EventModel/EventHeader.h"
#include "EvtGenBase/EvtComplex.hh"
#include "EvtGenBase/EvtVector4R.hh"
#include "EvtRecEvent/EvtRecEvent.h"
#include "CLHEP/Random/RandFlat.h"
#include "CLHEP/Matrix/Vector.h"
#include "CLHEP/Matrix/Matrix.h"
#include "CLHEP/Matrix/SymMatrix.h"
#include "CLHEP/Vector/ThreeVector.h"
#include "CLHEP/Vector/LorentzVector.h"
#include "CLHEP/Vector/TwoVector.h"
#include <vector>
#include <complex>

Go to the source code of this file.

Functions

HepSymMatrix m_weights (18, 0)
 
HepMatrix m_modeCounter (19, 19, 0)
 
HepMatrix m_keptModeCounter (19, 19, 0)
 

Variables

const double xmpi0 = 0.134976
 
const double xmeta = 0.54784
 
const double xmkaon = 0.49368
 
const double xmpion = 0.13957
 
const double xmk0 = 0.49761
 
const double xmrho = 0.77549
 
const double xmd0 = 1.86484
 
const double PI = 3.1415926
 
int m_nUnknownEvents = 0
 
int m_nUnknownDecays = 0
 
int m_nD0D0barEvents = 0
 
int m_nD0bar = 0
 
int m_nDpDmEvents = 0
 
int m_nD0D0barDiscarded = 0
 
int m_nDpDmDiscarded = 0
 
int m_nCPPlus = 0
 
int m_nCPMinus = 0
 
int m_nFlavoredCFD0_0 = 0
 
int m_nFlavoredCFD0_1 = 0
 
int m_nFlavoredCFD0_3 = 0
 
int m_nFlavoredCSD0 = 0
 
int m_nFlavoredDCSD0_0 = 0
 
int m_nFlavoredDCSD0_1 = 0
 
int m_nFlavoredDCSD0_3 = 0
 
int m_nSL = 0
 
int m_nDalitz = 0
 
int m_n2Pip2Pim = 0
 
int m_nPipPim2Pi0 = 0
 
int m_nK0PiPiPi0 = 0
 
int m_nKKPiPi = 0
 
double m_dalitzNumer1 = 0
 
double m_dalitzNumer2 = 0
 
double m_dalitzDenom = 0
 
double dalitzNumer1_fil = 0
 
double dalitzNumer2_fil = 0
 
double dalitzDenom_fil = 0
 
double m_2Pip2PimNumer1 = 0
 
double m_2Pip2PimNumer2 = 0
 
double m_2Pip2PimDenom = 0
 
double Pip2Pim2Numer1_fil = 0
 
double Pip2Pim2Numer2_fil = 0
 
double Pip2Pim2Denom_fil = 0
 
double m_PipPim2Pi0Numer1 = 0
 
double m_PipPim2Pi0Numer2 = 0
 
double m_PipPim2Pi0Denom = 0
 
double PipPim2Pi0Numer1_fil = 0
 
double PipPim2Pi0Numer2_fil = 0
 
double PipPim2Pi0Denom_fil = 0
 
double m_KSPiPiPi0Numer1 = 0
 
double m_KSPiPiPi0Numer2 = 0
 
double m_KSPiPiPi0Denom = 0
 
double KSPiPiPi0Numer1_fil = 0
 
double KSPiPiPi0Numer2_fil = 0
 
double KSPiPiPi0Denom_fil = 0
 
double m_rwsCF =0.
 
double m_rwsCF_0 =0.
 
double m_rwsCF_1 =0.
 
double m_rwsCF_3 =0.
 
double m_rwsCS =0.
 
double m_deltaCF =0.
 
double m_deltaCF_0 =0.
 
double m_deltaCF_1 =0.
 
double m_deltaCF_3 =0.
 
double m_deltaCS =0.
 
int m_rho_flag
 

Function Documentation

◆ m_keptModeCounter()

HepMatrix m_keptModeCounter ( 19  ,
19  ,
 
)

◆ m_modeCounter()

HepMatrix m_modeCounter ( 19  ,
19  ,
 
)

Referenced by QCMCFilter::execute().

◆ m_weights()

Variable Documentation

◆ dalitzDenom_fil

double dalitzDenom_fil = 0

Definition at line 197 of file QCMCFilter.cxx.

◆ dalitzNumer1_fil

double dalitzNumer1_fil = 0

Definition at line 195 of file QCMCFilter.cxx.

◆ dalitzNumer2_fil

double dalitzNumer2_fil = 0

Definition at line 196 of file QCMCFilter.cxx.

◆ KSPiPiPi0Denom_fil

double KSPiPiPi0Denom_fil = 0

Definition at line 215 of file QCMCFilter.cxx.

◆ KSPiPiPi0Numer1_fil

double KSPiPiPi0Numer1_fil = 0

Definition at line 213 of file QCMCFilter.cxx.

◆ KSPiPiPi0Numer2_fil

double KSPiPiPi0Numer2_fil = 0

Definition at line 214 of file QCMCFilter.cxx.

◆ m_2Pip2PimDenom

double m_2Pip2PimDenom = 0

Definition at line 200 of file QCMCFilter.cxx.

Referenced by QCMCFilter::findD0Decay().

◆ m_2Pip2PimNumer1

double m_2Pip2PimNumer1 = 0

Definition at line 198 of file QCMCFilter.cxx.

Referenced by QCMCFilter::findD0Decay().

◆ m_2Pip2PimNumer2

double m_2Pip2PimNumer2 = 0

Definition at line 199 of file QCMCFilter.cxx.

Referenced by QCMCFilter::findD0Decay().

◆ m_dalitzDenom

double m_dalitzDenom = 0

Definition at line 194 of file QCMCFilter.cxx.

Referenced by QCMCFilter::findD0Decay().

◆ m_dalitzNumer1

double m_dalitzNumer1 = 0

Definition at line 192 of file QCMCFilter.cxx.

Referenced by QCMCFilter::findD0Decay().

◆ m_dalitzNumer2

double m_dalitzNumer2 = 0

Definition at line 193 of file QCMCFilter.cxx.

Referenced by QCMCFilter::findD0Decay().

◆ m_deltaCF

double m_deltaCF =0.

Definition at line 222 of file QCMCFilter.cxx.

Referenced by QCMCFilter::initialize().

◆ m_deltaCF_0

double m_deltaCF_0 =0.

Definition at line 223 of file QCMCFilter.cxx.

Referenced by QCMCFilter::findD0Decay(), and QCMCFilter::initialize().

◆ m_deltaCF_1

double m_deltaCF_1 =0.

Definition at line 224 of file QCMCFilter.cxx.

Referenced by QCMCFilter::findD0Decay(), and QCMCFilter::initialize().

◆ m_deltaCF_3

double m_deltaCF_3 =0.

Definition at line 225 of file QCMCFilter.cxx.

Referenced by QCMCFilter::initialize().

◆ m_deltaCS

double m_deltaCS =0.

Definition at line 226 of file QCMCFilter.cxx.

Referenced by QCMCFilter::findD0Decay(), and QCMCFilter::initialize().

◆ m_KSPiPiPi0Denom

double m_KSPiPiPi0Denom = 0

Definition at line 212 of file QCMCFilter.cxx.

Referenced by QCMCFilter::findD0Decay().

◆ m_KSPiPiPi0Numer1

double m_KSPiPiPi0Numer1 = 0

Definition at line 210 of file QCMCFilter.cxx.

Referenced by QCMCFilter::findD0Decay().

◆ m_KSPiPiPi0Numer2

double m_KSPiPiPi0Numer2 = 0

Definition at line 211 of file QCMCFilter.cxx.

Referenced by QCMCFilter::findD0Decay().

◆ m_n2Pip2Pim

int m_n2Pip2Pim = 0

Definition at line 188 of file QCMCFilter.cxx.

Referenced by QCMCFilter::findD0Decay().

◆ m_nCPMinus

int m_nCPMinus = 0

Definition at line 178 of file QCMCFilter.cxx.

Referenced by QCMCFilter::findD0Decay().

◆ m_nCPPlus

int m_nCPPlus = 0

Definition at line 177 of file QCMCFilter.cxx.

Referenced by QCMCFilter::findD0Decay().

◆ m_nD0bar

int m_nD0bar = 0

Definition at line 173 of file QCMCFilter.cxx.

Referenced by QCMCFilter::execute(), and QCMCFilter::finalize().

◆ m_nD0D0barDiscarded

int m_nD0D0barDiscarded = 0

Definition at line 175 of file QCMCFilter.cxx.

Referenced by QCMCFilter::execute(), and QCMCFilter::finalize().

◆ m_nD0D0barEvents

int m_nD0D0barEvents = 0

Definition at line 172 of file QCMCFilter.cxx.

Referenced by QCMCFilter::execute(), and QCMCFilter::finalize().

◆ m_nDalitz

int m_nDalitz = 0

Definition at line 187 of file QCMCFilter.cxx.

Referenced by QCMCFilter::findD0Decay().

◆ m_nDpDmDiscarded

int m_nDpDmDiscarded = 0

Definition at line 176 of file QCMCFilter.cxx.

Referenced by QCMCFilter::execute(), and QCMCFilter::finalize().

◆ m_nDpDmEvents

int m_nDpDmEvents = 0

Definition at line 174 of file QCMCFilter.cxx.

Referenced by QCMCFilter::execute(), and QCMCFilter::finalize().

◆ m_nFlavoredCFD0_0

int m_nFlavoredCFD0_0 = 0

Definition at line 179 of file QCMCFilter.cxx.

Referenced by QCMCFilter::findD0Decay().

◆ m_nFlavoredCFD0_1

int m_nFlavoredCFD0_1 = 0

Definition at line 180 of file QCMCFilter.cxx.

Referenced by QCMCFilter::findD0Decay().

◆ m_nFlavoredCFD0_3

int m_nFlavoredCFD0_3 = 0

Definition at line 181 of file QCMCFilter.cxx.

Referenced by QCMCFilter::findD0Decay().

◆ m_nFlavoredCSD0

int m_nFlavoredCSD0 = 0

Definition at line 182 of file QCMCFilter.cxx.

Referenced by QCMCFilter::findD0Decay().

◆ m_nFlavoredDCSD0_0

int m_nFlavoredDCSD0_0 = 0

Definition at line 183 of file QCMCFilter.cxx.

Referenced by QCMCFilter::findD0Decay().

◆ m_nFlavoredDCSD0_1

int m_nFlavoredDCSD0_1 = 0

Definition at line 184 of file QCMCFilter.cxx.

Referenced by QCMCFilter::findD0Decay().

◆ m_nFlavoredDCSD0_3

int m_nFlavoredDCSD0_3 = 0

Definition at line 185 of file QCMCFilter.cxx.

Referenced by QCMCFilter::findD0Decay().

◆ m_nK0PiPiPi0

int m_nK0PiPiPi0 = 0

Definition at line 190 of file QCMCFilter.cxx.

Referenced by QCMCFilter::findD0Decay().

◆ m_nKKPiPi

int m_nKKPiPi = 0

Definition at line 191 of file QCMCFilter.cxx.

Referenced by QCMCFilter::findD0Decay().

◆ m_nPipPim2Pi0

int m_nPipPim2Pi0 = 0

Definition at line 189 of file QCMCFilter.cxx.

Referenced by QCMCFilter::findD0Decay().

◆ m_nSL

int m_nSL = 0

Definition at line 186 of file QCMCFilter.cxx.

Referenced by QCMCFilter::findD0Decay().

◆ m_nUnknownDecays

int m_nUnknownDecays = 0

Definition at line 171 of file QCMCFilter.cxx.

◆ m_nUnknownEvents

int m_nUnknownEvents = 0

Definition at line 170 of file QCMCFilter.cxx.

Referenced by QCMCFilter::execute(), and QCMCFilter::finalize().

◆ m_PipPim2Pi0Denom

double m_PipPim2Pi0Denom = 0

Definition at line 206 of file QCMCFilter.cxx.

Referenced by QCMCFilter::findD0Decay().

◆ m_PipPim2Pi0Numer1

double m_PipPim2Pi0Numer1 = 0

Definition at line 204 of file QCMCFilter.cxx.

Referenced by QCMCFilter::findD0Decay().

◆ m_PipPim2Pi0Numer2

double m_PipPim2Pi0Numer2 = 0

Definition at line 205 of file QCMCFilter.cxx.

Referenced by QCMCFilter::findD0Decay().

◆ m_rho_flag

int m_rho_flag

Definition at line 230 of file QCMCFilter.cxx.

Referenced by QCMCFilter::execute().

◆ m_rwsCF

double m_rwsCF =0.

Definition at line 217 of file QCMCFilter.cxx.

◆ m_rwsCF_0

double m_rwsCF_0 =0.

Definition at line 218 of file QCMCFilter.cxx.

Referenced by QCMCFilter::findD0Decay(), and QCMCFilter::initialize().

◆ m_rwsCF_1

double m_rwsCF_1 =0.

Definition at line 219 of file QCMCFilter.cxx.

Referenced by QCMCFilter::initialize().

◆ m_rwsCF_3

double m_rwsCF_3 =0.

Definition at line 220 of file QCMCFilter.cxx.

Referenced by QCMCFilter::initialize().

◆ m_rwsCS

double m_rwsCS =0.

Definition at line 221 of file QCMCFilter.cxx.

Referenced by QCMCFilter::findD0Decay(), and QCMCFilter::initialize().

◆ PI

const double PI = 3.1415926

Definition at line 76 of file QCMCFilter.cxx.

◆ Pip2Pim2Denom_fil

double Pip2Pim2Denom_fil = 0

Definition at line 203 of file QCMCFilter.cxx.

◆ Pip2Pim2Numer1_fil

double Pip2Pim2Numer1_fil = 0

Definition at line 201 of file QCMCFilter.cxx.

◆ Pip2Pim2Numer2_fil

double Pip2Pim2Numer2_fil = 0

Definition at line 202 of file QCMCFilter.cxx.

◆ PipPim2Pi0Denom_fil

double PipPim2Pi0Denom_fil = 0

Definition at line 209 of file QCMCFilter.cxx.

◆ PipPim2Pi0Numer1_fil

double PipPim2Pi0Numer1_fil = 0

Definition at line 207 of file QCMCFilter.cxx.

◆ PipPim2Pi0Numer2_fil

double PipPim2Pi0Numer2_fil = 0

Definition at line 208 of file QCMCFilter.cxx.

◆ xmd0

const double xmd0 = 1.86484

Definition at line 74 of file QCMCFilter.cxx.

◆ xmeta

const double xmeta = 0.54784

Definition at line 69 of file QCMCFilter.cxx.

◆ xmk0

const double xmk0 = 0.49761

Definition at line 72 of file QCMCFilter.cxx.

Referenced by QCMCFilter::findD0Decay().

◆ xmkaon

const double xmkaon = 0.49368

Definition at line 70 of file QCMCFilter.cxx.

Referenced by QCMCFilter::findD0Decay().

◆ xmpi0

const double xmpi0 = 0.134976

Definition at line 68 of file QCMCFilter.cxx.

◆ xmpion

const double xmpion = 0.13957

Definition at line 71 of file QCMCFilter.cxx.

Referenced by QCMCFilter::findD0Decay().

◆ xmrho

const double xmrho = 0.77549

Definition at line 73 of file QCMCFilter.cxx.