ImprovedOutputFile
Timing
dual_readout
llp
Line | |
---|
1 | /* Example:
|
---|
2 | * root -l 'EventDisplay.C("delphes_card_CMS.tcl","../delphes_output.root")'
|
---|
3 | */
|
---|
4 |
|
---|
5 | void EventDisplay(const char* configfile = "delphes_card_CMS.tcl", const char* datafile = "delphes_output.root",
|
---|
6 | const char* ParticlePropagator="ParticlePropagator",
|
---|
7 | const char* TrackingEfficiency="ChargedHadronTrackingEfficiency",
|
---|
8 | const char* MuonEfficiency="MuonEfficiency",
|
---|
9 | const char* Calorimeters="Calorimeter")
|
---|
10 | {
|
---|
11 | // load the libraries
|
---|
12 | gSystem->Load("libGeom");
|
---|
13 | gSystem->Load("libGuiHtml");
|
---|
14 | gSystem->Load("../libDelphesDisplay");
|
---|
15 |
|
---|
16 | // create the detector representation
|
---|
17 | Delphes3DGeometry det3D(new TGeoManager("delphes", "Delphes geometry"));
|
---|
18 | det3D.readFile(configfile, ParticlePropagator, TrackingEfficiency, MuonEfficiency, Calorimeters);
|
---|
19 |
|
---|
20 | // create the application
|
---|
21 | DelphesEventDisplay* display = new DelphesEventDisplay(configfile, datafile, det3D);
|
---|
22 | }
|
---|
23 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.