#ifndef _LHEFCONVERTER_H_ #define _LHEFCONVERTER_H_ /*********************************************************************** ** ** ** /----------------------------------------------\ ** ** | Delphes, a framework for the fast simulation | ** ** | of a generic collider experiment | ** ** \----------------------------------------------/ ** ** ** ** ** ** This package uses: ** ** ------------------ ** ** FastJet algorithm: Phys. Lett. B641 (2006) [hep-ph/0512210] ** ** Hector: JINST 2:P09005 (2007) [physics.acc-ph:0707.1198v2] ** ** FROG: [hep-ex/0901.2718v1] ** ** ** ** ------------------------------------------------------------------ ** ** ** ** Main authors: ** ** ------------- ** ** ** ** Severine Ovyn Xavier Rouby ** ** severine.ovyn@uclouvain.be xavier.rouby@cern ** ** ** ** Center for Particle Physics and Phenomenology (CP3) ** ** Universite catholique de Louvain (UCL) ** ** Louvain-la-Neuve, Belgium ** ** ** ** Copyright (C) 2008-2009, ** ** All rights reserved. ** ** ** ***********************************************************************/ /// \file LHEFConverter /// \brief LHEFConverter class, and some generic definitions #include #include "ExRootTreeBranch.h" #include "LHEF.h" #include "DataConverter.h" using namespace std; class LHEFConverter : public DataConverter { public: LHEFConverter(const string& inputFileList, const string& outputFileName, const int& Nevents=-1); ~LHEFConverter(); private: void AnalyseEvent(LHEF::Reader *reader, ExRootTreeBranch *branch, const Long64_t eventNumber); void AnalyseParticles(LHEF::Reader *reader, ExRootTreeBranch *branch); }; #endif