-
Notifications
You must be signed in to change notification settings - Fork 2
Meeting 2016 04 26
benkrikler edited this page Apr 26, 2016
·
9 revisions
Date: 26th April 2016
Time: 12:00 - 13:00 UK
Room: 532 Blackett, 40-R-D10 CERN
Indico Link: https://indico.cern.ch/event/524794/
Vidyo link: https://vidyoportal.cern.ch/flex.html?roomdirect.html&key=jWovOD3i3Wr9oDDLFka32uHn48w
- Ben:
TDirectory::TContext
- Colour pallette
TTree::SetAlias
- TTreeFormula and special TTree::Draw expressions
- TGAxis
- THStack
- Latex in titles
- Retrieving objects from:
TCanvas
,TH1
,THStack
,TDirectory
etc - Obtaining colours from a colour pallette:
// Scale value to an index between 0 and the number of colours in the pallette
double colorIndex=(value-minimum_value)/maximum_value*gStyle->GetNumberOfColors();
// Map the index in the pallette to an actual colour value
int colour=gStyle->GetColorPalette(colorIndex); `
- Oliver:
- Exporting plots straight to LaTeX
- Troubleshooting TCanvas?
- Don't forget auto, smart pointers and templates if on C++11 (within reason)
- Ray:
- Tracing images in ROOT