evtgen is hosted by Hepforge, IPPP Durham
EvtGen  2.0.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.

#include <EvtGenBase/EvtMultiChannelParser.hh>

Public Member Functions

 EvtMultiChannelParser ()
 
 ~EvtMultiChannelParser ()
 
void parse (const char *file, const char *model)
 
void parse (const std::vector< std::string > &v)
 
double pdfMax () const
 
int nScan () const
 
double dm () const
 
double mixPhase () const
 
double mixAmpli () const
 
std::vector< std::string > amp (int i) const
 
std::vector< std::string > ampConj (int i) const
 
EvtComplex ampCoef (int i) const
 
EvtComplex ampConjCoef (int i) const
 
int coefFormat (int i) const
 
int coefConjFormat (int i) const
 
int getNAmp () const
 
int getNAmpConj () const
 

Static Public Member Functions

static EvtDecayMode getDecayMode (const char *file)
 
static void parseComplexCoef (size_t &i, const std::vector< std::string > &v, EvtComplex &c, int &format)
 
static double parseRealCoef (int &i, const std::vector< std::string > &v)
 
static bool isKeyword (const std::string &s)
 

Private Attributes

double _pdfMax
 
int _nScan
 
double _dm
 
double _mixPhase
 
double _mixAmpli
 
std::vector< std::vector< std::string > > _amp
 
std::vector< std::vector< std::string > > _ampConj
 
std::vector< EvtComplex_ampCoef
 
std::vector< int > _coefFormat
 
std::vector< EvtComplex_ampConjCoef
 
std::vector< int > _coefConjFormat
 

Detailed Description

Definition at line 40 of file EvtMultiChannelParser.hh.

Constructor & Destructor Documentation

◆ EvtMultiChannelParser()

EvtMultiChannelParser::EvtMultiChannelParser ( )
inline

Definition at line 42 of file EvtMultiChannelParser.hh.

◆ ~EvtMultiChannelParser()

EvtMultiChannelParser::~EvtMultiChannelParser ( )
inline

Definition at line 43 of file EvtMultiChannelParser.hh.

Member Function Documentation

◆ amp()

std::vector<std::string> EvtMultiChannelParser::amp ( int  i) const
inline

Definition at line 61 of file EvtMultiChannelParser.hh.

◆ ampCoef()

EvtComplex EvtMultiChannelParser::ampCoef ( int  i) const
inline

Definition at line 66 of file EvtMultiChannelParser.hh.

◆ ampConj()

std::vector<std::string> EvtMultiChannelParser::ampConj ( int  i) const
inline

Definition at line 62 of file EvtMultiChannelParser.hh.

◆ ampConjCoef()

EvtComplex EvtMultiChannelParser::ampConjCoef ( int  i) const
inline

Definition at line 67 of file EvtMultiChannelParser.hh.

◆ coefConjFormat()

int EvtMultiChannelParser::coefConjFormat ( int  i) const
inline

Definition at line 70 of file EvtMultiChannelParser.hh.

◆ coefFormat()

int EvtMultiChannelParser::coefFormat ( int  i) const
inline

Definition at line 69 of file EvtMultiChannelParser.hh.

◆ dm()

double EvtMultiChannelParser::dm ( ) const
inline

Definition at line 57 of file EvtMultiChannelParser.hh.

◆ getDecayMode()

EvtDecayMode EvtMultiChannelParser::getDecayMode ( const char *  file)
static

Definition at line 38 of file EvtMultiChannelParser.cpp.

◆ getNAmp()

int EvtMultiChannelParser::getNAmp ( ) const
inline

Definition at line 72 of file EvtMultiChannelParser.hh.

◆ getNAmpConj()

int EvtMultiChannelParser::getNAmpConj ( ) const
inline

Definition at line 73 of file EvtMultiChannelParser.hh.

◆ isKeyword()

bool EvtMultiChannelParser::isKeyword ( const std::string &  s)
static

Definition at line 250 of file EvtMultiChannelParser.cpp.

◆ mixAmpli()

double EvtMultiChannelParser::mixAmpli ( ) const
inline

Definition at line 59 of file EvtMultiChannelParser.hh.

◆ mixPhase()

double EvtMultiChannelParser::mixPhase ( ) const
inline

Definition at line 58 of file EvtMultiChannelParser.hh.

◆ nScan()

int EvtMultiChannelParser::nScan ( ) const
inline

Definition at line 56 of file EvtMultiChannelParser.hh.

◆ parse() [1/2]

void EvtMultiChannelParser::parse ( const char *  file,
const char *  model 
)

Definition at line 78 of file EvtMultiChannelParser.cpp.

◆ parse() [2/2]

void EvtMultiChannelParser::parse ( const std::vector< std::string > &  v)

Definition at line 121 of file EvtMultiChannelParser.cpp.

◆ parseComplexCoef()

void EvtMultiChannelParser::parseComplexCoef ( size_t &  i,
const std::vector< std::string > &  v,
EvtComplex c,
int &  format 
)
static

Definition at line 198 of file EvtMultiChannelParser.cpp.

◆ parseRealCoef()

double EvtMultiChannelParser::parseRealCoef ( int &  i,
const std::vector< std::string > &  v 
)
static

Definition at line 232 of file EvtMultiChannelParser.cpp.

◆ pdfMax()

double EvtMultiChannelParser::pdfMax ( ) const
inline

Definition at line 55 of file EvtMultiChannelParser.hh.

Member Data Documentation

◆ _amp

std::vector<std::vector<std::string> > EvtMultiChannelParser::_amp
private

Definition at line 82 of file EvtMultiChannelParser.hh.

◆ _ampCoef

std::vector<EvtComplex> EvtMultiChannelParser::_ampCoef
private

Definition at line 84 of file EvtMultiChannelParser.hh.

◆ _ampConj

std::vector<std::vector<std::string> > EvtMultiChannelParser::_ampConj
private

Definition at line 83 of file EvtMultiChannelParser.hh.

◆ _ampConjCoef

std::vector<EvtComplex> EvtMultiChannelParser::_ampConjCoef
private

Definition at line 86 of file EvtMultiChannelParser.hh.

◆ _coefConjFormat

std::vector<int> EvtMultiChannelParser::_coefConjFormat
private

Definition at line 87 of file EvtMultiChannelParser.hh.

◆ _coefFormat

std::vector<int> EvtMultiChannelParser::_coefFormat
private

Definition at line 85 of file EvtMultiChannelParser.hh.

◆ _dm

double EvtMultiChannelParser::_dm
private

Definition at line 78 of file EvtMultiChannelParser.hh.

◆ _mixAmpli

double EvtMultiChannelParser::_mixAmpli
private

Definition at line 80 of file EvtMultiChannelParser.hh.

◆ _mixPhase

double EvtMultiChannelParser::_mixPhase
private

Definition at line 79 of file EvtMultiChannelParser.hh.

◆ _nScan

int EvtMultiChannelParser::_nScan
private

Definition at line 77 of file EvtMultiChannelParser.hh.

◆ _pdfMax

double EvtMultiChannelParser::_pdfMax
private

Definition at line 76 of file EvtMultiChannelParser.hh.


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