[271] | 1 | #ifndef _LHCOCONVERTER_H_
|
---|
| 2 | #define _LHCOCONVERTER_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 LHCOConverter
|
---|
| 36 | /// \brief Converter from ExRootAnalysis to LHCO files
|
---|
| 37 |
|
---|
| 38 | #include <string>
|
---|
| 39 | using namespace std;
|
---|
| 40 |
|
---|
[275] | 41 | class TClonesArray;
|
---|
| 42 |
|
---|
| 43 | enum {lhcoPhotonID=0, lhcoElectronID, lhcoMuonID, lhcoTauJetID, lhcoJetID, lhcoETmisID=6};
|
---|
| 44 |
|
---|
[271] | 45 | class LHCOConverter {
|
---|
| 46 | public:
|
---|
| 47 |
|
---|
| 48 | explicit LHCOConverter(const string& inputroot, const string& inputlog);
|
---|
| 49 | ~LHCOConverter() {};
|
---|
| 50 |
|
---|
| 51 | void CopyRunLogFile();
|
---|
| 52 | void ConvertExRootAnalysisToLHCO();
|
---|
| 53 |
|
---|
| 54 | private:
|
---|
[275] | 55 | void BranchReader(const TClonesArray*, unsigned int&, unsigned short int ) const; // put it as a operator<<
|
---|
[271] | 56 | const string inputfilename_;
|
---|
| 57 | string inputlogname_;
|
---|
| 58 | string outputfilename_;
|
---|
| 59 | bool valid_;
|
---|
| 60 | };
|
---|
| 61 |
|
---|
| 62 | #endif
|
---|