Fork me on GitHub

Changeset 5e6db08 in git


Ignore:
Timestamp:
Nov 6, 2014, 5:07:16 PM (10 years ago)
Author:
Christophe Delaere <christophe.delaere@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
cf4a208
Parents:
5565691
Message:

Minor cleaning in script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/EventDisplay.C

    r5565691 r5e6db08  
     1/* Example:
     2 * root -l 'evdisplay.C("delphes_card_CMS.tcl","../delphes_output.root")'
     3 */
    14
    25void evdisplay(const char* configfile = "delphes_card_CMS.tcl", const char* datafile = "delphes_output.root",
     
    1518   det3D.readFile(configfile, ParticlePropagator, TrackingEfficiency, MuonEfficiency, Calorimeters);
    1619
    17    // create the application items
     20   // create the application
    1821   DelphesEventDisplay* display = new DelphesEventDisplay(configfile, datafile, det3D);
    19 
    20 /*
    21    // EClipType not exported to CINT (see TGLUtil.h):
    22    // 0 - no clip, 1 - clip plane, 2 - clip box
    23    TGLViewer *v = gEve->GetDefaultGLViewer();
    24    //Double_t plane[4] = { 0., 1., 0., 0. };
    25    //v->GetClipSet()->SetClipState(1,plane);
    26    //v->GetClipSet()->SetClipType(1);
    27    //v->ColorSet().Background().SetColor(kMagenta+4);
    28    //v->SetGuideState(TGLUtil::kAxesEdge, kTRUE, kFALSE, 0);
    29    v->RefreshPadEditor(v);
    30    v->CurrentCamera().RotateRad(-1.2, 0.5);
    31    v->DoDraw();
    32 */
    3322}
    3423
Note: See TracChangeset for help on using the changeset viewer.