Git Product home page Git Product logo

restframes's Issues

Compile error if include before SUSYObjDef_xAOD.h

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.

Root Error when Compiling RestFrames

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

Small typo

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."

CPLUS_INCLUDE_PATH: unbound variable

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

Seg fault when MET = 0

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() not working after memory updates?

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.