crogan / restframes Goto Github PK
View Code? Open in Web Editor NEWRestFrames: particle physics event analysis library
Home Page: http://RestFrames.com
License: GNU General Public License v3.0
RestFrames: particle physics event analysis library
Home Page: http://RestFrames.com
License: GNU General Public License v3.0
RestFrames: particle physics event analysis library --------------------------------------------------- www.RestFrames.com Developed by Christopher Rogan ([email protected]) Copyright (c) 2014-2016, Christopher Rogan ------------ Installation ------------ Installation instructions can be found in the INSTALL file provided with the RestFrames distribution. ------------------- Directory structure -------------------
I had these errors pop up when I tried to compile RestFrames:
MinMassDiffInvJigsaw.cc:216:20: error: ‘class ROOT::Math::Minimizer’ has no member named ‘FixVariable’; did you mean ‘SetVariable’?
m_minimizer->FixVariable(1);
^~~~~~~~~~~
SetVariable
MinMassDiffInvJigsaw.cc:217:20: error: ‘class ROOT::Math::Minimizer’ has no member named ‘FixVariable’; did you mean ‘SetVariable’?
m_minimizer->FixVariable(2);
^~~~~~~~~~~
SetVariable
MinMassDiffInvJigsaw.cc:219:20: error: ‘class ROOT::Math::Minimizer’ has no member named ‘ReleaseVariable’; did you mean ‘SetFixedVariable’?
m_minimizer->ReleaseVariable(1);
^~~~~~~~~~~~~~~
SetFixedVariable
MinMassDiffInvJigsaw.cc:220:20: error: ‘class ROOT::Math::Minimizer’ has no member named ‘ReleaseVariable’; did you mean ‘SetFixedVariable’?
m_minimizer->ReleaseVariable(2);
^~~~~~~~~~~~~~~
SetFixedVariable
Any ideas what may be causing this? I currently have version 5 of ROOT installed on my computer as that is the version that comes when doing apt install root-system
I'm not sure if you're interest, but today I ran into a strange issue. If I include SUSYTools/SUSYObjDef_xAOD.h after the RestFrames' header files, my code won't compile. The error message is like this:
In file included from /export/home/max/Stop0L/RootCoreBin/include/RestFrames/RFBase.hh:58:0,
from /export/home/max/Stop0L/RootCoreBin/include/RestFrames/RestFrame.hh:33,
from /export/home/max/Stop0L/RootCoreBin/include/RestFrames/ReconstructionFrame.hh:33,
from /export/home/max/Stop0L/RootCoreBin/include/RestFrames/LabRecoFrame.hh:33,
from /export/home/max/Stop0L/Stop0LRun2/Stop0LRun2/RJigsaw.h:4,
from /export/home/max/Stop0L/Stop0LRun2/Root/RJigsaw.cxx:1:
/export/home/max/Stop0L/RootCoreBin/include/RestFrames/RFLog.hh:135:17: error: ‘RFLog’ has not been declared
#define m_End RFLog::EndMessage
If I move SUSYObjDef_xAOD.h to before the RestFrames', it's fine.
This way, we can set up a homebrew formula under the homebrew-science keg.
When installing RestFrames, I was looking over the user info it provides. There is a small typo (see text below): "environemtal" should be "environmental."
From user info:
"The script setup_RestFrames.sh(csh) is provided to
automatically set environemtal variables like PATH,
LD_LIBRARY_PATH, etc. in order to find this RestFrames
installation."
Out of the box compilation in rc environment gives this error:
setup.sh: line 4: CPLUS_INCLUDE_PATH: unbound variable
failed: installation of Ext_RestFrames failed
I've been hacking this locally to change setup.sh to read:
export RESTFRAMESSYS=$PWD
export DYLD_LIBRARY_PATH=$RESTFRAMESSYS/lib:$DYLD_LIBRARY_PATH
export LD_LIBRARY_PATH=$RESTFRAMESSYS/lib:$LD_LIBRARY_PATH
export CPLUS_INCLUDE_PATH=$RESTFRAMESSYS/include
which of course will break CPLUS_INCLUDE_PATH if you're otherwise using it. Not sure why when asking for $CPLUS_INCLUDE_PATH it doesn't evaluate to "" instead of throwing an error. Thoughts?
-L
I was running over a truth sample where some events have no true MET. I don't think anyone else has done this (?).
I was seg faulting on some events where MET = 0.
I added a small number to the MET value, and everything finishes fine, so I suspect there is a bug in AnalyzeEvent() when MET = 0 exactly. I can provide more information to reproduce this if you need.
SelfAssemblingRecoFrame::GetFrame() seems to not work after memory handling upgrades in the errors branch. With the analysis based on the Digluino example the following code
const RestFrames::RestFrame& frame = VIS_R->GetFrame(jetID_R[j]);
std::cout << "In SklimmerAnalysis: j " << j << " " << frame.GetTitle() << std::endl;
std::cout << "In SklimmerAnalysis: j " << j << " " << frame.GetName() << std::endl;
std::cout << "In SklimmerAnalysis: j " << j << " " << frame.IsVisibleFrame() << std::endl;
always outputs
In SklimmerAnalysis: j 0 Empty
In SklimmerAnalysis: j 0 Empty
In SklimmerAnalysis: j 0 0
and this works on master. As a result my jet pTs for jets in a given hemisphere are never set. Checking it, the jetID_R object is being correctly filled and contains the TLVs that are being added to VIS_R, so I don't believe it's an issue with that... I will start taking a look at the code to see if it's anything obvious...
-Larry
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.