Fork me on GitHub

Changeset 51 in svn for trunk/src/SmearUtil.cc


Ignore:
Timestamp:
Nov 20, 2008, 4:44:05 PM (16 years ago)
Author:
severine ovyn
Message:

remove not necessary headers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SmearUtil.cc

    r50 r51  
    1919#include <sstream>
    2020#include <fstream>
    21 
    22 #include <cstdio>
    23 #include <cstdio>
    24 #include <TCanvas.h>
    25 #include <TLorentzVector.h>
    26 #include <string>
    27 #include <fstream>
    28 #include <istream>
    29 #include <iostream>
    30 #include <TMath.h>
    31 #include <vector>
    32 #include "TRandom.h"
    33 #include <cstdlib>
    34 #include <math.h>
    35 #include <time.h>
    36 
    37 #include <iostream>
    3821#include <iomanip>
    3922
    40 #include <iostream>
    41 #include <sstream>
    42 
    43 #include <fstream>
    44 #include <vector>
     23
    4524
    4625using namespace std;
     
    197176
    198177void RESOLution::Logfile(string LogName) {
    199  
     178//void RESOLution::Logfile(string outputfilename) {
     179
    200180  ofstream f_out(LogName.c_str());
    201181 
    202182  f_out<<"#*********************************************************************"<<"\n";
    203183  f_out<<"#                                                                    *"<<"\n";
    204  
    205   string temp_string;
    206   istringstream curstring;
    207   ifstream fichier_a_lire("VERSION");
    208   if(fichier_a_lire.good()) {
    209   string Version;
    210   while (getline(fichier_a_lire,temp_string)) {
    211     curstring.str(temp_string);
    212     curstring >> Version;}
    213     f_out<<"#"<< right << setw(39) <<"---- DELPHES release "<<Version<< left <<" ----                     *"<<"\n";
    214    
    215   }
    216   else { f_out<<"#                ---- DELPHES release not defined ----               *"<<"\n";}
    217  
     184  f_out<<"#                  ---- DELPHES release 1.0 ----                     *"<<"\n";
    218185  f_out<<"#                                                                    *"<<"\n";
    219186  f_out<<"#        A Fast Simulator for general purpose LHC detector           *"<<"\n";
Note: See TracChangeset for help on using the changeset viewer.