== Installing Delphes from Source == To successfully build Delphes the following prerequisite packages should be installed: - [http://root.cern.ch/drupal/content/downloading-root ROOT Data Analysis Framework] - [http://www.tcl.tk Tcl scripting language] Commands to download Delphes' source and build Delphes: {{{ setup ROOT environment variables wget --no-check-certificate https://cp3.irmp.ucl.ac.be/projects/delphes/raw-attachment/wiki/WikiStart/Delphes_V_3.0.0.tar.gz tar -zxf Delphes_V_3.0.0.tar.gz cd Delphes_V_3.0.0 make -j 4 }}} == Running Delphes == When running Delphes without parameters or when supplying an invalid command line, the following message will be shown: {{{ ./DelphesHepMC Usage: DelphesHepMC config_file output_file [input_file(s)] config_file - configuration file in Tcl format, output_file - output file in ROOT format, input_file(s) - input file(s) in HepMC format, with no input_file, or when input_file is -, read standard input. }}} Running Delphes with HepMC input files: {{{ ./DelphesHepMC examples/delphes_card_CMS.tcl output.root input.hepmc }}} Running Delphes with STDHEP (XDR) input files: {{{ ./DelphesSTDHEP examples/delphes_card_CMS.tcl output.root input.hep }}} Running Delphes with LHEF input files: {{{ ./DelphesLHEF examples/delphes_card_CMS.tcl output.root input.lhef }}} Running Delphes with files stored in CASTOR: {{{ rfcat /castor/cern.ch/user/d/demine/test.hepmc.gz | gunzip | ./DelphesHepMC examples/delphes_card_CMS.tcl output.root }}} Running Delphes with files accessible via HTTP: {{{ curl http://cp3.irmp.ucl.ac.be/~demin/test.hepmc.gz | gunzip | ./DelphesHepMC examples/delphes_card_CMS.tcl output.root }}}