Changeset 220 in svn
- Timestamp:
- Feb 2, 2009, 12:34:35 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Utilities/ExRootAnalysis/interface/BlockClasses.h
r192 r220 13 13 * present in the data members of the Block TRoot class. 14 14 * 15 * $Date: 2009-0 1-26 14:43:09$16 * $Revision: 1.1 0$15 * $Date: 2009-02-02 11:32:12 $ 16 * $Revision: 1.11 $ 17 17 * 18 18 * … … 21 21 */ 22 22 23 // Dependencies (#includes)24 25 23 #include "TLorentzVector.h" 26 #include "TRef.h"27 24 #include "TObject.h" 28 #include "TRefArray.h" 29 30 #include "Utilities/ExRootAnalysis/interface/BlockCompare.h" 31 //--------------------------------------------------------------------------- 32 // 25 #include "BlockCompare.h" 26 33 27 class TSortableObject: public TObject 34 28 { … … 42 36 ClassDef(TSortableObject, 1) 43 37 }; 44 45 38 46 39 //--------------------------------------------------------------------------- -
trunk/Utilities/ExRootAnalysis/interface/BlockCompare.h
r3 r220 6 6 * Definition of comparison object functions for block classes 7 7 * 8 * $Date: 200 8-11-04 10:32:25$9 * $Revision: 1. 1$8 * $Date: 2009-02-02 11:32:12 $ 9 * $Revision: 1.2 $ 10 10 * 11 11 * … … 13 13 * 14 14 */ 15 16 // Dependencies (#includes)17 15 18 16 #include "Rtypes.h" -
trunk/Utilities/ExRootAnalysis/interface/ExRootTreeReader.h
r3 r220 6 6 * Class simplifying access to ROOT tree branches 7 7 * 8 * $Date: 200 8-11-04 10:32:26$9 * $Revision: 1. 1$8 * $Date: 2009-02-02 11:32:12 $ 9 * $Revision: 1.2 $ 10 10 * 11 11 * … … 15 15 16 16 #include "TROOT.h" 17 #include "TChain.h" 18 #include "TFile.h" 17 //#include "TChain.h" 18 //#include "TFile.h" 19 #include "TTree.h" 20 #include "TString.h" 19 21 20 22 #include <map> -
trunk/Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h
r3 r220 6 6 * Class handling output ROOT tree 7 7 * 8 * $Date: 200 8-11-04 10:32:26$9 * $Revision: 1. 1$8 * $Date: 2009-02-02 11:32:12 $ 9 * $Revision: 1.2 $ 10 10 * 11 11 * … … 15 15 16 16 #include "TString.h" 17 18 17 #include <set> 19 18 -
trunk/Utilities/ExRootAnalysis/src/BlockClasses.cc
r176 r220 11 11 * to preserve mother-dautherlinks between particles. 12 12 * 13 * $Date: 2009-0 1-12 23:36:06$14 * $Revision: 1. 6$13 * $Date: 2009-02-02 11:32:01 $ 14 * $Revision: 1.7 $ 15 15 * 16 16 * … … 19 19 */ 20 20 21 #include "Utilities/ExRootAnalysis/interface/BlockClasses.h" 22 #include "Utilities/ExRootAnalysis/interface/BlockCompare.h" 23 21 #include "BlockClasses.h" 22 #include "BlockCompare.h" 24 23 #include "TLorentzVector.h" 25 24 -
trunk/Utilities/ExRootAnalysis/src/ExRootProgressBar.cc
r3 r220 4 4 * Class showing progress bar 5 5 * 6 * $Date: 200 8-11-04 10:32:27$7 * $Revision: 1. 1$6 * $Date: 2009-02-02 11:32:01 $ 7 * $Revision: 1.2 $ 8 8 * 9 9 * … … 12 12 */ 13 13 14 #include "Utilities/ExRootAnalysis/interface/ExRootProgressBar.h" 15 14 #include "ExRootProgressBar.h" 16 15 #include "TSystem.h" 17 18 #include <iostream> 19 20 #include <string.h> 21 #include <stdio.h> 16 #include <cstdio> 22 17 23 18 using namespace std; -
trunk/Utilities/ExRootAnalysis/src/ExRootTreeBranch.cc
r3 r220 4 4 * Class handling output ROOT tree branch 5 5 * 6 * $Date: 200 8-11-04 10:32:27$7 * $Revision: 1. 1$6 * $Date: 2009-02-02 11:32:01 $ 7 * $Revision: 1.2 $ 8 8 * 9 9 * … … 12 12 */ 13 13 14 #include "Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h" 15 16 #include "TFile.h" 14 #include "ExRootTreeBranch.h" 17 15 #include "TTree.h" 18 16 #include "TClonesArray.h" 19 20 #include <iostream>21 22 using namespace std;23 17 24 18 //------------------------------------------------------------------------------ -
trunk/Utilities/ExRootAnalysis/src/ExRootTreeReader.cc
r3 r220 4 4 * Class simplifying access to ROOT tree branches 5 5 * 6 * $Date: 200 8-11-04 10:32:27$7 * $Revision: 1. 1$6 * $Date: 2009-02-02 11:32:01 $ 7 * $Revision: 1.2 $ 8 8 * 9 9 * … … 12 12 */ 13 13 14 #include "Utilities/ExRootAnalysis/interface/ExRootTreeReader.h" 15 16 #include "TH2.h" 17 #include "TStyle.h" 18 #include "TCanvas.h" 14 #include "ExRootTreeReader.h" 19 15 #include "TBranchElement.h" 20 16 #include "TClonesArray.h" 21 17 #include "TChain.h" 22 18 #include <iostream> 23 19 -
trunk/Utilities/ExRootAnalysis/src/ExRootTreeWriter.cc
r3 r220 4 4 * Class handling output ROOT tree 5 5 * 6 * $Date: 200 8-11-04 10:32:27$7 * $Revision: 1. 1$6 * $Date: 2009-02-02 11:32:01 $ 7 * $Revision: 1.2 $ 8 8 * 9 9 * … … 12 12 */ 13 13 14 #include " Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h"15 #include " Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h"14 #include "ExRootTreeWriter.h" 15 #include "ExRootTreeBranch.h" 16 16 17 #include "TROOT.h"18 17 #include "TFile.h" 19 18 #include "TTree.h" 20 #include "TClonesArray.h"21 22 19 #include <iostream> 23 20 -
trunk/interface/HEPEVTConverter.h
r11 r220 14 14 /// \file SmearUtil.h 15 15 /// \brief HEPEVTConverter class, and some generic definitions 16 #include <deque> 16 17 17 18 #include <iostream> 19 #include <sstream> 20 #include <deque> 21 #include <fstream> 22 #include <vector> 23 24 #include "TLorentzVector.h" 25 #include "TRandom.h" 26 27 #include "Utilities/ExRootAnalysis/interface/BlockClasses.h" 28 #include "Utilities/ExRootAnalysis/interface/TSimpleArray.h" 29 //#include "Utilities/CDFCones/interface/PhysicsTower.h" 30 #include "interface/DataConverter.h" 18 #include "BlockClasses.h" 19 #include "TSimpleArray.h" 20 #include "DataConverter.h" 31 21 using namespace std; 32 22 -
trunk/interface/LHEFConverter.h
r2 r220 17 17 #include <string> 18 18 19 #include "Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h" 20 #include "Utilities/ExRootAnalysis/interface/LHEF.h" 21 22 #include "interface/DataConverter.h" 19 #include "ExRootTreeBranch.h" 20 #include "LHEF.h" 21 #include "DataConverter.h" 23 22 24 23 -
trunk/interface/STDHEPConverter.h
r11 r220 16 16 17 17 18 #include <iostream>19 #include <sstream>20 #include <fstream>21 #include <vector>22 18 #include <string> 23 24 #include "TLorentzVector.h" 25 #include "TRandom.h" 26 27 #include "Utilities/ExRootAnalysis/interface/BlockClasses.h" 28 #include "Utilities/ExRootAnalysis/interface/TSimpleArray.h" 29 //#include "Utilities/CDFCones/interface/PhysicsTower.h" 30 #include "Utilities/ExRootAnalysis/interface/LHEF.h" 31 32 #include "interface/DataConverter.h" 19 #include "DataConverter.h" 33 20 34 21 using namespace std; 35 22 36 class STDHEPConverter : public DataConverter 37 { 38 public: 23 class STDHEPConverter : public DataConverter { 24 public: 25 STDHEPConverter(const string& inputFileList, const string& outputFileName); 26 ~STDHEPConverter(); 39 27 40 STDHEPConverter(const string& inputFileList, const string& outputFileName); 41 ~STDHEPConverter(); 42 43 private: 44 void AnalyseEvent(ExRootTreeBranch *branch, const Long64_t eventNumber); 45 void AnalyseParticles(ExRootTreeBranch *branch); 46 47 48 28 private: 29 void AnalyseEvent(ExRootTreeBranch *branch, const Long64_t eventNumber); 30 void AnalyseParticles(ExRootTreeBranch *branch); 49 31 }; 50 32 -
trunk/src/HEPEVTConverter.cc
r56 r220 6 6 7 7 #include "TROOT.h" 8 #include "TApplication.h"9 #include "TFile.h"10 8 #include "TTree.h" 11 9 #include "TBranch.h" … … 15 13 #include "TChain.h" 16 14 17 #include "Utilities/ExRootAnalysis/interface/BlockClasses.h" 18 #include "Utilities/ExRootAnalysis/interface/ExRootTreeReader.h" 19 #include "Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h" 20 #include "Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h" 21 22 #include "interface/HEPEVTConverter.h" 15 #include "BlockClasses.h" 16 #include "ExRootTreeWriter.h" 17 #include "ExRootTreeBranch.h" 18 19 #include "HEPEVTConverter.h" 23 20 24 21 using namespace std; -
trunk/src/STDHEPConverter.cc
r56 r220 1 /* 2 ---- Delphes ---- 3 A Fast Simulator for general purpose LHC detector 4 S. Ovyn ~~~~ severine.ovyn@uclouvain.be 5 6 Center for Particle Physics and Phenomenology (CP3) 7 Universite Catholique de Louvain (UCL) 8 Louvain-la-Neuve, Belgium 9 */ 10 1 11 #include <iostream> 2 #include <utility>3 #include <deque>4 #include <sstream>5 12 #include <fstream> 6 7 #include "TROOT.h"8 #include "TApplication.h"9 #include "TFile.h"10 #include "TTree.h"11 #include "TBranch.h"12 #include "TLeaf.h"13 13 #include "TLorentzVector.h" 14 #include "TChain.h" 15 16 #include "Utilities/ExRootAnalysis/interface/BlockClasses.h" 17 #include "Utilities/ExRootAnalysis/interface/ExRootTreeReader.h" 18 #include "Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h" 19 #include "Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h" 20 #include "Utilities/ExRootAnalysis/interface/LHEF.h" 21 #include "Utilities/stdhep/stdhep_mcfio.h" 22 #include "Utilities/stdhep/stdhep_declarations.h" 23 24 #include "interface/STDHEPConverter.h" 25 26 14 #include "BlockClasses.h" 15 #include "ExRootTreeWriter.h" 16 #include "ExRootTreeBranch.h" 17 #include "stdhep_mcfio.h" 18 #include "stdhep_declarations.h" 19 #include "STDHEPConverter.h" 27 20 28 21 using namespace std; … … 51 44 for(number = 0; number < myhepevt.nhep; ++number) 52 45 { 53 54 46 element = static_cast<TRootGenParticle*>(branch->NewEntry()); 55 47
Note:
See TracChangeset
for help on using the changeset viewer.