ROOTPWA
|
#include <iostream>
#include "particle.h"
#include "wave.h"
#include "event.h"
#include "keyfile.h"
#include "massDep.h"
#include <stdio.h>
Go to the source code of this file.
Classes | |
union | YYSTYPE |
union | yyalloc |
Macros | |
#define | YYBISON 1 |
#define | YYSKELETON_NAME "yacc.c" |
#define | YYPURE 0 |
#define | YYLSP_NEEDED 0 |
#define | yyparse keyparse |
#define | yylex keylex |
#define | yyerror keyerror |
#define | yylval keylval |
#define | yychar keychar |
#define | yydebug keydebug |
#define | yynerrs keynerrs |
#define | YYTOKENTYPE |
#define | INT 258 |
#define | FLOAT 259 |
#define | COMPLEX 260 |
#define | SIGN 261 |
#define | STRING 262 |
#define | PARTICLENAME 263 |
#define | DEBUG 264 |
#define | CHANNEL 265 |
#define | MODE 266 |
#define | MASSDEP 267 |
#define | HELICITY 268 |
#define | stoi(x) strcmp((x),"+")?-1:1 |
#define | YYDEBUG 1 |
#define | YYERROR_VERBOSE 0 |
#define | yystype YYSTYPE /* obsolescent; will be withdrawn */ |
#define | YYSTYPE_IS_DECLARED 1 |
#define | YYSTYPE_IS_TRIVIAL 1 |
#define | YYFREE free |
#define | YYMALLOC malloc |
#define | YYSTACK_ALLOC YYMALLOC |
#define | YYSTACK_FREE YYFREE |
#define | YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) |
#define | YYSTACK_BYTES(N) |
#define | YYCOPY(To, From, Count) |
#define | YYSTACK_RELOCATE(Stack) |
#define | YYFINAL 2 |
#define | YYLAST 91 |
#define | YYNTOKENS 27 |
#define | YYNNTS 14 |
#define | YYNRULES 37 |
#define | YYNSTATES 89 |
#define | YYUNDEFTOK 2 |
#define | YYMAXUTOK 268 |
#define | YYTRANSLATE(YYX) ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
#define | YYPACT_NINF -24 |
#define | YYTABLE_NINF -1 |
#define | YYSIZE_T unsigned int |
#define | yyerrok (yyerrstatus = 0) |
#define | yyclearin (yychar = YYEMPTY) |
#define | YYEMPTY (-2) |
#define | YYEOF 0 |
#define | YYACCEPT goto yyacceptlab |
#define | YYABORT goto yyabortlab |
#define | YYERROR goto yyerrorlab |
#define | YYFAIL goto yyerrlab |
#define | YYRECOVERING() (!!yyerrstatus) |
#define | YYBACKUP(Token, Value) |
#define | YYTERROR 1 |
#define | YYERRCODE 256 |
#define | YYLLOC_DEFAULT(Current, Rhs, N) |
#define | YYLEX yylex () |
#define | YYFPRINTF fprintf |
#define | YYDPRINTF(Args) |
#define | YYDSYMPRINT(Args) |
#define | YYDSYMPRINTF(Title, Token, Value, Location) |
#define | YY_STACK_PRINT(Bottom, Top) |
#define | YY_REDUCE_PRINT(Rule) |
#define | YYINITDEPTH 200 |
#define | YYMAXDEPTH 10000 |
#define | YYPOPSTACK (yyvsp--, yyssp--) |
Typedefs | |
typedef union YYSTYPE | YYSTYPE |
typedef short int | yysigned_char |
Enumerations | |
enum | yytokentype { INT = 258, FLOAT = 259, COMPLEX = 260, SIGN = 261, STRING = 262, PARTICLENAME = 263, DEBUG = 264, CHANNEL = 265, MODE = 266, MASSDEP = 267, HELICITY = 268, INT = 258, FLOAT = 259, COMPLEX = 260, SIGN = 261, STRING = 262, PARTICLENAME = 263, DEBUG = 264, CHANNEL = 265, MODE = 266, MASSDEP = 267, HELICITY = 268 } |
Functions | |
int | yylex (void) |
void | yyerror (const char *s) |
static void | yy_stack_print (bottom, top) short int *bottom |
YYFPRINTF (stderr,"Stack now") | |
for (;bottom<=top;++bottom) YYFPRINTF(stderr | |
YYFPRINTF (stderr,"\n") | |
static void | yy_reduce_print (yyrule) int yyrule |
static void | yysymprint (yyoutput, yytype, yyvaluep) FILE *yyoutput |
int | yyparse (std::complex< double > &result) |
Variables | |
int | nwave |
int | debug = 0 |
string | mode |
int | lineno |
particleDataTable | PDGtable |
wave | gWave |
event | gEvent |
bool | gSuppressKeyParseOutput |
complex< double > | gAmplitude |
string | t_part_init |
particle * | t_part_final |
static const unsigned char | yytranslate [] |
static const unsigned char | yyprhs [] |
static const yysigned_char | yyrhs [] |
static const unsigned short int | yyrline [] |
static const char *const | yytname [] |
static const unsigned char | yyr1 [] |
static const unsigned char | yyr2 [] |
static const unsigned char | yydefact [] |
static const yysigned_char | yydefgoto [] |
static const yysigned_char | yypact [] |
static const yysigned_char | yypgoto [] |
static const unsigned char | yytable [] |
static const yysigned_char | yycheck [] |
static const unsigned char | yystos [] |
short int * | top |
d | |
* | bottom |
int | yytype |
YYSTYPE * | yyvaluep |
int | yychar |
YYSTYPE | yylval |
int | yynerrs |
#define CHANNEL 265 |
Definition at line 85 of file keyParse.cc.
#define COMPLEX 260 |
Definition at line 80 of file keyParse.cc.
#define DEBUG 264 |
Definition at line 84 of file keyParse.cc.
#define FLOAT 259 |
Definition at line 79 of file keyParse.cc.
#define HELICITY 268 |
Definition at line 88 of file keyParse.cc.
#define INT 258 |
Definition at line 78 of file keyParse.cc.
#define MASSDEP 267 |
Definition at line 87 of file keyParse.cc.
#define MODE 266 |
Definition at line 86 of file keyParse.cc.
#define PARTICLENAME 263 |
Definition at line 83 of file keyParse.cc.
#define SIGN 261 |
Definition at line 81 of file keyParse.cc.
#define stoi | ( | x | ) | strcmp((x),"+")?-1:1 |
Definition at line 101 of file keyParse.cc.
#define STRING 262 |
Definition at line 82 of file keyParse.cc.
#define YY_REDUCE_PRINT | ( | Rule | ) |
#define YY_STACK_PRINT | ( | Bottom, | |
Top | |||
) |
Definition at line 614 of file keyParse.cc.
Referenced by yyparse().
#define YYABORT goto yyabortlab |
Definition at line 511 of file keyParse.cc.
Referenced by yyparse().
#define YYACCEPT goto yyacceptlab |
Definition at line 510 of file keyParse.cc.
Referenced by yyparse().
#define YYBACKUP | ( | Token, | |
Value | |||
) |
Definition at line 523 of file keyParse.cc.
#define YYBISON 1 |
Definition at line 37 of file keyParse.cc.
#define yychar keychar |
Definition at line 54 of file keyParse.cc.
Referenced by yyparse().
Definition at line 506 of file keyParse.cc.
#define YYCOPY | ( | To, | |
From, | |||
Count | |||
) |
Definition at line 222 of file keyParse.cc.
#define yydebug keydebug |
Definition at line 55 of file keyParse.cc.
#define YYDEBUG 1 |
Definition at line 107 of file keyParse.cc.
#define YYDPRINTF | ( | Args | ) |
Definition at line 570 of file keyParse.cc.
Referenced by yyparse().
#define YYDSYMPRINT | ( | Args | ) |
Definition at line 576 of file keyParse.cc.
#define YYDSYMPRINTF | ( | Title, | |
Token, | |||
Value, | |||
Location | |||
) |
Definition at line 582 of file keyParse.cc.
Referenced by yyparse().
#define YYEMPTY (-2) |
Definition at line 507 of file keyParse.cc.
Referenced by yyparse().
#define YYEOF 0 |
Definition at line 508 of file keyParse.cc.
Referenced by yyparse().
#define YYERRCODE 256 |
Definition at line 541 of file keyParse.cc.
#define yyerrok (yyerrstatus = 0) |
Definition at line 505 of file keyParse.cc.
#define yyerror keyerror |
Definition at line 52 of file keyParse.cc.
Referenced by yyparse().
#define YYERROR goto yyerrorlab |
Definition at line 512 of file keyParse.cc.
#define YYERROR_VERBOSE 0 |
Definition at line 136 of file keyParse.cc.
#define YYFAIL goto yyerrlab |
Definition at line 519 of file keyParse.cc.
#define YYFINAL 2 |
Definition at line 258 of file keyParse.cc.
Referenced by yyparse().
#define YYFPRINTF fprintf |
Definition at line 567 of file keyParse.cc.
#define YYFREE free |
Definition at line 159 of file keyParse.cc.
#define YYINITDEPTH 200 |
Definition at line 664 of file keyParse.cc.
Referenced by yyparse().
#define YYLAST 91 |
Definition at line 260 of file keyParse.cc.
Referenced by yyparse().
#define yylex keylex |
Definition at line 51 of file keyParse.cc.
#define YYLEX yylex () |
Definition at line 559 of file keyParse.cc.
Referenced by yyparse().
#define YYLLOC_DEFAULT | ( | Current, | |
Rhs, | |||
N | |||
) |
Definition at line 547 of file keyParse.cc.
#define YYLSP_NEEDED 0 |
Definition at line 46 of file keyParse.cc.
#define yylval keylval |
Definition at line 53 of file keyParse.cc.
Referenced by yyparse().
#define YYMALLOC malloc |
Definition at line 162 of file keyParse.cc.
#define YYMAXDEPTH 10000 |
Definition at line 679 of file keyParse.cc.
Referenced by yyparse().
#define YYMAXUTOK 268 |
Definition at line 273 of file keyParse.cc.
#define yynerrs keynerrs |
Definition at line 56 of file keyParse.cc.
Referenced by yyparse().
#define YYNNTS 14 |
Definition at line 265 of file keyParse.cc.
#define YYNRULES 37 |
Definition at line 267 of file keyParse.cc.
#define YYNSTATES 89 |
Definition at line 269 of file keyParse.cc.
#define YYNTOKENS 27 |
Definition at line 263 of file keyParse.cc.
Referenced by yyparse().
#define YYPACT_NINF -24 |
Definition at line 420 of file keyParse.cc.
Referenced by yyparse().
#define yyparse keyparse |
Definition at line 50 of file keyParse.cc.
#define YYPOPSTACK (yyvsp--, yyssp--) |
Referenced by yyparse().
#define YYPURE 0 |
Definition at line 43 of file keyParse.cc.
#define YYRECOVERING | ( | ) | (!!yyerrstatus) |
Definition at line 521 of file keyParse.cc.
#define YYSIZE_T unsigned int |
Definition at line 502 of file keyParse.cc.
Referenced by yyparse().
#define YYSKELETON_NAME "yacc.c" |
Definition at line 40 of file keyParse.cc.
#define YYSTACK_ALLOC YYMALLOC |
Definition at line 189 of file keyParse.cc.
Referenced by yyparse().
#define YYSTACK_BYTES | ( | N | ) |
#define YYSTACK_FREE YYFREE |
Definition at line 190 of file keyParse.cc.
Referenced by yyparse().
#define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) |
Definition at line 207 of file keyParse.cc.
#define YYSTACK_RELOCATE | ( | Stack | ) |
Definition at line 238 of file keyParse.cc.
Referenced by yyparse().
#define yystype YYSTYPE /* obsolescent; will be withdrawn */ |
Definition at line 148 of file keyParse.cc.
#define YYSTYPE_IS_DECLARED 1 |
Definition at line 149 of file keyParse.cc.
#define YYSTYPE_IS_TRIVIAL 1 |
Definition at line 150 of file keyParse.cc.
#define YYTABLE_NINF -1 |
Definition at line 445 of file keyParse.cc.
Referenced by yyparse().
#define YYTERROR 1 |
Definition at line 540 of file keyParse.cc.
Referenced by yyparse().
#define YYTOKENTYPE |
Definition at line 61 of file keyParse.cc.
#define YYTRANSLATE | ( | YYX | ) | ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
Definition at line 275 of file keyParse.cc.
Referenced by yyparse().
#define YYUNDEFTOK 2 |
Definition at line 272 of file keyParse.cc.
typedef short int yysigned_char |
Definition at line 254 of file keyParse.cc.
enum yytokentype |
INT | |
FLOAT | |
COMPLEX | |
SIGN | |
STRING | |
PARTICLENAME | |
DEBUG | |
CHANNEL | |
MODE | |
MASSDEP | |
HELICITY | |
INT | |
FLOAT | |
COMPLEX | |
SIGN | |
STRING | |
PARTICLENAME | |
DEBUG | |
CHANNEL | |
MODE | |
MASSDEP | |
HELICITY |
Definition at line 64 of file keyParse.cc.
|
static |
void yyerror | ( | const char * | s | ) |
YYFPRINTF | ( | stderr | , |
"Stack now" | |||
) |
YYFPRINTF | ( | stderr | , |
"\n" | |||
) |
int yylex | ( | void | ) |
int yyparse | ( | std::complex< double > & | result | ) |
!! BG quick hack: allow to switch off output for test purposes
Definition at line 849 of file keyParse.cc.
References decay::addChild(), particle::addHelicity(), event::beam(), decay::calculateS(), wave::channel(), YYSTYPE::Cnum, d, debug, YYSTYPE::Decay, wave::decayAmp(), exit, wave::fill(), YYSTYPE::Fnum, gAmplitude, particleDataTable::get(), particle::get4P(), wave::getBeam(), wave::getTarget(), gEvent, gSuppressKeyParseOutput, gWave, particle::Index(), lineno, mode, YYSTYPE::num, nwave, p, YYSTYPE::Particle, PDGtable, wave::print(), particle::setDecay(), particleData::setJ(), decay::setL(), wave::setM(), particle::setMassDep(), particleData::setP(), flatRange::setRange(), decay::setS(), wave::setSlope(), wave::setT(), wave::setupFrames(), YYSTYPE::string, t_part_final, t_part_init, YY_REDUCE_PRINT, YY_STACK_PRINT, YYABORT, YYACCEPT, yychar, yycheck, yydefact, yydefgoto, YYDPRINTF, YYDSYMPRINTF, YYEMPTY, YYEOF, yyerror, YYFINAL, YYINITDEPTH, YYLAST, YYLEX, yylval, YYMAXDEPTH, yynerrs, YYNTOKENS, yypact, YYPACT_NINF, yypgoto, YYPOPSTACK, yyr1, yyr2, YYSIZE_T, YYSTACK_ALLOC, YYSTACK_BYTES, YYSTACK_FREE, YYSTACK_RELOCATE, yystos, yytable, YYTABLE_NINF, YYTERROR, yytname, and YYTRANSLATE.
* bottom |
Definition at line 610 of file keyParse.cc.
Referenced by msGSL(), msLong(), and sigmaBugg().
d |
Definition at line 610 of file keyParse.cc.
Referenced by d_jmn_b(), particle::debug(), particleData::debug(), decay::debug(), wave::decayAmp(), matrix< T >::det(), rpwa::fitResult::evidence(), wave::fill(), matrix< T >::inv(), matrix< T >::LU(), main(), msGSL(), msLong(), plotgenetics(), sigmaBugg(), and yyparse().
int debug = 0 |
Definition at line 110 of file keyParse.cc.
Referenced by Tgamp::Amp(), convertAmpToTree(), convertEvtToTree(), convertTreeToAmp(), convertTreeToEvt(), createDiffTree(), fillDiffLeafs(), rpwa::fillTreeFromEvt(), fillUdstDataIntoMassBins_example(), main(), readDatFile(), ReadoutTestKeyfile(), testAmplitude(), writeEvent(), rpwa::writeEvtFromTree(), and yyparse().
complex<double> gAmplitude |
Definition at line 119 of file keyParse.cc.
Referenced by yyparse().
event gEvent |
Definition at line 10 of file keyfile.cc.
Referenced by keyfile::run(), and yyparse().
bool gSuppressKeyParseOutput |
Definition at line 11 of file keyfile.cc.
Referenced by keyfile::run(), and yyparse().
wave gWave |
Definition at line 116 of file keyParse.cc.
Referenced by Tgamp::Amp(), and yyparse().
int lineno |
Definition at line 31 of file listwaves.cc.
Referenced by keyerror(), and yyparse().
string mode |
Definition at line 111 of file keyParse.cc.
Referenced by main(), parseTitle(), and yyparse().
int nwave |
Definition at line 109 of file keyParse.cc.
Referenced by yyparse().
particleDataTable PDGtable |
Definition at line 12 of file particleData.cc.
particle* t_part_final |
Definition at line 122 of file keyParse.cc.
Referenced by yyparse().
string t_part_init |
Definition at line 121 of file keyParse.cc.
Referenced by yyparse().
short int* top |
Definition at line 605 of file keyParse.cc.
Referenced by msGSL(), msLong(), and sigmaBugg().
int yychar |
Definition at line 815 of file keyParse.cc.
|
static |
Definition at line 460 of file keyParse.cc.
Referenced by yyparse().
|
static |
Definition at line 398 of file keyParse.cc.
Referenced by yyparse().
|
static |
Definition at line 412 of file keyParse.cc.
Referenced by yyparse().
YYSTYPE yylval |
Definition at line 825 of file keyParse.cc.
int yynerrs |
Definition at line 828 of file keyParse.cc.
|
static |
Definition at line 421 of file keyParse.cc.
Referenced by yyparse().
|
static |
Definition at line 435 of file keyParse.cc.
Referenced by yyparse().
|
static |
Definition at line 313 of file keyParse.cc.
|
static |
Definition at line 378 of file keyParse.cc.
Referenced by yyparse().
|
static |
Definition at line 387 of file keyParse.cc.
Referenced by yyparse().
|
static |
Definition at line 322 of file keyParse.cc.
|
static |
Definition at line 343 of file keyParse.cc.
|
static |
Definition at line 476 of file keyParse.cc.
Referenced by yyparse().
|
static |
Definition at line 446 of file keyParse.cc.
Referenced by yyparse().
|
static |
Definition at line 355 of file keyParse.cc.
Referenced by yyparse().
|
static |
Definition at line 279 of file keyParse.cc.
int yytype |
Definition at line 751 of file keyParse.cc.
YYSTYPE * yyvaluep |
Definition at line 752 of file keyParse.cc.