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 | ** \------------- arXiv:0903.2225v1 ------------/ **
|
---|
10 | ** **
|
---|
11 | ** **
|
---|
12 | ** This package uses: **
|
---|
13 | ** ------------------ **
|
---|
14 | ** ROOT: Nucl. Inst. & Meth. in Phys. Res. A389 (1997) 81-86 **
|
---|
15 | ** FastJet algorithm: Phys. Lett. B641 (2006) [hep-ph/0512210] **
|
---|
16 | ** Hector: JINST 2:P09005 (2007) [physics.acc-ph:0707.1198v2] **
|
---|
17 | ** FROG: [hep-ex/0901.2718v1] **
|
---|
18 | ** HepMC: Comput. Phys. Commun.134 (2001) 41 **
|
---|
19 | ** **
|
---|
20 | ** ------------------------------------------------------------------ **
|
---|
21 | ** **
|
---|
22 | ** Main authors: **
|
---|
23 | ** ------------- **
|
---|
24 | ** **
|
---|
25 | ** Severine Ovyn Xavier Rouby **
|
---|
26 | ** severine.ovyn@uclouvain.be xavier.rouby@cern **
|
---|
27 | ** **
|
---|
28 | ** Center for Particle Physics and Phenomenology (CP3) **
|
---|
29 | ** Universite catholique de Louvain (UCL) **
|
---|
30 | ** Louvain-la-Neuve, Belgium **
|
---|
31 | ** **
|
---|
32 | ** Copyright (C) 2008-2009, **
|
---|
33 | ** All rights reserved. **
|
---|
34 | ** **
|
---|
35 | ***********************************************************************/
|
---|
36 |
|
---|
37 | /// \file DataConverter
|
---|
38 | /// \brief DataConverter class, as mother of LHEFConverter, STDHEPConverter, ...
|
---|
39 |
|
---|
40 | #include <string>
|
---|
41 |
|
---|
42 | #include "PdgParticle.h"
|
---|
43 | #include "Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h"
|
---|
44 | #include "Utilities/ExRootAnalysis/interface/LHEF.h"
|
---|
45 |
|
---|
46 | using namespace std;
|
---|
47 |
|
---|
48 | class DataConverter
|
---|
49 | {
|
---|
50 | public:
|
---|
51 |
|
---|
52 | DataConverter() : Nevt(-1) {};
|
---|
53 | DataConverter(const PdgTable& table, const int &N) : Nevt(N), pdg_table(table) {};
|
---|
54 | virtual ~DataConverter() {};
|
---|
55 |
|
---|
56 | protected:
|
---|
57 | int Nevt; // number of events to read; -1 means "all of them"
|
---|
58 |
|
---|
59 | public:
|
---|
60 | PdgTable pdg_table; // table of particles from PDG
|
---|
61 | };
|
---|
62 |
|
---|
63 | #endif
|
---|