Recent Changes - Search:

Analysis

  1. Data Summary
  2. Experimental Code (@CERN)
  3. Experimental Code (@after)
  4. Theory

Samples

  1. Diamond
  2. Alignment

DAQ

  1. Remote Monitoring

Learning Material

  1. Configure your machine
  2. Learn Unix shell
  3. Learn CPP
  4. Install and Learn ROOT
  5. Compiling ROOT Example
  6. Using Root for analysis
    1. BL4S 2014 Wiki
    2. Analyse-2014
  7. GEANT
  8. New ROOT + TCutg

edit SideBar

New ROOT + TCutg

Accelerating Africa found a problem with TCutg

  1. When you use the Graphics Editor to draw the polyline for the TGcut, then it autocloses too fast.
  2. We reported this to RootTalk, and the developers solved the issue essentially in one day. See here Re: TCutg graphics editor polygon draw issue.
    1. Fix 1 : Dowload Git, Learn Git, clone the ROOT Git repository to your hard drive locally, rebuild ROOT.
      1. The developers placed the fix in the ROOT Master ... its not yet in a new release ... thats why you need to get the most recent copy of ROOT yourself while its being developed.
    2. Fix 2 : easier ... see below.

Patch in one file and rebuild your ROOT

  1. The function for the polyline method in the TCreatePrimitives.cxx class has got a section for autoclosing the polyline. That can be simply commented out and then the polyline will only close when you double left click. You can download a version like this here ... click and place it in the right folder
    1. <path to your ROOT source>/graf2d/gpad/src/TCreatePrimitives.cxx
  2. Rebuild you ROOT as earlier in this wiki ... it will be fast, as the build process only does a small part of the tree where there was a change and the dependencies for that.
  3. Now the polyline can only close by a double click … and that is quite stable.
Edit - History - Print - Recent Changes - Search
Page last modified on September 28, 2015, at 11:54 pm