qnanalysis's People
qnanalysis's Issues
Structure of QnAnalysis
Current QnAnalysis project structure:
QnAnalysisCorrect:
- Conversion of AnalysisTree to Q-vectors (automated + hard-coded user interference)
- QVector corrections: YAML config
QnAnalysisCorrelate:
- Building QVector correlations: YAML config? Hard-coded
User-space where user builds correlation
Static registry: string identifier + object: YAML config
Common:
QxQx() - string representation
QyQy()
...
YAML config: problem: polymorphism:
dynamic (= runtime, configurable) set of QVectors
QnAnalysisObservables:
- Building observables from QVectors correlations
naming convention? YAML config?
Compatibility to AnalysisTree v2
not yet compatible
Take care of cuts
Fix ATVarManagerTask
Possibility to have an external AnalysisTree and not build the bundled one.
Missing includes
Hi,
My installation throws errors during the compilation:
QnAnalysis/build/_deps/qntools-src/include/base/QnTools/DataContainer.hpp:407:12: error: no member named 'set' in namespace 'std'
and
QnAnalysis/src/QnAnalysisCorrelate/CorrelationTaskRunner.cpp:54:14: error: aggregate ‘TObjString container_meta’ has incomplete type and cannot be defined
Proposed solution:
add #include <set>
in DataContainer.hpp
Update analysis task (new QnTools objects)
Alignment correction
@eugene274, can you please add alignment correction to yaml config?
Error in make install
-- Set runtime path of "QnAnalysis/install/lib/libQnAnalysisBase.so" to ""
CMake Error at src/QnAnalysisBase/cmake_install.cmake:69 (file):
file INSTALL cannot find
"QnAnalysis/src/QnAnalysisBase/QnAnalysisBase/Axis.hpp": No such
file or directory.
Call Stack (most recent call first):
src/cmake_install.cmake:47 (include)
cmake_install.cmake:76 (include)
I believe the issue is in src/QnAnalysisBase/CMakeLists.txt
Because of the 'list(TRANSFORM HEADERS PREPEND QnAnalysisBase/)'
Possible soultion:
set(HEADERS1 ${HEADERS})
list(TRANSFORM HEADERS1 PREPEND QnAnalysisBase/)
ROOT_GENERATE_DICTIONARY(G__QnAnalysisBase ${HEADERS1} LINKDEF QnAnalysisBaseLinkDef.hpp)
At least now make install finishes without errors.
The insrtall/include now is:
is this correct?
Issue with make install
During make install
I encounter an error:
CMake Error at src/QnAnalysisBase/cmake_install.cmake:64 (file):
file INSTALL cannot find
"/home/peter/Soft/QnAnalysis/src/QnAnalysisBase/QnAnalysisBase/Axis.hpp":
No such file or directory.
It seems that the path to the file Axis.hpp is wrong.
Save meta information of correlations
Mimic YAML inheritance
Specification of YAML presumes inheritance:
https://dmitryrck.com/how-to-use-inheritance-in-yaml-files/
Base data structures may help to define many of similar objects.
Bug in processing correlations with Psi-vector
Dear @eugene274,
The correction step works ok with Psi-vectors, but correlations build incorrectly. The histograms of the psi-components in output after the correction step seem to be alright, but correlations are either zero-filled or filled with incorrect values.
Move CorrelationTask from DataTreeFlow
operator= is deleted for TDirectory
Compilation error during make. (with root 6.24.06)
It seems to be due to TDirectory::operator= which is deleted.
QnAnalysis/src/QnAnalysisObservablesEK/na61/na61.cpp:352:31: error: use of deleted function ‘ROOT::Internal::TDirectoryAtomicAdapter& ROOT::Internal::TDirectoryAtomicAdapter::operator=(const ROOT::Internal::TDirectoryAtomicAdapter&)’
352 | gDirectory = cwd;
Solution:
Use TDirectory* cwd = gDirectory; everywhere in the file.
edit:
Suggestion of ROOT team to use TContext
https://root-forum.cern.ch/t/tdirectory-operator-is-deleted/48064
Separate file for QA plots
It is important to save separate file with QA plots to be able to merge QA-s and see pictures with full statistics without merging of data
Error in compilation due to GetThreadPoolSize
This is fixed in QnTools, however, the cmake_modules/QnTools.cmake is not tracking master but an older tag.
Setup for NA61/Shine analysis
Register Channel detector: x and y variables to QnTools
Linking error
[100%] Linking CXX executable QnAnalysisCorrect
/usr/bin/ld: CMakeFiles/QnAnalysisCorrect.dir/QnCorrectionTask.cpp.o:(.rodata+0x2b8): undefined reference to Qn::DataContainerHelper::ToErrorComparisonGraph(Qn::DataContainer<Qn::Stats, Qn::Axis<double> > const&)' /usr/bin/ld: CMakeFiles/QnAnalysisCorrect.dir/QnCorrectionTask.cpp.o:(.rodata+0x2c0): undefined reference to
Qn::DataContainerHelper::ToBootstrapScatterGraph(Qn::DataContainer<Qn::Stats, Qn::Axis > const&)'
/usr/bin/ld: CMakeFiles/QnAnalysisCorrect.dir/QnCorrectionTask.cpp.o:(.rodata+0x2c8): undefined reference to `Qn::DataContainerHelper::ToTMultiGraph(Qn::DataContainer<Qn::Stats, Qn::Axis > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, Qn::DataContainerHelper::Errors)'
cmake version 3.17.4
gcc (GCC) 10.2.1 20200723 (Red Hat 10.2.1-1)
ROOT Version: 6.22/02
Bundled yaml-cpp
Multiple 'cuts'/'qa' entries per Q-vector
Declare modules layout as range
Fix initialization of PSI_EVENT_PLANE and correlations containing this type of vectors.
Dear @eugene274,
Please fix the initialization of psi-type vectors. Part of the code corresponding to this functionality is marked as "todo". That is why the correction step doesn't work properly.
Please, check also correlations with psi-vectors. They are empty after the correlation step.
Add non-equal and not-in-range predicate to the cuts definition
Requested by Peter
QA histograms axes in Correction step
Dear @eugene274,
I faced a problem with QA histograms in the Correction step. When setting the axis to the QA histogram given by bin edges, it doesn't work properly. The range of the axis is divided by the number of bins of equal width instead of setting the bins given by the user.
For example, I tried to set this bin edges to the QA histogram:
[0, 0.29375, 0.35625, 0.41875, 0.48125, 0.54375, 0.61875, 0.70625, 0.81875, 1.01875, 2.0]
Instead I got:
10 uniform bins from 0 to 2.
I hope you can sort it out soon,
Thank you in advance!
Possibility to set weights for QA-histograms
Segfault at TTree::GetEntry
Segmentation fault is happening when I try to perform QnAnalysis with 2 input filelists. Problem line is here: https://github.com/HeavyIonAnalysis/AnalysisTree/blob/master/infra/TreeReader.hpp#L144
"Manual" debugging shows that the problem seems to be corresponded with "RecParticlesMcPid" branch in friended tree.
Log-file (log.txt
log.txt
) is attached.
Conditions:
gcc 9.1.0
ROOT 6.20.08
Setup-file: https://github.com/lubynets/QnAnalysis/blob/lambda/setups/lambda-analysis-config.yml
First filelist: /u/lubynets/fst_prim.list, tree name "aTree"
Second filelist: /u/lubynets/fst_sec.list, tree name "cTree"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.