Changeset deecda3 in git
- Timestamp:
- Sep 5, 2014, 11:00:39 AM (10 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 21f3c04
- Parents:
- 640d6d3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
README.md
r640d6d3 rdeecda3 3 3 4 4 Commands to get the code: 5 5 6 ``` 6 7 wget http://cp3.irmp.ucl.ac.be/downloads/Delphes-3.1.2.tar.gz … … 8 9 tar -zxf Delphes-3.1.2.tar.gz 9 10 ``` 11 10 12 Commands to compile the code: 13 11 14 ``` 12 15 cd Delphes-3.1.2 … … 14 17 make 15 18 ``` 19 16 20 Finally, we can run Delphes: 21 17 22 ``` 18 23 ./DelphesHepMC 19 24 ``` 25 20 26 Command line parameters: 27 21 28 ``` 22 29 ./DelphesHepMC config_file output_file [input_file(s)] … … 26 33 with no input_file, or when input_file is -, read standard input. 27 34 ``` 35 28 36 Let's simulate some Z->ee events: 37 29 38 ``` 30 39 wget http://cp3.irmp.ucl.ac.be/downloads/z_ee.hep.gz … … 32 41 ./DelphesSTDHEP examples/delphes_card_CMS.tcl delphes_output.root z_ee.hep 33 42 ``` 43 34 44 or 45 35 46 ``` 36 47 curl -s http://cp3.irmp.ucl.ac.be/downloads/z_ee.hep.gz | gunzip | ./DelphesSTDHEP examples/delphes_card_CMS.tcl delphes_output.root 37 48 ``` 49 38 50 For more detailed documentation, please visit 39 51 … … 47 59 48 60 Start ROOT and load Delphes shared library: 61 49 62 ``` 50 63 root -l 51 64 gSystem->Load("libDelphes"); 52 65 ``` 66 53 67 Open ROOT file and do some basic analysis using Draw or TBrowser: 68 54 69 ``` 55 70 TFile::Open("delphes_output.root"); … … 57 72 TBrowser browser; 58 73 ``` 74 59 75 Note 1: Delphes - tree name, it can be learned e.g. from TBrowser 60 76 … … 77 93 78 94 Start ROOT and load Delphes shared library: 95 79 96 ``` 80 97 root -l 81 98 gSystem->Load("libDelphes"); 82 99 ``` 100 83 101 Basic analysis macro: 102 84 103 ``` 85 104 { … … 125 144 ``` 126 145 146 127 147 More advanced macro-based analysis 128 148 ================================== … … 131 151 132 152 Here are the commands to run these ROOT macros: 153 133 154 ``` 134 155 root -l 135 156 .X examples/Example1.C("delphes_output.root"); 136 157 ``` 158 137 159 or 160 138 161 ``` 139 162 root -l examples/Example1.C\(\"delphes_output.root\"\)
Note:
See TracChangeset
for help on using the changeset viewer.