Changeset 24 in svn
- Timestamp:
- Nov 7, 2008, 6:42:53 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Delphes.cpp
r21 r24 68 68 { 69 69 int appargc = 2; 70 char *appName = "JetsSim";70 char appName[100]; sprintf(appName,argv[0]); 71 71 char *appargv[] = {appName, "-b"}; 72 72 TApplication app(appName, &appargc, appargv); -
trunk/Resolutions.cpp
r23 r24 52 52 //------------------------------------------------------------------------------ 53 53 54 55 56 void PairingJet(TLorentzVector &JETSm, TLorentzVector JET, vector<fastjet::PseudoJet> sorted_jetsS) 54 void PairingJet(TLorentzVector &JETSm, const TLorentzVector& JET, vector<fastjet::PseudoJet> sorted_jetsS) 57 55 { 58 56 JETSm.SetPxPyPzE(0,0,0,0); … … 72 70 } 73 71 72 //------------------------------------------------------------------------------ 74 73 75 74 int main(int argc, char *argv[]) 76 75 { 77 76 int appargc = 2; 78 char *appName = "Smearing";77 char appName[100]; sprintf(appName,argv[0]); 79 78 char *appargv[] = {appName, "-b"}; 80 79 TApplication app(appName, &appargc, appargv);
Note:
See TracChangeset
for help on using the changeset viewer.