- Timestamp:
- Nov 21, 2014, 10:39:38 PM (10 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- f185c24
- Parents:
- cf4a208
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/EventDisplay.C
rcf4a208 r110821a 15 15 16 16 // create the detector representation 17 Delphes3DGeometry det3D(new TGeoManager("delphes", "Delphes geometry") );17 Delphes3DGeometry det3D(new TGeoManager("delphes", "Delphes geometry"), true); 18 18 det3D.readFile(configfile, ParticlePropagator, TrackingEfficiency, MuonEfficiency, Calorimeters); 19 19 20 20 // create the application 21 21 DelphesEventDisplay* display = new DelphesEventDisplay(configfile, datafile, det3D); 22 23 // another view of the geometry, in another window and without transparency 24 Delphes3DGeometry det3D_geom(new TGeoManager("delphes", "Delphes geometry"), false); 25 det3D_geom.readFile(configfile, ParticlePropagator, TrackingEfficiency, MuonEfficiency, Calorimeters); 26 new TCanvas; 27 det3D_geom.getDetector()->Draw(); 22 28 } 23 29
Note:
See TracChangeset
for help on using the changeset viewer.