- Timestamp:
- Oct 16, 2014, 10:36:02 PM (10 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 4fd37d4
- Parents:
- 369744d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/evdisplay.C
r369744d r400597a 1 1 2 void evdisplay(const char* filename = "delphes_card_CMS.tcl", const char* ParticlePropagator="ParticlePropagator", 3 const char* TrackingEfficiency="ChargedHadronTrackingEfficiency", 4 const char* MuonEfficiency="MuonEfficiency", 5 const char* Calorimeters="Calorimeter") 2 void evdisplay(const char* configfile = "delphes_card_CMS.tcl", const char* datafile = "delphes_output.root", 3 const char* ParticlePropagator="ParticlePropagator", 4 const char* TrackingEfficiency="ChargedHadronTrackingEfficiency", 5 const char* MuonEfficiency="MuonEfficiency", 6 const char* Calorimeters="Calorimeter") 6 7 { 7 8 8 // load the libraries 9 9 gSystem->Load("libGeom"); … … 12 12 // create the detector representation 13 13 Delphes3DGeometry det3D(new TGeoManager("delphes", "Delphes geometry")); 14 det3D.readFile( filename, ParticlePropagator, TrackingEfficiency, MuonEfficiency, Calorimeters);14 det3D.readFile(configfile, ParticlePropagator, TrackingEfficiency, MuonEfficiency, Calorimeters); 15 15 16 16 // create the application items 17 DelphesEventDisplay* display = new DelphesEventDisplay( "delphes_card_CMS.tcl", "../delphes_output.root", det3D);17 DelphesEventDisplay* display = new DelphesEventDisplay(configfile, datafile, det3D); 18 18 19 19 /*
Note:
See TracChangeset
for help on using the changeset viewer.