|
Analysis
- Data Summary
- Experimental Code (@CERN)
- Experimental Code (@after)
- Theory
Samples
- Diamond
- Alignment
DAQ
- Remote Monitoring
Learning Material
- Configure your machine
- Learn Unix shell
- Learn CPP
- Install and Learn ROOT
- Compiling ROOT Example
- Using Root for analysis
- BL4S 2014 Wiki
- Analyse-2014
- GEANT
- New ROOT + TCutg
edit SideBar
|
Accelerating Africa found a problem with TCutg
- When you use the Graphics Editor to draw the polyline for the TGcut, then it autocloses too fast.
- We reported this to RootTalk, and the developers solved the issue essentially in one day. See here Re: TCutg graphics editor polygon draw issue.
- Fix 1 : Dowload Git, Learn Git, clone the ROOT Git repository to your hard drive locally, rebuild ROOT.
- 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.
- Fix 2 : easier ... see below.
Patch in one file and rebuild your ROOT
- 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
<path to your ROOT source>/graf2d/gpad/src/TCreatePrimitives.cxx
- 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.
- Now the polyline can only close by a double click … and that is quite stable.
|