Fork me on GitHub

source: svn/trunk/interface/DataConverter.h@ 404

Last change on this file since 404 was 380, checked in by Xavier Rouby, 16 years ago

new PDG table

File size: 2.8 KB
Line 
1#ifndef _DATACONVERTER_H_
2#define _DATACONVERTER_H_
3
4/***********************************************************************
5** **
6** /----------------------------------------------\ **
7** | Delphes, a framework for the fast simulation | **
8** | of a generic collider experiment | **
9** \----------------------------------------------/ **
10** **
11** **
12** This package uses: **
13** ------------------ **
14** FastJet algorithm: Phys. Lett. B641 (2006) [hep-ph/0512210] **
15** Hector: JINST 2:P09005 (2007) [physics.acc-ph:0707.1198v2] **
16** FROG: [hep-ex/0901.2718v1] **
17** **
18** ------------------------------------------------------------------ **
19** **
20** Main authors: **
21** ------------- **
22** **
23** Severine Ovyn Xavier Rouby **
24** severine.ovyn@uclouvain.be xavier.rouby@cern **
25** **
26** Center for Particle Physics and Phenomenology (CP3) **
27** Universite catholique de Louvain (UCL) **
28** Louvain-la-Neuve, Belgium **
29** **
30** Copyright (C) 2008-2009, **
31** All rights reserved. **
32** **
33***********************************************************************/
34
35/// \file DataConverter
36/// \brief DataConverter class, as mother of LHEFConverter, STDHEPConverter, ...
37
38#include <string>
39
40#include "PdgParticle.h"
41#include "Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h"
42#include "Utilities/ExRootAnalysis/interface/LHEF.h"
43
44using namespace std;
45
46class DataConverter
47{
48public:
49
50 DataConverter() : Nevt(-1) {};
51 DataConverter(const PdgTable& table, const int &N) : Nevt(N), pdg_table(table) {};
52 virtual ~DataConverter() {};
53
54private:
55 int Nevt; // number of events to read; -1 means "all of them"
56
57public:
58 PdgTable pdg_table; // table of particles from PDG
59};
60
61#endif
Note: See TracBrowser for help on using the repository browser.