ADL4HEP / ADLLHCanalyses

ADL implementations of LHC analyses
2 stars 1 forks source link

Regarding some syntax errors #1

Open sabrivatansever opened 3 years ago

sabrivatansever commented 3 years ago

I got several syntax errors when I tried to run CMS-SUS-16-042_CutLang.adl, CMS-SUS-16-048_CutLang.adl and CMS-SUS-19-006_CutLang.adl. All except them are still alive and kicking for v2.11.13.

==Parsing started:       Parsing finished.==
We have 20 CutLang Cuts, 8 CutLang objects and 0 Bins
Systematics:0
TRGe:1  TRGm:0
 => 16 BP_17
End of analysis initialization
number of entries 25170
starting entry 0
Processing event 0
terminate called after throwing an instance of 'std::out_of_range'
  what():  vector::_M_range_check: __n (which is 0) >= this->size() (which is 0)
/home/sabri/CutLang/runs/CLA: line 144: 18746 Aborted                 (core dumped) $WORK_PATH/CLA/CLA.exe $datafile -inp $datatype -BP $Nalgo -EVT $EVENTS -V ${VERBOSE} -ST $STRT ${DEPS}

==Parsing started:  ERROR: syntax error  at line: 47
     Parsing finished.==

yyParse returns SYNTAX error in the input file.
Offending text is: )

==Parsing started:      jetsmht found as an object
ERROR: is known as an object.    at line: 68
     Parsing finished.==

yyParse returns SYNTAX error in the input file.
Offending text is: )
sabrivatansever commented 3 years ago

UPDATE: The problems related to 042 and 048 are solved with the latest update. 006 was on me, though. Botched it all up when I tried to update CutLang. Deleting everything and giving a fresh start solved the problem. Elinize sağlık!