Changeset 1348 in svn
- Timestamp:
- Jan 3, 2014, 4:41:28 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile
r1345 r1348 327 327 modules/JetPileUpSubtractor.h \ 328 328 modules/TrackPileUpSubtractor.h \ 329 modules/PileUpJetID.h \ 329 330 modules/ConstituentFilter.h \ 330 331 modules/StatusPidFilter.h \ … … 511 512 modules/EnergyScale.$(SrcSuf) \ 512 513 modules/EnergyScale.h \ 514 classes/DelphesClasses.h \ 515 classes/DelphesFactory.h \ 516 classes/DelphesFormula.h \ 517 external/ExRootAnalysis/ExRootResult.h \ 518 external/ExRootAnalysis/ExRootFilter.h \ 519 external/ExRootAnalysis/ExRootClassifier.h 520 tmp/modules/PileUpJetID.$(ObjSuf): \ 521 modules/PileUpJetID.$(SrcSuf) \ 522 modules/PileUpJetID.h \ 513 523 classes/DelphesClasses.h \ 514 524 classes/DelphesFactory.h \ … … 948 958 tmp/modules/ExampleModule.$(ObjSuf) \ 949 959 tmp/modules/EnergyScale.$(ObjSuf) \ 960 tmp/modules/PileUpJetID.$(ObjSuf) \ 950 961 tmp/modules/Cloner.$(ObjSuf) \ 951 962 tmp/modules/TreeWriter.$(ObjSuf) \ … … 1296 1307 @touch $@ 1297 1308 1309 modules/PileUpJetID.h: \ 1310 classes/DelphesModule.h 1311 @touch $@ 1312 1298 1313 external/fastjet/version.hh: \ 1299 1314 external/fastjet/config.h -
trunk/classes/DelphesClasses.cc
r1318 r1348 112 112 Area(0.0, 0.0, 0.0, 0.0), 113 113 fFactory(0), 114 fArray(0) 114 fArray(0), 115 NCharged(0), 116 NNeutrals(0), 117 Beta(0), 118 BetaStar(0), 119 MeanSqDeltaR(0), 120 PTD(0) 115 121 { 116 122 Edges[0] = 0.0; … … 118 124 Edges[2] = 0.0; 119 125 Edges[3] = 0.0; 126 FracPt[0] = 0.0; 127 FracPt[1] = 0.0; 128 FracPt[2] = 0.0; 129 FracPt[3] = 0.0; 130 FracPt[4] = 0.0; 120 131 } 121 132 … … 206 217 object.Area = Area; 207 218 219 object.NCharged = NCharged; 220 object.NNeutrals = NNeutrals; 221 object.Beta = Beta; 222 object.BetaStar = BetaStar; 223 object.MeanSqDeltaR = MeanSqDeltaR; 224 object.PTD = PTD; 225 object.FracPt[0] = FracPt[0]; 226 object.FracPt[1] = FracPt[1]; 227 object.FracPt[2] = FracPt[2]; 228 object.FracPt[3] = FracPt[3]; 229 object.FracPt[4] = FracPt[4]; 230 208 231 object.fFactory = fFactory; 209 232 object.fArray = 0; … … 246 269 Position.SetXYZT(0.0, 0.0, 0.0, 0.0); 247 270 Area.SetXYZT(0.0, 0.0, 0.0, 0.0); 271 272 NCharged = 0; 273 NNeutrals = 0; 274 Beta = 0.0; 275 BetaStar = 0.0; 276 MeanSqDeltaR = 0.0; 277 PTD = 0.0; 278 FracPt[0] = 0.0; 279 FracPt[1] = 0.0; 280 FracPt[2] = 0.0; 281 FracPt[3] = 0.0; 282 FracPt[4] = 0.0; 283 248 284 fArray = 0; 249 285 } -
trunk/classes/DelphesClasses.h
r1345 r1348 308 308 TLorentzVector P4(); 309 309 310 // -- PileUpJetID variables --- 311 312 Int_t NCharged; 313 Int_t NNeutrals; 314 Float_t Beta; 315 Float_t BetaStar; 316 Float_t MeanSqDeltaR; 317 Float_t PTD; 318 Float_t FracPt[5]; 319 320 321 310 322 ClassDef(Jet, 2) 311 323 }; … … 421 433 virtual void Clear(Option_t* option = ""); 422 434 435 // -- PileUpJetID variables --- 436 437 Int_t NCharged; 438 Int_t NNeutrals; 439 Float_t Beta; 440 Float_t BetaStar; 441 Float_t MeanSqDeltaR; 442 Float_t PTD; 443 Float_t FracPt[5]; 444 423 445 private: 424 446 DelphesFactory *fFactory; //! -
trunk/modules/ModulesLinkDef.h
r1345 r1348 32 32 #include "modules/JetPileUpSubtractor.h" 33 33 #include "modules/TrackPileUpSubtractor.h" 34 #include "modules/PileUpJetID.h" 34 35 #include "modules/ConstituentFilter.h" 35 36 #include "modules/StatusPidFilter.h" … … 64 65 #pragma link C++ class JetPileUpSubtractor+; 65 66 #pragma link C++ class TrackPileUpSubtractor+; 67 #pragma link C++ class PileUpJetID+; 66 68 #pragma link C++ class ConstituentFilter+; 67 69 #pragma link C++ class StatusPidFilter+; -
trunk/modules/TrackPileUpSubtractor.cc
r1345 r1348 102 102 TIterator *iterator; 103 103 TObjArray *array; 104 Double_t z, zvtx ;104 Double_t z, zvtx=0; 105 105 106 106 -
trunk/modules/TreeWriter.cc
r1345 r1348 533 533 534 534 entry->EhadOverEem = ecalEnergy > 0.0 ? hcalEnergy/ecalEnergy : 999.9; 535 536 //--- Pile-Up Jet ID variables ---- 537 538 entry->NCharged = candidate->NCharged; 539 entry->NNeutrals = candidate->NNeutrals; 540 entry->Beta = candidate->Beta; 541 entry->BetaStar = candidate->BetaStar; 542 entry->MeanSqDeltaR = candidate->MeanSqDeltaR; 543 entry->PTD = candidate->PTD; 544 entry->FracPt[0] = candidate->FracPt[0]; 545 entry->FracPt[1] = candidate->FracPt[1]; 546 entry->FracPt[2] = candidate->FracPt[2]; 547 entry->FracPt[3] = candidate->FracPt[3]; 548 entry->FracPt[4] = candidate->FracPt[4]; 535 549 536 550 FillParticles(candidate, &entry->Particles);
Note:
See TracChangeset
for help on using the changeset viewer.