Difference: LhSoftQA (10 vs. 11)

Revision 112020-04-16 - ZhuChengguang

Line: 1 to 1
 
META TOPICPARENT name="LhaasoSoftware"
Line: 9 to 9
 

Problems related to LodeStar

Problems related to ROOT

Changed:
<
<
  1. 使用LodeStar的dataModel存储的root文件,使用root交互界面打开后,无法通过Show或者Scan等命令查看event的内容
>
>
使用LodeStar的dataModel存储的root文件,使用root交互界面打开后,无法通过Show或者Scan等命令查看event的内容
 
    • 在setup LodeStar 大环境后,通常我们需要运行当地package中的cmt/setup.sh 来建立本地环境。这导致同名的DataModel类定义被root辨识,和打开的文件中用DataModel类名作为tree名的tree发生同名冲突。输入DataModel的类名后会自动的被辨识成类名(变成蓝色显示),从而无法引用tree。
    • 解决方案:不要运行当地package中的cmt/setup.sh

Problems related to python

Changed:
<
<
  1. unable to open txt file in C++, when the file name is transfered by python:
>
>
unable to open txt file in C++, when the file name is transfered by python:
 
    • ADratioSvc = Algtask.createSvc("KM2ACharCalSvc/myCharSvc");
    • ADratioSvc.property("InputFileName").set("KM2AADC-20200220.txt ")
Changed:
<
<
reason: There is a space in char: "KM2AADC-20200220.txt "
>
>
  • reason: There is a space in char: "KM2AADC-20200220.txt "
 
Changed:
<
<

Problems related to Data

  1. OUtputSvc problem:
Algtask:OutputSvc.initialize DEBUG: Initializing RootOutputSvc...
Algtask:OutputSvc.initialize DEBUG: Output stream list:
Algtask:OutputSvc.initialize DEBUG: Path: /Event/LHCaliEvent ==> File name: test2.root
*** Break * segmentation violation
>
>
When run the ananlysis job, the error log shows at the beginning:
  • Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:
  • Missing FileEntry for LHRecHeader.h
  • requested to autoload type LHRecHeader
  • Solution: go to LHRecEvent pacakge, remove all dictionary files and re-compile
 
Changed:
<
<
Not clear for the reason, but in constructor, if allocate memory for HitsE: " HitsE =new TClonesArray (...)" , the crash disappear.
>
>

Problems related to Data

 
Changed:
<
<
  1. Why when register the datamodel to outputSvc, the constructor runs twice and destructor runs once
Algtask:OutputSvc.initialize DEBUG: Path: /Event/RawEvent ==> File name: test2.root
In RawEvent ()
In RawEvent ()
In ~RawEvent()
Algtask:OutputSvc.initialize DEBUG: Successfully initialized.
>
>
OutputSvc problem:
 
Changed:
<
<
-- Chengguang ZHU - 2019-12-18
>
>
  • Algtask:OutputSvc.initialize DEBUG: Output stream list:
  • Algtask:OutputSvc.initialize DEBUG: Path: /Event/LHCaliEvent ==> File name: test2.root
  • *** Break * segmentation violation
  • Not clear for the reason, but in constructor, if allocate memory for HitsE: " HitsE =new TClonesArray (...)" , the crash disappear.

Why when register the datamodel to outputSvc, the constructor runs twice and destructor runs once
  • Algtask:OutputSvc.initialize DEBUG: Path: /Event/RawEvent ==> File name: test2.root
  • In RawEvent ()
  • In RawEvent ()
  • In ~RawEvent()
  • Algtask:OutputSvc.initialize DEBUG: Successfully initialized.
 

Comments

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback