Changeset 9 in svn
- Timestamp:
- Nov 5, 2008, 7:10:54 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile
r2 r9 28 28 29 29 30 Resolutions$(ExeSuf): \ 31 tmp/Resolutions.$(ObjSuf) 32 33 tmp/Resolutions.$(ObjSuf): \ 34 Resolutions.cpp \ 35 Utilities/ExRootAnalysis/interface/ExRootTreeReader.h \ 36 Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h \ 37 Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h \ 38 Utilities/CDFCones/interface/JetCluAlgorithm.h \ 39 Utilities/CDFCones/interface/MidPointAlgorithm.h \ 40 Utilities/CDFCones/interface/PhysicsTower.h \ 41 Utilities/CDFCones/interface/Cluster.h \ 42 interface/DataConverter.h \ 43 interface/HEPEVTConverter.h \ 44 interface/LHEFConverter.h \ 45 interface/STDHEPConverter.h \ 46 interface/SmearUtil.h \ 47 interface/TreeClasses.h 30 48 Delphes$(ExeSuf): \ 31 49 tmp/Delphes.$(ObjSuf) … … 46 64 interface/SmearUtil.h 47 65 EXECUTABLE = \ 66 Resolutions$(ExeSuf) \ 48 67 Delphes$(ExeSuf) 49 68 50 69 EXECUTABLE_OBJ = \ 70 tmp/Resolutions.$(ObjSuf) \ 51 71 tmp/Delphes.$(ObjSuf) 52 72 … … 54 74 Utilities/ExRootAnalysis/src/BlockClassesLinkDef.h \ 55 75 Utilities/ExRootAnalysis/interface/BlockClasses.h 76 tmp/src/TreeClassesDict.$(SrcSuf): \ 77 src/TreeClassesLinkDef.h 56 78 DICT = \ 57 tmp/Utilities/ExRootAnalysis/src/BlockClassesDict.$(SrcSuf) 79 tmp/Utilities/ExRootAnalysis/src/BlockClassesDict.$(SrcSuf) \ 80 tmp/src/TreeClassesDict.$(SrcSuf) 58 81 59 82 DICT_OBJ = \ 60 tmp/Utilities/ExRootAnalysis/src/BlockClassesDict.$(ObjSuf) 83 tmp/Utilities/ExRootAnalysis/src/BlockClassesDict.$(ObjSuf) \ 84 tmp/src/TreeClassesDict.$(ObjSuf) 61 85 62 86 tmp/src/STDHEPConverter.$(ObjSuf): \ … … 70 94 Utilities/stdhep/stdhep_declarations.h \ 71 95 interface/STDHEPConverter.h 96 tmp/src/TreeClasses.$(ObjSuf): \ 97 src/TreeClasses.$(SrcSuf) \ 98 interface/TreeClasses.h 72 99 tmp/src/LHEFConverter.$(ObjSuf): \ 73 100 src/LHEFConverter.$(SrcSuf) \ … … 169 196 SOURCE_OBJ = \ 170 197 tmp/src/STDHEPConverter.$(ObjSuf) \ 198 tmp/src/TreeClasses.$(ObjSuf) \ 171 199 tmp/src/LHEFConverter.$(ObjSuf) \ 172 200 tmp/src/HEPEVTConverter.$(ObjSuf) \ … … 228 256 Utilities/mcfio/mcf_ntubldInit.c 229 257 tmp/Utilities/stdhep/mcf_hepev4_xdr.$(ObjSuf): \ 230 Utilities/stdhep/mcf_hepev4_xdr.c 258 Utilities/stdhep/mcf_hepev4_xdr.c \ 259 Utilities/mcfio/mcfio_Dict.h \ 260 Utilities/mcfio/mcf_xdr.h \ 261 Utilities/stdhep/stdhep.h \ 262 Utilities/stdhep/hepev4.h \ 263 Utilities/stdhep/stdtmp.h \ 264 Utilities/stdhep/stdver.h 231 265 tmp/Utilities/stdhep/mcf_stdcm1_xdr.$(ObjSuf): \ 232 Utilities/stdhep/mcf_stdcm1_xdr.c 266 Utilities/stdhep/mcf_stdcm1_xdr.c \ 267 Utilities/mcfio/mcfio_Dict.h \ 268 Utilities/mcfio/mcf_xdr.h \ 269 Utilities/stdhep/stdcm1.h \ 270 Utilities/stdhep/stdver.h 233 271 tmp/Utilities/stdhep/mcf_hepup_xdr.$(ObjSuf): \ 234 Utilities/stdhep/mcf_hepup_xdr.c 272 Utilities/stdhep/mcf_hepup_xdr.c \ 273 Utilities/mcfio/mcfio_Dict.h \ 274 Utilities/mcfio/mcf_xdr.h \ 275 Utilities/stdhep/hepeup.h \ 276 Utilities/stdhep/heprup.h \ 277 Utilities/stdhep/stdver.h 235 278 tmp/Utilities/stdhep/mcf_Stdhep_xdr.$(ObjSuf): \ 236 Utilities/stdhep/mcf_Stdhep_xdr.c 279 Utilities/stdhep/mcf_Stdhep_xdr.c \ 280 Utilities/mcfio/mcfio_Dict.h \ 281 Utilities/mcfio/mcf_xdr.h \ 282 Utilities/stdhep/stdhep.h \ 283 Utilities/stdhep/stdtmp.h \ 284 Utilities/stdhep/stdver.h 237 285 tmp/Utilities/stdhep/stdhep_internal_utils.$(ObjSuf): \ 238 Utilities/stdhep/stdhep_internal_utils.c 286 Utilities/stdhep/stdhep_internal_utils.c \ 287 Utilities/stdhep/stdhep.h \ 288 Utilities/stdhep/hepev4.h \ 289 Utilities/stdhep/stdtmp.h \ 290 Utilities/stdhep/hepeup.h 239 291 tmp/Utilities/stdhep/stdhep_mcfio.$(ObjSuf): \ 240 Utilities/stdhep/stdhep_mcfio.c 292 Utilities/stdhep/stdhep_mcfio.c \ 293 Utilities/mcfio/mcf_xdr.h \ 294 Utilities/mcfio/mcfio_Block.h \ 295 Utilities/mcfio/mcfio_Dict.h \ 296 Utilities/mcfio/mcfio_Direct.h \ 297 Utilities/mcfio/mcfio_Util1.h \ 298 Utilities/stdhep/stdhep.h \ 299 Utilities/stdhep/hepev4.h \ 300 Utilities/stdhep/hepeup.h \ 301 Utilities/stdhep/heprup.h \ 302 Utilities/stdhep/stdtmp.h \ 303 Utilities/stdhep/stdhd.h \ 304 Utilities/stdhep/stdcnt.h \ 305 Utilities/stdhep/stdhep_mcfio.h 241 306 STDHEP_OBJ = \ 242 307 tmp/Utilities/mcfio/mcf_ntuBldDbinc.$(ObjSuf) \ … … 274 339 @touch $@ 275 340 341 interface/TreeClasses.h: \ 342 Utilities/ExRootAnalysis/interface/BlockCompare.h \ 343 Utilities/ExRootAnalysis/interface/BlockClasses.h 344 @touch $@ 345 276 346 interface/SmearUtil.h: \ 277 347 Utilities/ExRootAnalysis/interface/BlockClasses.h \ … … 290 360 Utilities/CDFCones/interface/LorentzVector.h \ 291 361 Utilities/CDFCones/interface/Centroid.h 362 @touch $@ 363 364 Utilities/stdhep/stdhep_declarations.h: \ 365 Utilities/stdhep/stdhep.h \ 366 Utilities/stdhep/hepev4.h \ 367 Utilities/stdhep/hepeup.h \ 368 Utilities/stdhep/heprup.h \ 369 Utilities/stdhep/stdtmp.h \ 370 Utilities/stdhep/stdhd.h \ 371 Utilities/stdhep/stdcnt.h \ 372 Utilities/stdhep/stdcm1.h \ 373 Utilities/stdhep/stdver.h 292 374 @touch $@ 293 375 -
trunk/README
r7 r9 42 42 stdhep.ps -> page9 = HEPCHG(ID) : get charge for particle ID 43 43 44 -
trunk/TODO
r2 r9 12 12 - vérifier les unités des toutes les valeurs dans les ttree 13 13 - vérifier que les valeurs par défaut sont égales à celles de la datacard par défaut 14 - ajouter FastJet -
trunk/genMakefile.tcl
r2 r9 126 126 global prefix suffix objSuf exeSuf 127 127 128 set executable [glob -nocomplain {Delphes.cpp} ]128 set executable [glob -nocomplain {Delphes.cpp} {Resolutions.cpp}] 129 129 130 130 set exeFiles {} … … 232 232 executableDeps {*.cpp} 233 233 234 dictDeps {DICT} {Utilities/ExRootAnalysis/src/*LinkDef.h} 234 dictDeps {DICT} {Utilities/ExRootAnalysis/src/*LinkDef.h} {src/*LinkDef.h} 235 235 236 236 sourceDeps {SOURCE} {src/*.cc} {Utilities/ExRootAnalysis/src/*.cc} {Utilities/Hector/src/*.cc} {Utilities/CDFCones/src/*cc} -
trunk/src/SmearUtil.cc
r2 r9 213 213 214 214 if(fabs(hadron.Eta()) < MAX_CALO_CEN) { 215 energyS= gRandom->Gaus(energy_hcal, sqrt(215 float energyS1 = gRandom->Gaus(energy_hcal, sqrt( 216 216 pow(HAD_Nhcal,2) + 217 217 pow(HAD_Chcal*energy_hcal,2) + 218 pow(HAD_Shcal*sqrt(energy_hcal),2) )) 219 +220 218 pow(HAD_Shcal*sqrt(energy_hcal),2) )) ; 219 220 float energyS2 = gRandom->Gaus(energy_ecal, sqrt( 221 221 pow(HAD_Necal,2) + 222 222 pow(HAD_Cecal*energy_ecal,2) + 223 pow(HAD_Secal*sqrt(energy_ecal),2) ) ); 223 pow(HAD_Secal*sqrt(energy_ecal),2) ) ); 224 225 energyS = (energyS1>0)?energyS1:0 + (energyS2>0)?energyS2:0; 226 cout << "avant: " << energyS1 + energyS2 << "\t\t" << energyS << endl; 224 227 } else { 225 228 energyS = gRandom->Gaus(energy,
Note:
See TracChangeset
for help on using the changeset viewer.