Fork me on GitHub

Changeset 24 in svn


Ignore:
Timestamp:
Nov 7, 2008, 6:42:53 PM (16 years ago)
Author:
Xavier Rouby
Message:

minor change: appName

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Delphes.cpp

    r21 r24  
    6868{
    6969  int appargc = 2;
    70   char *appName = "JetsSim";
     70  char appName[100]; sprintf(appName,argv[0]);
    7171  char *appargv[] = {appName, "-b"};
    7272  TApplication app(appName, &appargc, appargv);
  • trunk/Resolutions.cpp

    r23 r24  
    5252//------------------------------------------------------------------------------
    5353
    54 
    55 
    56 void PairingJet(TLorentzVector &JETSm, TLorentzVector JET,  vector<fastjet::PseudoJet> sorted_jetsS)
     54void PairingJet(TLorentzVector &JETSm, const TLorentzVector& JET,  vector<fastjet::PseudoJet> sorted_jetsS)
    5755{
    5856  JETSm.SetPxPyPzE(0,0,0,0);
     
    7270}
    7371
     72//------------------------------------------------------------------------------
    7473
    7574int main(int argc, char *argv[])
    7675{
    7776  int appargc = 2;
    78   char *appName = "Smearing";
     77  char appName[100]; sprintf(appName,argv[0]);
    7978  char *appargv[] = {appName, "-b"};
    8079  TApplication app(appName, &appargc, appargv);
Note: See TracChangeset for help on using the changeset viewer.