Changeset 380 in svn for trunk/interface
- Timestamp:
- May 12, 2009, 9:47:12 AM (16 years ago)
- Location:
- trunk/interface
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/interface/DataConverter.h
r357 r380 38 38 #include <string> 39 39 40 #include "PdgParticle.h" 40 41 #include "Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h" 41 42 #include "Utilities/ExRootAnalysis/interface/LHEF.h" … … 48 49 49 50 DataConverter() : Nevt(-1) {}; 50 DataConverter(const int &N) : Nevt(N) {};51 DataConverter(const PdgTable& table, const int &N) : Nevt(N), pdg_table(table) {}; 51 52 virtual ~DataConverter() {}; 52 53 53 54 private: 54 55 int Nevt; // number of events to read; -1 means "all of them" 56 57 public: 58 PdgTable pdg_table; // table of particles from PDG 55 59 }; 56 60 -
trunk/interface/HEPEVTConverter.h
r357 r380 88 88 public: 89 89 90 HEPEVTConverter(const string& inputFileList, const string& outputFileName, const int& Nevents=-1);90 HEPEVTConverter(const string& inputFileList, const string& outputFileName, const PdgTable& pdg, const int& Nevents=-1); 91 91 92 92 }; -
trunk/interface/HepMCConverter.h
r368 r380 46 46 class HepMCConverter : public DataConverter { 47 47 public: 48 HepMCConverter(const string& inputFileList, const string& outputFileName, const int& Nevents=-1);48 HepMCConverter(const string& inputFileList, const string& outputFileName, const PdgTable& pdg, const int& Nevents=-1); 49 49 virtual ~HepMCConverter(); 50 50 -
trunk/interface/LHEFConverter.h
r357 r380 49 49 public: 50 50 51 LHEFConverter(const string& inputFileList, const string& outputFileName, const int& Nevents=-1);51 LHEFConverter(const string& inputFileList, const string& outputFileName, const PdgTable& pdg, const int& Nevents=-1); 52 52 virtual ~LHEFConverter(); 53 53 -
trunk/interface/STDHEPConverter.h
r357 r380 41 41 class STDHEPConverter : public DataConverter { 42 42 public: 43 STDHEPConverter(const string& inputFileList, const string& outputFileName, const int& Nevents=-1);43 STDHEPConverter(const string& inputFileList, const string& outputFileName, const PdgTable& pdg, const int& Nevents=-1); 44 44 virtual ~STDHEPConverter(); 45 45 -
trunk/interface/SmearUtil.h
r374 r380 45 45 #include "TSimpleArray.h" 46 46 #include "PhysicsTower.hh" 47 #include "PdgParticle.h" 47 48 48 49 using namespace std; … … 213 214 214 215 int NEvents_Frog; 215 float PT_QUARKS_MIN; // minimal pt needed for quarks to reach the tracker, in GeV 216 float PT_QUARKS_MIN; // minimal pt needed for quarks to reach the tracker, in GeV 217 218 string PdgTableFilename; 219 //map<int,PdgParticle> PdgTable; 220 PdgTable PDGtable; 216 221 217 222 // to sort a vector … … 221 226 /// Reads the data card for the initialisation of the parameters 222 227 void ReadDataCard(const string datacard); 228 229 /// Reads the PDG table 230 void ReadParticleDataGroupTable(); 223 231 224 232 /// Create the output log file
Note:
See TracChangeset
for help on using the changeset viewer.